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 β οΈ Breaking Changes: This release includes several breaking changes for the job system, cache API, email validation, and logger initialization.
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.