This features support for Bubble Tea's new focus-blur feature as well as a quality-of-life update to paginator. Enjoy!
Focus
You heard that right. Focus-blur window events are now enabled for textinput and textarea which were recently added to Bubble Tea v1.1.0. As long as WithReportFocus is enabled in your Program you'll automatically get nicer inputs.
To enable focus reporting:
p := tea.NewProgram(model{}, tea.WithReportFocus())
Remember to stay focused and hydrated!
Paginator opts
Speaking of functional arguments, paginator also received some some new quality-of-life startup options, courtesy @nervo.
p := paginator.New(
paginator.WithPerPage(42),
paginator.WithTotalPages(42),
)
Of course, you can still set the values on the model directly too:
p := paginator.New()
p.PerPage = 42
p.TotalPages = 24
Happy paging!
Changelog
New!
d3bd075ed2b27a3b5d76bb79b5d1c928dcd780d0: feat(cursor): focus/blur support (#581) (@caarlos0)
This is an honorary release indicating that Lip Gloss is now stable. Thank you, open source community, for all your love, support, contributions, and great style.
Stay tuned for a v2 alpha!
v0.13.1
Table improvements, on stream
@bashbunni went to town in this release and fixed a bunch of bugs, mostly around table. Best of all, she did most of it on stream.
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 8 updates in the / directory:
1.9.2
1.10.0
0.19.0
0.20.0
0.13.0
1.0.0
1.17.0
1.18.0
6.5.9
6.6.1
1.29.0
1.32.5
1.17.3
1.18.0
1.3.0
1.4.0
Updates
github.com/PuerkitoBio/goquery
from 1.9.2 to 1.10.0Release notes
Sourced from github.com/PuerkitoBio/goquery's releases.
Commits
7d37930
Update readme to prepare 1.10 version9551ee5
Merge pull request #489 from PuerkitoBio/amikai-itereach-pr291e2cf
Merge branch 'master' into amikai-itereach-pr7019296
Update CI to target go1.23+eec8e87
Revert "Re-orangize code for compitable"957a864
Prepare 1.9.3 release34d91db
Merge pull request #488 from PuerkitoBio/dependabot/go_modules/golang.org/x/n...0984c44
Bump golang.org/x/net from 0.28.0 to 0.29.0fbfb78c
Merge pull request #487 from Kiyo510/fix_ci_teste91ee4d
Fixed checkout to repo before executing actions/setup-go@v5 step to avoid err...Updates
github.com/charmbracelet/bubbles
from 0.19.0 to 0.20.0Release notes
Sourced from github.com/charmbracelet/bubbles's releases.
... (truncated)
Commits
d3bd075
feat(cursor): focus/blur support (#581)6fc27e9
feat(deps): bump github.com/charmbracelet/bubbletea from 1.0.0 to 1.1.0 (#607)a163c6c
chore(lint): disable predeclared due to false positives72de4f4
chore(lint): update mnd name, remove deprecated directives3eaf8da
feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#604)5110925
feat: Introduce paginator optionsUpdates
github.com/charmbracelet/bubbletea
from 0.27.0 to 1.1.0Release notes
Sourced from github.com/charmbracelet/bubbletea's releases.
... (truncated)
Commits
e58efab
feat: support focus-blur events (#1122)a5437ac
feat(ci): use meta build workflow (#1123)c69bd97
fix: we don't initialize the terminal when using a nilRenderer (#1120)af7ec0e
chore(deps): bump github.com/charmbracelet/bubbles in /examples (#1104)105d88a
fix(ci): skip CI for examples/tutorials running go1.1817443d8
chore(deps): go mod tidyd6458e0
fix: force query the terminal bg before running any programsUpdates
github.com/charmbracelet/lipgloss
from 0.13.0 to 1.0.0Release notes
Sourced from github.com/charmbracelet/lipgloss's releases.
Commits
761d265
feat(deps): bump github.com/charmbracelet/x/ansi from 0.4.0 to 0.4.2342e7b0
chore(ci): sync golangci-lint configda324b1
feat(deps): bump github.com/charmbracelet/x/ansi from 0.3.2 to 0.4.078fd6fd
chore(ci): sync golangci-lint config407dc3d
feat(ci): add lint-sync workflow284c0c5
docs(list): fix list examples in godoc (#404)d858132
fix(table): include margins in cell width (#401)80b4221
chore(lint): update linter (#405)fa2f4b0
docs(readme): update example screenshot with blend68ca848
docs: update contributing guidelines (#396)Updates
github.com/fatih/color
from 1.17.0 to 1.18.0Release notes
Sourced from github.com/fatih/color's releases.
Commits
1c8d870
Update README.md546c2d0
Merge pull request #225 from fatih/add-rgb-api1ff0f97
Apply suggestions from code review5723903
Add RGB API supportf203fbc
Merge pull request #237 from fatih/dependabot/go_modules/golang.org/x/sys-0.25.060aa7fb
Bump golang.org/x/sys from 0.24.0 to 0.25.0741c2f4
Merge pull request #236 from fatih/dependabot/go_modules/golang.org/x/sys-0.24.00d24b42
Bump golang.org/x/sys from 0.18.0 to 0.24.0cb154c0
Merge pull request #235 from deining/fix-typo9b9653e
Bump GitHub workflow actionsUpdates
github.com/jedib0t/go-pretty/v6
from 6.5.9 to 6.6.1Release notes
Sourced from github.com/jedib0t/go-pretty/v6's releases.
Commits
840c578
table: change EmptySeparator to be a blank space; fixes #337 (#338)730bce7
progress: option to remove trackers on completion; fixes #321 (#336)c27402a
table: auto expand columns with Style().Size.WidthMin (#335)183dee4
text: handle hyperlink embedded text correctly; fixes #329 (#334)c4081bb
text: fix parsing escape sequences while wrapping; fixes #330 (#333)c078fb8
progress: fix possible race in Stop(); fixes #322 (#332)2a8f60e
table: Pager to page through the output (#331)6ea4b17
table: ignore non-printable characters when suppressing empty columns (#327)Updates
github.com/sashabaranov/go-openai
from 1.29.0 to 1.32.5Release notes
Sourced from github.com/sashabaranov/go-openai's releases.
... (truncated)
Commits
d10f1b8
add chatcompletion stream delta refusal and logprobs (#882)6e08732
Updated checkPromptType function to handle prompt list in completions (#885)3672c0d
fix: Updated Assistent struct with latest fields based on OpenAI docs (#883)fb15ff9
Handling for non-json response (#881)9fe2c6c
Completion API: add Store and Metadata parameters (#878)b162541
Cleanup (#879)21f7134
Adding new moderation model constants (#875)cfe15ff
return response body as byte slice for RequestError type (#873)9913264
Completion API: add new params (#870)7c145eb
add jailbreak filter result, add ContentFilterResults on output (#864)Updates
github.com/tidwall/gjson
from 1.17.3 to 1.18.0Commits
133f42c
Generally faster parsing92dff34
Update README.mdUpdates
zombiezen.com/go/sqlite
from 1.3.0 to 1.4.0Release notes
Sourced from zombiezen.com/go/sqlite's releases.
Changelog
Sourced from zombiezen.com/go/sqlite's changelog.
Commits
ac68309
Update release notes for 1.4.0c9384e7
Update modernc.org/sqlite version34980cf
Add explicit synchronization for sqlite3_initializec29a657
Add sqlitex.ResultBytes function (#86)26b464f
New name3255b67
Add error message for double-closeDependabot 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