Releases: cot-rs/cot
Releases · cot-rs/cot
cot-v0.3.1
cot-cli-v0.3.1
cot-v0.3.0
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)
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
Html
instead 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)
Contributors
cot-v0.2.2
cot-cli-v0.2.2
cot-v0.2.1
cot-cli-v0.2.1
cot-v0.2.0
Security
- cycle session ID on login, flush session on logout (#246)
New features
- [breaking] use extractor pattern for request handlers (#253),
introducingFromRequest
andFromRequestParts
traits and removing duplicated functionality fromRequestExt
- 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 forProjectContext
in specific
bootstrapping phases that are more semantic and whose names won't change when changing the phases
Fixes
Other
- [breaking] upgrade edition to 2024 (#244)
- [breaking] remove methods from the
RequestExt
that duplicate extractors' functionalities - [breaking]
AuthRequestExt
trait is now replaced byAuth
struct andAuthMiddleware
is now required for - [breaking] add
WithDatabase
bootstrapping phase Urls
object can now be used with thereverse!
macro and not onlyRequest
- (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
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)