v1.0.1
A documentation and CLI-ergonomics patch. No behavior changes to the framework runtime.
Fixed
generate scaffold/controllerno longer error on the old--apiflag. The 1.0 adaptive-generator rebuild removed the--api/--html/--htmx(and-k/--kind) flags — scaffold now auto-detects headless vs. clientside fromfrontend/, and controllers are always JSON API controllers — but the docs (including the Your first app tutorial) still showed--api, so copy-pasting them failed witherror: unexpected argument '--api' found. The generators now accept the old flags for compatibility:--apiis a no-op (it's the headless default) and--html/--htmxreturn a clear message pointing at the React SPA frontend that replaced server-rendered views. (#1790)- Docs resync. Removed every reference to the removed scaffold/controller kind flags and the deleted
ScaffoldKindenum /mappings.jsonacross the tutorials, how-to guides, and CLI/generators reference; corrected the field-type reference to describeloco-gen/src/column.rs(including thatarray:intis now a 64-bitBigIntarray, consistent with the scalarint→i64change).
Full Changelog: https://github.com/loco-rs/loco/blob/release/1.0.0/CHANGELOG.md