v0.15.0

OpenMOSS/MOSS-TTS-Nanov0.15.0Mar 27, 2025by kaplanelad

AI Summary

This update focuses on architectural improvements, including the replacement of the hyper crate with axum and the addition of async test support. It also expands pagination features and improves the scheduler and routing flexibility.

Key Highlights

  • Replaced hyper crate with axum
  • Added support for async tests
  • Added total_items to pagination view and response
  • Added prefix and route nesting to AppRoutes
  • Allows scheduler to run as part of cargo loco start

New Features

  • Flatten (de)serialization of custom user claims
  • Updated validator to 0.20
  • Smoother model validations
  • Schema with defaults
  • Improved readability and performance in Model using map_err

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