rust-db/refinery
Powerful SQL migration toolkit for Rust.
13 Releases
Latest: 2w ago
V0.9.2v0.9.2Latest
✨ Added
- Support for `rustls` as a TLS backend for `tokio-postgres` via the new `tokio-postgres-rustls` feature. [#426](https://github.com/rust-db/refinery/pull/426)
📋 Changed
- Make TLS opt-in for `postgres` and `tokio-postgres` features. The `postgres` and `tokio-postgres` features no longer pull in `native-tls` unconditionally. Use `postgres-tls` and `tokio-postgres-tls` features for TLS support. [#408](https://github.com/rust-db/refinery/pull/408)
- Support `rusqlite` 0.39.x. [#425](https://github.com/rust-db/refinery/pull/425)
- Support `mysql` up to 0.28.x and `mysql_async` up to 0.37.x. [#436](https://github.com/rust-db/refinery/pull/436)
- Update `toml` dependency to 1.1.2. [#430](https://github.com/rust-db/refinery/pull/430)
V0.9.1v0.9.1
📋 Changed
- Support `rusqlite` 0.38.x. [#410](https://github.com/rust-db/refinery/pull/410)
🐛 Fixed
- Avoid warning logs for nested directories while scanning migrations. [#421](https://github.com/rust-db/refinery/pull/421)
v0.9.0
✨ Added
- Support for TLS in postgres/tokio-postgres using native-tls. [#353](https://github.com/rust-db/refinery/pull/353)
- Support for int8 migration versions via new `int8-versions` feature. [#330](https://github.com/rust-db/refinery/pull/330)
- Derive Serialize for Migration if serde is enabled. [#395](https://github.com/rust-db/refinery/pull/395)
0.8.14
0.8.13
✨ Added
- Add new utility function, `load_sql_migrations` that enables dynamic migration discovery where embedding is not desirable. [#313](https://github.com/rust-db/refinery/pull/313)
- Add an enum `EmbeddedMigration` with all the migrations applied, [#312](https://github.com/rust-db/refinery/pull/312)
📋 Changed
- Make serde, toml deps optional, [#310](https://github.com/rust-db/refinery/pull/310)
- Make `Migration::applied` `pub`, [#321](https://github.com/rust-db/refinery/pull/321)
- Update `rusqlite` to allow `0.31`, [#316](https://github.com/rust-db/refinery/pull/316)
🐛 Fixed
- Fix bug in `get_last_applied_migration` when refinery's schema history table is not default, [#313](https://github.com/rust-db/refinery/pull/313)
- Fix newline handling for Windows in database configuration setup, [#320](https://github.com/rust-db/refinery/pull/320)
0.8.12
📋 Changed
- Add Iterable method, [#296](https://github.com/rust-db/refinery/pull/296)
- Update `mysql` to allow `24`, [#292](https://github.com/rust-db/refinery/pull/292)
- Update `mysql_async` to allow `0.33`, [#292](https://github.com/rust-db/refinery/pull/292)
- Update `rusqlite` to allow `0.30`, [#300](https://github.com/rust-db/refinery/pull/300)
- Replace `lazy_static` with `std::sync::OnceLock` [#301](https://github.com/rust-db/refinery/pull/301)
0.8.11
0.8.10
0.8.9
📋 Changed
- Add `no-default-features` to tiberius dependency as tiberius features are non additive [#273](https://github.com/rust-db/refinery/pull/273)
- Increase the range of supported `postgres` versions [#273](https://github.com/rust-db/refinery/pull/274)
0.8.8
0.8.7
📋 Changed
- Update mysql to allow 23 [#229](https://github.com/rust-db/refinery/pull/257)
0.8.6
📋 Changed
- Update mysql_async to allow 0.30, [#229](https://github.com/rust-db/refinery/pull/229)
0.8.4
📋 Changed
- Allow setting a custom migration table name, [#207](https://github.com/rust-db/refinery/pull/207)
