github ariga/atlas v0.3.0

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

Atlas v0.3.0 adds support for running schema inspect and schema apply commands using a graphical user interface, as well as many improvements to database inspection, diffing and migration planning.

To run the CLI with the GUI enabled, simply add the -w flag to the inspect or apply commands. For example:

atlas schema apply -d "mysql://root:pass@tcp(localhost:3306)/example" -f schema.hcl -w

migrate

Starting this release, the distributed binaries include code for a Management UI wrapping the core atlas functionality that is not currently released as open-source software. If you would like to build Atlas from source without the UI code run:

go build ./cmd/atlas

Installation

MacOS

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

Linux

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

Windows

curl -LO https://release.ariga.io/atlas/atlas-windows-amd64-v0.3.0.exe

What's Changed

  • doc: update docs for v0.2.0 by @rotemtam in #383
  • doc/md/getting-started: fixing broken link by @rotemtam in #384
  • cmd/action: improve error message when using bad dsn by @yonidavidson in #385
  • sql/mysql: bug fixes in enum types by @a8m in #386
  • sql/mysql: minor changes for AUTO_INCREMENT migration by @a8m in #387
  • sql/mysql: index sub parts by @a8m in #388
  • sql/internal/specutil: support marshaling unsupported types as sql() … by @rotemtam in #389
  • go.mod: upgrade cobra cli to v1.3.0 by @yonidavidson in #390
  • Update intro.md by @masseelch in #391
  • sql/mysql: avoid panic on migrate failure by @a8m in #393
  • sql/mysql: allow dropping table attributes by @a8m in #394
  • sql/mysql: support precision and scale in type registry by @a8m in #395
  • internal/integration: add hcl drift test to sanity by @yonidavidson in #397
  • sql/sqlite: export ParseType function by @a8m in #399
  • sql/mysql: add json to type registry by @a8m in #401
  • cmd/action: error message when using -w flag by @yonidavidson in #402
  • cmd/action: adding --addr flag, small copy changes by @rotemtam in #403
  • Add support for SQL comments by @masseelch in #404
  • beautify code by @masseelch in #405
  • sql/mysql: reject CHARSET/COLLATE attributes for non-char columns on migrate by @a8m in #407
  • sql: support diffing table comments by @a8m in #408
  • feat(dsl): add builders for check constraints by @masseelch in #409
  • sql/postgres: support modify table comments by @a8m in #410
  • sql/postgres: empty comments are equivalent to NULL by @a8m in #411
  • sql/postgres: minor bug fixes for modify-enum by @a8m in #412
  • schema/schemaspec: create nil-slice instead of empty slice if there a… by @masseelch in #413
  • sql/postgres: finish handling comments creation/modification for indexes, tables and columns by @a8m in #415
  • sql: add support for check constraints by @masseelch in #414
  • sql/mysql: support modifying schema charset and collation attributes by @a8m in #416
  • sql/mysql: reject CHECK constraints when it is not supported by the d… by @a8m in #417
  • sql: catch unnamed/implicit indexes in diffing by @a8m in #418

Full Changelog: v0.2.0...v0.3.0

Legal

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.

Don't miss a new atlas release

NewReleases is sending notifications on new releases.