Skip to content

v1.0.5

Latest

Choose a tag to compare

@bdurand bdurand released this 21 Jul 02:28
· 4 commits to main since this release
Immutable release. Only release title and notes can be modified.
9719d61

Fixed

  • SQL files are no longer deleted before a down migration runs; if the down migration fails, the SQL file is kept since the migration is still applied.
  • SQL files are now written to a temporary file and atomically renamed into place, so a process killed mid-migration can no longer leave a permanent, truncated SQL file behind.
  • The migration SQL directory is now created with FileUtils.mkdir_p, eliminating a race condition between concurrent migration processes and supporting nested custom directories.
  • Attaching the SQL subscriber is now thread safe, preventing duplicate subscribers (and duplicated SQL output) when migrations run in parallel threads.
  • Ignored statement filters are now applied after stripping leading whitespace, so statements with leading whitespace no longer bypass them.
  • The INSERT INTO schema_migrations statement written to SQL files now honors custom schema migrations table names and table name prefixes and suffixes.
  • Connection labels from using_connection are no longer written to the SQL file when SQL logging is disabled.

Changed

  • Rails 5.2 and Ruby 2.6 are the minimum supported versions.

Full Changelog: v1.0.4...v1.0.5