Skip to content

fix(deps): update module github.com/alecthomas/chroma/v2 to v3 - #403

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github.com-alecthomas-chroma-v2-3.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github.com-alecthomas-chroma-v2-3.x

Conversation

@renovate

@renovate renovate Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change OpenSSF
github.com/alecthomas/chroma/v2 require major v2.27.0 → v3.1.0 OpenSSF Scorecard

Release Notes

alecthomas/chroma (github.com/alecthomas/chroma/v2)

v3.1.0

Compare Source

Changelog

  • 3384a9f chore: add a bit bump target to tag releases
  • c36505b feat: make the regex match timeout configurable

v3.0.0

Compare Source

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)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/dlclark/regexp2/v2 v2.2.1 -> v2.10.1

@renovate
renovate Bot force-pushed the renovate/github.com-alecthomas-chroma-v2-3.x branch from fed13cb to 76f8f8c Compare November 30, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants