Skip to content

Latest commit

 

History

History
107 lines (87 loc) · 5.89 KB

CHANGELOG.md

File metadata and controls

107 lines (87 loc) · 5.89 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.8.4] - 2021-01-09

Changed

  • Allow setting a custom migration table name, #207

[0.8.2] - 2021-01-05

Changed

  • Update async to allow 22, #202

[0.8.1] - 2021-12-30

Changed

  • Update mysql to allow 0.29, #164
  • Update rusqlite to allow 0.26, #159

[0.7.0] - 2021-10-16

Added

  • Add Target::Fake and Target::FakeVersion to allow users to only update refinery's schema migration table without actually running the migration files , #179
  • Add tiberius support to refinery and mssql support to refinery_cli #169

Changed

  • include_migration_mods macro has been removed. Instead of that, use embed_migrations macro, and there is no need to have mod.rs. #154

Removed

  • Removal of "files" argument from refinery cli #174

[0.6.0] - 2021-07-10

Changed

  • Update mysql to 0.21, #164
  • Update mysql_async to 0.28, #164
  • Update rusqlite to 0.25, #159

[0.5.0] - 2020-12-31

Added

  • Detect repeated migrations on migrations to be applied and return Error on that situation, #146

Changed

  • Update assert_cmd to 1.0, #143
  • Update env_logger to 0.8, #143
  • Update env_logger to 0.8, #143
  • Update cfg_if to 1.0, #143
  • Update postgres to 0.19, #143
  • Update tokio-postgres to 0.7, #143
  • Update mysql to 0.20, #143

[0.4.0] - 2020-10-13

Added

  • Warn when migration file name is malformed #130
  • Add Unversioned migration type, #128
  • Add get_migrations method to runner to allow inspecting gathered migrations, #120
  • Add support for 'postgresql' url schema prefix, #107
  • Add lib option to load config from a string, 1#13
  • Add lib and cli option to load config from env var, #103

Fixed

  • Fix set_abort_missing, it was setting the wrong variable, #127

Changed

  • Update mysql_async to 0.25, #131
  • Update mysql to 0.18, #99

[0.3.0] - 2020-05-19

Added

  • Rename Config.get_db_type to Config.db_type, #95
  • Deprecate migrate_from_config and migrate_from_config_async, instead impl Migrate for Config, #94
  • Update Runner.run and Runner.run_async return signature, Result<(), Error> -> Result<Report, Error> where report contains applied Migration's, #92
  • Deprecate AppliedMigration, merge its functionality into Migration, #91
  • Add Runner.get_applied_migrations_async method, #90
  • Add Runner.get_applied_migrations method, #90
  • Add Runner.get_last_applied_migration_async method, #90
  • Add Runner.get_last_applied_migration method
  • Add allow migrations to run up until a Target version, #74
  • Use SipHasher13 instead of DefaultHasher #63

Changed

  • Update mysql_async dependency, 0.21 -> 0.23 #94
  • Update rusqlite dependency, 0.21 -> 0.23 #88

[0.2.1] - 2020-02-19

Fixed

  • Update cfg-if to 0.1.10 to fix backtrace bug #66

[0.2.0] - 2019-12-20

Added

  • Add tokio-postgres driver support #10.
  • Add mysql_async driver support #22.
  • Add migrate_from_config function
  • Add migrate_from_config_async function
  • Update postgres to version 0.17 #32
  • Allow refinery_cli to select driver via features #32

Fixed

  • allow multiple statements in migration files #10
  • when building refinery_cli with default features, build with rusqlite bundled libsqlite3 #33
  • rename ConnectionError to just Connection as it is a variant for Error enum, and add its source as source #36

Changed

  • update rusqlite dependency, 0.18 -> 0.21 #26

[0.1.10] - 2019-12-10

Added

  • Initial release.