Perf, Default Diff Mode, and Community
This release contains a bunch of good stuff from the community. @tazjin went deep into the Charm ecosystem and tuned perf all the way up. @ras0q, a Crush contributor extraordinaire, fixed a solid bug with Gemini and retries. @bbrodriges added a setting for default diff mode. Find it all in the changelog below.
What’s your fave diff mode?
@bbrodriges definitely has a favorite diff mode. We have no idea what it is, but it's important enough to him that he added a feature that allows you to set this in the config. Valid options are unified
and split
. Here’s what the config looks like:
{
"options": {
"tui": {
"diff_mode": "unified",
}
}
}
Changelog
New!
- df23e9a: feat(config): allow configure the default diff mode (#454) (@bbrodriges)
Perf
- dce9578: perf: bump glamour/ultraviolet/cellbuf for @tazjin's performance improvements (@aymanbagabas)
- bdb0a4c: perf: reduce gc pressure in rendering pipeline (#687) (@tazjin)
Fixed!
- 9d68f99: fix(gemini): retry at rate limit (@ras0q)
- 705d6f6: fix(sidebar): compute the right line count even on windows / crlf (@andreynering)
- dba44be: fix(sidebar): fix full path appearing on sidebar on windows (@andreynering)
- a3efafc: fix(tool): fix
edit
andmulti-edit
tools on windows (@andreynering and @theguy000)
Verifying the artifacts
First, download the checksums.txt
file, for example, with wget
:
wget 'https://github.com/charmbracelet/crush/releases/download/v0.5.0/checksums.txt'
Then, verify it using cosign
:
cosign verify-blob \
--certificate-identity 'https://github.com/charmbracelet/meta/.github/workflows/goreleaser.yml@refs/heads/main' \
--certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
--cert 'https://github.com/charmbracelet/crush/releases/download/v0.5.0/checksums.txt.pem' \
--signature 'https://github.com/charmbracelet/crush/releases/download/v0.5.0/checksums.txt.sig' \
./checksums.txt
If the output is Verified OK
, you can safely use it to verify the checksums of other artifacts you downloaded from the release using sha256sum
:
sha256sum --ignore-missing -c checksums.txt
Done! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, Discord, Slack, The Fediverse.