Skip to content

Releases: alecthomas/chroma

v0.8.1

20 Sep 22:33
Compare
Choose a tag to compare

Changelog

290ff86 yaml: block scalar multiline improvements.
d65f279 yaml: inline comments after literals
2365845 Improve Elixir lexer based on Pygments
6d6e9cd Update the awk lexer to better support gawk
fb0b720 Kotlin improvements around string interpolation, escaping, and generics (#392)
86ebaf3 Remove unintended changes
aac3294 Fix regex from as? to as?; add one more test case for !==
8a54f9e add many operators to kotlin
8d0d2b8 Add more keywords to kotlin lexer
477ad4a Add await and async keywords to jsx and javascript

v0.8.0

26 Jul 22:51
Compare
Choose a tag to compare

Changelog

4da591c Use EnsureNL for go lexer
e62d93f Add a timeout to regexes.
5756434 Add .editorconfig to ini lexer
391f301 Fix golangci-lint download
bac6996 added curly braces to toml lexer
2b9ea60 Split PHP into two lexers - PHP and PHTML.
1150149 Fix TypeScript keywords
57c1bd9 Added pony lexer (#372)
500529f Minor fix for name constants
8785122 Additional fixes for placeholders
155bdea Update Caddyfile lexer to fix edgecases and improve colouring
bd46305 Add Zig lexer
6896804 Add Caddyfile lexer (#363)
ee4284b Add a Rules.Merge() helper function.
4065717 feat: support HTTP/2 in HTTP lexer
2612dee add yaml test cases for more bool types and multi-line flow scalars.
2b9c82d yaml parse multiline block scalars as single StringDoc
16bde86 yaml parse for all bool keyword constant variations
684c267 yaml parse plan scalar values as literals rather than text.
705c61c yaml parse --- and ... as NameNamespace
0d4fb38 yaml parse keys as NameTag rather than Keyword
ec5955f Make single # on a line recognized as CommentSingle
8c4fe7e Add failing test case for single # in bash

v0.7.3

09 May 13:01
Compare
Choose a tag to compare

Changelog

809ff9b Don't emit styles that are missing a class
cc5e532 Add failing test for invalid css with allClasses
6b8ef36 Add ReasonML lexer
82f38b9 add gherkin lexer (#354)
80f4853 Improve performance of lexers.Get function (#351)
0da4bd1 Adds support for jsx blocks in typescript lexer
28041a8 Add YANG lexer (#348)
737b3a0 Update go modules

v0.7.2

13 Apr 12:24
Compare
Choose a tag to compare

Changelog

cc53faa Add option to preserve all HTML classes.
937aba1 Fixes #344.
4f3623d Fallback to HTML lexer for Markdown text.
34d9c71 Add new TokeniseOption EnsureLF (#336)
e5d9650 Add hlb lexer (#332)
866d0c8 Add lexer for SAS language (#337)
e54a758 Add testdata for terraform
c83e581 Updated terraform rules for Terraform 0.12+. Based on terraform documentation (https://www.terraform.io/docs/configuration/index.html). Added all builtin functions and updated syntax rules.
330c3bd Remove reference to now unneeded go.rice fork from go.mod
498eaa6 Fix deprecated methods in goreleaser.yml
0f6a31d rust: support raw identifiers
9e22bd6 Consider baseLineNumber when calculating the column width

v0.7.0

24 Nov 02:59
Compare
Choose a tag to compare

Changelog

28dcb85 Fixes #305.
cfc6117 mysql: added keywords 'privileges', 'identified' and 'user'
5921c52 Add bool argument to WithClasses, WithLineNumbers etc.
d3926cc Add WithPreWrapper option

v0.6.9

05 Nov 06:13
Compare
Choose a tag to compare

Changelog

3aaf3e5 Fix Java lexer (synced with latest Pygments).

v0.6.8

24 Oct 06:07
Compare
Choose a tag to compare

Changelog

bbc59ac Emit error tokens when there's a group mismatch.
a1c4eaa Add J lexer
aaa94ce svg: fixed text background rectangles
611a24c embedded font in svg (#292)
73d11b3 Clear background colour for TTY formatters.
b44683e Fix linter.
b618823 Add bibtex support.
20b4f5f Revert float pattern for C++.
6acfa13 Improve info on test regeneration (#287)
22511fb added svg formatter
0ff6248 Add multi-line comments to Nim lexer (#285)

v0.6.7

24 Sep 03:42
Compare
Choose a tag to compare

Changelog

8eb6aa7 Add Language Igor (#276)
d122d30 Add ABAP lexer
b964bce Update TradingView lexer to v4 (#279)
5152194 Sync docker lexer to latest Pygments.
2f5349a Add italics support for indexed colour terminals
f2e0513 Add italics support for truecolour terminals
6a3320f Fix several errors with c++
2b493e2 Fix SCSS issue with comments.
a5a6d52 Use chroma.StyleEntries instead of map
70b7419 Add EnsureNL in TypeScript lexer config
65b5eea Adds .fth extension for Forth.
f8432cf Update issue templates
b1f0162 Update issue templates
e6a5665 Add width:100% to content when inlining styles.

v0.6.6

20 Jul 10:35
Compare
Choose a tag to compare

Changelog

be3313d Update to most recent version of go.rice fork.
bbbfbe4 Update to more recent golangci-lint.
2ec7e6c Use Kong enum for lexers, formatters and styles.

v0.6.5

19 Jul 01:07
Compare
Choose a tag to compare

Changelog

5b0cc9c Use goreleaser release binary.
ebc5ee0 Latest go.rice version.
3411213 Temporarily use go.rice fork with correct asset timestamping/versioning.
9fbb212 Render full HTML.
89e7ddc Disable spellchecking/autocomplete.
5da2819 Add cache-busting version.
c86a269 Add info block.
aa71d61 Only allow POST to /api/render.
ffa8a4f CORS support + raw HTML view + more.
bdb587c Make playground completely dynamic.
2332264 Add CSRF support to chromad.
7a7fde2 Split out chromad resources.
91b44ff Lint isses.
10cee2e Add Chroma playground.
2b84f4b Sync R lexer with Pygments.
6b98624 Update julia.go (#258)