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.
- Add new utility function,
load_sql_migrations
that enables dynamic migration discovery where embedding is not desirable. #313 - Add an enum
EmbeddedMigration
with all the migrations applied, #312
- Make serde, toml deps optional, #310
- Make
Migration::applied
pub
, #321 - Update
rusqlite
to allow0.31
, #316
- Fix bug in get_last_applied_migration when refinery's schema history table is not default, #313
- Fix newline handling for Windows in database configuration setup, #320
- YANKED: due to release mismatch, see #323.
- Add Iterable method, #296
- Update
mysql
to allow24
, #292 - Update
mysql_async
to allow0.33
, #292 - Update
rusqlite
to allow0.30
, #300 - Replace
lazy_static
withstd::sync::OnceLock
#301
- Improve feature-set, remove non required features from dependencies #286
- Update mysql_async to allow 0.32, #278
- Add
no-default-features
to tiberius dependency as tiberius features are non additive #273 - Increase the range of supported
postgres
versions #273
- Update tiberius to allow 0.12 #271
- Update non driver dependencies to latest available versions to allow 0.12 #271
- Update mysql to allow 23 #229
- Update mysql_async to allow 0.30, #229
- Allow setting a custom migration table name, #207
- Update mysql 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.