Skip to content

Latest commit

 

History

History
255 lines (177 loc) · 16.4 KB

File metadata and controls

255 lines (177 loc) · 16.4 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

0.6.0 - 2026-03-18

View diff on diff.rs

New features

  • (orm) Support custom migrations (#455) (by @m4tx)
  • Implement To/FromDbValue for chrono::DateTime<Utc> (#474) (by @m4tx)
  • Add (De)Serialize and JsonSchema to Html (#487) (by @m4tx)

Other

  • [breaking] Extract framework core to cot-core (#444) (by @seqre)
  • [breaking] Remove deprecated items (#457) (by @m4tx)
  • [breaking] Make Project require Send (#472) (by @m4tx)
  • [breaking] (crypto) Use blake3 instead of sha2 (#499) (by @m4tx)
  • Various tiny doc fixes (#450) (by @m4tx)
  • Update README to remove production warning (#478) (by @m4tx)
  • (deps) Bump all deps (#498) (by @m4tx)
  • (ci) Disable branch coverage for now (#500) (by @m4tx)
  • Add docs-site with locally-sourced docs (#510) (by @m4tx)
  • Improve repository configuration (#511) (by @seqre)

0.5.0 - 2026-01-21

View diff on diff.rs

New features

Fixes

Other

0.4.0 - 2025-09-11

View diff on diff.rs

New features

Fixes

  • [breaking] OpenAPI specs with item references (#333) (by @m4tx)
  • Clippy warning in the latest nightly (#346) (by @m4tx)
  • Ignored doctest (#372) (by @m4tx)
  • Swagger not working when static files weren't served at /static/ (#383) (by @m4tx)
  • Trybuild tests on the latest nightly (#386) (by @m4tx)

Other

  • [breaking] Remove deprecated items (#349) (by @m4tx)
  • [breaking] Add #[non_exhaustive] to config structs (#354) (by @m4tx)
  • [breaking] (deps) Bump all dependencies (#361) (by @dependabot[bot])
  • [breaking] Add #[non_exhaustive] to FormError variants (#374) (by @m4tx)
  • [breaking] FromRequest(Parts) only gets immutable request parts (#377) (by @m4tx)
  • Tiny doc and code consistency fixes (#348) (by @m4tx)
  • Fix clippy warnings on Rust 1.88 (#355) (by @m4tx)
  • Custom Default impl for SessionMiddlewareConfig (#359) (by @ElijahAhianyo)
  • Warn on clippy::allow_attributes; fix clippy warnings (#363) (by @m4tx)
  • Fix warning on stable clippy (#364) (by @m4tx)
  • (pre-commit) Add HTML/Jinja2 linter & formatter (#365) (by @melroy12)
  • Style fixes; replace todo!() with unimplemented!() (#370) (by @m4tx)
  • Extract LiveReloadMiddleware to a separate file (#375) (by @m4tx)
  • (deps) Bump the dependencies group with 11 updates (#384) (by @dependabot[bot])
  • (deps) Bump all deps (#396) (by @m4tx)

0.3.1 - 2025-05-16

New features

  • allow more types to be used as a primary key (#330)
  • more just commands and clippy fix (#331)

Fixes

  • don't clone string in <Html as IntoResponse> (#324)

Other

  • add contributors to the README.md (#327)

0.3.0 - 2025-05-13

New features

  • implement AsFormField for floating point types (#307)
  • extractor & IntoResponse for Html and Json (#321)
  • (static-files) [breaking] refactor, add config and content hashing (#317)
  • [breaking] implement and handle IntoResponse (#256)
  • add form support for Email field (#286)
  • generate OpenAPI specs automatically (#287)
  • allow FnOnce for RequestHandlers (#283)
  • use SCSS (#278)
  • [breaking] append app name to table name (#257)

Fixes

  • migration engine only running the first operation in a migration (#310)
  • (docs) invalid whitespace in a doc (#303)
  • allow #[model] to be put before #[derive(AdminModel)] (#295)
  • build when minimal dependency versions are used (#288)
  • actually use SessionMiddleware config (#279)

Other

  • don't log backtraces (#318)
  • [breaking] add TestServer utility and add some E2E tests (#315)
  • (docs) improve RequestHandler docs (#314)
  • [breaking] add #[non_exhaustive] to more enums (#297)
  • (deps) [breaking] bump deps (upgrade to askama 0.14) (#293)
  • allow trailing comma in static_files macro (#291)
  • password comparison (#285)
  • [breaking] migrate from rinja to askama (#265)

0.2.2 - 2025-04-03

Fixes

  • don't show 404 when there are 0 objects in admin panel (#270)

Other

  • update admin example with a custom TodoItem model (#270)

0.2.1 - 2025-03-30

Fixes

  • (cli) migration generator not working in inner project directories (#267)

Other

  • use #[expect] instead of #[allow] where it makes sense (#259)
  • add #[diagnostic::on_unimplemented] for key traits (#260)
  • (deps) use database dependencies only with the "db" feature flag (#264)

0.2.0 - 2025-03-25

Security

  • cycle session ID on login, flush session on logout (#246)

New features

  • [breaking] use extractor pattern for request handlers (#253), introducing FromRequest and FromRequestParts traits and removing duplicated functionality from RequestExt
  • add SessionMiddleware configuration (#251)
  • user-friendly message for AddrInUse error (#233)
  • support for "Remove Field" in automatic migration generator (#232)
  • support for "Remove Model" in Automatic Migration Generator (#221)
  • basic pagination support for admin panel (#217)
  • display object paths when (de)serialization error happened with serde
  • add RegisterAppsContext, AuthBackendContext, MiddlewareContext as type aliases for ProjectContext in specific bootstrapping phases that are more semantic and whose names won't change when changing the phases

Fixes

  • panic backtrace/location not displayed on the error page (#237)
  • include APP_NAME in model (#228)

Other

  • [breaking] upgrade edition to 2024 (#244)
  • [breaking] remove methods from the RequestExt that duplicate extractors' functionalities
  • [breaking] AuthRequestExt trait is now replaced by Auth struct and AuthMiddleware is now required for
  • [breaking] add WithDatabase bootstrapping phase
  • Urls object can now be used with the reverse! macro and not only Request
  • (clippy) add --all-targets to clippy CI and fix all warnings (#240)
  • add test for reverse!() reversing in the current app first (#239)
  • more docs (up to 100% doc coverage) (#229)

0.1.4 - 2025-02-28

Added

  • add #[track_caller] to unwraps for better panic messages (#212)

Fixed

  • use cot's version instead of cli's when creating a new project (#213)

0.1.3 - 2025-02-24

Other

  • add logo to the rustdoc (#198)

0.1.2 - 2025-02-23

Added

  • (error) enhance error logging with tracing integration (#186)

Fixed

  • switch back to using non-prerelease versions of crypto crates (#188)

Other

  • (deps) add info about dependencies to CONTRIBUTING.md (#192)

0.1.1 - 2025-02-21

Other

  • add README.md to the Cargo.toml metadata (#178)
  • fix a typo in form.rs docs (#173)

0.1.0 - 2025-02-18

  • initial version