v1.0.1

lyogavin/airllmv1.0.1Jul 31, 2026by jondot

AI Summary

A maintenance release fixing documentation and CLI compatibility issues. It restores support for deprecated flags in the generator to ensure existing tutorials and guides work without error, while maintaining no behavioral changes to the framework runtime.

Key Highlights

  • Fixed `generate scaffold`/`controller` to accept old `--api` flag for compatibility
  • Resynced documentation to remove references to deleted flags and enums
  • No breaking changes to the framework runtime

Full Release Notes

A documentation and CLI-ergonomics patch. No behavior changes to the framework runtime.

### Fixed

- **`generate scaffold`/`controller` no longer error on the old `--api` flag.** The 1.0 adaptive-generator rebuild removed the `--api`/`--html`/`--htmx` (and `-k/--kind`) flags — scaffold now auto-detects headless vs. clientside from `frontend/`, and controllers are always JSON API controllers — but the docs (including the *Your first app* tutorial) still showed `--api`, so copy-pasting them failed with `error: unexpected argument '--api' found`. The generators now accept the old flags for compatibility: `--api` is a no-op (it's the headless default) and `--html`/`--htmx` return 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 `ScaffoldKind` enum / `mappings.json` across the tutorials, how-to guides, and CLI/generators reference; corrected the field-type reference to describe `loco-gen/src/column.rs` (including that `array:int` is now a 64-bit `BigInt` array, consistent with the scalar `int` → `i64` change).

**Full Changelog**: https://github.com/loco-rs/loco/blob/release/1.0.0/CHANGELOG.md