Rent v0.8.12
Rent v0.8.12 further reduces repeated generated Rust and improves migration planning when models and indexes share physical database names.
Smaller generated clients
Generated clients share more field setters, queries, mutations, cursors and relationship helpers. Existing typed fluent methods and permission boundaries remain available. Regenerate your clients to receive the smaller output. Existing application calls do not need to adopt a new API.
Understand inferred table names
When Maya introduces a Category model, Rent still infers the table name categorys.
Migration commands now explain surprising names like this and show how to choose an
explicit name with @@map:
model Category {
id Int @id
name String
@@map("categories")
}The advice applies to newly introduced implicit table names. It does not change the
naming convention, rename existing tables, or block migration. Text output displays
the advice, SQL output includes comments, and JSON output includes an advisories
array. See migration planning.
Catch migration name conflicts before execution
Migration planning checks modeled table, view and secondary-index names using the target backend's namespace rules. Conflicts return an actionable error before the CLI writes a migration. When a plan explicitly drops or renames an object, dependent index creation waits until that name is available.
These checks do not infer a rename or authorize dropping data. Destructive approval and protected-object checks still apply. Use explicit mapping and rename hints to preserve an existing table's identity. MySQL and MariaDB table and column rename hints now align with the configured database name.
Name checks cover objects represented in Rent's catalog. Unmodeled objects and concurrent schema changes can still cause execution errors. Existing migration files are not rewritten.
Upgrade
Use v0.8.12 for the CLI and every Rent crate, regenerate each configured client, and commit your application's lockfile. Regeneration alone does not require a database migration. Review separately introduced schema changes normally.
Detailed instrumentation remains opt-in. See runtime observability.
