Skip to content

Commit 658ae90

Browse files
Kilerdclaude
andcommitted
chore(release): 0.4.0
Bumps all three crates and the internal dependency ranges to 0.4.0, plus the README and the examples that pin a version. 0.4 completes Tiers 0-2 of the maturation roadmap (#41): the framework shell (config, errors, state, tasks, messager) is trustworthy, and the OpenAPI output covers components/$ref, error responses, spec customization, field metadata, validation-driven constraints and header/cookie parameters. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent ba88874 commit 658ae90

9 files changed

Lines changed: 14 additions & 14 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Add Gotcha to your `Cargo.toml`:
9595

9696
```toml
9797
[dependencies]
98-
gotcha = "0.3"
98+
gotcha = "0.4"
9999
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
100100
serde = { version = "1", features = ["derive"] }
101101
```
@@ -106,7 +106,7 @@ Enable additional features as needed:
106106

107107
```toml
108108
[dependencies]
109-
gotcha = { version = "0.3", features = ["openapi", "prometheus", "cors", "static_files", "task", "message"] }
109+
gotcha = { version = "0.4", features = ["openapi", "prometheus", "cors", "static_files", "task", "message"] }
110110
```
111111

112112
Available features:

examples/basic/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ version = "0.1.0"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
gotcha = {version="0.3", path = "../../gotcha"}
9+
gotcha = {version="0.4", path = "../../gotcha"}
1010
tokio = {version = "1", features = ["macros", 'rt-multi-thread']}
1111
serde = {version="1", features=["derive"]}

examples/configuration/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
gotcha = {version="0.3", path = "../../gotcha", features = ["http1"]}
9+
gotcha = {version="0.4", path = "../../gotcha", features = ["http1"]}
1010
serde = {version="1", features=["derive"]}
1111
serde_json = "1"
1212
tokio = {version = "1", features = ["macros", 'rt-multi-thread', 'fs']}

examples/message/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
gotcha = {version="0.3", path = "../../gotcha", features = ["message"]}
9+
gotcha = {version="0.4", path = "../../gotcha", features = ["message"]}
1010
tokio = {version = "1", features = ["macros", 'rt-multi-thread']}
1111
serde = {version="1", features=["derive"]}

examples/openapi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version = "0.1.0"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
gotcha = {version="0.3", path = "../../gotcha", features = ["openapi", "http1"]}
9+
gotcha = {version="0.4", path = "../../gotcha", features = ["openapi", "http1"]}
1010
# Required because `#[derive(Schematic)]` expands to `::gotcha_core::` paths.
1111
gotcha_core = { path = "../../gotcha_core" }
1212
tokio = {version = "1", features = ["macros", 'rt-multi-thread']}

examples/task/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ version = "0.1.0"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
gotcha = {version="0.3", path = "../../gotcha", features = ["task", "http1"]}
9+
gotcha = {version="0.4", path = "../../gotcha", features = ["task", "http1"]}
1010
tokio = {version = "1", features = ["macros", 'rt-multi-thread']}
1111
serde = {version="1", features=["derive"]}

gotcha/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "gotcha"
33
description = "Enhanced web framework built on top of Axum with OpenAPI, metrics, and configuration management"
44
edition = "2021"
5-
version = "0.3.0"
5+
version = "0.4.0"
66
license = "MIT"
77
repository = "https://github.com/Kilerd/gotcha/"
88

@@ -23,8 +23,8 @@ message = ["tokio/rt"]
2323

2424
[dependencies]
2525
async-trait = "0.1.60"
26-
gotcha_macro = { version = "0.3", path = "../gotcha_macro" }
27-
gotcha_core = { version = "0.3", path = "../gotcha_core", optional = true }
26+
gotcha_macro = { version = "0.4", path = "../gotcha_macro" }
27+
gotcha_core = { version = "0.4", path = "../gotcha_core", optional = true }
2828
serde = {version = "1", features = ["derive"]}
2929
tokio = {version = "1"}
3030
tracing = "0.1"
@@ -62,6 +62,6 @@ trybuild = "1.0"
6262
assert-json-diff = "2"
6363
# Non-optional so trybuild-generated test crates (which derive Schematic and thus
6464
# emit `::gotcha_core::` paths) have gotcha_core in their extern prelude.
65-
gotcha_core = { version = "0.3", path = "../gotcha_core" }
65+
gotcha_core = { version = "0.4", path = "../gotcha_core" }
6666
# So `#[tokio::main]` doc examples compile (the lib's own tokio dep is minimal).
6767
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }

gotcha_core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "gotcha_core"
33
description = "Lightweight schema core (Schematic trait + data-type impls) for the Gotcha web framework"
44
edition = "2021"
5-
version = "0.3.0"
5+
version = "0.4.0"
66
license = "MIT"
77
repository = "https://github.com/Kilerd/gotcha/"
88

@@ -17,7 +17,7 @@ doctest = true
1717
axum = ["dep:axum", "dep:axum-extra", "dep:regex", "dep:either"]
1818

1919
[dependencies]
20-
gotcha_macro = { version = "0.3", path = "../gotcha_macro" }
20+
gotcha_macro = { version = "0.4", path = "../gotcha_macro" }
2121
oas = "0.1"
2222
axum = { version = "0.7", default-features = false, features = ["json", "query", "multipart"], optional = true }
2323
# `TypedHeader<T>` lives here since axum 0.7; the impl must be in this crate because that is where

gotcha_macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "gotcha_macro"
33
description = "gotcha web framework macro"
4-
version = "0.3.0"
4+
version = "0.4.0"
55
edition = "2021"
66
license = "MIT"
77

0 commit comments

Comments
 (0)