github ariga/atlas v0.6.0

latest releases: v0.27.0, v0.26.1, v0.26.0...
2 years ago

Atlas v0.6.0 is a minor release that includes many small improvements to the Atlas CLI, as well as official support for versioned migration authoring using the atlas migrate diff command.

Versioned Migration Authoring is an attempt to combine the simplicity and expressiveness of the declarative approach with the control and the explicitness of versioned migrations.

With versioned migration authoring, users still declare their desired state and use the Atlas engine to plan a safe migration from the existing to the new state. However, instead of coupling planning and execution, plans are instead written into normal migration files which can be checked into source control, fine-tuned manually and reviewed in regular code review processes.

Read more

Installation

MacOS

curl -LO https://release.ariga.io/atlas/atlas-darwin-amd64-v0.6.0
chmod +x ./atlas-darwin-amd64-v0.6.0
sudo mv ./atlas-darwin-amd64-v0.6.0 /usr/local/bin/atlas
sudo chown root: /usr/local/bin/atlas

Linux

curl -LO https://release.ariga.io/atlas/atlas-linux-amd64-v0.6.0
sudo install -o root -g root -m 0755 ./atlas-linux-amd64-v0.6.0 /usr/local/bin/atlas

Windows

Download

Docker

docker pull arigaio/atlas:0.6.0
docker run --rm arigaio/atlas:0.6.0

New Features

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

  • sql/postgres: support creating and deleting serial columns by @a8m in #945
  • doc/website/blog: v0.5.0 announcement blog post by @rotemtam in #944
  • sql/migrate: change execution logic by @masseelch in #939
  • internal/integration: enabled missing tests by @masseelch in #933
  • doc/website/blog: add all posts to side nav by @hilakashai in #946
  • sql/migrate: utilize partial hashes to check for changes in applied s… by @masseelch in #947
  • cmd/atlas/internal/cmdapi: update migrate status command to be aware of partially applied files by @masseelch in #948
  • cmd/atlas/internal/cmdapi: update migrate status command to be aware … by @masseelch in #949
  • cmd/atlas/internal/cmdapi: url attr optional in env by @rotemtam in #950
  • doc/website/src: remove UI from landing page by @hilakashai in #951
  • chore: cleanup by @sashamelentyev in #952
  • chore: change error by @sashamelentyev in #953
  • sql/postgres: support modifying serial columns by @a8m in #954
  • Docknowledge by @a8m in #955
  • doc/website: remove padding for list items when screen < 400px by @a8m in #956
  • doc/website: remove social media icons from navbar by @a8m in #957
  • sql/postgres: support for postgresql by @vsychov in #958
  • doc/website: add serial types to knowledge pages by @a8m in #959
  • sql/mysql: add support for sized bit types by @a8m in #960
  • doc/website: add GoDoc to footer by @hilakashai in #961
  • Feat/doc reorg by @hilakashai in #962
  • sql/postgres: respect bit length by @a8m in #965
  • doc: refactor column types page by @a8m in #963
  • doc/website: initial work on postgres column types by @a8m in #966
  • sql/postgres: support the alias float type by @a8m in #967
  • doc/website: remove ui and deployment from side nav by @hilakashai in #968
  • doc: add integrations by @hilakashai in #969
  • doc: move CLI reference by @hilakashai in #971
  • sql/postgres: cross schema enums by @a8m in #970
  • doc: add concepts by @hilakashai in #972
  • sql/postgres: delete dangling enum types by @a8m in #974
  • sql/postgres: ensure enums are dropped only once by @a8m in #975
  • sqlite: miscellaneous changes (doc, migrate, sqlspec) by @a8m in #976
  • sql/sqlspec: delete unused migratespec by @a8m in #978
  • schemahcl: fixed invalid identity token by @giautm in #980
  • doc: reorganize SQL docs by @hilakashai in #973
  • cmd/atlas: extend error columns in revisions table to text by @a8m in #981
  • docs: fix footer link by @hilakashai in #982
  • doc/md/concepts: declarative vs versioned migrations by @rotemtam in #983
  • sql/migrate: merge Dir and Scanner to one interface by @a8m in #984
  • cmd/atlas: update atlas pkg by @a8m in #985
  • sql/migrate: initial work on baseline migrations by @a8m in #986
  • cmd/atlas: support --revisions-schema in project file by @ronenlu in #987
  • sql/migrate: allow setting --from and --baseline versions by @a8m in #988
  • cmd: Drop -w flag from atlas commands by @ronenlu in #991
  • cmd/atlas: migrate dir format by @a8m in #992
  • cmd/atlas: update ariga.io/atlas by @a8m in #993
  • cmd/atlas/internal: auto populate parseTime option for mysql connections by @a8m in #995
  • Grammer fix by @gneyal in #997
  • doc/getting-started: fix referencing table by @gneyal in #998
  • sql/migrate: only take .sql files into the sumfile by @ronenlu in #1002
  • sql/internal/sqlx: exclude resources based on patterns by @a8m in #1003
  • doc/md: declarative migration workflow docs by @rotemtam in #1000
  • docs/md: migrate diff by @rotemtam in #1005
  • cmd/atlas: support multiple schemas in env file by @a8m in #1007
  • doc/md: examples for schema inspect by @rotemtam in #1006
  • doc/md: fix link by @hilakashai in #1004
  • doc: update algolia API by @hilakashai in #1010
  • cmd/atlas: support --exclude option in schema command by @a8m in #1009
  • doc/md/versioned: migrate lint docs by @rotemtam in #1011
  • schemahcl: dont allow empty str sql() expr by @rotemtam in #1008
  • doc/website: keep sidebar title shorter by @a8m in #1012
  • doc: add --exclude command to inspect page by @a8m in #1013
  • doc/md/versioned: new command by @rotemtam in #1015
  • sql/migrate: store baseline migrations in history table by @a8m in #1016
  • sql/sqlite: expand DEFAULT args in plan statements by @a8m in #1017
  • cmd/atlas: allow storing revisions with zero total by @a8m in #1019
  • doc/md/declarative: atlas schema diff examples by @rotemtam in #1020
  • sql/migrate: allow running 'migrate diff' against a schema connection by @a8m in #1021
  • cmd/atlas: add verbose steps information to lint command by @a8m in #1025
  • cmd/atlas: update atlas package by @a8m in #1026
  • sql/mysql: report error in case table has no columns by @a8m in #1028
  • internal/integration: add testscript for cli migrate diff by @masseelch in #1027
  • cmd/atlas: improve error reporting on lint by @a8m in #1032
  • internal/integration: scripttests for migrate apply by @masseelch in #1030
  • internal: database connections for a test are established in the test… by @masseelch in #1031
  • sql/migrate: skip adding table qualifiers when connection/work is scoped to a schema by @a8m in #1035
  • sql/internal/sqlx: add check to prevent misuse of schema qualifiers by @a8m in #1040
  • cmd/atlas: remove unused verbose flag by @a8m in #1043
  • internal/integration: finish testing for migrate diff by @a8m in #1041
  • cmd/atlas: accept custom table qualifier in migrate diff command by @a8m in #1044
  • sql/migrate: remove locking from executor by @a8m in #1042
  • internal/cmdapi: fix #1018 by @masseelch in #1039
  • doc/md: explain 'migrate diff' and add examples by @a8m in #1048
  • sql: support cross-schema references in HCL by @masseelch in #1047
  • cmd/atlas: update atlas package by @a8m in #1049

New Contributors

Full Changelog: v0.5.0...v0.6.0

Don't miss a new atlas release

NewReleases is sending notifications on new releases.