Skip to content

Releases: cot-rs/cot

cot-v0.2.0

26 Mar 07:11
06f49f0
Compare
Choose a tag to compare

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)

Contributors

cot-cli-v0.2.0

26 Mar 07:12
06f49f0
Compare
Choose a tag to compare

New features

  • [breaking] use extractor pattern for request handlers (#253)
  • (cli) add generation of manpages and shell completions (#252)
  • add SessionMiddleware configuration (#251)
  • cot-cli commands makeover (#226)
  • create Workspace Manager (#235)
  • add support for remove field in automatic migration generator (#232)
  • support "Remove Model" in Automatic Migration Generator (#221)

Fixes

Other

  • remove duplication in migration generator tests (#249)
  • [breaking] upgrade edition to 2024 (#244)
  • (clippy) add --all-targets to clippy CI and fix all warnings (#240)
  • more docs (up to 100% doc coverage) (#229)
  • change MigrationGenerator for future use (#224)

Contributors

cot-v0.1.4

28 Feb 12:08
f1c6eb6
Compare
Choose a tag to compare

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)

cot-cli-v0.1.4

28 Feb 12:09
f1c6eb6
Compare
Choose a tag to compare

Fixed

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

Other

  • Add status messages to CLI operations for better user feedback (#204)

Contributors

cot-v0.1.3

24 Feb 16:58
2bbb096
Compare
Choose a tag to compare

Other

  • add logo to the rustdoc (#198)

cot-cli-v0.1.3

24 Feb 17:00
2bbb096
Compare
Choose a tag to compare

Other

  • updated the following local packages: cot

cot-v0.1.2

23 Feb 22:34
3352ce5
Compare
Choose a tag to compare

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)

Contributors

cot-cli-v0.1.2

23 Feb 22:35
3352ce5
Compare
Choose a tag to compare

Fixed

  • add Cargo.lock to project template to avoid broken dependencies (#191)

cot-cli-v0.1.1

21 Feb 00:01
7eb3539
Compare
Choose a tag to compare

Other

  • add README.md to the Cargo.toml metadata (#178)

cot_macros-v0.1.2

20 Feb 23:58
7eb3539
Compare
Choose a tag to compare

Other

  • add README.md to the Cargo.toml metadata (#178)