Skip to content

Releases: NyxCode/ormx

v0.11 with sqlx 0.8

08 Sep 09:34
bec3ab2
Compare
Choose a tag to compare

It's been a long time, but I'm thrilled to finally release v0.11, using sqlx 0.8 under the hood! 🥳

Highlights

  • Everything should be 1:1 compatible with v0.10.

    I am using it in a large-ish backend, and all that was needed to migrate was to add a couple of * to adjust to the change of the Executor trait sqlx introduced with 0.7.

  • Now with RPIT in traits!

    This avoids loads of needless allocations, and should result in ormx bringing no additional overhead compared to sqlx.

  • And more!
    • Table::all(..) and friends now return results in a consistent ordering, which can be changed using #[ts(order_by = "created_at DESC")].
    • Much better escaping of columns that happen to be SQL keywords
    • CI, testing Postgres, MySQL and MariaDB
    • Many bug fixes!