Hello v2!
This release contains a massive amount of bug fixes and rendering improvements, many of which come by way of Glamour v0.8.0 which was released a few weeks ago.
As a bonus, the latest version of Glamour includes support for Tokyo Night.
glow -s "tokyo-night"
Additionally, the stash feature has been removed.
Changelog
New!
- d89d79a: feat: --preserve-new-lines (#623) (@caarlos0)
- b1d3772: feat: add 'r' to refresh list and document (#624) (@caarlos0)
- 96d2a38: feat: allow --width=0 to disable wordwrap (#366) (@applejag)
- fe066f2: feat: allow config from CHARM_CONFIG_HOME and XDG_CONFIG_HOME (#621) (@caarlos0)
- 9ebe39c: feat: improve gitlab/github readme url (#456) (@caarlos0)
- f1cf0ba: feat: man pages (@caarlos0)
- 597e56b: feat: open editor in current line (@caarlos0)
- d7032fe: feat: shell completions (@caarlos0)
- 2d5bd3b: feat: show line numbers configuration option (@caarlos0)
- 0dcf127: feat: suspend (@caarlos0)
- c991ec4: feat: use x/editor (#543) (@caarlos0)
Fixed!
- 9c79fa1: fix(ci): remove soft-serve workflow (@aymanbagabas)
- bccf3d0: fix(ci): update coverage workflow (@aymanbagabas)
- 08c564c: fix: --all bypass .gitignore rules (#285) (#504) (@aitva)
- 8e51396: fix: check other possible readme paths/branches (#450) (@caarlos0)
- 1133e50: fix: config failing in tests (#625) (@caarlos0)
- 2288311: fix: do not hard fail if no config (@caarlos0)
- 821d51d: fix: do not show absolute path as note (@caarlos0)
- 247c707: fix: glow URL (@caarlos0)
- a1a8563: fix: handle not being able to create log file (@caarlos0)
- b80e831: fix: handle permission denied (@caarlos0)
- 54dd62a: fix: handle running inside a snap (#527) (@caarlos0)
- ad01f38: fix: improve line no (@caarlos0)
- f44e5b5: fix: improve message (@caarlos0)
- 7e471f1: fix: lint issue (@caarlos0)
- e4cacf7: fix: mkdir cache dir (@caarlos0)
- 1407793: fix: pass color profile down to glamour (#626) (@caarlos0)
- 9a3f7a1: fix: replace string concatenation in loop with string builder (#505) (@appgurueu)
- cd99146: fix: update codeowners (#637) (@caarlos0)
- 3f9102d: fix: yet another log handling fix (@caarlos0)
Deps
Other Stuff
- d2e7742: chore(ci): enable gofumpt (@aymanbagabas)
- 736e77d: feat!: rename module to /v2 (#640) (@caarlos0)
Verifying the artifacts
First, download the checksums.txt
file, for example, with wget
:
wget 'https://github.com/charmbracelet/glow/releases/download/v2.0.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/glow/releases/download/v2.0.0/checksums.txt.pem' \
--signature 'https://github.com/charmbracelet/glow/releases/download/v2.0.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, The Fediverse, or on Discord.