v0.2.0
Version 0.2.0 adds support for inspection and migration of MariaDB and SQLite databases as well as improvements to Atlas HCL.
Summary
- Added support for inspection and migration of MariaDB and SQLite databases.
- Column type field is no longer defined using a string. Instead, each driver exposes type-safe identifiers, for instance, users can use
varchar(255)
ortext
as the type of a column. To read more see the documentation. - Added better support for column default values, including the option to fall back to an
sql()
function to capture SQL expressions that cannot be described in HCL. - Greatly improved the scope of unit and integration tests for all database drivers.
- Added "check for update". Atlas will check the GitHub REST API for newer versions of Atlas upon invocation, throttling requests to happen at most every 24 hours. To opt-out of version update checks, run Atlas with
ATLAS_NO_UPDATE_NOTIFIER=1
in the environment variables. - Added the
atlas env
subcommand that lists active Atlas environment variables and their values.
Installation
Apple Intel
curl -LO https://release.ariga.io/atlas/atlas-darwin-amd64-v0.2.0
chmod +x ./atlas-darwin-amd64-v0.2.0
sudo mv ./atlas-darwin-amd64-v0.2.0 /usr/local/bin/atlas
sudo chown root: /usr/local/bin/atlas
Linux
curl -LO https://release.ariga.io/atlas/atlas-linux-amd64-v0.2.0
sudo install -o root -g root -m 0755 ./atlas-linux-amd64-v0.2.0 /usr/local/bin/atlas
Windows
curl -LO https://release.ariga.io/atlas/atlas-windows-amd64-v0.2.0.exe
Apple Silicon
curl -LO https://release.ariga.io/atlas/atlas-darwin-arm64-v0.2.0
chmod +x ./atlas-darwin-arm64-v0.2.0
sudo mv ./atlas-darwin-arm64-v0.2.0 /usr/local/bin/atlas
sudo chown root: /usr/local/bin/atlas