Changelog
v2.0.0 — 2026/04/14
Feature derive_form
### Breaking Change — Semantic field types (derive_form 2.0.0) The DSL now uses semantic field types instead of raw SQL types. `String`, `i32`, `VARCHAR(n)` and other SQL primitives are removed from the `fields:` block and replaced by meaningful types that describe what the field is, not how it is stored. **Before:** fields: { username: String [max_length: 150, required] } **After:** fields: { username: text [max_length: 150, required] } The parser now automatically generates both the correct SQL schema (adapted per database engine detected from `.env`) and the form field code. No more duplicate declarations between model and form.
Fix Runique
Follows derive_form 2.0.0. All projects using model!{} macros must migrate their field declarations to the new semantic syntax. The framework itself gains no breaking changes beyond the DSL — middleware, admin, forms engine, and templates are unchanged. A migration guide will be provided covering the type mapping from 1.x SQL types to 2.0 semantic types.