New
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 )
Contributors
-
@m4tx
-
@ElijahAhianyo
-
@seqre
-
@kumarUjjawal
-
@kingzcheung
-
@dependabot[bot]
-
@melroy12