v0.24.0
We are excited to announce the release of Atlas v0.24 π
We are back again with a new release of Atlas, v0.24. In this release we double down on the core principle that has been guiding us from the start: enabling developers to manage their database Schema as Code. The features we announce today may appear like a yet another cool addition to Atlas, but we're confident, that in a few years' time, they will be recognized as something foundational.
In this release we introduce:
schema test
- a new command (and framework) for testing your database schema using familiar software testing paradigms.migrate test
- a new command for testing writing tests for you schema migrations.- Enhanced editor support - we have added support for some long awaited features in our VSCode and JetBrains plugins: multi-file schemas, jump to definition, and support for much larger schemas.
test "migrate" "20240613061102" {
# Migrate to version 20240613061046.
migrate {
to = "20240613061046"
}
# Insert some test data.
exec {
sql = "insert into users (name) values ('Ada Lovelace')"
}
# Migrate to version 20240613061102.
migrate {
to = "20240613061102"
}
# Verify the correctness of the data migration.
exec {
sql = "select first_name,last_name from users"
output = "Ada, Lovelace"
}
}
Read the full announcement and in our blogpost: https://atlasgo.io/blog/2024/06/13/atlas-v-0-24
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.
Full Changelog: v0.23.0...v0.24.0