v0.9.0 is released! #177
GeekMasher
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.
-
I'm happy to announce that GeekORM v0.9.0 has been released with tons of new features!
Migrations and CLI
One of the core features of an ORM is migrations and making it as easy as possible to create and manage them. In v0.9.0 we have done it!
To get started, you can install and use the
geekorm-cli initcommand to initialise your project with eithermoduleorcratemodes. This allows you to manage all your migrations as a module or as a separate crate.This includes an interactive CLI for detecting changes from the current database of the previous versions using the
geekorm-cli migratecommand.This also includes generated Rust and SQL code.
Check out the README of the GeekORM CLI here.
New Features
There are a number of new features as part of v0.9.0.
.filter(&connection, vec![...])supportBreaking Changes
Along with the new features, there are some breaking changes:
Update PK and FK to use u64 versus i32:
This might cause issues with some applications but we have moved to using unsigned 64bit integers by default versus the original signed 32bit.
geekorm::Errorchanges:This is minor but some variants of the Error enum for GeekORM has changed which might cause issues.
geekorm::Pagegeekorm::Pagehas been moved togeekorm::Paginationandgeekorm::Pageis its own struct.Read the docs for more details
Beta Was this translation helpful? Give feedback.
All reactions