Update dependency charmbracelet/glow to v2 #1227
Open
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.
This PR contains the following updates:
v1.5.1→v2.1.1Release Notes
charmbracelet/glow (charmbracelet/glow)
v2.1.1Compare Source
Changelog
Bug fixes
41d70ee: fix(lint): fix all linting issues (@andreynering)05872a5: fix(watch): watch for dir instead of file to work on all scenarios (#734) (@Ktrod)ee27edd: fix: handle case when selected md is nil (@MarkusBillharz)e23f237: fix: only show edit if documents are available (@MarkusBillharz)76e08e7: fix: sync viewport on half page up/down to prevent duplicate strings in render (#756) (@Ktrod)d2e04ad: fix: tui mode handling of remote urls (#744) (@glwbr)0a6732f: fix: update.golangci.ymlfor v2 (@andreynering)Others
2c0e4d8: chore(deps): bump github.com/charmbracelet/bubbles from 0.20.0 to 0.21.0 (#746) (@dependabot[bot])7dc4b9c: chore(deps): bump github.com/charmbracelet/bubbletea from 1.3.3 to 1.3.4 (#711) (@dependabot[bot])366e9a0: chore(deps): bump github.com/charmbracelet/bubbletea from 1.3.4 to 1.3.5 (#758) (@dependabot[bot])411cdb1: chore(deps): bump github.com/charmbracelet/glamour from 0.8.0 to 0.9.0 (#721) (@dependabot[bot])d54666d: chore(deps): bump github.com/charmbracelet/glamour from 0.9.0 to 0.9.1 (#727) (@dependabot[bot])bb9fcb4: chore(deps): bump github.com/charmbracelet/glamour from 0.9.1 to 0.10.0 (#753) (@dependabot[bot])6558aaa: chore(deps): bump github.com/charmbracelet/log from 0.4.0 to 0.4.1 (#724) (@dependabot[bot])e83c6ed: chore(deps): bump github.com/charmbracelet/log from 0.4.1 to 0.4.2 (#769) (@dependabot[bot])c84a03b: chore(deps): bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0 (#741) (@dependabot[bot])85668a6: chore(deps): bump github.com/spf13/viper from 1.19.0 to 1.20.0 (#722) (@dependabot[bot])50a763e: chore(deps): bump github.com/spf13/viper from 1.20.0 to 1.20.1 (#731) (@dependabot[bot])2da054e: chore(deps): bump golang.org/x/net from 0.27.0 to 0.33.0 (#707) (@dependabot[bot])ef85822: chore(deps): bump golang.org/x/sys from 0.32.0 to 0.33.0 (#764) (@dependabot[bot])eeb0fdd: chore(deps): bump golang.org/x/term from 0.29.0 to 0.30.0 (#714) (@dependabot[bot])e8049d7: chore(deps): bump golang.org/x/term from 0.30.0 to 0.31.0 (#739) (@dependabot[bot])5b2dfdd: chore(deps): bump golang.org/x/term from 0.31.0 to 0.32.0 (#762) (@dependabot[bot])6520105: chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#715) (@dependabot[bot])470fa3d: chore(deps): bump golang.org/x/text from 0.23.0 to 0.24.0 (#742) (@dependabot[bot])0880dea: chore(deps): bump golang.org/x/text from 0.24.0 to 0.25.0 (#763) (@dependabot[bot])6cd480d: chore(deps): bump golangci/golangci-lint-action from 6.5.0 to 6.5.1 (#720) (@dependabot[bot])0b668e1: chore(deps): bump golangci/golangci-lint-action from 6.5.1 to 6.5.2 (#726) (@dependabot[bot])4d59a97: chore(deps): bump golangci/golangci-lint-action from 6.5.2 to 7.0.0 (#730) (@dependabot[bot])cdeceb9: chore(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 (#759) (@dependabot[bot])6303d0b: chore(deps): updategolang.org/x/netwith security fixes (#749) (@andreynering)d37e988: chore(deps): update x/net (@caarlos0)23f9873: chore: add.editorconfig(@andreynering)c48ee3d: chore: add a taskfile (@andreynering)81c64fd: chore: delete makefile (@andreynering)230dbc7: ci: addlint-syncworkflow (@andreynering)f88a901: ci: fix goreleaser config (@caarlos0)e60e83c: ci: sync dependabot config (#755) (@charmcli)Verifying the artifacts
First, download the
checksums.txtfile, for example, withwget:wget 'https://github.com/charmbracelet/glow/releases/download/v2.1.1/checksums.txt'Then, verify it using
cosign:If the output is
Verified OK, you can safely use it to verify the checksums of other artifacts you downloaded from the release usingsha256sum: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.
v2.1.0Compare Source
Watch and Learn
At last: Glow will watch your markdown files and reload ’em as they change. No knobs and no settings: it just works.
Also, there is a new flag available to open files with the built-in pager:
🤗 Special thanks to @andreynering on the Charm team for implementing both these features and crushin’ a bunch of bugs!
Changelog
New Features
e03817b: feat: add new--tui/-tflag (#679) (@andreynering)f1b5651: feat: make --all configurable globally (#651) (@skatkov)f255f3a: feat: support GLAMOUR_STYLE for custom pager styles (#587) (@bashbunni)05e5b2e: feat: watch for file changes and reload automatically (@andreynering)Bug fixes
f689c90: fix: correct abs to rel path conversion (#683) (@Shane-XB-Qian)3989fe0: fix: ensurerkey works when filtering files (#648) (@NijeboerFrank)e44e468: fix: fallback to the current directory if no argument was given (@andreynering)2671509: fix: makeallsettingfalseby default (@andreynering)9dd8a6f: fix: make pipeline for tui work (@Shane-XB-Qian)ae57cce: fix: remove more stash-related stuff (#656) (@caarlos0)009c376: fix: restore hint fore/editon the footer (#678) (@andreynering)Other Stuff
8e36364: chore: add missing line end to.gitignore(@andreynering)7fbc040: refactor: rename a var (@andreynering)Verifying the artifacts
First, download the
checksums.txtfile, for example, withwget:wget 'https://github.com/charmbracelet/glow/releases/download/v2.1.0/checksums.txt'Then, verify it using
cosign:If the output is
Verified OK, you can safely use it to verify the checksums of other artifacts you downloaded from the release usingsha256sum: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.
v2.0.0Compare Source
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
c89c8bd: feat: update glamour (#634) (@caarlos0)4578bc1: feat: updating glamour (#631) (@caarlos0)Other Stuff
d2e7742: chore(ci): enable gofumpt (@aymanbagabas)736e77d: feat!: rename module to /v2 (#640) (@caarlos0)Verifying the artifacts
First, download the
checksums.txtfile, for example, withwget:wget 'https://github.com/charmbracelet/glow/releases/download/v2.0.0/checksums.txt'Then, verify it using
cosign:If the output is
Verified OK, you can safely use it to verify the checksums of other artifacts you downloaded from the release usingsha256sum: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.
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.