Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
v0.26.3
This is a patch release that prevents tea.WindowSizeMsgs from being fired during altscreen changes on Windows. This was due to the fact that Windows emits a window-size-event on altscreen changes even if the size hand’t changed. Now, we cache the window-size and compare before sending the message to the Model.
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
v0.26.2
This fixes a small regression that was introduced in v0.26.0 related to the first line on the first render not being displayed correctly. Thank you @​mistakenelf for pointing this out in charmbracelet/bubbletea#1000!
Style and ANSI operations under the hood are faster
There are also a handful of great lil' bug fixes. Read on for more.
Immutable Styles
Every Style method now returns a completely new style with its own underlying data structure no matter what. This means working with Styles is a lot easier. No more need for Copy()!
// Before
s := lipgloss.NewStyle().Bold(true)
newStyle := s.Copy()
// After
s := lipgloss.NewStyle().Bold(true)
newStyle := s // this is a true copy
Okay, but why are styles easier to work with now? Consider this:
// Before
baseStyle := lipgloss.NewStyle().Background(lipgloss.Color("59"))
styleAtRuntime := baseStyle.Copy().Width(m.Width)
// After
baseStyle := lipgloss.NewStyle().Padding(1, 2)
styleAtRuntime := baseStyle.Width(m.Width)
It might seem small, but eliminating the risk of mutations in persistent styles in an enormous usability improvement.
How to upgrade
There's nothing to do, however Style.Copy() is now deprecated and only returns itself, so you can just remove Style.Copy() calls. If you need to just copy a style without any changes to it you can simply b := a.
Faster ANSI
Sometimes watch companies brag about their "in-house" watch movement. Well, now we're bragging about our in-house-amazing x/ansi library by our own @​aymanbagabas. It's a fine-tuned, low-level way to manage ANSI sequencing and, because we're pretty nerdy, we’re super excited about it.
What's Changed
... (truncated)
Commits
5cd858c fix: respect UnderlineSpaces and StrikethroughSpaces (#299)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the all group with 9 updates:
1.5.0
1.6.0
0.25.0
0.26.4
0.10.0
0.11.0
1.16.0
1.17.0
0.10.2
0.10.3
6.5.8
6.5.9
2.2.1
2.2.2
1.23.0
1.24.1
1.2.0
1.3.0
Updates
github.com/JohannesKaufmann/html-to-markdown
from 1.5.0 to 1.6.0Release notes
Sourced from github.com/JohannesKaufmann/html-to-markdown's releases.
Commits
aec0c4a
update dependenciese92a7a3
Add support for youtube-nocookie.com domain in YoutubeEmbed plugin (#99)Updates
github.com/charmbracelet/bubbletea
from 0.25.0 to 0.26.4Release notes
Sourced from github.com/charmbracelet/bubbletea's releases.
... (truncated)
Commits
eb78a8c
fix: program renderer commands (#1030)5331b83
chore(deps): bump github.com/charmbracelet/lipgloss in /examples (#1025)c900512
chore(deps): bump github.com/charmbracelet/x/ansi from 0.1.1 to 0.1.2 (#1026)2ac3642
chore(ci): enable gofumpte656c56
chore(examples): update depscb801d8
refactor: use x/term and x/ansi for renderer sequences (#962)09f4ef0
fix(windows): prevent firing multiple window size events920d07b
fix(windows): clean up windows input readeref4e46c
chore(readme): add superfile to 'in the wild' (#985)cb36874
docs: add pug to "in the wild"Updates
github.com/charmbracelet/lipgloss
from 0.10.0 to 0.11.0Release notes
Sourced from github.com/charmbracelet/lipgloss's releases.
... (truncated)
Commits
5cd858c
fix: respect UnderlineSpaces and StrikethroughSpaces (#299)c91ab3e
chore(ci): enable gofumpt83fa9be
chore: use x/ansi instead of exp/termce5323e
chore(deps): bump golangci/golangci-lint-action from 5 to 6 (#290)e3596ae
chore(ci): test for different GOOS & GOARCH2fe044a
fix: Change the propkeys from int to int643ee5dca
chore(docs): doc updates with regard to style.Copy() deprecation517b1a1
fix: remove unused typed2795c7
refactor: replace props map with struct fields (#276)c986440
chore(lint): remove deprecated ifshort linting optionUpdates
github.com/fatih/color
from 1.16.0 to 1.17.0Release notes
Sourced from github.com/fatih/color's releases.
Commits
b6598b1
Merge pull request #228 from klauspost/fix-println-issue-21800b1811
Fix multi-parameter println spacing04994a8
Merge pull request #224 from fatih/dependabot/go_modules/golang.org/x/sys-0.18.07526cad
Merge branch 'main' into dependabot/go_modules/golang.org/x/sys-0.18.08d058ca
Merge pull request #222 from fatih/ci-updates2ac809f
Bump golang.org/x/sys from 0.17.0 to 0.18.051a7bbf
ci: update Go and Staticcheck versions799c49c
Merge pull request #217 from fatih/dependabot/github_actions/actions/setup-go-5f8e0ec9
Merge branch 'main' into dependabot/github_actions/actions/setup-go-5298abd8
Merge pull request #221 from fatih/dependabot/go_modules/golang.org/x/sys-0.17.0Updates
github.com/goccy/go-json
from 0.10.2 to 0.10.3Release notes
Sourced from github.com/goccy/go-json's releases.
Commits
5e2ae3f
Use io package instead of ioutil package (#498)3c67b03
Fix custom map marshaling (#505)581620b
Update go.ymlc352e8f
fix: fix a bug for escaping 0xE2 0x80 0xA8 in compactString (#479)df897ae
fix: decode struct with pointer must be nil (#473)3d5ab28
add license for encoding int processing9b91208
Add license for string processing (#476)Updates
github.com/jedib0t/go-pretty/v6
from 6.5.8 to 6.5.9Release notes
Sourced from github.com/jedib0t/go-pretty/v6's releases.
Commits
b0affc2
table: update note about auto-merge (#320)5395a20
table: html row automerge support (#319)Updates
github.com/pelletier/go-toml/v2
from 2.2.1 to 2.2.2Release notes
Sourced from github.com/pelletier/go-toml/v2's releases.
Commits
a3d5a0b
fix: sync pool race condition (#947)Updates
github.com/sashabaranov/go-openai
from 1.23.0 to 1.24.1Release notes
Sourced from github.com/sashabaranov/go-openai's releases.
Commits
211cb49
Update client.go to get response header whether there is an error or not. (#751)4f4a856
Added DALL.E 3 to readme.md (#741)9f19d1c
Add gpt4o (#742)3b25e09
enhancement: Add new GPT4-o and alias to completion enums (#744)6af3220
feat: support stream_options (#736)3334a9c
Add support for word-level audio transcription timestamp granularity (#733)c9953a7
Fixup minor copy-pasta comment typo (#728)Updates
zombiezen.com/go/sqlite
from 1.2.0 to 1.3.0Release notes
Sourced from zombiezen.com/go/sqlite's releases.
Changelog
Sourced from zombiezen.com/go/sqlite's changelog.
Commits
a8ad27a
Update release notes for 1.3.0990af03
Add Pool.Take method in sqlitemigration (#97)1cb3c37
Document OpenWAL behavior59bb121
Use immediate rather than deferred transaction in sqlitemigration ensureAppID...c60a6c8
Fix error message insqlitex.NewPool
for in-memory databasesa82f99e
Rework contributing guide to reflect the new nature of the projectDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show