Skip to content

Releases: doctolib/safe-pg-migrations

increase lock timeout option and safer drop column for composite indexes

02 May 08:46
2475fb4
Compare
Choose a tag to compare

What's Changed

Fixes 🐛

  • Fix check used when adding non null constraint by @teckwan in #142
  • BatchRecord: select primary keys instead of full records by @maximerety in #138

New Features 🎉

New Contributors

Full Changelog: v3.0.1...v3.1.0

v3.0.1

12 Dec 16:20
679ed20
Compare
Choose a tag to compare

What's Changed

Bugfix 🔨

Full Changelog: v3.0.0...v3.0.1

safe-pg-migration 3.0.0

11 Dec 14:32
cc4505a
Compare
Choose a tag to compare

What's Changed

Fixes 🐛

New Features 🎉

Full Changelog: v2.3.0...v3.0.0

v2.3.0

02 Aug 08:50
0ded5f3
Compare
Choose a tag to compare

What's Changed

New Features 🎉

New Contributors

Full Changelog: v2.2.1...v2.3.0

v2.2.1

07 Jul 14:30
19dd8c4
Compare
Choose a tag to compare

What's Changed

Fixes 🐛

Full Changelog: v2.2.0...v2.2.1

v2.2.0

06 Jul 13:50
606b200
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • Make lock_timeout configurable by @ThHareau in #102
  • Bugfix: UselessStatementLogger now warns when disable_ddl_transaction is called by @ThHareau in #104
  • Add sensitive_logger by @ThHareau in #101
  • Introduce default_value_backfill_threshold: config to avoid unwanted long migration when adding a column with :update_in_batches by @ThHareau in #105
  • drop_table: Remove foreign keys before removing a column by @ThHareau in #107
  • Set statement timeout by default by @ThHareau in #106

Full Changelog: v2.1.0...v2.2.0

v2.1.0

29 Jun 10:09
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • Adding drop_table to the list of retriable statements by @MouadHilali in #93
  • Add safe add_check_constraint by @ThHareau in #95
  • safe change_column_null by @ThHareau in #97
  • Add small margin to lock timeout, otherwise it is hidden by statement timeouts by @ThHareau in #99
  • Implement default_value_backfill algorithm in add_column by @ThHareau in #98

New Contributors

Full Changelog: v2.0.0...v2.1.0

v2.0.0

17 Mar 12:33
Compare
Choose a tag to compare

What's Changed

Breaking

  • Drop Ruby 2.5, 2.6 and ActiveRecord < 6, add ruby 3.2 and AR 7.0 by @ThHareau in #80
  • Remove support for PG 9 and 10 as they are EOL by @ThHareau in #82

Features:

Fixes:

New Contributors

Full Changelog: v1.4.2...v2.0.0

v1.4.2

17 Mar 13:00
Compare
Choose a tag to compare

What's Changed

Fixes:

Full Changelog: v1.4.1...v1.4.2