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.
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.20 🎊
It's been a few weeks since our last version announcement and today I'm happy to share with you v0.20, which includes very exciting improvements for Atlas. Here's what's new:
Django ORM Integration - Atlas now supports Django! Django is a popular ORM for Python. Developers using either ORM can now use Atlas to automatically plan schema migrations for them, based on the desired state of their schema instead of crafting them by hand.
SQL Server is out of Beta - SQL Server is officially out of Beta! Along with this official support, we have included some new features:
User-Defined Types support for SQL Server - Atlas now supports two User-Defined Types: alias types and table types.
... (truncated)
Commits
22ffab8 sql/postgres: support marshal/eval custom index op_class and types (#2660)
4c6f053 doc/md: remove usage of remote_dir data source (#2655)
d335760 doc/md: add clickhouse example for github actions doc (#2657)
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>
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 11 updates:
0.15.0
0.21.1
2.10.0
2.13.0
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
1.8.4
1.9.0
2.20.15
2.20.20
1.7.0
1.7.1
0.14.0
0.21.0
Updates
ariga.io/atlas
from 0.15.0 to 0.21.1Release notes
Sourced from ariga.io/atlas's releases.
... (truncated)
Commits
22ffab8
sql/postgres: support marshal/eval custom index op_class and types (#2660)4c6f053
doc/md: remove usage ofremote_dir
data source (#2655)d335760
doc/md: add clickhouse example for github actions doc (#2657)d6ae276
website: update banner3a36b87
website: update banner464a173
website: migrate down post (#2658)c5646ad
cmd/atlas/internal: add file change to report (#2654)195553c
doc/md: move clickhouse guide (#2656)f95ac0a
sql/mysql: allow attaching RENAME to ALTER commands (#2652)0ca58f8
cmd/atlas/internal: show more detailed error msg when scheme is not provided ...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/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.20Release notes
Sourced from github.com/tdewolff/minify/v2's releases.
Commits
a58eb58
Update tdewolff/parse; fix parsing minified JS as JSON, fixes #68894ceedd
JS: use more efficient reordering of var declaration names86468ba
JS: fix bug when merging hoisted var-decl to let-decl, fixes #687c1efe1c
Undo last commit2a629d8
Run NodeJS actionfd327f2
Merge branch 'master' of github.com:tdewolff/minify63c827a
Run NodeJS action8cb1010
Merge pull request #686 from tdewolff/dependabot/npm_and_yarn/bindings/js/tar...5a1404a
Merge pull request #684 from tdewolff/dependabot/npm_and_yarn/bindings/js/nod...b2c6690
Merge pull request #682 from tdewolff/dependabot/github_actions/softprops/act...Updates
github.com/yuin/goldmark
from 1.7.0 to 1.7.1Commits
c15e394
Merge pull request #448 from movsb/fix-attribute-stringe405d57
make SetAttributeString() accept both []byte and stringce6424a
Merge pull request #446 from mr-chelyshkin/goldmark-tgmd09afa2f
add link to goldmark-tgmd renderer4f30744
Merge pull request #443 from philipparndt/patch-14675c66
docu: update example as it will not build848dc66
Add playground linkUpdates
golang.org/x/crypto
from 0.14.0 to 0.21.0Commits
7067223
go.mod: update golang.org/x dependencies0d2316b
ssh/test: work around for TestCiphers failures on macOS0aab8d0
all: update go.mod x/net dependency5bead59
ocsp: don't use iota for externally defined constants1a86580
x/crypto/internal/poly1305: improve sum_ppc64le.s1c981e6
ssh/test: don't use DSA keys in integrations tests, update test RSA key62c9f17
x509roots/nss: manually exclude a confusingly constrained root405cb3b
go.mod: update golang.org/x dependencies913d3ae
x509roots/fallback: update bundledbb6ec1
ssh/test: skip tests on darwin that fail on the darwin-amd64-longtest LUCI bu...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