Skip to content

Releases: cljoly/rusqlite_migration

Version 1.3.1

04 Oct 22:56
v1.3.1
Compare
Choose a tag to compare

The only change is a fix to the deps.rs badge in the documentation.

Version 1.3.0

02 Oct 22:30
v1.3.0
Compare
Choose a tag to compare

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.

Minimum Rust Version

Rust 1.77

Documentation

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.

Other

  • Apply minor or patch updates to the dependencies
  • Update development dependencies
  • Make CI testing more reproducible by forcing the use of Cargo.lock

What's Changed

Full Changelog: v1.2.0...v1.3.0

Version 1.3.0 Beta 1

01 Oct 19:39
v1.3.0-beta.1
Compare
Choose a tag to compare
Version 1.3.0 Beta 1 Pre-release
Pre-release

Please see the changelog.

Version 1.3.0 Alpha-Without-Tokio 1

11 Aug 12:21
v1.3.0-alpha-without-tokio.1
6d9f0c2
Compare
Choose a tag to compare
Pre-release

Major Changes

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

Minimum Rust Version

Rust 1.77

Documentation

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.

Other

  • Apply minor or patch updates to the dependencies
  • Update development dependencies
  • Make CI testing more reproducible by forcing the use of Cargo.lock

What's Changed

Full Changelog: v1.2.0...v1.3.0-alpha-without-tokio.1

Version 1.2.0

24 Mar 21:36
v1.2.0
Compare
Choose a tag to compare

Same Rust code as 1.2.0 beta1, but some cosmetic changes were made to the documentation.

Version 1.2.0 Beta 1

19 Mar 12:32
v1.2.0-beta.1
Compare
Choose a tag to compare
Version 1.2.0 Beta 1 Pre-release
Pre-release

Small release, mainly to update dependencies.

Minimum Rust Version

Now using edition 2021, but the minimum rust version is still 1.70

New Features

No new features.

Other

  • Update rusqlite to 0.31
  • Update various development dependencies
  • Improve CI build time
  • Impove documentation
  • Fix some broken examples

See also

Rusqlite was updated from 0.30 to 0.31. Please see its release notes

Version 1.1.0

17 Dec 14:11
Compare
Choose a tag to compare

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-rusqlitethanks 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

  • fix: error instead of panicking on higher migration level by @cljoly in #18
  • Make Migration functions const by @fkaa in #19
  • Add foreign_key_check method to migrations by @Jokler in #20
  • chore(deps): update mktemp requirement from 0.4 to 0.5 by @dependabot in #23
  • Misc. test fixes by @cljoly in #25
  • Minimum Rust version check in CI by @cljoly in #22
  • Add up/down hooks to insert custom Rust code by @matze in #28
  • Fix clippy warnings by @czocher in #32
  • Update the env_logger dependency by @czocher in #31
  • Update repository metadata by @czocher in #30
  • Fix pedantic warnings by @matze in #38
  • Follow-up on clippy pedantic warnings by @cljoly in #42
  • Add support for tokio-rusqlite by @czocher in #29
  • Fix clippy pedantic warnings by @czocher in #44
  • Fix problems and improve tests according to cargo mutants by @czocher in #47
  • Fix AsyncMigrations::new documentation by @czocher in #50
  • Fix example test by @czocher in #49
  • doc: add thanks to Migadu by @cljoly in #48
  • Attempt to implement coverage reports by @cljoly in #52
  • test: attempt to use nightly test coverage in CI by @cljoly in #54
  • Tweak coverage parameters by @cljoly in #55
  • Change runner to tarpaulin by @czocher in #57
  • test: ensure smooth error conversion from rusqlite by @cljoly in #58
  • Update GitHub actions to newer versions by @czocher in #60
  • test: test Eq implementations by @cljoly in #59
  • Add coveralls badge to README by @cljoly in #53
  • Additional async tests by @czocher in #61
  • Create CODEOWNERS file by @cljoly in #62
  • doc: make sure the README is displayed on sr.ht by @cljoly in #63
  • doc: explain cargo sync-readme to contributors by @cljoly in #65
  • doc: remove a badge from README by @cljoly in #66
  • refactor: misc. style and robustness improvements by @cljoly in #67
  • doc: add changelog entry for 1.0.2 by @cljoly in #72
  • Add a feature to load migrations from a directory by @czocher in #51
  • Documentation improvements by @cljoly in #79
  • Add benchmarks by @cljoly in #80
  • refactor: improve the performance of from_directory by @cljoly in #77
  • refactor!: deprecate Migrations::from_iter by @cljoly in #81
  • fix: gitignore some Tarpaulin artefacts by @cljoly in #82
  • fix: fix some clippy pedantic warnings by @cljoly in #83
  • doc: make the deps badge more accurate by @cljoly in #89
  • Migrate to the newest tokio-rusqlite by @czocher in #87
  • Fix ConnectionClosed mapping by @czocher in #90
  • Replace BTreeMap with Vec by @czocher in #92
  • chore(deps): update criterion requirement from 0.4 to 0.5 by @dependabot in #88
  • Improve edit api by @czocher in #91
  • Require new version of rusqlite by @czocher in #93
  • Remove unnecessary dead_code markers by @czocher in #94
  • 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
  • doc: Update changelog for version 1.1.0 Beta 1 by @cljoly in #125
  • doc: Prepare changelog for version 1.1.0 by @cljoly in #128

New Contributors

Full Changelog: v1.0.0...v1.1.0

Version 1.1.0 Beta 1

10 Dec 17:35
Compare
Choose a tag to compare
Version 1.1.0 Beta 1 Pre-release
Pre-release

⚠️ The APIs exposed in this version may be unstable.

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-rusqlitethanks 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

New Contributors

Full Changelog: v1.1.0-alpha.2...v1.1.0-beta.1

Version 1.1.0 Alpha 2

18 Jun 22:24
Compare
Choose a tag to compare
Version 1.1.0 Alpha 2 Pre-release
Pre-release

⚠️ The APIs exposed in this version may be unstable.

Minimum Rust Version

Rust 1.64

New Features

  • Create migrations from directories holding SQL files. See the example.

Depreciation

  • Mark Migrations::from_iter as deprecated

Other

  • Documentation improvements
  • Code quality improvements
    • Introduce cargo mutants & fix bugs found
    • Clippy warning fixes
    • Report on test coverage & improve test coverage
    • Add benchmarks
  • Made errors returned more precise
  • Update dependencies

What's Changed

  • Fix pedantic warnings by @matze in #38
  • Follow-up on clippy pedantic warnings by @cljoly in #42
  • Add support for tokio-rusqlite by @czocher in #29
  • Fix clippy pedantic warnings by @czocher in #44
  • Fix problems and improve tests according to cargo mutants by @czocher in #47
  • Fix AsyncMigrations::new documentation by @czocher in #50
  • Fix example test by @czocher in #49
  • doc: add thanks to Migadu by @cljoly in #48
  • Attempt to implement coverage reports by @cljoly in #52
  • test: attempt to use nightly test coverage in CI by @cljoly in #54
  • Tweak coverage parameters by @cljoly in #55
  • Change runner to tarpaulin by @czocher in #57
  • test: ensure smooth error conversion from rusqlite by @cljoly in #58
  • Update GitHub actions to newer versions by @czocher in #60
  • test: test Eq implementations by @cljoly in #59
  • Add coveralls badge to README by @cljoly in #53
  • Additional async tests by @czocher in #61
  • Create CODEOWNERS file by @cljoly in #62
  • doc: make sure the README is displayed on sr.ht by @cljoly in #63
  • doc: explain cargo sync-readme to contributors by @cljoly in #65
  • doc: remove a badge from README by @cljoly in #66
  • refactor: misc. style and robustness improvements by @cljoly in #67
  • doc: add changelog entry for 1.0.2 by @cljoly in #72
  • Add a feature to load migrations from a directory by @czocher in #51
  • Documentation improvements by @cljoly in #79
  • Add benchmarks by @cljoly in #80
  • refactor: improve the performance of from_directory by @cljoly in #77
  • refactor!: deprecate Migrations::from_iter by @cljoly in #81
  • fix: gitignore some Tarpaulin artefacts by @cljoly in #82
  • fix: fix some clippy pedantic warnings by @cljoly in #83
  • doc: make the deps badge more accurate by @cljoly in #89
  • Migrate to the newest tokio-rusqlite by @czocher in #87
  • Fix ConnectionClosed mapping by @czocher in #90
  • Replace BTreeMap with Vec by @czocher in #92
  • chore(deps): update criterion requirement from 0.4 to 0.5 by @dependabot in #88
  • Improve edit api by @czocher in #91
  • Require new version of rusqlite by @czocher in #93
  • Remove unnecessary dead_code markers by @czocher in #94

Full Changelog: v1.1.0-alpha.1...v1.1.0-alpha.2

Release v1.0.2

29 Mar 10:39
Compare
Choose a tag to compare

Bug fix

  • fix: adapt to rusqlite 0.29 and tighten dependency requirements for rusqlite (see this discussion). Thanks to @johnbcodes for flagging this!