refinery-core
This crate should not be used directly, it is internally related to Refinery
0.9.2
9.6M downloads/mo
#3180 most downloaded on crates.io
rust-db/refinery
What this package is like to depend on
Last release 2 months ago
10 Jun 2026
Ships fairly regularly
a new release about every 4 months
Most releases are documented
notes for 21 of 27 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
28 releases · first in 2020
3 releases in the last 12 months
see the full history below
Release timeline
28 releases · May 2020 to Jun 2026Releases
latest 28-
0.9.210 Jun 2026Release notes
Open source →[0.9.2] - 2026-06-09
Added
- Support for
rustlsas a TLS backend fortokio-postgresvia the newtokio-postgres-rustlsfeature. #426
Changed
- Make TLS opt-in for
postgresandtokio-postgresfeatures. Thepostgresandtokio-postgresfeatures no longer pull innative-tlsunconditionally. Usepostgres-tlsandtokio-postgres-tlsfeatures for TLS support. #408 - Support
rusqlite0.39.x. #425 - Support
mysqlup to 0.28.x andmysql_asyncup to 0.37.x. #436 - Update
tomldependency to 1.1.2. #430
Release notes
Open source →Added
- Support for
rustlsas a TLS backend fortokio-postgresvia the newtokio-postgres-rustlsfeature. #426
Changed
- Make TLS opt-in for
postgresandtokio-postgresfeatures. Thepostgresandtokio-postgresfeatures no longer pull innative-tlsunconditionally. Usepostgres-tlsandtokio-postgres-tlsfeatures for TLS support. #408 - Support
rusqlite0.39.x. #425 - Support
mysqlup to 0.28.x andmysql_asyncup to 0.37.x. #436 - Update
tomldependency to 1.1.2. #430
- Support for
-
0.9.115 Apr 2026Release notes
Open source →[0.9.1] - 2026-04-15
Changed
- Support
rusqlite0.38.x. #410
Fixed
- Avoid warning logs for nested directories while scanning migrations. #421
Release notes
Open source →Changed
- Support
rusqlite0.38.x. #410
Fixed
- Avoid warning logs for nested directories while scanning migrations. #421
- Support
-
0.9.010 Oct 2025Release notes
Open source →Added
- Support for TLS in postgres/tokio-postgres using native-tls. #353
- Support for int8 migration versions via new
int8-versionsfeature. #330 - Derive Serialize for Migration if serde is enabled. #395
Changed
- Update migrate Transaction and AsyncTransaction execute functions to avoid double iteration. #393
- Update
mysql_asyncto support up until version 0.36. #400 - Update
rusqliteto support up until version 0.37. #389, #390 - Update
thiserrorto version 2. #372 - Update MSRV (Minimum Supported Rust Version). #401, #362
- Fix unused warnings #403
Fixed
- Fix logging output for async and sync migrate functions. #378
-
0.8.1621 Feb 2025Release notes
Open source →Fixed
- Revert #346 as it breaks Semver, save it for a minor release in the future.
-
0.8.1518 Feb 2025 withdrawnRelease notes
Open source →Added
- Make a query overridable. #358
- Enable math functions for SQLite. #335
- Add serde subfeature to tiberius-config. #334
Changed
- Update
mysqlversion to allow26, #365 - Update
mysql_asyncto allow0.35, #359 - Update
rusqliteto allow0.33, #361 - Update migrate Transaction and AsyncTransaction execute functions to avoid double iteration when calling migrate with the grouped option active. #346
- Update overall dependencies. #340
Fixed
- Fix misleading CLI arguments descriptions #336
-
0.8.1403 Apr 2024Release notes
Open source →Added
- Add new utility function,
load_sql_migrationsthat enables dynamic migration discovery where embedding is not desirable. #313 - Add an enum
EmbeddedMigrationwith all the migrations applied, #312
Changed
- Make serde, toml deps optional, #310
- Make
Migration::appliedpub, #321 - Update
rusqliteto allow0.31, #316
Fixed
- Add new utility function,
-
0.8.1329 Mar 2024Release notes
Open source →[0.8.13] - 2024-03-29
Added
- Add new utility function,
load_sql_migrationsthat enables dynamic migration discovery where embedding is not desirable. #313 - Add an enum
EmbeddedMigrationwith all the migrations applied, #312
Changed
- Make serde, toml deps optional, #310
- Make
Migration::appliedpub, #321 - Update
rusqliteto allow0.31, #316
Fixed
- Add new utility function,
-
0.8.1222 Jan 2024 -
0.8.1113 Sep 2023Release notes
Open source →Changed
- Improve feature-set, remove non required features from dependencies #286
-
0.8.1020 May 2023 -
0.8.905 May 2023 -
0.8.828 Apr 2023 -
0.8.726 Nov 2022 -
0.8.615 Aug 2022 -
0.8.508 Jul 2022Nothing published for this version
-
0.8.409 Jan 2022 -
0.8.309 Jan 2022Nothing published for this version
-
0.8.205 Jan 2022 -
0.8.131 Dec 2021Release notes
Open source → -
0.8.030 Dec 2021Nothing published for this version
-
0.7.016 Oct 2021Release notes
Open source →Added
- Add
Target::FakeandTarget::FakeVersionto allow users to only update refinery's schema migration table without actually running the migration files , #179 - Add tiberius support to
refineryandmssqlsupport torefinery_cli#169
Changed
include_migration_modsmacro has been removed. Instead of that, useembed_migrationsmacro, and there is no need to havemod.rs. #154
Removed
- Removal of "files" argument from refinery cli #174
- Add
-
0.6.010 Jul 2021Release notes
Open source → -
0.5.113 Jan 2021Nothing published for this version
-
0.5.031 Dec 2020Release notes
Open source →Added
- Detect repeated migrations on migrations to be applied and return Error on that situation, #146
Changed
-
0.4.013 Oct 2020Release notes
Open source →Added
- Warn when migration file name is malformed #130
- Add
Unversionedmigration type, #128 - Add
get_migrationsmethod 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
-
0.3.213 Oct 2020Nothing published for this version
-
0.3.124 May 2020Nothing published for this version
-
0.3.019 May 2020Release notes
Open source →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
Release notes
Open source →Added
- RU translation from [@aishek].
- pt-BR translation from [@tallesl].
- es-ES translation from [@ZeliosAriex].