Version 2.0.0 Beta 1 #257
cljoly
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version 2.0.0 Beta 1
Features
Migrations::from_sliceconstructor, which isconstand takes a slice, so that it can be constructed in global constant, without usingLazyLockor similar. Internally, this is possible because we now use aCowstructure to hold migrations.Migrations::pending_migrationswhich returns the number of migrations that would be applied. This is mostly useful to take a backup of the database prior to applying migrations (and do nothing if no migrations will be applied).Warning
See also the release notes for Version 2.0.0 Alpha 1 for the full list of changes since the last version, including breaking changes.
What's Changed
Cowinstead ofVecby @cljoly in refactor: Keep migrations inCowinstead ofVec#252Migrations::from_slicedocumentation by @MonterraByte in docs: improveMigrations::from_slicedocumentation #253Full Changelog: v2.0.0-alpha.1...v2.0.0-beta.1
This discussion was created from the release Version 2.0.0 Beta 1.
Beta Was this translation helpful? Give feedback.
All reactions