Releases: loco-rs/loco
Loco v0.16.3
Follow the changelog
Loco v0.16.2
Follow the changelog
Loco v0.16.1
Follow the changelog
Loco v0.16.0
We're excited to announce a major release packed with features, improvements, and fixes that will supercharge your Loco experience!
Major highlights:
📖 NEW: OpenAPI Support - Full OpenAPI 3.0 integration with Swagger UI, ReDoc, and Scalar visualizers! Auto-generate API docs from your routes with utoipa annotations. Read more: https://github.com/loco-rs/loco-openapi-Initializer
🔄 New Redis Job System - We've completely replaced Sidekiq with our own Redis-based job management system for better performance and reliability
⚡ Enhanced Cache API - Now with full generic type support and Redis driver configuration
📦 Embedded Assets Support - Bundle your static assets directly into your binary for easier deployment
🔧 YAML Response Support - Native YAML content-type responses alongside JSON
🛡️ Improved Auth - Better error handling and public JWT extraction functions
🧹 Dependency Cleanup - Removed hyper, thousands, cfg-if, reqwest, and serde_variant dependencies + major version bumps for tokio, redis, and more
📋 See the complete list of features and improvements: https://github.com/loco-rs/loco/blob/master/CHANGELOG.md#v0160
See the full upgrade guide at: https://github.com/loco-rs/loco/blob/3f48a3efecae4a23295bc0458ec3fc1269ccc1c9/docs-site/content/docs/extras/upgrades.md#upgrade-from-015x-to-016x
🔧 Note: We're currently experiencing an issue with the loco.rs documentation. The docs will be deployed once the problem is resolved.
🙏 Huge thanks to all our contributors who made this release possible! Your contributions, feedback, and support continue to drive Loco forward.
Loco v0.15.0
- Added total_items to pagination view & response. #1197
- Flatten (de)serialization of custom user claims. #1159
- Updated validator to 0.20. #1199
- Scaffold v2. #1209
- Fix generator Docker deployment to support both server-side and client-side rendering. #1227
- Docs: num_workers worker configuration. #1242
- Smoother model validations. #1233
- Docs: num_workers worker configuration. #1242
- Ignore SQLite WAL and SHM files and update Cargo watch crate docs. #1254
- Remove fs-err crate. #1253
- Allows to run scheduler as part of cargo loco start. #1247
- Added prefix and route nesting to AppRoutes. #1241
- Replace hyper crate with axum. #1258
- Remove mime crate. #1256
- Support async tests. #1237
- Change job queue status from cli. #1228
- Handle panics in queue worker. #1274
- Schema with defaults. #1273
- Add data subsystem. #1267
- Add "endpoint" arg to azure storage builder.#1317
- Improve readability and performance by using map_err in Model. #1311
Loco v0.14.1
- Fix: bump shuttle to 0.51.0. #1169
- Return 422 status code for JSON rejection errors. #1173
- Address clippy warnings for Rust stable 1.84. #1168
- Bump shuttle to 0.51.0. #1169
- Return 422 status code for JSON rejection errors. #1173
- Return json validation details response. #1174
- Fix example command after generating schedule. #1176
- Fixed independent features. #1177
- Custom response header for redirect. #1186
- Added run_on_start feature to scheduler. #1184
- Feat: public jwt extractor from non-mutable reference to parts. #1190
Loco v0.14.0
- Feat: smart migration generator. you can now generate migration based on naming them for creating a table, adding columns, references, join tables and more. #1086
- Feat: cargo loco routes will now pretty-print routes
- Fix: guard jwt error behind feature flag. #1032
- Fix: logger file_appender not using the seperated format setting. #1036
- Seed cli command. #1046
- Updated validator to 0.19. #993
- Testing helpers: simplified function calls + adding html selector. #1047
- Implement commands to manage background jobs. #1071
- Magic link. #1085
- Infer migration. #1086
- Remove unnecessary calls to 'register_tasks' functions in scheduler. #1100
- Implement commands to manage background jobs. #1071
- Expose hello_name for SMTP client config. #1057
- Use reqwest with rustls rather than openssl. #1058
- More flexible config, take more values from ENV. #1058
- Refactor: Use opendal to replace object_store. #897
- Allow override loco template. #1102
- Support custom config folder. #1081
- Feat: upgrade to Axum 8. #1130
- Create load config hook. #1143
- Initial impl new migration dsl. #1125
- Allow disable limit_payload middleware. #1113