Skip to content

Releases: ariga/atlas

v0.23.0

21 May 12:11
@a8m a8m
fa6c067
Compare
Choose a tag to compare

We are excited to announce the release of Atlas v0.23 🎊

It's been a few weeks since the release of v0.22 and we're excited to be back with the next version of Atlas, packed with some long awaited features and improvements.

  • Redshift Support - Amazon Redshift, a fully managed, petabyte-scale data warehouse service in the cloud. Starting today, you can use Atlas to manage your Redshift Schema-as-Code.
  • CircleCI Integration - Following some recent requests from our Enterprise customers, we have added a CircleCI orb to make it easier to integrate Atlas into your CircleCI pipelines.
  • Kubernetes Operator Down Migrations - The Kubernetes Operator now detects when you are moving to a previous version and will attempt to apply a down migration if configured to do so.
  • GORM View Support - We have added support for defining SQL Views in your GORM models.
  • SQLAlchemy Provider Improvements - We have added support for defining models using SQLAlchemy Core Tables in the SQLAlchemy provider.
  • ERD v2 - We have added a new navigation sidebar to the ERD to make it easier to navigate within large schemas.
  • PostgreSQL Improvements - We have added support for PostgreSQL Event Triggers, Aggregate Functions, and Function Security.

Read the full announcement and in our blogpost: https://atlasgo.io/blog/2024/05/21/atlas-v-0-23

Quick installation

macOS + Linux:

curl -sSf https://atlasgo.sh | sh

Homebrew:

brew install ariga/tap/atlas

Docker:

docker pull arigaio/atlas

Windows

Download

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.22.0...v0.23.0

v0.22.0

30 Apr 12:46
@a8m a8m
296a12c
Compare
Choose a tag to compare

We are excited to announce the release of Atlas v0.22 🎊

We're happy to share with you v0.22, which includes very exciting improvements for Atlas. Here's what's new:

  • RENAME Detection - Prior to version v0.22, Atlas interpreted schema renames as DROP and ADD commands. This version includes a rename detector that identifies such operations and interactively asks the user for feedback before generating the changes.
  • Preventing Table Locks - Eight new checks have been added to the migrate lint to detect table locks in various modes, which can be avoided during the PR stage. Note, these checks are available for Atlas Cloud users only πŸš€
  • Added support for PostgreSQL UNIQUE and EXCLUDE constraints.
  • PostgreSQL composite types can now be managed as part of your schema.
  • Added support for sequence objects in Microsoft SQL Server.

Quick installation

macOS + Linux:

curl -sSf https://atlasgo.sh | sh

Homebrew:

brew install ariga/tap/atlas

Docker:

docker pull arigaio/atlas

Windows

Download

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. If you would like to build Atlas from source follow the instructions here.

Full Changelog: v0.21.0...v0.22.0

v0.21.0

01 Apr 19:06
@a8m a8m
464a173
Compare
Choose a tag to compare

We are excited to announce the release of Atlas v0.21 🎊

It's been only two weeks since our last version and today I'm happy to share with you v0.21, which includes very exciting feature for Atlas: migrate down.

The new atlas migrate down command allows reverting applied migrations. Unlike the traditional approach, where down files are "pre-planned", Atlas computes a migration plan based on the current state of the database. Atlas reverts previously applied migrations and executes them until the desired version is reached, regardless of the state of the latest applied migration β€” whether it succeeded, failed, or was partially applied and left the database in an unknown version.

Read the full announcement and in our blogpost: https://atlasgo.io/blog/2024/04/01/migrate-down

image

Quick installation

macOS + Linux:

curl -sSf https://atlasgo.sh | sh

Homebrew:

brew install ariga/tap/atlas

Docker:

docker pull arigaio/atlas

Windows

Download

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. If you would like to build Atlas from source follow the instructions here.

Full Changelog: v0.20.0...v0.21.0

v0.20.0

17 Mar 13:00
@a8m a8m
6c99dbd
Compare
Choose a tag to compare

We are excited to announce the release of Atlas v0.20 🎊

It's been a few weeks since our last version announcement and today I'm happy to share with you v0.20, which includes very exciting improvements for Atlas. Here's what's new:

  • Support for PostgreSQL Extensions - Atlas now supports installing and managing PostgreSQL extensions.
  • Django ORM Integration - Atlas now supports Django! Django is a popular ORM for Python. Developers using either ORM can now use Atlas to automatically plan schema migrations for them, based on the desired state of their schema instead of crafting them by hand.
  • SQL Server is out of Beta - SQL Server is officially out of Beta! Along with this official support, we have included some new features:
    • User-Defined Types support for SQL Server - Atlas now supports two User-Defined Types: alias types and table types.
    • Azure Active Directory (AAD) Authentication for SQL Server - Connect to your SQL Server database using AAD Authentication.
  • Dashboards in the Cloud - The dashboard (previously the 'Projects' page) got a whole new look in Atlas Cloud. Now you can view the state of your projects and environments at a glance.

Read the full announcement on our blog: https://atlasgo.io/blog/2024/03/18/atlas-v-0-20

image

Quick installation

macOS + Linux:

curl -sSf https://atlasgo.sh | sh

Homebrew:

brew install ariga/tap/atlas

Docker:

docker pull arigaio/atlas

Windows

Download

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. If you would like to build Atlas from source follow the instructions here.

Full Changelog: v0.19.0...v0.20.0

v0.19.0

02 Feb 14:29
@a8m a8m
bf1bf8e
Compare
Choose a tag to compare

We are excited to announce the release of Atlas v0.19.0 🎊

It has been three weeks since our last version announcement, and today I'm happy to share with you v0.19, which includes some very exciting improvements for Atlas. Here's what's new:

  • Pre-migration Checks: Before executing schema changes, you can now add pre-migration checks that will be verified to help avoid risky migrations.
  • Schema Docs: Atlas lets you manage your database schema as code. One of the things we love most about code, is that because of its formal structure, it's possible to automatically generate documentation from it. With this release, we're introducing a new feature that lets you generate code-grade documentation for your database schema.
  • SQL Server Trigger Support: Atlas now supports managing triggers in SQL Server.
  • ClickHouse Materialized Views Support: Atlas now supports managing materialized views in ClickHouse.

Read the full announcement on our blog: https://atlasgo.io/blog/2024/02/02/atlas-v-0-19

image

Quick installation

macOS + Linux:

curl -sSf https://atlasgo.sh | sh

Homebrew:

brew install ariga/tap/atlas

Docker:

docker pull arigaio/atlas

Windows

Download

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. If you would like to build Atlas from source follow the instructions here.

Full Changelog: v0.18.0...v0.19.0

What's Changed

  • doc: update banner by @a8m in #2439
  • sql/postgres: attach change source to multi-statement changes by @a8m in #2441
  • docs: change ApplyParams to MigrateApplyParams by @haoxins in #2443
  • doc/md: features availability comparison by @rotemtam in #2444
  • doc/md: support page by @rotemtam in #2445
  • doc/md/features: checkpoints require login by @rotemtam in #2446
  • doc/md: update schema for SQLServer by @giautm in #2354
  • doc/md: added SQL server example by @giautm in #2448
  • docs: update APIs with atlas-go-sdk v0.4 by @haoxins in #2449
  • doc/website: re-add cloud link to top navbar by @rotemtam in #2451
  • sql/internal/specutil: fix typo by @a8m in #2457
  • cmd/atlas/cmdlog: extend migrate apply output by @a8m in #2461
  • doc: add documentation for set change analyzers by @noamcattan in #2464
  • schemahcl: allow set for_each on tuple any by @a8m in #2466
  • doc: login to extend inspection by @a8m in #2469
  • doc/md: update document and guide for SQL server by @giautm in #2470
  • doc/md: trigger example for SQL Server by @giautm in #2471
  • doc/website/blog: why you need schema as code by @rotemtam in #2474
  • website/blog: edit clickhouse blog by @hilakashai in #2475
  • doc/md: support sqlserver for gorm and sequelize by @giautm in #2476
  • doc/orm: add list of supported orms by @a8m in #2479
  • website/blog: add example to blogpost by @hilakashai in #2481
  • doc/md: update HCL types for MSSQL by @giautm in #2478
  • sql/specutil: marshal materialized for multiple schemas by @datdao in #2485
  • cmd/atlas: allow ref env:// to known attributes by @a8m in #2489
  • doc/md: clickhouse guide by @hilakashai in #2487
  • doc/md: fix clickhouse guide example by @hilakashai in #2490
  • cmd/atlas: add checks to migration reporting by @a8m in #2493
  • doc: pre-migration checks page by @a8m in #2495
  • doc/clickhouse: add materialized view by @datdao in #2491
  • sql/sqlite: Fix DROP TABLE IF EXISTS by @eric in #2499
  • cmd/atlas/internal/cmdapi: use driver-aware statement scanning in migrate status by @a8m in #2497
  • sql/internal/specutil: accept uint64 in schemahcl by @a8m in #2504
  • doc/website: v0.19 announcement by @hilakashai in #2502

New Contributors

Full Changelog: v0.18.0...v0.19.0

v0.18.0

11 Jan 20:33
@a8m a8m
ddd1261
Compare
Choose a tag to compare

We are excited to announce the release of Atlas v0.18.0 🎊

It's been only a bit over a week since our last release, but we have some exciting new features we couldn't wait to share with you:

  • Drift Detection - A common source of database trouble is that the schema in your database doesn't match the schema in your code. This can happen for a variety of reasons, including manual changes to the database, or changes made by other tools. Today, we are happy to announce the availability of a new feature that lets you automatically detect these drifts, and alerts you when they happen.
  • SQLAlchemy Support - SQLAlchemy is a popular Python ORM. Developers using SQLAlchemy can use Atlas to automatically plan schema migrations for them, based on the desired state of their schema instead of crafting them by hand.
  • Composite Schemas - The newly added composite_schema data source lets you combine multiple schemas into one, which is useful for managing schemas that are loaded from multiple sources or to describe applications that span multiple database schemas.
  • VSCode ERDs - We've added a new feature to our VSCode extension that lets you visualize your database schema as an ERD diagram.

image

Read the full announcement on our blog: https://atlasgo.io/blog/2024/01/09/atlas-v0-18

Quick installation

macOS + Linux:

curl -sSf https://atlasgo.sh | sh

Homebrew:

brew install ariga/tap/atlas

Docker:

docker pull arigaio/atlas

Windows

Download

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. If you would like to build Atlas from source follow the instructions here.

Full Changelog: v0.17.0...v0.18.0

What's Changed

  • cmd/atlas/internal/sqlparse/myparse: move oss parser to ent by @a8m in #2415
  • cmd/atlas/internal: fix quotation in migrate diff example by @ronenlu in #2402
  • cmd/atlas/internal/sqlparse: rename myparse.Parser to FileParser by @a8m in #2416
  • sql/internal/sqlx: changes planer compares schema by name by @a8m in #2417
  • doc/md: add sqlalchemy provider guide by @ronenlu in #2411
  • sql/internal/specutil: marshal unquoted literals for text-based types by @a8m in #2419
  • cmd/atlas: initialize the cmd context by @rotemtam in #2422
  • schemahcl: allow using references in the for_each meta argument by @a8m in #2423
  • cmd/atlas: report env loaded by @rotemtam in #2424

Full Changelog: v0.17.0...v0.18.0

v0.17.0

01 Jan 19:42
@a8m a8m
cc75025
Compare
Choose a tag to compare

We are excited to announce the release of Atlas v0.17.0 🎊

It's been only a bit over a week since our last release, but we have some exciting new features we couldn't wait to share with you:

  • Trigger Support - Atlas now supports managing triggers on MySQL, PostgreSQL, MariaDB, and SQLite databases.
  • Improved ERDs - You can now visualize your schema's SQL views, as well as create filters to select the specific database objects you wish to see.

Read the full announcement on our blog: https://atlasgo.io/blog/2024/01/01/atlas-v-0-17

image

Quick installation

macOS + Linux:

curl -sSf https://atlasgo.sh | sh

Homebrew:

brew install ariga/tap/atlas

Docker:

docker pull arigaio/atlas

Windows

Download

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. If you would like to build Atlas from source follow the instructions here.

What's Changed

Commits history
  • gomod: upgrade golang.org/x/crypto by @dorav in #2389
  • doc/md: add clickhouse by @datdao in #2384
  • cmd/atlas: remove go.work files by @a8m in #2391
  • cmd/atlas: add docker driver for clickhouse by @giautm in #2390
  • doc/md: support clickhouse docker by @datdao in #2392
  • sql/sqlspec: add triggers to document by @a8m in #2393
  • sql/internal/sqlx: respect self reference fks in migrate plan by @a8m in #2394
  • cmd/atlas/internal/cmdapi: add views, funcs, procs, triggers to skip diff policy by @a8m in #2395
  • sql/sqlite: allow extending spec with triggers by @a8m in #2396
  • sql/mysql: allow extending spec with triggers by @a8m in #2398
  • sql/migrate: fix compound blocks scanning by @a8m in #2399
  • sql/migrate: improve begin..end block detection by @a8m in #2401
  • sql: add triggers to schema inspect/exclude by @a8m in #2403
  • sql/internal/sqlx: make view def diffing generic for any def by @a8m in #2404
  • sql/mysql: allow extending inspection with triggers by @a8m in #2405
  • sql/internal/sqlx: add modify and drop triggers to plan compute by @a8m in #2406
  • sql/sqlite: allow extending inspection with triggers by @a8m in #2407
  • cmd/atlas/internal/cmdext: make schema reader errors friendlier by @a8m in #2408
  • sql/internal/sqlx: indirect drop trigger dropping by @a8m in #2409
  • doc/hcl: add triggers to schema examples by @a8m in #2412
  • doc/website/blog: v0.17 announcement by @rotemtam in #2413

Full Changelog: v0.16.0...v0.17.0

v0.16.0

19 Dec 21:41
@a8m a8m
baee875
Compare
Choose a tag to compare

We are excited to announce the release of Atlas v0.16.0 🎊

Hi everyone!

It's been a while since our last version announcement and today I'm happy to share with you v0.16, which includes some very exciting improvements for Atlas:

  • ClickHouse Beta Program - ClickHouse is a high-performance, columnar database optimized for analytics and real-time query processing. Support for ClickHouse in Atlas has been one of the top requested features by our community in the past year. Today, we are happy to announce the launch of our ClickHouse Beta Program which you can sign up for today. See details below.
  • Hibernate Provider - Atlas now supports loading the desired state of your database directly from your Hibernate code. Hibernate developers can now join developers from the GORM, Sequelize, TypeORM and more communities who can now use Atlas to manage their database schema.
  • Baseline Schemas - In some cases, your migrations rely on certain database objects to exist apriori to your application schema, for example extensions or legacy tables. Atlas now supports defining a baseline schema which will be loaded before automatically planning and applying your migrations.
  • Proactive conflict detection - Teams that have connected their project to Atlas Cloud will get a prompt in the CLI if their migration directory is out of sync with the latest version in Atlas Cloud. This ensures that new migration files are added in a sequential order, preventing unexpected behavior.
  • Mermaid Support - Atlas now supports generating a Mermaid diagram of your database schema. This is a great way to visualize your database schema and share it with your team.
  • Review Policies - Users working with declarative migrations can now define "review policies" which can define thresholds for which kinds of changes require human review and which can be auto-applied.
  • Postgres Sequences - Another long-awaited feature, Atlas now supports managing sequences in PostgreSQL.

Read the full announcement on our blog: https://atlasgo.io/blog/2023/12/19/atlas-v-0-16

Quick installation

macOS + Linux:

curl -sSf https://atlasgo.sh | sh

Homebrew:

brew install ariga/tap/atlas

Docker:

docker pull arigaio/atlas

Windows

Download

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. If you would like to build Atlas from source follow the instructions here.

What's Changed

Commits history
  • doc/website: update banner by @hilakashai in #2213
  • cmd/atlas/internal/cmdext: add support for 'extenral' data source by @a8m in #2212
  • doc: add external data source to project config by @a8m in #2216
  • sql/postgres: drop cascade funcs and procs by @a8m in #2217
  • cmd/atlas/internal/sqlparse: use postgresql-parser for windows by @a8m in #2218
  • cmd/atlas: init stubs by @rotemtam in #2219
  • cmd/atlas/internal/cmdlog: add mermaid to template functions by @a8m in #2223
  • schemahcl: add more tf functions to stdlib by @a8m in #2224
  • cmd/atlas/internal/cmdapi: read and evaluate config file only once by @a8m in #2226
  • cmd/atlas/internal/cmdapi: fix broken tests by @a8m in #2227
  • Revert "doc/md: remove windows installation instructions and advise f… by @masseelch in #2228
  • cmd/atlas/internal/cmdext: atlas.sum is optional for schema directories (not migrations) by @a8m in #2230
  • cmd/atlas/internal: support apply review policies in project files by @rotemtam in #2235
  • doc/md: document tools.go for gorm provider by @rotemtam in #2238
  • cmd/atlas/internal/cmdapi: set flags from config file to schema push command by @a8m in #2239
  • cmd/atlas: added context flag to migrate apply by @dorav in #2237
  • cmd/atlas/internal/cmdapi: add stubs for remote schemas (atlas://) by @a8m in #2244
  • sql/internal/specutil: skip qualify repeatable blocks by @a8m in #2245
  • sql/migrate: fix flaky TestHashSum test by @a8m in #2246
  • cmd/atlas/internal/docker: allow custom images in docker driver by @a8m in #2249
  • Added indirect dependency for grpc:v1.58.3 by @kabobbob in #2242
  • cmd/atlas/internal/cmdapi: support reference env:// attributes by @a8m in #2253
  • sql/postgres: support add enum values before/after exisiting values by @a8m in #2255
  • sqlparse/sqliteparse: fixed err checks in recover by @giautm in #2256
  • cmd/atlas: upgrade antlr package by @giautm in #2257
  • cmd/atlas/internal/cmdext: stub for remote_schema data source by @a8m in #2259
  • cmd/atlas/internal/cmdlog: remove space from column name and type by @a8m in #2261
  • go: upgrade spf13/cobra by @a8m in #2264
  • cmd/atlas/internal/cmdstate: shared package for storing cmd states by @a8m in #2267
  • cmd/atlas/internal/cmdstate: disable homedir cache in tests by @a8m in #2268
  • cmd/atlas/internal/cmdapi: use t.TempDir for testing by @a8m in #2269
  • cmd/atlas/internal/cmdapi: revert t.TempDir for creating sqlite files by @a8m in #2270
  • cmd/atlas/internal/cmdapi: hook into RunE execution by @a8m in #2271
  • cmd/atlas/internal/cmdapi: allow ent version to check if dir rebased by @a8m in #2272
  • doc: add new diff prompt behavior by @a8m in #2273
  • cmd/atlas/internal/cmdext: move ent loader to stub by @a8m in #2275
  • sql/mysql: inspect mariadb check constraints correctly by @a8m in #2276
  • Fix link of atlas migrate lint by @michiomochi in #2278
  • cmd/atlas/internal/cmdapi: review policy excludes auto-approve by @rotemtam in #2279
  • cmd/atlas: update entgo.io/ent by @a8m in #2280
  • cmdext: revert support env://VARIABLE for runtimevar datasource (#2078) by @giautm in #2281
  • doc/md: document review policy by @rotemtam in #2284
  • cmd/atlas: pipe docker run errors to the user by @a8m in #2285
  • sql/migrate: support controlling the execution order by @a8m in #2287
  • doc/md/integrations: fix invalid dir in configMap by @datdao in #2289
  • cmd/atlas/internal/cmdlog: indent new line in apply log by @masseelch in #2288
  • .github/workflows: cancel in progress workflows with newer commits by @masseelch in #2290
  • cmd/atlas: add out-of-order to 'migrate status' by @a8m in #2291
  • sql/internal/sqlx: add Builder.WrapErr by @a8m in #2294
  • internal/ci: ignore ops directory by @giautm in #2296
  • Add libsql+file:// support by @haaawk in #2203
  • website: update versioned migration illustration by @a8m in #2299
  • cmd/atlas/internal/cmdapi: support env:// vars in lazy dev connection creation by @a8m in #2302
  • cmd/atlas: allow extending config hcl parse options by @a8m in #2306
  • sql/mysql/mysqlcheck: allow extending analyzers by @noamcattan in #2307
  • doc/website/blog: better example for gorm viz by @rotemtam in #2308
  • schemahcl: allow registering custom type-block to first eval phase by @a8m in #2309
  • sql/migrate: add the not-clean state to the error by @a8m in #2310
  • all: update deps by @masseelch in #2311
  • sql: standardize restore function creation by @a8m in #2312
  • sql/schema: standardize format/parse types interface by @a8m in #2313
  • all: update gocloud.dev/runtimevar by @masseelch in #2314
  • doc/md/concepts: using non alphanumeric characters in urls by @rotemtam in #2315
  • cmd/atlas/internal: miscellaneous changes to allow extending schemahcl with ...
Read more

v0.15.0

24 Oct 11:54
@a8m a8m
d7a4077
Compare
Choose a tag to compare

We are excited to announce the release of Atlas v0.15.0 🎊

Hi everyone!

It's been a few weeks since our last version announcement and today we are happy to share with you v0.15, which includes some very exciting improvements for Atlas:

  • Interactive Declarative Migrations - Atlas supports a Terraform-like workflow for managing your database schema using the schema apply command. In this release we have added a new "Lint and Edit" mode to this command, which will analyze your schema changes for issues and will allow you to edit them interactively before applying them to your database.
  • Functions and Stored Procedures - Atlas now supports creating and managing functions and stored procedures in your database schema.
  • Postgres Domains - In addition, Atlas now supports Postgres Domains.
  • TypeORM Integration - TypeORM is a popular ORM for Node.js. In this release, we are happy to announce the TypeORM integration, which allows you to automatically generate your database schema from your TypeORM entities, create visualizations and more.
    Let's dive right in!

image

Quick installation

macOS + Linux:

curl -sSf https://atlasgo.sh | sh

Homebrew:

brew install ariga/tap/atlas

Docker:

docker pull arigaio/atlas

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. If you would like to build Atlas from source follow the instructions here.

What's Changed

Commits
  • doc/website/blog: v0.14.0 announcement by @rotemtam in #2041
  • cmd/atlas/migratelint: add support for dir-based change detector by @a8m in #2042
  • cmd/atlas/cloudapi: add default atlas dir by @a8m in #2043
  • doc/md: update info in management ui doc by @hilakashai in #2046
  • doc/md: redirect old docs by @hilakashai in #2047
  • cmd/atlas: support build-tags for entloader by @giautm in #2050
  • cmd/atlas: migrate lint stubs for cloud by @a8m in #2052
  • cmd/atlas: expose migration dir type by @a8m in #2053
  • schemahcl: print native values as is by @a8m in #2054
  • go: bump to 1.21 by @a8m in #2055
  • doc/setup-ci: fixed incorrect github extension command by @dorav in #2056
  • doc: update atlas-sync-action docs by @noamcattan in #2044
  • cmd/atlas/migratelint: move stepreport to type by @a8m in #2062
  • cmd/atlas: stub for change detection by @a8m in #2065
  • cmd/atlas/internal/cmdapi: extract prompt apply to function by @rotemtam in #2067
  • cmd/atlas/internal/cmdapi: connect prompt to stdio by @rotemtam in #2068
  • cmd/atlas/internal/cmdapi: need sqlclient when applying by @rotemtam in #2069
  • doc/md/guides: gitlab ci guide by @rotemtam in #2064
  • doc/github-actions: documented 'setup-atlas' action by @dorav in #2063
  • doc/website: update 0.0.23 -> 0.0.26 by @ronenlu in #2070
  • ci: make runner input flag by @masseelch in #2071
  • schemahcl: add urluserinfo function by @giautm in #2073
  • doc: doc for new 'atlas migrate lint' behavior by @a8m in #2072
  • sql/sqlite: detect generated indexes on diff by @a8m in #2074
  • doc/md/guides/ci: gitlab add image and fix yaml by @rotemtam in #2076
  • cmd/atlas: migrate formatter defaults to atlas by @a8m in #2075
  • cmd/atlas/internal: support reporting local directories by @a8m in #2077
  • cmd/atlas: allow attaching config token to context by @a8m in #2079
  • cmd/atlas/internal: pass configured client to context setter by @a8m in #2080
  • cmd/atlas/internal: skip reporting local directories by @a8m in #2084
  • sql/postgres: fix panic in postgres DefaultDiffer func by @ronenlu in #2085
  • cmdext: support env://VARIABLE for runtimevar datasource by @giautm in #2078
  • doc: add short intro to the migrate apply page by @a8m in #2088
  • cmd/atlas/internal: move devloader login to helper function by @a8m in #2091
  • sql/postgres: remove unused collate/ctype attributes form inspection by @a8m in #2094
  • doc/md: flux cd guide by @rotemtam in #2092
  • doc/website: update operator v0.3.3 by @datdao in #2066
  • cmd/atlas/internal/cmdapi: allow promptApply to be extended with dev … by @a8m in #2097
  • doc/md: guide for sequelize schema loader by @ronenlu in #2098
  • doc/md/guides: modern ci/cd for databases guide by @rotemtam in #2100
  • doc/md: move guide url by @rotemtam in #2105
  • cmd/atlas/internal: url/open error by @a8m in #2106
  • cmd/atlas: omit url strings from parse errors by @a8m in #2108
  • sql: add support for materialized views in sqlspec by @a8m in #2109
  • cmd/atlas/internal/cmdext: allow using data.template_dir as desired state by @a8m in #2113
  • sql/internal/sqlx: add mviews to standard differ by @a8m in #2114
  • sql/postgres: support materialized views indexes by @a8m in #2120
  • internal/ci: specify go versions to use on generated workflow files by @masseelch in #2121
  • doc/website/blog: post announcing external loader for sequelize by @ronenlu in #2101
  • doc/website/blog: update sequelize blog post title by @rotemtam in #2123
  • sql/postgres: fix empty enum schema by @hectorj-thetreep in #2125
  • cmd/atlas/internal/cmdapi: return back the prompt label by @a8m in #2126
  • sql/sqlite: ensure default expressions are wrapped by @a8m in #2127
  • cmd/atlas: update command flag examples by @a8m in #2103
  • cmd/atlas: quote possible shell expansion issues by @masseelch in #2128
  • doc: update concurrent_index policy by @a8m in #2132
  • sql: add funcs/procs stubs by @a8m in #2139
  • sql/postgres: allow extending pg to check changes by @a8m in #2140
  • cmd/atlas: pass correct command context to log templates by @a8m in #2141
  • doc/website: bump website version to 0.0.28 by @noamcattan in #2133
  • doc: materialized views are in beta by @a8m in #2142
  • cmd/internal/sqlparse/pgparse: move to pgquery by @a8m in #2143
  • sql/internal/sqlx: allow diff driver override the view.def comparison by @a8m in #2144
  • sql/internal/specutil: add procs/funcs scan functions by @a8m in #2146
  • sql/postgres: allow extend planners with proc/func changes by @a8m in #2147
  • internal/integration: limit test scope to schemas and tables by @a8m in #2148
  • sql: add funcs/procs changes by @a8m in #2150
  • cmd/atlas/migratelint: add url to summary report and add helper to count diagnostics by @a8m in #2151
  • cmd/atlas: vercheck endpoint stub by @rotemtam in #2149
  • sql/migrate: skip non-standard #-based comments inside parens by @a8m in #2154
  • sql/schema: add helper for Funcs and Procs by @giautm in #2159
  • Add support for postgis in --dev-url by @anthonybishopric in #2160
  • doc/website-icon-fix by @dimagreat in #2161
  • cmd/atlas/migratelint: set missing error field by @a8m in #2162
  • cmd/atlas/internal/cmdlog: add funcs/procedures to sql format by @a8m in #2163
  • sql/internal/sqlx: add funcs/procs to normalize by @a8m in #2164
  • sql/migrate: scan sql-standard body in functions/procedures by @a8m in https://github.com/ariga/atlas/pull/...
Read more

v0.14.0

03 Sep 08:54
@a8m a8m
da39fae
Compare
Choose a tag to compare

We are excited to announce the release of Atlas v0.14.0 🎊

It's been a few weeks since our last version announcement and today we're happy to share with you v0.14, which includes some very exciting improvements for Atlas. Read the announcement blog post.

What's new

  • Checkpoints - As your migration directory grows, replaying it from scratch can become annoyingly slow. Checkpoints
    allow you to save the state of your database at a specific point in time and replay migrations from that point forward.
  • Push to the Cloud - You can now push your migration directory to Atlas Cloud directly from the CLI. Think of it like docker push for your database migrations.
  • JetBrains Editor Support - After launching our VSCode Extension a few months ago, our team has been hard at work to bring the same experience to JetBrains IDEs. Starting today, you can use Atlas directly from your favorite JetBrains IDEs (IntelliJ, PyCharm, GoLand, etc.) using the new Atlas plugin.
  • Reporting Deployments - Atlas supports the reporting of migration deployments to personal workspaces in Atlas Cloud. This provides full visibility into the databases, migration runs, and their statuses for each project.

image

Quick installation

macOS + Linux:

curl -sSf https://atlasgo.sh | sh

Homebrew:

brew install ariga/tap/atlas

Docker:

docker pull arigaio/atlas

Windows

Download

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. If you would like to build Atlas from source follow the instructions here.

What's Changed

Commits
  • add atlas npx install to README by @ronenlu in #1953
  • doc/website: auto add utm tags to cloud landing page by @rotemtam in #1954
  • doc: update website with latest changes by @a8m in #1956
  • doc: add nulls_distinct attribute by @a8m in #1957
  • sql/mysql: respect zerofill attribute in float/double types by @a8m in #1958
  • cmd/atlas/internal: add atlas version to user agent header in cloud client by @ronenlu in #1955
  • sql/postgres: add pg_trgm operator classes to variables by @a8m in #1962
  • sql/postgres: add postgis operator classes by @a8m in #1963
  • cmd/atlas: simplify the way version is set by @a8m in #1964
  • doc/website/blog: gormviz blog by @rotemtam in #1966
  • doc/website/blog: grammar on gormviz blog by @rotemtam in #1967
  • doc/website/blog: fix url pointing to schema loaders by @ronenlu in #1969
  • doc/md/cloud: setting up ci with atlas cloud guide by @rotemtam in #1970
  • sql/migrate: add support for baseline/tags files by @a8m in #1971
  • sql/internal/sqlx: support cross-schema refs with same names by @a8m in #1974
  • cmd/atlas: handle checkpoint files in migrate status by @a8m in #1972
  • cmd/atlas: rename cmd/atlas/lint to cmd/atlas/migratelint by @a8m in #1975
  • cmd/atlas/migratelint: support checkpoint files by @a8m in #1977
  • doc/md: fix small typo in eula url by @marcozac in #1979
  • cmd/atlas: remove revision-schema flag from migrate diff by @a8m in #1978
  • cmd/atlas: add support for 'migrate checkpoint' by @a8m in #1982
  • cmd/atlas: update ariga.io/atlas by @a8m in #1983
  • sql/migrate: do not compare schema attributes on checkpoint by @a8m in #1986
  • internal/integration: add tests for migrate checkpoint by @a8m in #1989
  • cmd/atlas/internal/cmdext: support rds iam token by @rotemtam in #1990
  • doc/md/integrations: update go sdk integration by @rotemtam in #1987
  • doc/md: fixed wrong sample code for gorm guide by @kylelmh in #1991
  • doc/md: update the doc of creating bot in cloud by @ronenlu in #1992
  • doc/website: new share image template by @rotemtam in #1993
  • doc/website/blog: iam auth blog post by @rotemtam in #1996
  • Build arm64 mysql and mariadb Docker images by @jacobwgillespie in #1998
  • cmd/atlas: allow extending migrate commands by @a8m in #2000
  • .github/ops/mysql: fix Dockerfile builds, fix mariadb:latest by @jacobwgillespie in #2001
  • Don't fail all Docker image builds on single failure, pre-create initialized-db by @jacobwgillespie in #2003
  • Fix generation of initialized DB in Dockerfile by @jacobwgillespie in #2004
  • .github: dev docker, disable arm64 for mariadb:10.3.13 by @giautm in #2002
  • sql: avoid ambiguity between resource label and qualifier by @a8m in #2005
  • cmd/atlas: rm unexported commands until next release by @a8m in #2006
  • cmd/atlas: read and fmt gql errors by @a8m in #2008
  • cmd/atlas: add option to attach client to context by @a8m in #2011
  • cmd/atlas: stub for reading atlas directory by its slug/tag by @a8m in #2013
  • cmd/atlas: print deployment url by @a8m in #2014
  • doc: intro to versioned migration with atlas push by @a8m in #2016
  • sql/internal/sqlx: support type selectors on exclude globs by @a8m in #2018
  • doc: add the --web flag to getting started by @a8m in #2022
  • sql/mysql: add table+column context to parse type errors by @a8m in #2023
  • doc/website: change share image by @a8m in #2021
  • sql/mysql: do not add mariadb json checks to table definition by @a8m in #2026
  • cmd/atlas: attach attributes to json format by @a8m in #2020
  • doc/md: update SQLServer URL example by @giautm in #2024
  • sql/mysql: support mariadb old temporal data types comments by @a8m in #2028
  • sql/postgres: scan foreign-key action codes by @a8m in #2029
  • sql/internal/sqlx: consistent order from topsort by @a8m in #2030
  • cmd/atlas/internal/cmdapi/vercheck: goos and arch in vercheck ua by @rotemtam in #2031
  • cmd/ext: create gcp_cloudsql_token datasource by @giautm in #2032

New Contributors

Full Changelog: v0.13.0...v0.14.0