Version 1.1.0 Beta 1
Pre-release
Pre-release
Summing up all the changes from the previous Alpha versions.
Minimum Rust Version
Rust 1.70
New Features
- Support for tokio-rusqlite behind the feature named
alpha-async-tokio-rusqlite
thanks to @czocher. See the example. This feature is alpha, meaning that compatibility in future minor versions is not guaranteed. - Create migrations from directories holding SQL files thanks to @czocher. See the example.
- Add up/down hooks to run custom Rust code during migrations (PR thanks to @matze)
- Add foreign_key_check method to migrations (PR thanks to @Jokler)
- Make
Migration
functions const (PR thanks to @fkaa) - Make
Migrations
serializable (using the Debug serializer) with insta.
Depreciation
- Mark
Migrations::from_iter
as deprecated
Other
- Documentation improvements
- Repository metadata improvements
- Code quality improvements
- Introduce cargo mutants & fix bugs found
- Clippy warning fixes and other linter improvements
- Report on test coverage & improve test coverage
- Add benchmarks
- Made errors returned more precise
- Updated dependencies
See also
Rusqlite was updated from 0.29.0 to 0.30.0. Please see its release notes
What's Changed
- Update Changelog by @cljoly in #96
- Extract test helper methods by @czocher in #100
- chore: bump cargo version by @cljoly in #102
- Fix cargo-mutants in CI by @cljoly in #104
- doc: remove cargo-sync-readme by @cljoly in #105
- doc: misc. improvements by @cljoly in #103
- Make down migrations respect the
foreign_key_check
setting by @czocher in #99 - Fix typos in the project by @czocher in #106
- Update
rusqlite
by @czocher in #109 - chore: refactor cargo manifests and add pkg by @cljoly in #111
- Update documentation and Changelog by @cljoly in #114
- Don't pin to exact rusqlite version by @fkrull in #120
- Stop installing an old cargo mutants in CI by @cljoly in #116
- Multi errors fkc by @cljoly in #118
- doc: mention cargo-insta in the Readme by @cljoly in #119
- doc: make docs.rs show features by @cljoly in #121
- test: fix formatting and add more snapshots by @cljoly in #122
- doc: make it clear that the async feature is alpha by @cljoly in #123
- Add tests to preserve API compatibility by @cljoly in #124
New Contributors
Full Changelog: v1.1.0-alpha.2...v1.1.0-beta.1