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.
- Allow setting a custom migration table name, #207
- Update async to allow 22, #202
- Add
Target::Fake
andTarget::FakeVersion
to allow users to only update refinery's schema migration table without actually running the migration files , #179 - Add tiberius support to
refinery
andmssql
support torefinery_cli
#169
include_migration_mods
macro has been removed. Instead of that, useembed_migrations
macro, and there is no need to havemod.rs
. #154
- Removal of "files" argument from refinery cli #174
- Detect repeated migrations on migrations to be applied and return Error on that situation, #146
- 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
- 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
- Fix
set_abort_missing
, it was setting the wrong variable, #127
- 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
- Update cfg-if to 0.1.10 to fix backtrace bug #66
- 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
- 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
- update rusqlite dependency, 0.18 -> 0.21 #26
- Initial release.