Atlas v0.4.2 is a patch release that includes many small improvements to the Atlas CLI and introduces preview support for CockroachDB.
Installation
MacOS
curl -LO https://release.ariga.io/atlas/atlas-darwin-amd64-v0.4.2
chmod +x ./atlas-darwin-amd64-v0.4.2
sudo mv ./atlas-darwin-amd64-v0.4.2 /usr/local/bin/atlas
sudo chown root: /usr/local/bin/atlas
Linux
curl -LO https://release.ariga.io/atlas/atlas-linux-amd64-v0.4.2
sudo install -o root -g root -m 0755 ./atlas-linux-amd64-v0.4.2 /usr/local/bin/atlas
Windows
Docker
docker pull arigaio/atlas:0.4.2
docker run --rm -p 5800:5800 arigaio/atlas:0.4.2
Legal
The binaries distributed in this release are released under the Ariga End User License.
If you would like to build Atlas from source follow the instructions here.
What's Changed
- cmd/atlascmd: better err message when missing required var by @rotemtam in #813
- doc/blog: announcing atlas projects by @rotemtam in #812
- sql/postgres: return err on alter failure by @hedwigz in #817
- sql/crdb: basic driver and empty tests by @hedwigz in #814
- sql/cockroach: make postgres inspect compatible with crdb by @hedwigz in #815
- doc/blog: change date for v041 post by @rotemtam in #818
- Revert "sql/cockroach: make postgres inspect compatible with crdb" by @hedwigz in #819
- Revert "Revert "sql/cockroach: make postgres inspect compatible with crdb"" by @hedwigz in #820
- sql/crdb: add crdb diff logic by @hedwigz in #816
- sql/postgres: move cockroach logic to its own file by @a8m in #822
- doc: replace dsn leftovers with url format by @a8m in #823
- doc/website: fix a link to the Terraform blog post by @adambabik in #824
- sql/crdb: some integration tests by @hedwigz in #826
- cmd/atlascmd/migrate: introduce SchemaChanger interface by @masseelch in #831
- sql/crdb: ent integration test by @hedwigz in #829
- sql/postgres: use ordinal_position for pg_index_column_has_property instead of column index by @a8m in #833
- doc/md: fix flag to -u by @hilakashai in #835
- sql/postgres: skip partitions on table inspections by @a8m in #836
- sql/crdb: all integration tests by @hedwigz in #830
- sql/sqlclient: add support for transactions by @masseelch in #837
- doc/website: fix the footer title color by @elad-n in #838
- internal/integration: add ent-revision test to cockroach db by @masseelch in #843
- doc: updating text related to license by @rotemtam in #827
- sql/migrate: refactor execution (in preparation for transactions) by @masseelch in #844
- cmd/atlascmd: fix schema selection from env by @rotemtam in #842
- sql/sqlclient: use shared driver instance for different flavors by @masseelch in #845
- ci: use our crdb image by @hedwigz in #841
- internal/ci: use git to detect new migration files in ordert to load them into… by @masseelch in #825
- ci: fix cockroach service by @hedwigz in #846
- cmd/atlasci/ci: support loading migration changes by @a8m in #847
New Contributors
- @adambabik made their first contribution in #824
Full Changelog: v0.4.1...v0.4.2