From 3c6cc4ed0e3f3efad5a9c7df7e736e83e38d6378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Joly?= Date: Sun, 17 Dec 2023 13:54:47 +0000 Subject: [PATCH] doc: Prepare changelog for version 1.1.0 Also update deps.rs badge --- CHANGELOG.md | 37 +++++++++++++++++++++++++++++++++++ README.md | 2 +- rusqlite_migration/Cargo.toml | 2 +- 3 files changed, 39 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba79c10..35ed0bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,42 @@ # Changelog +## Version 1.1.0 + +*Same code as version 1.1.0-beta.1* + +### Minimum Rust Version + +Rust 1.70 + +### New Features + +* Support for tokio-rusqlite behind the feature named `alpha-async-tokio-rusqlite`thanks to [@czocher](https://github.com/czocher). See [the example](https://github.com/cljoly/rusqlite_migration/tree/c54951d22691432fbfd511cc68f1c5b8a2306737/examples/async). This feature is alpha, meaning that compatibility in future minor versions is not guaranteed. +* Create migrations from directories holding SQL files thanks to [@czocher](https://github.com/czocher). See [the example](https://github.com/cljoly/rusqlite_migration/tree/af4da527ff75e3b8c089d2300cab7fbe66096411/examples/from-directory). +* Add up/down hooks to run custom Rust code during migrations ([PR](https://github.com/cljoly/rusqlite_migration/pull/28) thanks to [@matze](https://github.com/matze)) +* Add foreign_key_check method to migrations ([PR](https://github.com/cljoly/rusqlite_migration/pull/20) thanks to [@Jokler](https://github.com/Jokler)) +* Make `Migration` functions const ([PR](https://github.com/cljoly/rusqlite_migration/pull/19) thanks to [@fkaa](https://github.com/fkaa)) +* Make `Migrations` serializable (using the Debug serializer) with [insta](https://insta.rs). + +### 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](https://github.com/rusqlite/rusqlite/releases/tag/v0.30.0) + ## Version 1.1.0 Beta 1 **⚠️ The APIs exposed in this version may be unstable.** diff --git a/README.md b/README.md index 4ffd852..c3756e5 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ end_insert --> {{< /rawhtml >}} end_insert --> -[![docs.rs](https://img.shields.io/docsrs/rusqlite_migration)](https://docs.rs/rusqlite_migration) [![Crates.io](https://img.shields.io/crates/v/rusqlite_migration)](https://crates.io/crates/rusqlite_migration) [![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/) [![dependency status](https://deps.rs/crate/rusqlite_migration/1.0.2/status.svg)](https://deps.rs/crate/rusqlite_migration) [![Coveralls](https://img.shields.io/coverallsCoverage/github/cljoly/rusqlite_migration)](https://coveralls.io/github/cljoly/rusqlite_migration) +[![docs.rs](https://img.shields.io/docsrs/rusqlite_migration)](https://docs.rs/rusqlite_migration) [![Crates.io](https://img.shields.io/crates/v/rusqlite_migration)](https://crates.io/crates/rusqlite_migration) [![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/) [![dependency status](https://deps.rs/crate/rusqlite_migration/1.1.0/status.svg)](https://deps.rs/crate/rusqlite_migration) [![Coveralls](https://img.shields.io/coverallsCoverage/github/cljoly/rusqlite_migration)](https://coveralls.io/github/cljoly/rusqlite_migration)