Skip to content

v0.13.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 27 May 10:05
· 7 commits to main since this release
27f9da6

⚡ Highlights

  • 🦆 New command: baseline to help integrate pgroll into existing databases
  • 🦧 migrate command fails early if there is an issue in a migration file

Read the release blog post for more details: https://pgroll.com/blog/pgroll-0-13-0-update

🔴 Breaking changes

  • 🎏 --name flag is removed from pgroll convert
  • 🐰 From now on pgroll uses the filename as the migration name. This, migration name cannot be set using name attribute in migration files. You must remove the attribute name from your new, unapplied migration files.

Changelog

  • db2a61f Add missing documentation link from README badge (#828)
  • 4e909cf Add test coverage for ReadMigration (#853)
  • d4f007b Change local docker-compose setup (#824)
  • 16173dd Document new constraint type in create_constraint: primary_key (#839)
  • 99819d6 Fail early in migrate if there is an incompatible migration file (#827)
  • 9fb0548 Fix JSON example in create_constraint documentation page (#840)
  • 5c0101b Fix backfill on tables with case sensitive names (#831)
  • 1b31daa Mark hidden commands in build-cli-definition tool (#847)
  • 675bfd2 New DBAction: AlterSequenceOwnerAction (#848)
  • a149a4f New DBAction: CreateCheckConstraintAction (#837)
  • 529d721 New DBAction: CreateFKConstraintAction (#843)
  • df51a33 New DBAction: DropConstraintAction (#849)
  • cabb623 New DBAction: ValidateConstraintAction (#838)
  • cc8fa32 Refactoring of writing migrations to file (#821)
  • 052ab79 Remove --name flag from pgroll convert (#851)
  • 2982cf7 Remove redundant pgroll.internal parameter (#823)
  • 3160548 Remove support for the name field in migrations (#852)
  • 034cb1e Simplify README.md (#825)
  • 27f9da6 Stop setting name field for inferred migrations (#854)
  • 7241a55 Use DropTableAction in create_table operation (#836)
  • 2aee64f [baseline] Add pgroll baseline command (#832)
  • 4d9bc1b [baseline] Add docs for the pgroll baseline command (#844)
  • 32bfe51 [baseline] Make pgroll migrate baseline-aware (#834)
  • 149d0ce [baseline] Make pgroll pull pull only migrations after the most recent baseline (#833)
  • 50d690a [baseline] Make start and migrate fail on non-empty schema without migration histories (#835)
  • 0290c11 [baseline] Unhide the pgroll baseline comand (#846)