Releases: charmbracelet/glow
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 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.
v1.5.1
What's Changed
- fix: rm emoji from package description by @caarlos0 in #453
- fix: improve editor handling by @caarlos0 in #449
- fix: do not use deprecated func by @caarlos0 in #451
- docs: fix typos by @kianmeng in #471
- chore(deps): bump actions/setup-go from 3 to 4 by @dependabot in #478
- fix: lazily init UI by @muesli in #494
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.5.0
Your Terminal Notebook 📒
Use glow
as your terminal markdown notebook! This release contains several
quality of life improvements such as copying file contents and editing local
files.
Highlights
Copy File Contents
Press c to copy a file's contents to your clipboard to paste anywhere you'd like!
Edit Markdowns
Edit a file by pressing e with your preferred $EDITOR
(defaults to nano
) and reloads the file with the updated changes on save!
Hard line break support
When running glow README.md
, glow
will preserve line breaks to resemble the markdown file more closely.
New Features
- a07fdb7: feat(ui):
e
to open edit local markdown files in editor (@maaslalani) - 071783d: feat: copy contents of document (#439) (@maaslalani)
- b36e5ad: feat: sync glow with git.charm.sh (@aymanbagabas)
Bug fixes
- d9bf3b8: fix: don't close HTTP body (@maaslalani)
- 5f14914: fix: editor with args (#364) (@caarlos0)
- 01d9858: fix: goreleaser workflow (#358) (@caarlos0)
- 6543979: fix: performance scrolling (@meowgorithm)
- 19732a6: fix: support hard line breaks (#212) (@WieeRd)
- e0d667a: fix: use filepath.Dir instead of path.Dir (@Splode)
Others
- 8138788: Automatically read from stdin if stdin is a pipe (@meowgorithm)
- db7f49b: Bump Bubbles to v0.14.0, update accordingly, and simplify spinners (@meowgorithm)
- ff59ead: Extend example how to read from stdin (@nilsvu)
- dd1593b: Keybindings for editing the document from the pager (@jmmoser)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.4.1
This bugfix release prevents a data race and improves compatibility with rxvt-based terminals.
Fixes
4863f57 Bump bubbletea, glamour, and go-runewidth deps
92b8607 Bump termenv to v0.8.1
Thoughts? Questions? Feel free to reach out on Twitter and The Fediverse.
v1.4.0
Fixes
e1d8162 Add missing newline in pager
e9aa607 Fix tab contrast in light mode, particularly in macOS terminal
cfb746e Pass through all keys when editing filter
3a57221 Update pagination after changing sections when resetting the filter
Added
3285903 Enable/Disable pager from config (#242)
Changes
8d0ebb7 If the only argument is a directory open a TUI at that path (see #234)
2088bac Make TUI find markdowns with a variety of file extensions
Thoughts? Questions? Feel free to reach out on Twitter and The Fediverse.
v1.3.0
Happy holidays! It was one year ago that Glow v0.1 went live as the very first Charm project. We're proud of how far Glow’s come and looking forward to making it even better in 2021. Enjoy the release!
Highlights
Tabs
This release features a number of UX improvements, most notably your markdowns have been organized into tabs. To move between tabs press the conveniently labeled tab key. Filter has been renamed to find, and its results will also be stored in a tab.
Paths in Config
You can now use values like ~
, $HOME
, and ${HOME}
in the Glow config when specifying the path to your custom Glamour stylesheet. Environment variables will be expanded, too. Thanks to @shitchell for the idea @penguwin for the ultra-swift implantation.
Changelog
Fixes
a0fb0e4 Fix a case where file listings could jitter
426f478 Fix panic that could happen when deleting stuff really fast
Added
f1ede23 Add logging for stash/news fetching
03d9316 Also make news stashable from the pager
88806c8 Make news stashable in the file listing
617f098 Handle stash failures
fd2a6ec Show stash error details in the error message view
Changes
58df854 When clearing the filter forget which markdowns were stashed in-session
dd936ac Adjust "secondary" green color in stash highlight + help
2d10fb8 Adjust news header style
53155f1 Adjust spinner thresholds and timing so stashing feels snappier
4fcf48f Filter against local and stashed files, regardless of the current section
37a9b68 Filter is now called find
8f3c5df Highlight the most recent stash item in green in the stash view
e179741 Lighten mid-gray color for dark backgrounds
cfba912 Maintain pagination and cursor on a per-section basis
59f8a00 Make "already stashed" status messages more subtle
47b24f6 Move status message next to the logo in the file browser
40a0225 Only show news in news section
a67f00a Press tab/shift+tab to switch between local, stash and news
03db9a6 Put filter results in a tab
dd9179a Remove "News:" prefix from news items
4febcb4 Render larger help view in the file listing with the ? key
379dc74 Secret keystroke: navigate tabs with shift+h, shift+l
c10a84a Sort news by date
d21802d Style detailed help view and re-style mini help view
v1.2.1
v1.2.0
New!
The big feature in this release in filtering. Just press /
to find your stuff!
Changelog
Added
e985f96 Add fuzzy filtering for stash notes
e9d728c Add "hidden" command/config for switching on mouse wheel support
998cbf1 Ignore YAML frontmatter
4782b99 Display news item count in stash view
c16a146 Load the whole stash, page by page, automatically
9ce4ec9 Now in Scoop!
Changes
fb5a81f Upgrade to Bubble Tea v0.12.2 and Bubbles v0.7.5
v1.1.0
Changelog
Fixes
477979b Correct placement of stash hint in pager help
7f35996 Don't handle filenames with a colon in it as http(s) url
186d07d Don't show stash/memo info in pager help for news
3b06ccb Fix bug where pager help isn't updated after an in-pager stash
d4239a5 Error codes should be in the range of 0 to 125
8b78086 Remove extra line at the bottom of pager help
7ea7cc5 Respect width flag/config setting in the TUI; closes #168
Added
d5446bf Add config file support
4b4fb78 Open the configuration file with $EDITOR via 'glow config'
fcf109a Add flag for local files only (aka disable network) in TUI
Changes
0949a66 Update to bubbletea 0.12.0; minimum required changes
v1.0.2
Changelog
9049991 Bump bubbletea dependency for arrow key support on Windows
11d5858 Don't show add memo help in pager for local items
d4adf0d Don't use emojis on Windows
b9e5d6b Enable Windows, FreeBSD, OpenBSD and Alpine builds
5a6544d Fix typo in README
66a8ac1 Remove duplicate "down/j" from the "?" help
8ed7bb7 Restore ANSI support to non-TUI Glow on Windows
5f9c5b7 Windows support + bump termenv dependency