Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
`Migrator`, `#[non_exhaustive]` `DbKind`/`ForceMode`, and `MigrationStatus` field accessors.
See the migrant_lib changelog. These are source-compatible for existing chained call sites

### Removed
- `migrant_lib`'s deprecated `d-sqlite`/`d-postgres`/`d-mysql`/`d-all` feature aliases. Use
`sqlite`/`postgres`/`mysql`/`all`

## [1.0.0-rc.1]
### Added
- `--force` takes an optional mode: bare `--force` (or `--force=accept-failures`) records a
Expand Down
3 changes: 1 addition & 2 deletions docs/src/backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ you only build the drivers you need.

The library also has `all` to enable all three. No backend is enabled by
default; invoking an operation whose feature is disabled returns
`Error::FeatureRequired` rather than panicking. The pre-1.0 `d-sqlite` /
`d-postgres` / `d-mysql` / `d-all` names remain as deprecated aliases.
`Error::FeatureRequired` rather than panicking.

## SQLite

Expand Down
4 changes: 4 additions & 0 deletions migrant_lib/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Breaking pre-1.0 release, continuing the API cleanup from rc.1.
must include a wildcard arm. This allows future backends and force modes to be added without a
breaking change

### Removed
- The deprecated `d-sqlite`/`d-postgres`/`d-mysql`/`d-all` feature aliases. Use
`sqlite`/`postgres`/`mysql`/`all`

## [1.0.0-rc.1]
Breaking pre-1.0 release. See the "Changed"/"Removed" sections for migration notes.

Expand Down
2 changes: 1 addition & 1 deletion migrant_lib/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ disposable docker containers (see below).
cargo test

# sqlite only (bundled, no services needed)
cargo test --features d-sqlite
cargo test --features sqlite

# everything, using throwaway docker databases for postgres/mysql
./test.sh
Expand Down
7 changes: 0 additions & 7 deletions migrant_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,5 @@ mysql = ["dep:mysql"]
all = ["sqlite", "postgres", "mysql"]
vendored-openssl = ["native-tls?/vendored"]

# Deprecated aliases for the pre-1.0 `d-*` feature names. Prefer the bare
# names above; these will be removed in a future release.
d-sqlite = ["sqlite"]
d-postgres = ["postgres"]
d-mysql = ["mysql"]
d-all = ["all"]

[package.metadata.docs.rs]
features = ["all"]
Loading