Rent v0.6.0
This release improves relationship modeling, foreign-key migrations, and client setup in existing Rust projects.
Database-owned relationship keys
Relationships with database-generated foreign keys retain typed reads and permission traversal. Their generated APIs respect the database-owned columns. Writable relationships retain create-time connections and nested creation.
Foreign-key type migrations
Change the type or size of a foreign-key endpoint through a reviewed migration. Rent orders the column and constraint changes while preserving the declared referential actions, including composite and self-referencing relationships. See migrations.
Flexible client module placement
rent doctor recognizes parent-relative generated-module paths and aliased module
names. Existing applications can keep their intended client layout without moving
generated files. See installation.
Upgrade every Rent crate and the CLI together, regenerate each configured client, and commit your application's lockfile.
