Skip to content

v0.3.5

Compare
Choose a tag to compare
@a8m a8m released this 20 Feb 11:07
5ba7dbe

Atlas v0.3.5 is a patch release that includes many small improvements to both the Atlas CLI and the Management UI.

Installation

MacOS

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

Linux

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

Windows

Download

New Features

Atlas DDL

  • Added support for IDENTITY/AUTO_INCREMENT columns - docs.
  • Foreign keys referential actions now support enums in addition to the string version.
    foreign_key "author_id" {
      columns = [column.author_id]
      ref_columns = [column.id]
      on_delete = CASCADE
      on_update = NO_ACTION
    }

Management UI

In this version of Atlas we added full support for multi-schemas in the UI. Now you can add database schemas into an existing Atlas schema, as well as select multiple database schemas to import when creating a new Atlas schema.

ERD search bar that focuses in on specific tables by @hedwigz
Ability to add/remove database schemas from a schema page by @elad-n + @zeevmoney
Support for importing multiple schemas from within the UI by @elad-n + @zeevmoney
Support for adding/deleting schemas from the schema editor by @rotemtam

What's Changed

  • atlas/docs: add ui doc to sidebar by @hilakashai in #574
  • atlas/docs: add ui doc to sidebar fix by @hilakashai in #576
  • doc/website: add section about latest release by @yonidavidson in #575
  • sql/sqlite: support for auto_increment by @a8m in #577
  • atlas/docs: typo in getting started ui by @hilakashai in #579
  • cmd/action: add unit test for env command by @elad-n in #559
  • sql/migrate: add GlobStateReader by @masseelch in #568
  • atlas/docs: fix double title in doc by @hilakashai in #580
  • sql/postgres: add support for inspecting and applying identity attributes by @a8m in #583
  • sql/migrate: fix reverse of odd length slices by @masseelch in #582
  • cmd/action: change latest url by @yonidavidson in #585
  • sql/migrate: fix bug in local dir file write and add tests by @masseelch in #586
  • doc/website: more info and examples to sql ddl by @a8m in #588
  • sql/mysql: rename collation attribute to collate by @a8m in #589
  • sql/mysql: TiDB inspector for MySQL driver by @hedwigz in #587

Full Changelog: v0.3.4...v0.3.5