Skip to content

v3.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 07:07

Changelog

  • a908fe2 docs: add a v2 to v3 migration guide to the README
  • a982a89 feat(styles): add All
  • da4118c chore: stop bumping chroma in the cmd modules' go.mod
  • 15fc73c perf: index lexer filename globs for Match
  • 46ad7f8 docs: correct stale doc comments
  • 85fd344 fix: drop nil checks on styles.Get and formatters.Get
  • fdbe541 fix: render unset colours as empty instead of #-00001
  • f941777 fix(html): stop sorting the caller's line ranges in place
  • 4dd55d6 fix(html)!: resolve the pre wrapper independently of option order
  • 6e44271 fix(html)!: emit consistently formatted CSS declarations
  • 19165da feat(formatters): add Lookup
  • fde058a refactor!: replace LexerRegistry.Lexers with All()
  • 1afcf98 refactor!: remove PrioritisedLexers
  • ffeb41e refactor: make the TTY formatter an alias for TTY8
  • 6799e73 refactor!: unexport the Go-defined lexers and PlaintextRules
  • 3ad5a80 refactor!: unexport LexerState.MutatorContext
  • 9449c16 refactor!: remove unused Rules and RegexLexer helpers
  • db59bc6 refactor!: unexport the Emitters type
  • c7f4744 refactor!: unexport ANSI2RGB
  • 960178d fix(lexers): trace Raku pod code blocks
  • 90ad972 refactor!: rename svg.TRUETYPE to TrueType
  • 802b7dc refactor!: embed SVG fonts from raw bytes
  • 08b9fbf refactor!: trace tokenisation via a Tokenise option
  • e46ef67 refactor!: pass Tokenise options as functional options
  • 1f6fe0d refactor!: drop chroma.Tokenise and Token.Clone
  • 0ecf558 fix(lexers): recognize empty, typed and bracketed AWK regexes (#1562)
  • 92f90dc fix(lexers): lex AWK conditionals, line continuations, next and func (#1561)
  • 9389a3a fix(html): restore default pre wrapper when InlineCode is false (#1529)
  • 3e989de Added standard suffixes for Fennel (#1554)
  • 7f56703 fix: exclude synthetic EnsureNL newline when lexer stack empties (#1558)
  • 59391b9 fix(lexers): avoid infinite loop on lone backtick in Plan 9 rc (#1559)
  • b4c3bc4 Recognize C23 digit separators and binary integers (#1557)
  • ee1b43e Recognize 128-bit Rust integer literal suffixes (#1556)
  • 9f4eadc fix(lexers): accept escape sequences in TypeScript, JSX, Vue and TSRX template literals (#1555)
  • 7f8b2ed Fix typos in comments (Custum, higlight) (#1553)
  • 6be056e Recognize final comments in LLVM, MLIR and TableGen (#1552)
  • 8b95dc7 Recognize Terraform/HCL identifiers with underscores and hyphens (#1550)
  • 2b81f95 Fix Terraform/HCL comments at EOF (#1548)
  • dd31be8 Recognize CMake cache variable references (#1546)
  • e6c0be5 Recognize CMake comments at EOF (#1544)
  • 02662fe fix: preserve coalescing through fluent lexer setters (#1508)
  • f947c85 fix: honor an omitted tokeniser state (#1530)
  • 84e29f9 feat(lexers): recognize NDJSON with JSON lexer (#1539)
  • 6fa9b1d fix(lexers): recognize spaced Go builtin calls (#1485)
  • e8c894f fix(lexers): record missing fixture expectations (#1538)
  • e64c44c Avoid keyword fragments in GDScript detection (#1542)
  • 424c6d9 Recognize Python template-string prefixes (#1541)
  • dd81d67 fix(lexers): keep TOML multiline strings together (#1537)
  • 4a8b704 fix(lexers): recognize escapes and lone dollars in Terraform strings (#1535)
  • 463647d fix(lexers): stop lexing TypeScript type arguments as JSX tags (#1534)