We are excited to announce the release of Atlas v0.14.0 🎊
It's been a few weeks since our last version announcement and today we're happy to share with you v0.14, which includes some very exciting improvements for Atlas. Read the announcement blog post.
What's new
- Checkpoints - As your migration directory grows, replaying it from scratch can become annoyingly slow. Checkpoints
allow you to save the state of your database at a specific point in time and replay migrations from that point forward. - Push to the Cloud - You can now push your migration directory to Atlas Cloud directly from the CLI. Think of it like
docker push
for your database migrations. - JetBrains Editor Support - After launching our VSCode Extension a few months ago, our team has been hard at work to bring the same experience to JetBrains IDEs. Starting today, you can use Atlas directly from your favorite JetBrains IDEs (IntelliJ, PyCharm, GoLand, etc.) using the new Atlas plugin.
- Reporting Deployments - Atlas supports the reporting of migration deployments to personal workspaces in Atlas Cloud. This provides full visibility into the databases, migration runs, and their statuses for each project.
Quick installation
macOS + Linux:
curl -sSf https://atlasgo.sh | sh
Homebrew:
brew install ariga/tap/atlas
Docker:
docker pull arigaio/atlas
Windows
Legal
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.
What's Changed
Commits
- add atlas npx install to README by @ronenlu in #1953
- doc/website: auto add utm tags to cloud landing page by @rotemtam in #1954
- doc: update website with latest changes by @a8m in #1956
- doc: add nulls_distinct attribute by @a8m in #1957
- sql/mysql: respect zerofill attribute in float/double types by @a8m in #1958
- cmd/atlas/internal: add atlas version to user agent header in cloud client by @ronenlu in #1955
- sql/postgres: add pg_trgm operator classes to variables by @a8m in #1962
- sql/postgres: add postgis operator classes by @a8m in #1963
- cmd/atlas: simplify the way version is set by @a8m in #1964
- doc/website/blog: gormviz blog by @rotemtam in #1966
- doc/website/blog: grammar on gormviz blog by @rotemtam in #1967
- doc/website/blog: fix url pointing to schema loaders by @ronenlu in #1969
- doc/md/cloud: setting up ci with atlas cloud guide by @rotemtam in #1970
- sql/migrate: add support for baseline/tags files by @a8m in #1971
- sql/internal/sqlx: support cross-schema refs with same names by @a8m in #1974
- cmd/atlas: handle checkpoint files in migrate status by @a8m in #1972
- cmd/atlas: rename cmd/atlas/lint to cmd/atlas/migratelint by @a8m in #1975
- cmd/atlas/migratelint: support checkpoint files by @a8m in #1977
- doc/md: fix small typo in eula url by @marcozac in #1979
- cmd/atlas: remove revision-schema flag from migrate diff by @a8m in #1978
- cmd/atlas: add support for 'migrate checkpoint' by @a8m in #1982
- cmd/atlas: update ariga.io/atlas by @a8m in #1983
- sql/migrate: do not compare schema attributes on checkpoint by @a8m in #1986
- internal/integration: add tests for migrate checkpoint by @a8m in #1989
- cmd/atlas/internal/cmdext: support rds iam token by @rotemtam in #1990
- doc/md/integrations: update go sdk integration by @rotemtam in #1987
- doc/md: fixed wrong sample code for gorm guide by @kylelmh in #1991
- doc/md: update the doc of creating bot in cloud by @ronenlu in #1992
- doc/website: new share image template by @rotemtam in #1993
- doc/website/blog: iam auth blog post by @rotemtam in #1996
- Build arm64 mysql and mariadb Docker images by @jacobwgillespie in #1998
- cmd/atlas: allow extending migrate commands by @a8m in #2000
- .github/ops/mysql: fix Dockerfile builds, fix mariadb:latest by @jacobwgillespie in #2001
- Don't fail all Docker image builds on single failure, pre-create initialized-db by @jacobwgillespie in #2003
- Fix generation of initialized DB in Dockerfile by @jacobwgillespie in #2004
- .github: dev docker, disable
arm64
formariadb:10.3.13
by @giautm in #2002 - sql: avoid ambiguity between resource label and qualifier by @a8m in #2005
- cmd/atlas: rm unexported commands until next release by @a8m in #2006
- cmd/atlas: read and fmt gql errors by @a8m in #2008
- cmd/atlas: add option to attach client to context by @a8m in #2011
- cmd/atlas: stub for reading atlas directory by its slug/tag by @a8m in #2013
- cmd/atlas: print deployment url by @a8m in #2014
- doc: intro to versioned migration with atlas push by @a8m in #2016
- sql/internal/sqlx: support type selectors on exclude globs by @a8m in #2018
- doc: add the --web flag to getting started by @a8m in #2022
- sql/mysql: add table+column context to parse type errors by @a8m in #2023
- doc/website: change share image by @a8m in #2021
- sql/mysql: do not add mariadb json checks to table definition by @a8m in #2026
- cmd/atlas: attach attributes to json format by @a8m in #2020
- doc/md: update SQLServer URL example by @giautm in #2024
- sql/mysql: support mariadb old temporal data types comments by @a8m in #2028
- sql/postgres: scan foreign-key action codes by @a8m in #2029
- sql/internal/sqlx: consistent order from topsort by @a8m in #2030
- cmd/atlas/internal/cmdapi/vercheck: goos and arch in vercheck ua by @rotemtam in #2031
- cmd/ext: create gcp_cloudsql_token datasource by @giautm in #2032
New Contributors
- @marcozac made their first contribution in #1979
- @kylelmh made their first contribution in #1991
- @jacobwgillespie made their first contribution in #1998
Full Changelog: v0.13.0...v0.14.0