Releases: cot-rs/cot
Releases · cot-rs/cot
cot-v0.4.0
Read more about this release here: https://mackow.ski/blog/cot-v04-particularly-lazy/
New features
- [breaking] Add support for file fields in forms (#334) (by @m4tx)
- [breaking] Add
SelectField; support more chrono form fields (#345) (by @m4tx) - [breaking] Error handling overhaul, more powerful custom error handlers (#373) (by @m4tx)
- Support multiple session stores (#277) (by @ElijahAhianyo)
- Support more chrono datatypes in the framework (#332) (by @seqre)
- Add simple
AsFormFieldimpl forForeignKeys (#335) (by @m4tx) - FromRequestParts derive macro (#336) (by @kumarUjjawal)
- More Session config knobs (#337) (by @ElijahAhianyo)
- AsFormField for Date, Time, DateTime (#342) (by @ElijahAhianyo)
- Add validated
Urltype (#339) (by @kingzcheung) - (macros) Derive macro for
SelectChoicetrait (#351) (by @kumarUjjawal) ToDbValueforUrland bug fixes forUrlandEmail(#353) (by @ElijahAhianyo)- DB session store implementation (#360) (by @ElijahAhianyo)
- Basic benchmarking (#378) (by @seqre)
- IntoResponse and ApiOperationResponse derive macro for enum (#388) (by @kumarUjjawal)
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]toFormErrorvariants (#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
Defaultimpl forSessionMiddlewareConfig(#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
LiveReloadMiddlewareto 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)
Contributors
cot-cli-v0.4.0
New features
- [breaking] Add
SelectField; support more chrono form fields (#345) (by @m4tx) - [breaking] Error handling overhaul, more powerful custom error handlers (#373) (by @m4tx)
- Support multiple session stores (#277) (by @ElijahAhianyo)
- DB session store implementation (#360) (by @ElijahAhianyo)
Other
- [breaking] (deps) Bump all dependencies (#361) (by @dependabot[bot])
- Fix clippy warnings on Rust 1.88 (#355) (by @m4tx)
- Warn on
clippy::allow_attributes; fix clippy warnings (#363) (by @m4tx) - (pre-commit) Add HTML/Jinja2 linter & formatter (#365) (by @melroy12)
Contributors
cot-v0.3.1
cot-cli-v0.3.1
cot-v0.3.0
New features
- implement
AsFormFieldfor 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
TestServerutility and add some E2E tests (#315) - (docs) improve
RequestHandlerdocs (#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)
Contributors
cot-cli-v0.3.0
New features
- (static-files) [breaking] refactor, add config and content hashing (#317)
- [breaking] append app name to table name (#257)
Other
- (static-files) use URL rewriting and cache by default (#320)
- update project template to use
Htmlinstead ofResponse(#319) - (clippy) allow API breaking clippy lints (#305)
- (deps) [breaking] bump deps (upgrade to askama 0.14) (#293)
- [breaking] migrate from rinja to askama (#265)