v0.14.0
loco-rs/locov0.14.0Feb 19, 2025by kaplanelad
AI Summary
Introduces smart migration generation, an upgrade to Axum 8, and new CLI commands for managing background jobs.
Key Highlights
- Smart migration generator (infer migration from naming).
- `cargo loco routes` pretty-print.
- Seed CLI command.
- Implement commands to manage background jobs.
- Magic link.
- Upgrade to Axum 8.
- Use opendal to replace object_store.
New Features
- Smart migration generator.
- Seed CLI command.
- Background job management commands.
- Magic link.
- Axum 8 upgrade.
- Opendal replacement.
- Custom config folder support.
- Create load config hook.
Full Release Notes
- Feat: smart migration generator. you can now generate migration based on naming them for creating a table, adding columns, references, join tables and more. https://github.com/loco-rs/loco/pull/1086 - Feat: cargo loco routes will now pretty-print routes - Fix: guard jwt error behind feature flag. https://github.com/loco-rs/loco/pull/1032 - Fix: logger file_appender not using the seperated format setting. https://github.com/loco-rs/loco/pull/1036 - Seed cli command. https://github.com/loco-rs/loco/pull/1046 - Updated validator to 0.19. https://github.com/loco-rs/loco/pull/993 - Testing helpers: simplified function calls + adding html selector. https://github.com/loco-rs/loco/pull/1047 - Implement commands to manage background jobs. https://github.com/loco-rs/loco/pull/1071 - Magic link. https://github.com/loco-rs/loco/pull/1085 - Infer migration. https://github.com/loco-rs/loco/pull/1086 - Remove unnecessary calls to 'register_tasks' functions in scheduler. https://github.com/loco-rs/loco/pull/1100 - Implement commands to manage background jobs. https://github.com/loco-rs/loco/pull/1071 - Expose hello_name for SMTP client config. https://github.com/loco-rs/loco/pull/1057 - Use reqwest with rustls rather than openssl. https://github.com/loco-rs/loco/pull/1058 - More flexible config, take more values from ENV. https://github.com/loco-rs/loco/pull/1058 - Refactor: Use opendal to replace object_store. https://github.com/loco-rs/loco/pull/897 - Allow override loco template. https://github.com/loco-rs/loco/pull/1102 - Support custom config folder. https://github.com/loco-rs/loco/pull/1081 - Feat: upgrade to Axum 8. https://github.com/loco-rs/loco/pull/1130 - Create load config hook. https://github.com/loco-rs/loco/pull/1143 - Initial impl new migration dsl. https://github.com/loco-rs/loco/pull/1125 - Allow disable limit_payload middleware. https://github.com/loco-rs/loco/pull/1113