↕️ Simple database schema migration library for rusqlite, written with performance in mind.
APACHE-2.0 License
The only change is a fix to the deps.rs badge in the documentation.
Published by cljoly 21 days ago
The code of this version is identical to Version 1.3.0 Beta 1
Rusqlite was updated from 0.31.0 to 0.32.1. Please see the release notes for 0.32.0 and for 0.32.1. Tokio Rusqlite was updated from 0.5.1 to 0.6.0. Please see the release notes.
Rust 1.77
Various documentation improvements and clarification. In particular, call out that if a rusqlite error is encountered during a migration, the next migrations in the list are not applied.
cargo --locked
in CI by @cljoly in https://github.com/cljoly/rusqlite_migration/pull/159
Full Changelog: https://github.com/cljoly/rusqlite_migration/compare/v1.2.0...v1.3.0
Published by cljoly 22 days ago
Please see the changelog.
Published by cljoly 2 months ago
This is an alpha version to start integrating rusqlite 0.32.1. Unfortunately, at this time, tokio-rusqlite is did not update to rusqlite 0.32.1. So we are temporarily removing the async features, while we figure out a way to bring them back. To be clear, we intend to support the async features going forward, this is a temporary change in a specifically tagged version.
Effectively, this version allows interested parties to opt-in to the updated rusqlite version of this library.
Rusqlite was updated from 0.31.0 to 0.32.1. Please see the release notes for 0.32.0 and for 0.32.1
Rust 1.77
Various documentation improvements and clarification. In particular, call out that if a rusqlite error is encountered during a migration, the next migrations in the list are not applied.
cargo --locked
in CI by @cljoly in https://github.com/cljoly/rusqlite_migration/pull/159
Full Changelog: https://github.com/cljoly/rusqlite_migration/compare/v1.2.0...v1.3.0-alpha-without-tokio.1
Published by cljoly 7 months ago
Same Rust code as 1.2.0 beta1, but some cosmetic changes were made to the documentation.
Published by cljoly 7 months ago
Small release, mainly to update dependencies.
Now using edition 2021, but the minimum rust version is still 1.70
No new features.
Rusqlite was updated from 0.30 to 0.31. Please see its release notes
Published by cljoly 10 months ago
Same code as version 1.1.0-beta.1
Rust 1.70
alpha-async-tokio-rusqlite
thanks to @czocher. See the example. This feature is alpha, meaning that compatibility in future minor versions is not guaranteed.Migration
functions const (PR thanks to @fkaa)Migrations
serializable (using the Debug serializer) with insta.Migrations::from_iter
as deprecatedRusqlite was updated from 0.29.0 to 0.30.0. Please see its release notes
Migration
functions const by @fkaa in https://github.com/cljoly/rusqlite_migration/pull/19
cargo mutants
by @czocher in https://github.com/cljoly/rusqlite_migration/pull/47
AsyncMigrations::new
documentation by @czocher in https://github.com/cljoly/rusqlite_migration/pull/50
tarpaulin
by @czocher in https://github.com/cljoly/rusqlite_migration/pull/57
Migrations::from_iter
by @cljoly in https://github.com/cljoly/rusqlite_migration/pull/81
foreign_key_check
setting by @czocher in https://github.com/cljoly/rusqlite_migration/pull/99
rusqlite
by @czocher in https://github.com/cljoly/rusqlite_migration/pull/109
Full Changelog: https://github.com/cljoly/rusqlite_migration/compare/v1.0.0...v1.1.0
Published by cljoly 11 months ago
⚠️ The APIs exposed in this version may be unstable.
Summing up all the changes from the previous Alpha versions.
Rust 1.70
alpha-async-tokio-rusqlite
thanks to @czocher. See the example. This feature is alpha, meaning that compatibility in future minor versions is not guaranteed.Migration
functions const (PR thanks to @fkaa)Migrations
serializable (using the Debug serializer) with insta.Migrations::from_iter
as deprecatedRusqlite was updated from 0.29.0 to 0.30.0. Please see its release notes
foreign_key_check
setting by @czocher in https://github.com/cljoly/rusqlite_migration/pull/99
rusqlite
by @czocher in https://github.com/cljoly/rusqlite_migration/pull/109
Full Changelog: https://github.com/cljoly/rusqlite_migration/compare/v1.1.0-alpha.2...v1.1.0-beta.1
Published by cljoly over 1 year ago
⚠️ The APIs exposed in this version may be unstable.
Rust 1.64
Migrations::from_iter
as deprecatedcargo mutants
by @czocher in https://github.com/cljoly/rusqlite_migration/pull/47
AsyncMigrations::new
documentation by @czocher in https://github.com/cljoly/rusqlite_migration/pull/50
tarpaulin
by @czocher in https://github.com/cljoly/rusqlite_migration/pull/57
Migrations::from_iter
by @cljoly in https://github.com/cljoly/rusqlite_migration/pull/81
Full Changelog: https://github.com/cljoly/rusqlite_migration/compare/v1.1.0-alpha.1...v1.1.0-alpha.2
Published by cljoly over 1 year ago
Published by cljoly over 1 year ago
⚠️ The APIs exposed in this version may be unstable.
Rust 1.61
Migration
functions const (PR thanks to @fkaa)Full Changelog: https://github.com/cljoly/rusqlite_migration/compare/v1.0.0...v1.1.0-alpha.1
Published by cljoly almost 2 years ago
Published by cljoly over 2 years ago
Migrations.latest
, SchemaVersionError::MigrateToLowerNotSupported
)Published by cljoly almost 3 years ago
rusqlite
crate to >=0.23.0
(to protect againt RUSTSEC-2020-0014)Published by cljoly almost 3 years ago
env_logger
dependencyPublished by cljoly over 3 years ago
Only documentation changes.
Published by cljoly over 3 years ago
Only documentation changes.
Published by cljoly over 3 years ago
latest
to to_latest
. The old symbol is deprecated and will be removed eventually.Published by cljoly over 3 years ago
Fix in readme, for crates.io
Published by cljoly over 3 years ago
M::up(r#"
CREATE TABLE t1(a, b);
CREATE TABLE t2(a, b);
"#)
are now fully supported