Skip to content

Latest commit

 

History

History
136 lines (89 loc) · 3.33 KB

CHANGELOG.md

File metadata and controls

136 lines (89 loc) · 3.33 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

Please follow the format in Keep a Changelog

[Unreleased]

Added

Changed

Deprecated

Removed

Fixed

[4.0.1] - 2017-08-01

Added

  • Support for all pt-osc command-line options, including short forms and array arguments

Changed

Deprecated

Removed

Fixed

[4.0.0] - 2017-06-12

Added

Changed

  • Rename the gem from percona_migrator to departure.

Deprecated

Removed

  • Percona_migrator's deprecation warnings when installing and running the gem.

Fixed

[3.0.0] - 2016-04-07

Added

  • Support for ActiveRecord 4.2.x
  • Support for Mysql2 4.x
  • Allow passing any pt-online-schema-change's arguments through the PERCONA_ARGS env var when executing a migration with rake db:migrate:up or db:migrate:down.
  • Allow setting global percona arguments via gem configuration
  • Filter MySQL's password from logs

Changed

  • Enable default pt-online-schema-change replicas discovering mechanism. So far, this was purposely set to none. To keep this same behaviour provide the PERCONA_ARGS=--recursion-method=none env var when running the migration.

[1.0.0] - 2016-11-30

Added

  • Show pt-online-schema-change's stdout while the migration is running instead of at then and all at once.
  • Store pt-online-schema-change's stderr to percona_migrator_error.log in the default Rails tmp folder.
  • Allow configuring the tmp directory where the error log gets written into, with the tmp_path configuration setting.
  • Support for ActiveRecord 4.0. Adds the following migration methods:
    • #rename_index, #change_column_null, #add_reference, #remove_reference, #set_field_encoding, #add_timestamps, #remove_timestamps, #rename_table, #rename_column

[0.1.0.rc.7] - 2016-09-15

Added

  • Toggle pt-online-schema-change's output as well when toggling the migration's verbose option.

Changed

  • Enabled pt-online-schema-change's output while running the migration, that got broken in v0.1.0.rc.2

[0.1.0.rc.6] - 2016-04-07

Added

  • Support non-ddl migrations by implementing the methods for the ActiveRecord quering to work.

Changed

  • Refactor the PerconaAdapter to use the Runner as connection client, as all the other adapters.

[0.1.0.rc.5] - 2016-03-29

Changed

  • Raise a ActiveRecord::StatementInvalid on failed migration. It also provides more detailed error message when possible such as pt-onlin-schema-change being missing.

[0.1.0.rc.4] - 2016-03-15

Added

  • Support #drop_table
  • Support for foreing keys in db/schema.rb when using Foreigner gem in Rails 3 apps. This allows to define foreign keys with #execute, but does not provide support for add_foreign_key yet.

[0.1.0.rc.3] - 2016-03-10

Added

  • Support #execute. Allows to execute raw SQL from the migration

[0.1.0.rc.2] - 2016-03-09

Added

  • VERBOSE env var in tests. Specially useful for integration tests.
  • Fix #create_table migration method. Now it does create the table.

Changed

  • Use ActiveRecord's logger instead of specifying one in the connection data.

[0.1.0.rc.1] - 2016-03-01

  • Initial gem version