You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's not really bug, but backward capability was broken by this PR: #2063
Migrator struct is public accessible, and we used it in our own goals (but this is of course not a common use-case).
While changing signature for public-accessible struct/fn/etc is definitely not backward capable and version should reflect such changes in terms of semver
Minimal Reproduction
# working code before 0.6.2let migrator = Migrator{migrations:Cow::Owned(migrations),ignore_missing:false,};
Since 0.6.2 such code raise compilation error: missing 'locking'
Info
SQLx version: 0.6.2
SQLx features enabled: doesn't matter
Database server and version: doesn't matter
Operating system: doesn't matter
rustc --version: doesn't matter
The text was updated successfully, but these errors were encountered:
Can reproduce this issue as well. It requires the feature migrate.
Adding public fields to structs with no private fields is a breaking change Please yank 0.6.2 and publish a new version with #2063 reverted. Also consider marking the struct as #[non_exhaustive] in 0.7.0
Bug Description
That's not really bug, but backward capability was broken by this PR: #2063
Migrator
struct is public accessible, and we used it in our own goals (but this is of course not a common use-case).While changing signature for public-accessible struct/fn/etc is definitely not backward capable and version should reflect such changes in terms of
semver
Minimal Reproduction
Since 0.6.2 such code raise compilation error:
missing 'locking'
Info
rustc --version
: doesn't matterThe text was updated successfully, but these errors were encountered: