Skip to content

Commit e8a3fd1

Browse files
cotbot[bot]m4tx
andauthored
chore: release (#340)
* chore: release * update versions --------- Co-authored-by: cotbot[bot] <198769328+cotbot[bot]@users.noreply.github.com> Co-authored-by: Mateusz Maćkowski <m4tx@m4tx.pl>
1 parent b88f580 commit e8a3fd1

File tree

9 files changed

+577
-217
lines changed

9 files changed

+577
-217
lines changed

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,54 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
## [0.4.0](https://github.com/cot-rs/cot/compare/cot-v0.3.1...cot-v0.4.0) - 2025-09-11
10+
11+
[View diff on diff.rs](https://diff.rs/cot/0.3.1/cot/0.4.0/Cargo.toml)
12+
13+
### New features
14+
15+
- [**breaking**] Add support for file fields in forms ([#334](https://github.com/cot-rs/cot/pull/334)) (by [@m4tx](https://github.com/m4tx))
16+
- [**breaking**] Add `SelectField`; support more chrono form fields ([#345](https://github.com/cot-rs/cot/pull/345)) (by [@m4tx](https://github.com/m4tx))
17+
- [**breaking**] Error handling overhaul, more powerful custom error handlers ([#373](https://github.com/cot-rs/cot/pull/373)) (by [@m4tx](https://github.com/m4tx))
18+
- Support multiple session stores ([#277](https://github.com/cot-rs/cot/pull/277)) (by [@ElijahAhianyo](https://github.com/ElijahAhianyo))
19+
- Support more chrono datatypes in the framework ([#332](https://github.com/cot-rs/cot/pull/332)) (by [@seqre](https://github.com/seqre))
20+
- Add simple `AsFormField` impl for `ForeignKey`s ([#335](https://github.com/cot-rs/cot/pull/335)) (by [@m4tx](https://github.com/m4tx))
21+
- FromRequestParts derive macro ([#336](https://github.com/cot-rs/cot/pull/336)) (by [@kumarUjjawal](https://github.com/kumarUjjawal))
22+
- More Session config knobs ([#337](https://github.com/cot-rs/cot/pull/337)) (by [@ElijahAhianyo](https://github.com/ElijahAhianyo))
23+
- AsFormField for Date, Time, DateTime ([#342](https://github.com/cot-rs/cot/pull/342)) (by [@ElijahAhianyo](https://github.com/ElijahAhianyo))
24+
- Add validated `Url` type ([#339](https://github.com/cot-rs/cot/pull/339)) (by [@kingzcheung](https://github.com/kingzcheung))
25+
- *(macros)* Derive macro for `SelectChoice` trait ([#351](https://github.com/cot-rs/cot/pull/351)) (by [@kumarUjjawal](https://github.com/kumarUjjawal))
26+
- `ToDbValue` for `Url` and bug fixes for `Url` and `Email` ([#353](https://github.com/cot-rs/cot/pull/353)) (by [@ElijahAhianyo](https://github.com/ElijahAhianyo))
27+
- DB session store implementation ([#360](https://github.com/cot-rs/cot/pull/360)) (by [@ElijahAhianyo](https://github.com/ElijahAhianyo))
28+
- Basic benchmarking ([#378](https://github.com/cot-rs/cot/pull/378)) (by [@seqre](https://github.com/seqre))
29+
- IntoResponse and ApiOperationResponse derive macro for enum ([#388](https://github.com/cot-rs/cot/pull/388)) (by [@kumarUjjawal](https://github.com/kumarUjjawal))
30+
31+
### Fixes
32+
33+
- [**breaking**] OpenAPI specs with item references ([#333](https://github.com/cot-rs/cot/pull/333)) (by [@m4tx](https://github.com/m4tx))
34+
- Clippy warning in the latest nightly ([#346](https://github.com/cot-rs/cot/pull/346)) (by [@m4tx](https://github.com/m4tx))
35+
- Ignored doctest ([#372](https://github.com/cot-rs/cot/pull/372)) (by [@m4tx](https://github.com/m4tx))
36+
- Swagger not working when static files weren't served at `/static/` ([#383](https://github.com/cot-rs/cot/pull/383)) (by [@m4tx](https://github.com/m4tx))
37+
- Trybuild tests on the latest nightly ([#386](https://github.com/cot-rs/cot/pull/386)) (by [@m4tx](https://github.com/m4tx))
38+
39+
### Other
40+
41+
- [**breaking**] Remove deprecated items ([#349](https://github.com/cot-rs/cot/pull/349)) (by [@m4tx](https://github.com/m4tx))
42+
- [**breaking**] Add `#[non_exhaustive]` to config structs ([#354](https://github.com/cot-rs/cot/pull/354)) (by [@m4tx](https://github.com/m4tx))
43+
- [**breaking**] *(deps)* Bump all dependencies ([#361](https://github.com/cot-rs/cot/pull/361)) (by [@dependabot[bot]](https://github.com/dependabot[bot]))
44+
- [**breaking**] Add `#[non_exhaustive]` to `FormError` variants ([#374](https://github.com/cot-rs/cot/pull/374)) (by [@m4tx](https://github.com/m4tx))
45+
- [**breaking**] `FromRequest(Parts)` only gets immutable request parts ([#377](https://github.com/cot-rs/cot/pull/377)) (by [@m4tx](https://github.com/m4tx))
46+
- Tiny doc and code consistency fixes ([#348](https://github.com/cot-rs/cot/pull/348)) (by [@m4tx](https://github.com/m4tx))
47+
- Fix clippy warnings on Rust 1.88 ([#355](https://github.com/cot-rs/cot/pull/355)) (by [@m4tx](https://github.com/m4tx))
48+
- Custom `Default` impl for `SessionMiddlewareConfig` ([#359](https://github.com/cot-rs/cot/pull/359)) (by [@ElijahAhianyo](https://github.com/ElijahAhianyo))
49+
- Warn on `clippy::allow_attributes`; fix clippy warnings ([#363](https://github.com/cot-rs/cot/pull/363)) (by [@m4tx](https://github.com/m4tx))
50+
- Fix warning on stable clippy ([#364](https://github.com/cot-rs/cot/pull/364)) (by [@m4tx](https://github.com/m4tx))
51+
- *(pre-commit)* Add HTML/Jinja2 linter & formatter ([#365](https://github.com/cot-rs/cot/pull/365)) (by [@melroy12](https://github.com/melroy12))
52+
- Style fixes; replace todo!() with unimplemented!() ([#370](https://github.com/cot-rs/cot/pull/370)) (by [@m4tx](https://github.com/m4tx))
53+
- Extract `LiveReloadMiddleware` to a separate file ([#375](https://github.com/cot-rs/cot/pull/375)) (by [@m4tx](https://github.com/m4tx))
54+
- *(deps)* Bump the dependencies group with 11 updates ([#384](https://github.com/cot-rs/cot/pull/384)) (by [@dependabot[bot]](https://github.com/dependabot[bot]))
55+
- *(deps)* Bump all deps ([#396](https://github.com/cot-rs/cot/pull/396)) (by [@m4tx](https://github.com/m4tx))
56+
957
## [0.3.1](https://github.com/cot-rs/cot/compare/cot-v0.3.0...cot-v0.3.1) - 2025-05-16
1058

1159
### <!-- 1 -->New features

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ clap = { version = "4", features = ["deprecated"] }
6969
clap-verbosity-flag = { version = "3", default-features = false }
7070
clap_complete = "4"
7171
clap_mangen = "0.2.29"
72-
cot = { version = "0.3.1", path = "cot" }
73-
cot_codegen = { version = "0.3.1", path = "cot-codegen" }
74-
cot_macros = { version = "0.3.1", path = "cot-macros" }
72+
cot = { version = "0.4.0", path = "cot" }
73+
cot_codegen = { version = "0.4.0", path = "cot-codegen" }
74+
cot_macros = { version = "0.4.0", path = "cot-macros" }
7575
criterion = "0.6"
7676
darling = "0.21"
7777
deadpool-redis = { version = "0.22", default-features = false }

cot-cli/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.4.0](https://github.com/cot-rs/cot/compare/cot-cli-v0.3.1...cot-cli-v0.4.0) - 2025-09-11
11+
12+
[View diff on diff.rs](https://diff.rs/cot-cli/0.3.1/cot-cli/0.4.0/Cargo.toml)
13+
14+
### New features
15+
16+
- [**breaking**] Add `SelectField`; support more chrono form fields ([#345](https://github.com/cot-rs/cot/pull/345)) (by [@m4tx](https://github.com/m4tx))
17+
- [**breaking**] Error handling overhaul, more powerful custom error handlers ([#373](https://github.com/cot-rs/cot/pull/373)) (by [@m4tx](https://github.com/m4tx))
18+
- Support multiple session stores ([#277](https://github.com/cot-rs/cot/pull/277)) (by [@ElijahAhianyo](https://github.com/ElijahAhianyo))
19+
- DB session store implementation ([#360](https://github.com/cot-rs/cot/pull/360)) (by [@ElijahAhianyo](https://github.com/ElijahAhianyo))
20+
21+
### Other
22+
23+
- [**breaking**] *(deps)* Bump all dependencies ([#361](https://github.com/cot-rs/cot/pull/361)) (by [@dependabot[bot]](https://github.com/dependabot[bot]))
24+
- Fix clippy warnings on Rust 1.88 ([#355](https://github.com/cot-rs/cot/pull/355)) (by [@m4tx](https://github.com/m4tx))
25+
- Warn on `clippy::allow_attributes`; fix clippy warnings ([#363](https://github.com/cot-rs/cot/pull/363)) (by [@m4tx](https://github.com/m4tx))
26+
- *(pre-commit)* Add HTML/Jinja2 linter & formatter ([#365](https://github.com/cot-rs/cot/pull/365)) (by [@melroy12](https://github.com/melroy12))
27+
1028
## [0.3.1](https://github.com/cot-rs/cot/compare/cot-cli-v0.3.0...cot-cli-v0.3.1) - 2025-05-16
1129

1230
### <!-- 1 -->New features

cot-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cot-cli"
3-
version = "0.3.1"
3+
version = "0.4.0"
44
description = "The Rust web framework for lazy developers - CLI tool."
55
categories = ["command-line-utilities", "web-programming"]
66
edition.workspace = true

0 commit comments

Comments
 (0)