Releases: cljoly/rusqlite_migration
Releases · cljoly/rusqlite_migration
Version 1.1.0 Alpha 1
Minimum Rust Version
Rust 1.61
New Features
- Add up/down hooks to run custom Rust code during migrations (PR thanks to @matze)
- The purpose of this release is to get feedback on the new API. Please feel free to comment on this discussion!
- Add foreign_key_check method to migrations (PR thanks to @Jokler)
- Please beware of the follow up work needed on this
- Make
Migration
functions const (PR thanks to @fkaa)
Other
- CI improvements
- Linter improvements
- Repository metadata improvements
- Documentation improvements
- Dev dependencies update (not dependencies of the library when used in another crate)
New Contributors
- @fkaa made their first contribution in #19
- @Jokler made their first contribution in #20
- @matze made their first contribution in #28
- @czocher made their first contribution in #32
Full Changelog: v1.0.0...v1.1.0-alpha.1
Version 1.0.1
Version 1.0.1
Bug Fix
- fix: error instead of panicking on higher migration level (see commit ad57d92)
Other
- Documentation improvements
Version 1.0.0
Version 1.0.0
Breaking changes
- Remove deprecated symbols (
Migrations.latest
,SchemaVersionError::MigrateToLowerNotSupported
)
Other
- Documentation improvements
Version 0.5.1
Version 0.5.1
Potentially Breaking Changes
- Update the
rusqlite
crate to>=0.23.0
(to protect againt RUSTSEC-2020-0014)
Other
- Improve the documentation
Version 0.5.0
Potentially breaking change
- Update the
env_logger
dependency
Other
- Improve the documentation
Version 0.4.2
Only documentation changes.
Version 0.4.1
Only documentation changes.
Version 0.4.0
New features
- Add downward migrations, i.e. migrations to go to past schema version of the database. Thanks @MightyPork!
- Unsafe code is now forbidden.
Breaking changes
- Rename
latest
toto_latest
. The old symbol is deprecated and will be removed eventually. - An error is now returned when a migration is attempted while no migrations exist.
Other
- Improve general rust API documentation.
- Generate parts of the readme based on rust comments, for increased consistency with the docs.rs content.
- Various refactoring and clean-ups.
Version 0.3.1
Fix in readme, for crates.io
Version 0.3
New features
- Multi line sql statements like:
are now fully supported
M::up(r#" CREATE TABLE t1(a, b); CREATE TABLE t2(a, b); "#)
Other
- Various doc & CI improvements
- Fix a case of failure with silent errors.