v0.16.0
loco-rs/locov0.16.0Jul 27, 2025by kaplanelad
AI Summary
Major release of Loco framework featuring OpenAPI 3.0 support with Swagger UI, ReDoc, and Scalar visualizers. Includes a new Redis-based job system replacing Sidekiq, enhanced cache API with generic type support, embedded assets support, and YAML response handling.
Key Highlights
- OpenAPI 3.0 integration with Swagger UI, ReDoc, and Scalar
- New Redis-based job system (replaced Sidekiq)
- Enhanced Cache API with generic type support and Redis driver
- Embedded assets support for binary deployment
- YAML response content-type support
Breaking Changes
- Job system changes (replaced Sidekiq with Redis-based system)
- Cache API modifications
- Email validation changes
- Logger initialization changes
New Features
- OpenAPI 3.0 with auto-generated API docs via utoipa annotations
- Redis-based job management system
- Full generic type support for cache API
- Redis driver configuration for caching
- Embedded static assets into binary
- Native YAML content-type responses
- Improved auth with better error handling
- Public JWT extraction functions
- Major dependency updates (tokio, redis)
Full Release Notes
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. ๐ Huge thanks to all our contributors who made this release possible! Your contributions, feedback, and support continue to drive Loco forward.