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
-
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 init
command to initialise your project with eithermodule
orcrate
modes. 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 migrate
command.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::Error
changes:This is minor but some variants of the Error enum for GeekORM has changed which might cause issues.
geekorm::Page
geekorm::Page
has been moved togeekorm::Pagination
andgeekorm::Page
is its own struct.Read the docs for more details
Beta Was this translation helpful? Give feedback.
All reactions