What's new in Rent
The current stable release is v0.7.2. It includes optional relationship permissions, reusable model fields and permission profiles, scoped clients, typed PostgreSQL session controls, and the tutorials below. You can use Rent's ordinary data modeling and CRUD without enabling permissions.
Explore the new capabilities
Permissions express authorization. Input validation, authenticated actor stamping and cross-row business invariants remain application responsibilities. Each guide documents its supported operations and backend limits.
Stable release notes
| Release | Highlights |
|---|---|
| v0.7.2 | Conditional single-row updates and relationship edits honor the complete filter |
| v0.7.1 | PostgreSQL expression/default migrations, Rust keyword relationships and more compact generated clients |
| v0.7.0 | PostgreSQL session timeouts, partial-index migration correctness and production-access examples |
| v0.6.0 | Read-only relationships, foreign-key type migrations and generated-module discovery |
| v0.5.0 | Scoped PostgreSQL row locks, mutation authorization and named database checks |
| v0.4.0 | Distinct root/scoped client types, system references and richer permission fixtures |
| v0.3.0 | Field-scoped update grants and final-value guards |
| v0.2.0 | Smaller generated permission builders and first-run integration corrections |
Install or upgrade
Use the same release for the CLI and every Rent crate, then regenerate each configured client and commit your application's lockfile. See installation. When upgrading from v0.3.0 or earlier, follow the scoped-client guide to update request and service client types.
