charmbracelet/glow (charmbracelet/glow)
### [`v2.0.0`](https://redirect.github.com/charmbracelet/glow/releases/tag/v2.0.0)
[Compare Source](https://redirect.github.com/charmbracelet/glow/compare/v1.5.1...v2.0.0)
##### 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](https://redirect.github.com/charmbracelet/glamour/releases/tag/v0.8.0) which was released a few weeks ago.
As a bonus, the latest version of Glamour includes support for Tokyo Night.
```bash
glow -s "tokyo-night"
```
Additionally, the stash feature has been removed.
##### Changelog
##### New!
- [`d89d79a`](https://redirect.github.com/charmbracelet/glow/commit/d89d79a00ce257fca142b6b4d3b20ea25e377ca7): feat: --preserve-new-lines ([#623](https://redirect.github.com/charmbracelet/glow/issues/623)) ([@caarlos0](https://redirect.github.com/caarlos0))
- [`b1d3772`](https://redirect.github.com/charmbracelet/glow/commit/b1d377237d81d8149f6c0dd3c70ddacd2ac2b5c5): feat: add 'r' to refresh list and document ([#624](https://redirect.github.com/charmbracelet/glow/issues/624)) ([@caarlos0](https://redirect.github.com/caarlos0))
- [`96d2a38`](https://redirect.github.com/charmbracelet/glow/commit/96d2a38e67d03c08cecb89e8317512bc401825d1): feat: allow --width=0 to disable wordwrap ([#366](https://redirect.github.com/charmbracelet/glow/issues/366)) ([@applejag](https://redirect.github.com/applejag))
- [`fe066f2`](https://redirect.github.com/charmbracelet/glow/commit/fe066f214006c51cd87e0e36e86c06cf52dd97d5): feat: allow config from CHARM_CONFIG_HOME and XDG_CONFIG_HOME ([#621](https://redirect.github.com/charmbracelet/glow/issues/621)) ([@caarlos0](https://redirect.github.com/caarlos0))
- [`9ebe39c`](https://redirect.github.com/charmbracelet/glow/commit/9ebe39cd090ac49d4345ba5c8459328ecd146b91): feat: improve gitlab/github readme url ([#456](https://redirect.github.com/charmbracelet/glow/issues/456)) ([@caarlos0](https://redirect.github.com/caarlos0))
- [`f1cf0ba`](https://redirect.github.com/charmbracelet/glow/commit/f1cf0ba7856ec7d8f203a1a2c9b8597b3a0cdb14): feat: man pages ([@caarlos0](https://redirect.github.com/caarlos0))
- [`597e56b`](https://redirect.github.com/charmbracelet/glow/commit/597e56bad4599857dde4c36174ce7a5ec371b7cc): feat: open editor in current line ([@caarlos0](https://redirect.github.com/caarlos0))
- [`d7032fe`](https://redirect.github.com/charmbracelet/glow/commit/d7032fe57f7aa06e3e8f04f810db6796ed8fe42d): feat: shell completions ([@caarlos0](https://redirect.github.com/caarlos0))
- [`2d5bd3b`](https://redirect.github.com/charmbracelet/glow/commit/2d5bd3b7995fc7af57d72646d41bb7ad204a6df9): feat: show line numbers configuration option ([@caarlos0](https://redirect.github.com/caarlos0))
- [`0dcf127`](https://redirect.github.com/charmbracelet/glow/commit/0dcf1271dd6012d686998c6e42efe9c2fea1a476): feat: suspend ([@caarlos0](https://redirect.github.com/caarlos0))
- [`c991ec4`](https://redirect.github.com/charmbracelet/glow/commit/c991ec475d777f9656b29fd861ff4b38f5d8313c): feat: use x/editor ([#543](https://redirect.github.com/charmbracelet/glow/issues/543)) ([@caarlos0](https://redirect.github.com/caarlos0))
##### Fixed!
- [`9c79fa1`](https://redirect.github.com/charmbracelet/glow/commit/9c79fa1b48d72ed8fdf60517d374790bb694a251): fix(ci): remove soft-serve workflow ([@aymanbagabas](https://redirect.github.com/aymanbagabas))
- [`bccf3d0`](https://redirect.github.com/charmbracelet/glow/commit/bccf3d0cb7a8d87aff73061ba0b47873c3754ac5): fix(ci): update coverage workflow ([@aymanbagabas](https://redirect.github.com/aymanbagabas))
- [`08c564c`](https://redirect.github.com/charmbracelet/glow/commit/08c564c8588e972b920807cca8e5335ddbd6632f): fix: --all bypass .gitignore rules ([#285](https://redirect.github.com/charmbracelet/glow/issues/285)) ([#504](https://redirect.github.com/charmbracelet/glow/issues/504)) ([@aitva](https://redirect.github.com/aitva))
- [`8e51396`](https://redirect.github.com/charmbracelet/glow/commit/8e5139657547918b8e83c544cf68ec1e7e87b7c4): fix: check other possible readme paths/branches ([#450](https://redirect.github.com/charmbracelet/glow/issues/450)) ([@caarlos0](https://redirect.github.com/caarlos0))
- [`1133e50`](https://redirect.github.com/charmbracelet/glow/commit/1133e5047b24cae6a932c15189f81897b74697a4): fix: config failing in tests ([#625](https://redirect.github.com/charmbracelet/glow/issues/625)) ([@caarlos0](https://redirect.github.com/caarlos0))
- [`2288311`](https://redirect.github.com/charmbracelet/glow/commit/2288311e82f616abe9d87f76dbefacd3f5bb0f99): fix: do not hard fail if no config ([@caarlos0](https://redirect.github.com/caarlos0))
- [`821d51d`](https://redirect.github.com/charmbracelet/glow/commit/821d51da131170be16469c0692a6dca8f3ccc540): fix: do not show absolute path as note ([@caarlos0](https://redirect.github.com/caarlos0))
- [`247c707`](https://redirect.github.com/charmbracelet/glow/commit/247c707b25ad07808b5a8fc6830b78740fa89dca): fix: glow URL ([@caarlos0](https://redirect.github.com/caarlos0))
- [`a1a8563`](https://redirect.github.com/charmbracelet/glow/commit/a1a85636eafc36192eb1efe110f4f79c2b4eb74a): fix: handle not being able to create log file ([@caarlos0](https://redirect.github.com/caarlos0))
- [`b80e831`](https://redirect.github.com/charmbracelet/glow/commit/b80e8312f214b662ac298fb9c20c26b903e0f9b2): fix: handle permission denied ([@caarlos0](https://redirect.github.com/caarlos0))
- [`54dd62a`](https://redirect.github.com/charmbracelet/glow/commit/54dd62a2a43d36e10d075b2b3fe9b0f637f2e2b9): fix: handle running inside a snap ([#527](https://redirect.github.com/charmbracelet/glow/issues/527)) ([@caarlos0](https://redirect.github.com/caarlos0))
- [`ad01f38`](https://redirect.github.com/charmbracelet/glow/commit/ad01f380bd85a9aee962050f83e22c1ad8069145): fix: improve line no ([@caarlos0](https://redirect.github.com/caarlos0))
- [`f44e5b5`](https://redirect.github.com/charmbracelet/glow/commit/f44e5b5f5c431eaa6451aa62841659b4fdad00b3): fix: improve message ([@caarlos0](https://redirect.github.com/caarlos0))
- [`7e471f1`](https://redirect.github.com/charmbracelet/glow/commit/7e471f17877ce2dd69a4f443f6b0c9bf0f95382d): fix: lint issue ([@caarlos0](https://redirect.github.com/caarlos0))
- [`e4cacf7`](https://redirect.github.com/charmbracelet/glow/commit/e4cacf7319340b95d6d7d9059218c32251bf9b11): fix: mkdir cache dir ([@caarlos0](https://redirect.github.com/caarlos0))
- [`1407793`](https://redirect.github.com/charmbracelet/glow/commit/1407793c5d11ceed9086c9779322617e633067a0): fix: pass color profile down to glamour ([#626](https://redirect.github.com/charmbracelet/glow/issues/626)) ([@caarlos0](https://redirect.github.com/caarlos0))
- [`9a3f7a1`](https://redirect.github.com/charmbracelet/glow/commit/9a3f7a19cbc8b5f272f798041f5f2917c3ccbb27): fix: replace string concatenation in loop with string builder ([#505](https://redirect.github.com/charmbracelet/glow/issues/505)) ([@appgurueu](https://redirect.github.com/appgurueu))
- [`cd99146`](https://redirect.github.com/charmbracelet/glow/commit/cd99146e9ea95e0b74f82e317f9d2cdb977d3684): fix: update codeowners ([#637](https://redirect.github.com/charmbracelet/glow/issues/637)) ([@caarlos0](https://redirect.github.com/caarlos0))
- [`3f9102d`](https://redirect.github.com/charmbracelet/glow/commit/3f9102d1162191c4523c1f9fcf109215e4dce6da): fix: yet another log handling fix ([@caarlos0](https://redirect.github.com/caarlos0))
##### Deps
- [`c89c8bd`](https://redirect.github.com/charmbracelet/glow/commit/c89c8bd6e78de0e7d3a30d5b44b14e598ccb443e): feat: update glamour ([#634](https://redirect.github.com/charmbracelet/glow/issues/634)) ([@caarlos0](https://redirect.github.com/caarlos0))
- [`4578bc1`](https://redirect.github.com/charmbracelet/glow/commit/4578bc149a6d1400edb4ad84bcf0819a822556bc): feat: updating glamour ([#631](https://redirect.github.com/charmbracelet/glow/issues/631)) ([@caarlos0](https://redirect.github.com/caarlos0))
##### Other Stuff
- [`d2e7742`](https://redirect.github.com/charmbracelet/glow/commit/d2e7742a6abb52866c69d71e430e3eee82785148): chore(ci): enable gofumpt ([@aymanbagabas](https://redirect.github.com/aymanbagabas))
- [`736e77d`](https://redirect.github.com/charmbracelet/glow/commit/736e77dbc66ac95913b77e06095311546e32e2cb): feat!: rename module to /v2 ([#640](https://redirect.github.com/charmbracelet/glow/issues/640)) ([@caarlos0](https://redirect.github.com/caarlos0))
***
Verifying the artifacts
First, download the [`checksums.txt` file](https://redirect.github.com/charmbracelet/glow/releases/download/2.0.0/checksums.txt), for example, with `wget`:
```bash
wget 'https://github.com/charmbracelet/glow/releases/download/v2.0.0/checksums.txt'
```
Then, verify it using [`cosign`](https://redirect.github.com/sigstore/cosign):
```bash
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`:
```bash
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](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@charm), or on [Discord](https://charm.sh/chat).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 contains the following updates:
v1.5.1
->v2.0.0
Release Notes
charmbracelet/glow (charmbracelet/glow)
### [`v2.0.0`](https://redirect.github.com/charmbracelet/glow/releases/tag/v2.0.0) [Compare Source](https://redirect.github.com/charmbracelet/glow/compare/v1.5.1...v2.0.0) ##### 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](https://redirect.github.com/charmbracelet/glamour/releases/tag/v0.8.0) which was released a few weeks ago. As a bonus, the latest version of Glamour includes support for Tokyo Night. ```bash glow -s "tokyo-night" ``` Additionally, the stash feature has been removed. ##### Changelog ##### New! - [`d89d79a`](https://redirect.github.com/charmbracelet/glow/commit/d89d79a00ce257fca142b6b4d3b20ea25e377ca7): feat: --preserve-new-lines ([#623](https://redirect.github.com/charmbracelet/glow/issues/623)) ([@caarlos0](https://redirect.github.com/caarlos0)) - [`b1d3772`](https://redirect.github.com/charmbracelet/glow/commit/b1d377237d81d8149f6c0dd3c70ddacd2ac2b5c5): feat: add 'r' to refresh list and document ([#624](https://redirect.github.com/charmbracelet/glow/issues/624)) ([@caarlos0](https://redirect.github.com/caarlos0)) - [`96d2a38`](https://redirect.github.com/charmbracelet/glow/commit/96d2a38e67d03c08cecb89e8317512bc401825d1): feat: allow --width=0 to disable wordwrap ([#366](https://redirect.github.com/charmbracelet/glow/issues/366)) ([@applejag](https://redirect.github.com/applejag)) - [`fe066f2`](https://redirect.github.com/charmbracelet/glow/commit/fe066f214006c51cd87e0e36e86c06cf52dd97d5): feat: allow config from CHARM_CONFIG_HOME and XDG_CONFIG_HOME ([#621](https://redirect.github.com/charmbracelet/glow/issues/621)) ([@caarlos0](https://redirect.github.com/caarlos0)) - [`9ebe39c`](https://redirect.github.com/charmbracelet/glow/commit/9ebe39cd090ac49d4345ba5c8459328ecd146b91): feat: improve gitlab/github readme url ([#456](https://redirect.github.com/charmbracelet/glow/issues/456)) ([@caarlos0](https://redirect.github.com/caarlos0)) - [`f1cf0ba`](https://redirect.github.com/charmbracelet/glow/commit/f1cf0ba7856ec7d8f203a1a2c9b8597b3a0cdb14): feat: man pages ([@caarlos0](https://redirect.github.com/caarlos0)) - [`597e56b`](https://redirect.github.com/charmbracelet/glow/commit/597e56bad4599857dde4c36174ce7a5ec371b7cc): feat: open editor in current line ([@caarlos0](https://redirect.github.com/caarlos0)) - [`d7032fe`](https://redirect.github.com/charmbracelet/glow/commit/d7032fe57f7aa06e3e8f04f810db6796ed8fe42d): feat: shell completions ([@caarlos0](https://redirect.github.com/caarlos0)) - [`2d5bd3b`](https://redirect.github.com/charmbracelet/glow/commit/2d5bd3b7995fc7af57d72646d41bb7ad204a6df9): feat: show line numbers configuration option ([@caarlos0](https://redirect.github.com/caarlos0)) - [`0dcf127`](https://redirect.github.com/charmbracelet/glow/commit/0dcf1271dd6012d686998c6e42efe9c2fea1a476): feat: suspend ([@caarlos0](https://redirect.github.com/caarlos0)) - [`c991ec4`](https://redirect.github.com/charmbracelet/glow/commit/c991ec475d777f9656b29fd861ff4b38f5d8313c): feat: use x/editor ([#543](https://redirect.github.com/charmbracelet/glow/issues/543)) ([@caarlos0](https://redirect.github.com/caarlos0)) ##### Fixed! - [`9c79fa1`](https://redirect.github.com/charmbracelet/glow/commit/9c79fa1b48d72ed8fdf60517d374790bb694a251): fix(ci): remove soft-serve workflow ([@aymanbagabas](https://redirect.github.com/aymanbagabas)) - [`bccf3d0`](https://redirect.github.com/charmbracelet/glow/commit/bccf3d0cb7a8d87aff73061ba0b47873c3754ac5): fix(ci): update coverage workflow ([@aymanbagabas](https://redirect.github.com/aymanbagabas)) - [`08c564c`](https://redirect.github.com/charmbracelet/glow/commit/08c564c8588e972b920807cca8e5335ddbd6632f): fix: --all bypass .gitignore rules ([#285](https://redirect.github.com/charmbracelet/glow/issues/285)) ([#504](https://redirect.github.com/charmbracelet/glow/issues/504)) ([@aitva](https://redirect.github.com/aitva)) - [`8e51396`](https://redirect.github.com/charmbracelet/glow/commit/8e5139657547918b8e83c544cf68ec1e7e87b7c4): fix: check other possible readme paths/branches ([#450](https://redirect.github.com/charmbracelet/glow/issues/450)) ([@caarlos0](https://redirect.github.com/caarlos0)) - [`1133e50`](https://redirect.github.com/charmbracelet/glow/commit/1133e5047b24cae6a932c15189f81897b74697a4): fix: config failing in tests ([#625](https://redirect.github.com/charmbracelet/glow/issues/625)) ([@caarlos0](https://redirect.github.com/caarlos0)) - [`2288311`](https://redirect.github.com/charmbracelet/glow/commit/2288311e82f616abe9d87f76dbefacd3f5bb0f99): fix: do not hard fail if no config ([@caarlos0](https://redirect.github.com/caarlos0)) - [`821d51d`](https://redirect.github.com/charmbracelet/glow/commit/821d51da131170be16469c0692a6dca8f3ccc540): fix: do not show absolute path as note ([@caarlos0](https://redirect.github.com/caarlos0)) - [`247c707`](https://redirect.github.com/charmbracelet/glow/commit/247c707b25ad07808b5a8fc6830b78740fa89dca): fix: glow URL ([@caarlos0](https://redirect.github.com/caarlos0)) - [`a1a8563`](https://redirect.github.com/charmbracelet/glow/commit/a1a85636eafc36192eb1efe110f4f79c2b4eb74a): fix: handle not being able to create log file ([@caarlos0](https://redirect.github.com/caarlos0)) - [`b80e831`](https://redirect.github.com/charmbracelet/glow/commit/b80e8312f214b662ac298fb9c20c26b903e0f9b2): fix: handle permission denied ([@caarlos0](https://redirect.github.com/caarlos0)) - [`54dd62a`](https://redirect.github.com/charmbracelet/glow/commit/54dd62a2a43d36e10d075b2b3fe9b0f637f2e2b9): fix: handle running inside a snap ([#527](https://redirect.github.com/charmbracelet/glow/issues/527)) ([@caarlos0](https://redirect.github.com/caarlos0)) - [`ad01f38`](https://redirect.github.com/charmbracelet/glow/commit/ad01f380bd85a9aee962050f83e22c1ad8069145): fix: improve line no ([@caarlos0](https://redirect.github.com/caarlos0)) - [`f44e5b5`](https://redirect.github.com/charmbracelet/glow/commit/f44e5b5f5c431eaa6451aa62841659b4fdad00b3): fix: improve message ([@caarlos0](https://redirect.github.com/caarlos0)) - [`7e471f1`](https://redirect.github.com/charmbracelet/glow/commit/7e471f17877ce2dd69a4f443f6b0c9bf0f95382d): fix: lint issue ([@caarlos0](https://redirect.github.com/caarlos0)) - [`e4cacf7`](https://redirect.github.com/charmbracelet/glow/commit/e4cacf7319340b95d6d7d9059218c32251bf9b11): fix: mkdir cache dir ([@caarlos0](https://redirect.github.com/caarlos0)) - [`1407793`](https://redirect.github.com/charmbracelet/glow/commit/1407793c5d11ceed9086c9779322617e633067a0): fix: pass color profile down to glamour ([#626](https://redirect.github.com/charmbracelet/glow/issues/626)) ([@caarlos0](https://redirect.github.com/caarlos0)) - [`9a3f7a1`](https://redirect.github.com/charmbracelet/glow/commit/9a3f7a19cbc8b5f272f798041f5f2917c3ccbb27): fix: replace string concatenation in loop with string builder ([#505](https://redirect.github.com/charmbracelet/glow/issues/505)) ([@appgurueu](https://redirect.github.com/appgurueu)) - [`cd99146`](https://redirect.github.com/charmbracelet/glow/commit/cd99146e9ea95e0b74f82e317f9d2cdb977d3684): fix: update codeowners ([#637](https://redirect.github.com/charmbracelet/glow/issues/637)) ([@caarlos0](https://redirect.github.com/caarlos0)) - [`3f9102d`](https://redirect.github.com/charmbracelet/glow/commit/3f9102d1162191c4523c1f9fcf109215e4dce6da): fix: yet another log handling fix ([@caarlos0](https://redirect.github.com/caarlos0)) ##### Deps - [`c89c8bd`](https://redirect.github.com/charmbracelet/glow/commit/c89c8bd6e78de0e7d3a30d5b44b14e598ccb443e): feat: update glamour ([#634](https://redirect.github.com/charmbracelet/glow/issues/634)) ([@caarlos0](https://redirect.github.com/caarlos0)) - [`4578bc1`](https://redirect.github.com/charmbracelet/glow/commit/4578bc149a6d1400edb4ad84bcf0819a822556bc): feat: updating glamour ([#631](https://redirect.github.com/charmbracelet/glow/issues/631)) ([@caarlos0](https://redirect.github.com/caarlos0)) ##### Other Stuff - [`d2e7742`](https://redirect.github.com/charmbracelet/glow/commit/d2e7742a6abb52866c69d71e430e3eee82785148): chore(ci): enable gofumpt ([@aymanbagabas](https://redirect.github.com/aymanbagabas)) - [`736e77d`](https://redirect.github.com/charmbracelet/glow/commit/736e77dbc66ac95913b77e06095311546e32e2cb): feat!: rename module to /v2 ([#640](https://redirect.github.com/charmbracelet/glow/issues/640)) ([@caarlos0](https://redirect.github.com/caarlos0)) ***Verifying the artifacts
First, download the [`checksums.txt` file](https://redirect.github.com/charmbracelet/glow/releases/download/2.0.0/checksums.txt), for example, with `wget`: ```bash wget 'https://github.com/charmbracelet/glow/releases/download/v2.0.0/checksums.txt' ``` Then, verify it using [`cosign`](https://redirect.github.com/sigstore/cosign): ```bash 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`: ```bash sha256sum --ignore-missing -c checksums.txt ``` Done! You artifacts are now verified!Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR was generated by Mend Renovate. View the repository job log.