v0.15.0
rtk-ai/rtkv0.15.0Mar 27, 2025by kaplanelad
AI Summary
This release introduces significant architectural changes including the replacement of the Hyper web framework with Axum and the introduction of Scaffold v2 for the project generator.
Key Highlights
- Replaced Hyper crate with Axum
- Introduced Scaffold v2
- Added support for async tests
- Improved Docker deployment for server-side and client-side rendering
Breaking Changes
- Replaced Hyper crate with Axum
- Removed fs-err crate
- Removed mime crate
New Features
- Async tests support
- Prefix and route nesting for AppRoutes
- Scheduler integration with cargo loco start
- Data subsystem
- Azure storage builder endpoint configuration
- Smoother model validations
Full Release Notes
* Added total_items to pagination view & response. https://github.com/loco-rs/loco/pull/1197 * Flatten (de)serialization of custom user claims. https://github.com/loco-rs/loco/pull/1159 * Updated validator to 0.20. https://github.com/loco-rs/loco/pull/1199 * Scaffold v2. https://github.com/loco-rs/loco/pull/1209 * Fix generator Docker deployment to support both server-side and client-side rendering. https://github.com/loco-rs/loco/pull/1227 * Docs: num_workers worker configuration. https://github.com/loco-rs/loco/pull/1242 * Smoother model validations. https://github.com/loco-rs/loco/pull/1233 * Docs: num_workers worker configuration. https://github.com/loco-rs/loco/pull/1242 * Ignore SQLite WAL and SHM files and update Cargo watch crate docs. https://github.com/loco-rs/loco/pull/1254 * Remove fs-err crate. https://github.com/loco-rs/loco/pull/1253 * Allows to run scheduler as part of cargo loco start. https://github.com/loco-rs/loco/pull/1247 * Added prefix and route nesting to AppRoutes. https://github.com/loco-rs/loco/pull/1241 * Replace hyper crate with axum. https://github.com/loco-rs/loco/pull/1258 * Remove mime crate. https://github.com/loco-rs/loco/pull/1256 * Support async tests. https://github.com/loco-rs/loco/pull/1237 * Change job queue status from cli. https://github.com/loco-rs/loco/pull/1228 * Handle panics in queue worker. https://github.com/loco-rs/loco/pull/1274 * Schema with defaults. https://github.com/loco-rs/loco/pull/1273 * Add data subsystem. https://github.com/loco-rs/loco/pull/1267 * Add "endpoint" arg to azure storage builder.https://github.com/loco-rs/loco/pull/1317 * Improve readability and performance by using map_err in Model. https://github.com/loco-rs/loco/pull/1311