Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare v0.4.0 release #132

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ documentation = "https://docs.rs/apistos/"
license = "MIT OR Apache-2.0"
rust-version = "1.75"
publish = true
version = "0.3.6"
version = "0.4.0"

[workspace.dependencies]
actix-service = "2"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ carpenters, craftsmen, metallurgy ... which can also be considered by some as th
#schemars = "0.8"
# sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
schemars = { package = "apistos-schemars", version = "0.8" }
apistos = "0.3"
apistos = "0.4"
```

### Usage example
Expand Down
2 changes: 1 addition & 1 deletion apistos-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ serde_qs = { workspace = true, features = ["actix4"], optional = true }
uuid = { workspace = true, optional = true }
url = { workspace = true, optional = true }

apistos-models = { path = "../apistos-models", version = "0.3.6", features = ["deserialize"] }
apistos-models = { path = "../apistos-models", version = "0.4.0", features = ["deserialize"] }

[dev-dependencies]
assert-json-diff = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions apistos-gen-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ assert-json-diff = { workspace = true }
chrono = { workspace = true, features = ["serde"] }
futures-core = { workspace = true }
apistos = { path = "../apistos", features = ["multipart", "uuid"] }
apistos-core = { path = "../apistos-core", version = "0.3.6", features = ["actix-web-grants"] }
apistos-gen = { path = "../apistos-gen", version = "0.3.6" }
apistos-core = { path = "../apistos-core", version = "0.4.0", features = ["actix-web-grants"] }
apistos-gen = { path = "../apistos-gen", version = "0.4.0" }
# we use the "preserve_order" feature from schemars here following https://github.com/netwo-io/apistos/pull/78
schemars = { workspace = true, features = ["preserve_order"] }
serde = { workspace = true, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion apistos-models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ These models are not linked to any web framework.
#schemars = "0.8"
# sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
schemars = { package = "apistos-schemars", version = "0.8" }
apistos-models = "0.3"
apistos-models = "0.4"
```

### About us
Expand Down
2 changes: 1 addition & 1 deletion apistos-rapidoc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version.workspace = true
license.workspace = true

[dependencies]
apistos-plugins = { path = "../apistos-plugins", version = "0.3.6" }
apistos-plugins = { path = "../apistos-plugins", version = "0.4.0" }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion apistos-redoc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version.workspace = true
license.workspace = true

[dependencies]
apistos-plugins = { path = "../apistos-plugins", version = "0.3.6" }
apistos-plugins = { path = "../apistos-plugins", version = "0.4.0" }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion apistos-redoc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This crate is exposed through Apistos `redoc` feature.
#schemars = "0.8"
# sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
schemars = { package = "apistos-schemars", version = "0.8" }
apistos = { version = "0.3", feature = ["redoc"] }
apistos = { version = "0.4", feature = ["redoc"] }
```

### About us
Expand Down
2 changes: 1 addition & 1 deletion apistos-scalar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version.workspace = true
license.workspace = true

[dependencies]
apistos-plugins = { path = "../apistos-plugins", version = "0.3.6" }
apistos-plugins = { path = "../apistos-plugins", version = "0.4.0" }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion apistos-scalar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This crate is exposed through Apistos `scalar` feature.
#schemars = "0.8"
# sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
schemars = { package = "apistos-schemars", version = "0.8" }
apistos = { version = "0.3", feature = ["scalar"] }
apistos = { version = "0.4", feature = ["scalar"] }
```

### About us
Expand Down
2 changes: 1 addition & 1 deletion apistos-shuttle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ actix-web = { workspace = true }
num_cpus = { workspace = true }
shuttle-runtime = { workspace = true }

apistos = { path = "../apistos", version = "0.3.6" }
apistos = { path = "../apistos", version = "0.4.0" }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion apistos-swagger-ui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version.workspace = true
license.workspace = true

[dependencies]
apistos-plugins = { path = "../apistos-plugins", version = "0.3.6" }
apistos-plugins = { path = "../apistos-plugins", version = "0.4.0" }

[lints]
workspace = true
26 changes: 13 additions & 13 deletions apistos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,25 @@ schemars = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }

apistos-core = { path = "../apistos-core", version = "0.3.6" }
apistos-gen = { path = "../apistos-gen", version = "0.3.6" }
apistos-models = { path = "../apistos-models", version = "0.3.6" }
apistos-plugins = { path = "../apistos-plugins", version = "0.3.6" }
apistos-rapidoc = { path = "../apistos-rapidoc", version = "0.3.6", optional = true }
apistos-redoc = { path = "../apistos-redoc", version = "0.3.6", optional = true }
apistos-scalar = { path = "../apistos-scalar", version = "0.3.6", optional = true }
apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "0.3.6", optional = true }
apistos-core = { path = "../apistos-core", version = "0.4.0" }
apistos-gen = { path = "../apistos-gen", version = "0.4.0" }
apistos-models = { path = "../apistos-models", version = "0.4.0" }
apistos-plugins = { path = "../apistos-plugins", version = "0.4.0" }
apistos-rapidoc = { path = "../apistos-rapidoc", version = "0.4.0", optional = true }
apistos-redoc = { path = "../apistos-redoc", version = "0.4.0", optional = true }
apistos-scalar = { path = "../apistos-scalar", version = "0.4.0", optional = true }
apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "0.4.0", optional = true }


[dev-dependencies]
actix-web-lab = { workspace = true }
garde-actix-web = { workspace = true }

apistos-models = { path = "../apistos-models", version = "0.3.6", features = ["deserialize"] }
apistos-rapidoc = { path = "../apistos-rapidoc", version = "0.3.6" }
apistos-redoc = { path = "../apistos-redoc", version = "0.3.6" }
apistos-scalar = { path = "../apistos-scalar", version = "0.3.6" }
apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "0.3.6" }
apistos-models = { path = "../apistos-models", version = "0.4.0", features = ["deserialize"] }
apistos-rapidoc = { path = "../apistos-rapidoc", version = "0.4.0" }
apistos-redoc = { path = "../apistos-redoc", version = "0.4.0" }
apistos-scalar = { path = "../apistos-scalar", version = "0.4.0" }
apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "0.4.0" }

[lints]
workspace = true
Expand Down
2 changes: 1 addition & 1 deletion apistos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//! #schemars = "0.8"
//! # sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
//! schemars = { package = "apistos-schemars", version = "0.8" }
//! apistos = "0.3"
//! apistos = "0.4"
//! ```
//!
//! # Usage example
Expand Down