We are excited to announce the release of Atlas v0.26 🎊
It's been about a month since our last release, and we're excited to announce that Atlas v0.26 is now available! In this release we are happy to introduce a new feature that has been requested by many of you: support for Entity Framework Core. As part of our ever going effort to improve the quality and coverage of our documentation, we have published a set of guides on testing database schemas and migrations as well as a new GORM Portal.
[!NOTE]
Stay tuned for our next release which is going to include some exciting new features around declarative migrations and database schema observability.
Bugs? Squashed (along with a few nice lil’ features).
Community-Driven Development?! Yep, the majority of the changes in this release were done by the community. Thank you all for your contributions that made this release possible.
Progress: custom chars
You can now customize the filled and empty characters of the progress bar.
p := progress.New(progress.WithFillCharacters('>', '.'))
Table improvements
Help is on the way
Table now includes a short and full help view so it's easier than ever to tell your users how to interact with the table.
// Render a table with its help.
t := table.New()
view := t.View() + "\n" + t.HelpView()
Accessing columns
You can also now get the table's columns (this already existed for rows).
package table
// Columns returns the current columns.
func (m Model) Columns() []Column
List: page navigation is fixed!
Previously, list.NextPage() and list.PrevPage() didn't work because the methods did not have pointer receivers. We've fixed this…by making them pointer receivers!
⚠️ Note that this is a minor API change and you might need to update your app to pass a pointer receiver to your model rather than a copy. Details in #458.
package progress
// NextPage moves to the next page, if available.
func (m *Model) NextPage()
</tr></table>
There's also a tea.SuspendMsg that flows through Update on suspension.
Special thanks to @​knz for prototyping the original implementation of this.
Setting the environment
When Bubble Tea is behind Wish you may have needed to pass environment variables from the remote session to the Program. Now you can with the all new tea.WithEnvironment:
var sess ssh.Session // ssh.Session is a type from the github.com/charmbracelet/ssh package
pty, _, _ := sess.Pty()
environ := append(sess.Environ(), "TERM="+pty.Term)
p := tea.NewProgram(model, tea.WithEnvironment(environ)
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 gomod group with 4 updates in the / directory: ariga.io/atlas, github.com/charmbracelet/bubbles, github.com/charmbracelet/lipgloss and github.com/charmbracelet/wish.
Updates
ariga.io/atlas
from 0.25.0 to 0.26.0Release notes
Sourced from ariga.io/atlas's releases.
Commits
677f5b8
cmd/atlas/internal/docker: support docker+mariadb url scheme37078a1
doc/website/blog: announcing v0.26 (#3035)7a2ae96
doc/md/guides: add Guide for EF Core (#3023)94e5af1
cmd/atlas/internal/cmdlog: alow fmtPlan editable5f3b798
doc/md/guides: remove redundant sentence (#3033)ec9326c
doc/md: add gorm docs (#3020)f798458
doc/md: migrate test guide (#3008)6816852
cmd/atlas/internal/cmdapi: move getenv to variable to make it reused5036a9f
cmd/atlas/internal/cmdapi: warn once (#3029)f04ca30
cmd/atlas/internal/cmdapi: run upgrade suggestion in logic (#3024)Updates
github.com/charmbracelet/bubbles
from 0.18.0 to 0.19.0Release notes
Sourced from github.com/charmbracelet/bubbles's releases.
... (truncated)
Commits
f25096d
chore(lint): disable 'predeclared' linter235075a
feat: add HelpView to table as a conveniencec1d9f7d
feat(table): removeStyleFunc
+ add tests for table alignment (#586)549d076
chore: fix lint92d44ed
feat(deps): bump github.com/charmbracelet/bubbletea (#587)5428d6d
feat(key): accept any stringer interface to match keys (#584)ff5fb57
ci: no announceb8a38ff
ci: use goreleaser for releases (#526)57c9331
feat(deps): bump github.com/mattn/go-runewidth from 0.0.15 to 0.0.16 (#565)6063cfb
feat(deps): bump github.com/charmbracelet/lipgloss from 0.11.0 to 0.12.1 (#552)Updates
github.com/charmbracelet/bubbletea
from 0.26.6 to 0.27.0Release notes
Sourced from github.com/charmbracelet/bubbletea's releases.
... (truncated)
Commits
d6a19f0
fix: wrap ErrProgramKilled errorcae9acd
feat: set the program environment variables (#1063)7ddeec9
chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 (#1077)3eb74e8
chore(deps): bump github.com/charmbracelet/glamour in /examples (#1074)85ad914
chore(deps): bump golang.org/x/sync from 0.7.0 to 0.8.0 (#1072)7c4d678
chore(deps): bump golang.org/x/sys from 0.22.0 to 0.23.0 (#1073)7c1bfc0
fix: query window-size in a goroutine (#1059)7d70838
feat: add a cmd to request window size (#988)4497aa9
fix: reset cursor position on renderer exit (#1058)72760ee
chore(deps): bump github.com/charmbracelet/x/ansi from 0.1.3 to 0.1.4 (#1057)Updates
github.com/charmbracelet/lipgloss
from 0.12.1 to 0.13.0Release notes
Sourced from github.com/charmbracelet/lipgloss's releases.
... (truncated)
Commits
bb3e339
docs(README): match tree example alignment with list examplesbc0de5c
docs(README): make tree example match output185fde3
docs(README): update tree imagescf0a7c6
docs: fix tree screenshotfeb42a9
feat: move tree to root (#342)0618c73
feat(test): add test forJoinHorizontal
(#346)ed7f56e
docs: fixCompleteColor
example (#345)8a0e640
fix: remove unnecessary if87dd58d
chore: fix little typo in comment in go.modUpdates
github.com/charmbracelet/wish
from 1.4.0 to 1.4.2Release notes
Sourced from github.com/charmbracelet/wish's releases.
Commits
63070f9
chore(deps): bump github.com/charmbracelet/x/input from 0.1.0 to 0.1.3 (#312)c2afdea
fix(deps): update bubbletea, remove x/exp/term (#311)d5e24e8
chore(deps): bump github.com/charmbracelet/keygen from 0.5.0 to 0.5.1aa82a9f
chore(deps): bump github.com/charmbracelet/x/editor in /examples (#308)aa72dd8
docs: rename examplec9f03ce
docs: wish-exec and bubbletea-exec examples24cd097
chore(deps): go mod tidy examples168d696
chore(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0 in /examples572f793
chore(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.098808f6
chore(deps): bump golang.org/x/time from 0.5.0 to 0.6.0 (#302)Updates
github.com/muesli/termenv
from 0.15.2 to 0.15.3-0.20240509142007-81b8f94111d5Commits
Updates
golang.org/x/crypto
from 0.24.0 to 0.26.0Commits
5bcd010
go.mod: update golang.org/x dependencies3375612
ssh: add support for unpadded RSA signaturesbb80217
ssh: don't use dsa keys in integration tests6879722
ssh: remove go 1.21+ dependency on slicese983fa2
sha3: Avo port of keccakf_amd64.s80fd972
LICENSE: update per Google Legalf2bc3a6
x509roots/fallback/internal/goissue52287: deleted66d9c3
x509roots/fallback: update bundle9fadb0b
go.mod: update golang.org/x dependenciesa6a393f
all: bump go.mod version and drop compatibility shimsDependabot 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