Repository navigation
feat(deps): update chroma to v2.27.0 and other dependencies - #294
Merged
Merged
Conversation
Go modules: - github.com/alecthomas/chroma/v2 v2.24.1 -> v2.27.0 - github.com/charmbracelet/glamour v0.10.0 -> v1.0.0 - github.com/mattn/go-sixel v0.0.9 -> v0.0.14 - github.com/stretchr/testify v1.11.1 -> v1.12.1 - github.com/tdewolff/minify/v2 v2.24.13 -> v2.25.0 GitHub Actions: - actions/checkout v6.0.2 -> v7.0.1 - actions/cache v5.0.5 -> v6.1.0 - jdx/mise-action v3.5.1 -> v5.2.10 - googleapis/release-please-action v4.4.1 -> v5.0.0 - actions/create-github-app-token v2.2.2 -> v3.4.0 (app-id -> client-id) - peter-evans/create-pull-request v7.0.11 -> v8.1.3 Tools: vhs 0.9.0 -> 0.12.1 docs/languages.md is regenerated for the languages chroma v2.27.0 adds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before: gat highlights with chroma v2.24.1, renders Markdown with glamour v0.10.0 and draws images with go-sixel v0.0.9, and uses minify v2.24.13 and testify v1.11.1. CI pins actions/checkout v6.0.2, actions/cache v5.0.5 and jdx/mise-action v3.5.1, the docs and demo workflows use create-pull-request v7.0.11, the release workflow uses release-please-action v4 and create-github-app-token v2, and
mise.tomlpins vhs 0.9.0.After: gat builds with chroma v2.27.0, glamour v1.0.0, go-sixel v0.0.14, minify v2.25.0 and testify v1.12.1, and every workflow pins the latest action releases (for jdx/mise-action, the latest release that is at least 7 days old, which is Renovate's minimum release age).
mise.tomlpins vhs 0.12.1.What users see:
//with nothing after it (an empty//line, or a trailing//after code such as"bar", //) no longer turns the next line into a comment.*.gemfile.lock),*.jsonl, Templ, LilyPond, Arturo and YAML+Jinja files are highlighted, and so are the Ruby filesAppraisals,.pryrc,*.gemfileand*.json.jbuilderand the PostScript files*.epsf,*.epsi,*.pfaand*.t42. Markdown front matter and HTML comments are highlighted, and the protobuf, Dart, HTTP and Markless lexers get fixes. Scripts that start with#!/usr/bin/env nuare detected as Nu, and-laccepts the names of the new languages and new aliases such asjsonl,saltandansible(seedocs/languages.md).*.slsfiles are read as YAML+Jinja (Salt states). R6RS Scheme libraries with the.slsextension, which were highlighted by content detection, now show each line in a single color.templ(for example a variable namedtempl). It is then highlighted as Templ, and where it was detected as Go before,-pno longer runs gofmt on it.to,with,usesandrequiresare highlighted as keywords even where they are used as identifiers.osinimport os.:and does not let a key contain#or//.//and the rest of the line is highlighted as a comment.labels: [] # note: x, is highlighted as a comment instead of being split at its:.:, as ink: 'a: b'or the flow mappingk: {a: 1, b: 2}, the key ends at the first:, and the text from there to the next:(such as'aink: 'a: b') is highlighted as a key too. Before, the whole text up to the last:was one key.#, such asC#:, is no longer highlighted as a key. The whole line is shown in one color.-pon a*.jsonlfile with a single record now pretty-prints it as JSON over several lines, because*.jsonlmaps to the JSON lexer. A file with more than one record is printed as is, as before.-Mrenders Markdown as before. With-M -c, code blocks follow the highlighting changes above.--mask-secretsoutput is unchanged.flowchart LR subgraph gat H[highlighting] --> C[chroma v2.27.0] M[-M] --> G[glamour v1.0.0] I[images] --> S[go-sixel v0.0.14] N[*-min formats] --> Mi[minify v2.25.0] end subgraph CI W[workflows] --> Co[checkout v7.0.1] W --> Se[setup] --> Mise[mise-action v5.2.10] --> T[mise.toml: vhs 0.12.1] Se --> Ca[cache v6.1.0] R[release-please.yml] --> RP[release-please-action v5.0.0] R --> AT[create-github-app-token v3.4.0] D[update-docs.yml, update-demo.yml] --> CPR[create-pull-request v8.1.3] endHow:
go mod tidy. No gat code changes were needed.experimental: trueis kept), release-please-action v5.0.0, create-github-app-token v3.4.0 and create-pull-request v8.1.3. create-github-app-token v3 deprecates theapp-idinput, so the release job passes the same secret asclient-id, which v3 accepts as either a client ID or an App ID.mise.toml: vhs 0.9.0 to 0.12.1. The tapes passvhs validate.docs/languages.mdis regenerated withgo run ./docs/update.go.This supersedes #283 and #270.
Checks run locally:
go test ./..., golangci-lint 2.15.0 (0 issues), actionlint,goreleaser checkand a snapshot build, and a comparison of output against a build of main.Generated by Claude Code