We are excited to announce the release of Atlas v0.22 🎊
We're happy to share with you v0.22, which includes very exciting improvements for Atlas. Here's what's new:
RENAME Detection - Prior to version v0.22, Atlas interpreted schema renames as DROP and ADD commands. This version includes a rename detector that identifies such operations and interactively asks the user for feedback before generating the changes.
Preventing Table Locks - Eight new checks have been added to the migrate lint to detect table locks in various modes, which can be avoided during the PR stage. Note, these checks are available for Atlas Cloud users only 🚀
Added support for PostgreSQL UNIQUE and EXCLUDE constraints.
PostgreSQL composite types can now be managed as part of your schema.
Added support for sequence objects in Microsoft SQL Server.
The default binaries in this release are distributed released under Atlas EULA, and the community binaries are released under the Apache 2.0 license. If you would like to build Atlas from source follow the instructions here.
We are excited to announce the release of Atlas v0.21 🎊
It's been only two weeks since our last version and today I'm happy to share with you v0.21, which includes very exciting feature for Atlas: migrate down.
The new atlas migrate down command allows reverting applied migrations. Unlike the traditional approach, where down files are "pre-planned", Atlas computes a migration plan based on the current state of the database. Atlas reverts previously applied migrations and executes them until the desired version is reached, regardless of the state of the latest applied migration — whether it succeeded, failed, or was partially applied and left the database in an unknown version.
... (truncated)
Commits
296a12c doc: add exclusion constraint to hcl (#2732)
87cf226 sql/postgres: trim schema from operator only if schema is known (#2731)
5663cd7 sql/postgres: initial support for exclude constraints (#2730)
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!
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
v0.26.0
Bracketed Paste, Windows Improvements, Mainframes, and more
What do tapioca balls, IBM mainframes, and the Microsoft Windows Console API have in common? Bubble Tea v0.26.0, that’s what. Let’s get to it.
⚡️ Windows Input Improvements
A few years ago @erikgeiser, a penetration tester and ex-particle physicist, wrote this awesome library called coninput to majorly improve Bubble Tea input on Windows. @aymanbagabas has implemented the library in Bubble Tea and input on Windows is roughly 1000 times better now. In the short term, this means that for Windows users inputting non-Latin characters (like Greek, Cyrillic, Korean, Chinese and so on) stuff will “just work.”
The bigger news, however, is that this paves the way for Windows parity with our forthcoming support for super high fidelity input via Kitty Keyboard and Fixterms.
🍳 Hot Windows Resize Events
Terminal emulators on Windows don’t support the SIGWINCH signal, which is sent when the terminal is resized. It’s been a huge bummer for a really long time. Thanks (again) to @erikgeiser and @aymanbagabas, we’re now able to reach deep into Windows’ underpinnings, detect window resizes, and send tea.WindowSizeMsgs accordingly! This is a glorious moment for Bubble Tea on Windows indeed.
... (truncated)
Commits
ea792a8 chore(deps): bump golang.org/x/term from 0.19.0 to 0.20.0
4f070e4 chore(deps): bump golangci/golangci-lint-action from 5 to 6
c31d33d chore(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0
Lip Gloss v0.10.0 features a brand new Transform function for Styles to alter strings at render time. As well as some bug fixes, like ANSI-aware table cell truncation. 🧹
Simply define a Transform function as func (string) string and apply it to any style:
// Example:
s := NewStyle().Transform(strings.ToUpper)
fmt.Println(s.Render("raow!") // "RAOW!"
Or, if you prefer:
// Example:
reverse := func(s string) string {
n := 0
rune := make([]rune, len(s))
for _, r := range s {
rune[n] = r
n++
}
rune = rune[0:n]
for i := 0; i < n/2; i++ {
rune[i], rune[n-1-i] = rune[n-1-i], rune[i]
}
return string(rune)
}
s := NewStyle().Transform(reverse)
fmt.Println(s.Render("The quick brown 狐 jumped over the lazy 犬")
// "犬 yzal eht revo depmuj 狐 nworb kciuq ehT",
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.3.1
Changelog
Documentation updates
23261db3d12423efceda03ef15dec56bdcf28cec: docs: improving examples and docs (#235) (@caarlos0)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.3.0
PTYs, Subsystems, and More
This release is loaded with improvements and new features like support for exec, server banners, subsystems, and client color profiles. Read on for more!
Exec and PTYs
At last, now you can get real a PTY for reach SSH connection. This allows you to exec.Command on the remote. This also means bubbletea.Exec will now work as expected[^windows]!
// Open a file in Vim in Bubble Tea (on the server)
c := wish.Command(m.sess, "vim", "file.txt")
</tr></table>
Bumps the gomod group with 10 updates in the / directory:
0.15.0
0.22.0
2.10.0
2.13.0
0.25.0
0.26.2
0.9.1
0.10.0
1.2.0
1.4.0
1.3.0
1.4.0
1.17.7
1.17.8
1.31.0
1.32.0
2.20.15
2.20.24
1.7.0
1.7.1
Updates
ariga.io/atlas
from 0.15.0 to 0.22.0Release notes
Sourced from ariga.io/atlas's releases.
... (truncated)
Commits
296a12c
doc: add exclusion constraint to hcl (#2732)87cf226
sql/postgres: trim schema from operator only if schema is known (#2731)5663cd7
sql/postgres: initial support for exclude constraints (#2730)9e09f73
sql/migrate: fix comment scanning (#2727)ffc4b85
cmd/atlas: export filesExt to cmdext package (#2725)3c72dc7
sql: minor fixes in migration planning (#2724)a93c6bb
doc/md: add composite types to hcl schema (#2722)c263d5b
sql/postgres: add composite type (#2721)aabff1e
website/add-comparison-section (#2720)7d858b5
sql/mysql: detect CHANGE COLUMN changes (#2719)Updates
github.com/alecthomas/chroma/v2
from 2.10.0 to 2.13.0Release notes
Sourced from github.com/alecthomas/chroma/v2's releases.
... (truncated)
Commits
bd47355
fix: include compress state in style cache key1235bbf
chore(deps): update all non-major dependencies (#944)4e60c81
C#: Allow for empty comments (#943)fe5dde8
Add Lexer for NDISASM (#933)6dd9f26
feat: introduce a LRU compiled style cache for the HTML formatter (#938)898d467
lexers/cue: support definitions and dollars in field names (#935)0f92de4
chore(deps): update all non-major dependencies (#934)381050b
Major updates to Caddyfile lexer (#932)e9292e6
chore(deps): update dependency goreleaser to v1.24.0 (#925)ddbae13
chore: upgrade GoUpdates
github.com/charmbracelet/bubbletea
from 0.25.0 to 0.26.2Release notes
Sourced from github.com/charmbracelet/bubbletea's releases.
... (truncated)
Commits
ea792a8
chore(deps): bump golang.org/x/term from 0.19.0 to 0.20.04f070e4
chore(deps): bump golangci/golangci-lint-action from 5 to 6c31d33d
chore(deps): bump golang.org/x/sys from 0.19.0 to 0.20.08028ede
fix: update examples testdata601d228
fix: renderer: reset the cursor on the first linee3c6153
chore(lint): remove naked returns3e129db
chore(lint): add various nolint directives7e05e1d
fix(ci): remove deprecated 'ifshort' linter config556cdde
chore(readme): add ntcharts to libs section0c937f4
fix: stop and drain timers (#993)Updates
github.com/charmbracelet/lipgloss
from 0.9.1 to 0.10.0Release notes
Sourced from github.com/charmbracelet/lipgloss's releases.
... (truncated)
Commits
439c06f
docs(table): ANSI-aware cell example652c37d
feat(deps): bump github.com/rivo/uniseg from 0.4.6 to 0.4.7 (#262)8464a7c
chore(deps): bump golangci/golangci-lint-action from 3 to 4 (#259)207eb25
Create CODEOWNERS13584f2
chore: go mod tidybb7ffe2
fix(ci): update coverage workflow2745d8a
Improve maximum width of characters in a string (#257)de46012
Fix truncate of table cells containing ANSI (#256)92946d3
chore: refactor padding functions (#254)59874c2
chore: apply gofumpt to all files (#255)Updates
github.com/charmbracelet/wish
from 1.2.0 to 1.4.0Release notes
Sourced from github.com/charmbracelet/wish's releases.
... (truncated)
Commits
309ee5c
chore(deps): update charmbracelet/sshbc0f67f
chore(deps): bump github.com/go-git/go-git/v5 from 5.11.0 to 5.12.0 (#255)0169ff6
feat: logging.StructuredMiddleware (#254)c8de232
chore(deps): bump github.com/charmbracelet/log in /examples (#252)3061fba
chore(deps): bump github.com/charmbracelet/log from 0.3.1 to 0.4.0 (#253)3d2054d
fix: remove ssh server version (#249)8edb0a1
chore(deps): bump github.com/charmbracelet/lipgloss in /examples (#248)b0e6bdc
chore(deps): bump github.com/charmbracelet/lipgloss from 0.9.1 to 0.10.0 (#247)748a837
chore(deps): bump golang.org/x/crypto from 0.20.0 to 0.21.0 in /examples (#246)65d9f07
chore(deps): bump golang.org/x/crypto from 0.20.0 to 0.21.0 (#245)Updates
github.com/jaevor/go-nanoid
from 1.3.0 to 1.4.0Release notes
Sourced from github.com/jaevor/go-nanoid's releases.
Commits
3a26723
readme update; briefer comments & tests; direct canonic func9cf0764
Merge pull request #6 from ramonberrutti/patch-204d01b5
fix: correct asciiAlphabet indexdbbf01d
Merge pull request #4 from ErebusBat/add-must-custom-asciib98b58b
shorter readmeb1ec969
Add MustCustomASCII function.ae1d3ca
deps update | shorter readme2a78a8e
updated readme & go.modUpdates
github.com/klauspost/compress
from 1.17.7 to 1.17.8Release notes
Sourced from github.com/klauspost/compress's releases.
Commits
c0ff47e
Update README.md657dc16
chore: remove repetitive words (#946)3f77d8c
build(deps): bump the github-actions group with 1 update (#944)de4073a
zstd: Add RLE detection+encoding (#938)165be36
zstd: Reject blocks where reserved values are not 0 (#885)4f3f95b
ci: Add testing replacement (#935)3976394
build(deps): bump the github-actions group with 1 update (#934)4d78e54
Remove sed for internal/fuzz/helpers.go (#933)46c00ca
doc: Remove an excess word in a documentation comment (#932)Updates
github.com/rs/zerolog
from 1.31.0 to 1.32.0Commits
147ae65
Fix prettylog piping (#644)4d78dc5
Add forwarding close methods to several writer implementations (#636)c1ab4ed
Make Log.Fatal() call Close on the writer before os.Exit(1) (#634)417580d
add: ContextLogger Interface LogObjectMarshaler (#623)602e90a
Fixed failing tests (#626)a9ec232
Add stacktrace to Context (#630)3e8ae07
Refactor: change Hook(h Hook) to Hook(hooks ...Hook) (#629)7fa45a4
fixed documentation for tracing hook (#621)93fb5cb
Add TriggerLevelWriter. (#602)83e03c7
stop using deprecated io/ioutils package (#620) (#620)Updates
github.com/stretchr/testify
from 1.8.4 to 1.9.0Release notes
Sourced from github.com/stretchr/testify's releases.
... (truncated)
Commits
bb548d0
Merge pull request #1552 from stretchr/dependabot/go_modules/github.com/stret...814075f
build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2e045612
Merge pull request #1339 from bogdandrutu/uintptr5b6926d
Merge pull request #1385 from hslatman/not-implements9f97d67
Merge pull request #1550 from stretchr/release-notesbcb0d3f
Include the auto-release notes in releasesfb770f8
Merge pull request #1247 from ccoVeille/typos85d8bb6
fix typos in comments, tests and github templatese2741fa
Merge pull request #1548 from arjunmahishi/msgAndArgs6e59f20
http_assertions: assert that the msgAndArgs actually works in testsUpdates
github.com/tdewolff/minify/v2
from 2.20.15 to 2.20.24Release notes
Sourced from github.com/tdewolff/minify/v2's releases.
Commits
a32f60e
Fix NodeJS and Python workflow24a2e94
Fix NodeJS and Python workflow751dcac
Fix NodeJS and Python workflow69b6ac0
Fix NodeJS and Python workflow1743e86
Fix NodeJS and Python workflow3b7434d
Fix NodeJS and Python workflowd39dbd9
Fix NodeJS workflowLooks like these dependencies are updatable in another way, so this is no longer needed.