From 1015cf20264c3c720297f120878608e81b6d74f9 Mon Sep 17 00:00:00 2001 From: Juha Kukkonen Date: Mon, 14 Oct 2024 18:48:41 +0300 Subject: [PATCH] Bump up next versions --- README.md | 5 +---- utoipa-axum/Cargo.toml | 4 ++-- utoipa-config/Cargo.toml | 2 +- utoipa-config/config-test-crate/Cargo.toml | 6 +++--- utoipa-gen/Cargo.toml | 4 ++-- utoipa-rapidoc/Cargo.toml | 10 +++++++--- utoipa-rapidoc/README.md | 4 ++-- utoipa-redoc/Cargo.toml | 6 ++++-- utoipa-redoc/README.md | 4 ++-- utoipa-scalar/Cargo.toml | 6 ++++-- utoipa-scalar/README.md | 4 ++-- utoipa-swagger-ui/Cargo.toml | 6 ++++-- utoipa-swagger-ui/README.md | 4 ++-- utoipa/Cargo.toml | 4 ++-- utoipa/src/lib.rs | 4 ++-- 15 files changed, 40 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 21a07b31..a38b2fcd 100644 --- a/README.md +++ b/README.md @@ -121,16 +121,13 @@ and the `ipa` is _api_ reversed. Aaand... `ipa` is also an awesome type of beer ## Install -Add minimal dependency declaration to `Cargo.toml`. +Add dependency declaration to `Cargo.toml`. ```toml [dependencies] utoipa = "5" ``` -> [!NOTE] -> 5.0.0 is not yet fully released. Please refer to a tag like `utoipa-4.2.3` for examples of that version. - ## Examples _Create type with `ToSchema` and use it in `#[utoipa::path(...)]` that is registered to the `OpenApi`._ diff --git a/utoipa-axum/Cargo.toml b/utoipa-axum/Cargo.toml index 1e918fd1..6dcaa7a9 100644 --- a/utoipa-axum/Cargo.toml +++ b/utoipa-axum/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa-axum" description = "Utoipa's axum bindings for seamless integration for the two" -version = "0.1.0-rc.0" +version = "0.1.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" @@ -16,7 +16,7 @@ debug = [] [dependencies] axum = { version = "0.7", default-features = false } -utoipa = { version = "5.0.0-rc", path = "../utoipa", default-features = false, features = [ +utoipa = { version = "5.0.0", path = "../utoipa", default-features = false, features = [ "macros", ] } tower-service = "0.3" diff --git a/utoipa-config/Cargo.toml b/utoipa-config/Cargo.toml index a239edd6..82471227 100644 --- a/utoipa-config/Cargo.toml +++ b/utoipa-config/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa-config" description = "Config for controlling utoipa's various aspects" -version = "0.1.0-rc.0" +version = "0.1.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/utoipa-config/config-test-crate/Cargo.toml b/utoipa-config/config-test-crate/Cargo.toml index cff9ea46..95feee11 100644 --- a/utoipa-config/config-test-crate/Cargo.toml +++ b/utoipa-config/config-test-crate/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" rust-version = "1.75" [dependencies] -utoipa = { version = "5.0.0-rc", path = "../../utoipa", features = [ +utoipa = { version = "5.0.0", path = "../../utoipa", features = [ "debug", "config", ] } @@ -13,9 +13,9 @@ serde = "1" serde_json = "1" [build-dependencies] -utoipa-config = { version = "0.1.0-rc", path = "../../utoipa-config" } +utoipa-config = { version = "0.1", path = "../../utoipa-config" } [dev-dependencies] -utoipa-config = { version = "0.1.0-rc", path = "../../utoipa-config" } +utoipa-config = { version = "0.1", path = "../../utoipa-config" } [workspace] diff --git a/utoipa-gen/Cargo.toml b/utoipa-gen/Cargo.toml index 443c44c7..b2d4ab7c 100644 --- a/utoipa-gen/Cargo.toml +++ b/utoipa-gen/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa-gen" description = "Code generation implementation for utoipa" -version = "5.0.0-rc.0" +version = "5.0.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" @@ -14,7 +14,7 @@ rust-version.workspace = true proc-macro = true [dependencies] -utoipa-config = { version = "0.1.0-rc", path = "../utoipa-config", optional = true } +utoipa-config = { version = "0.1", path = "../utoipa-config", optional = true } once_cell = { version = "1.19.0", optional = true } proc-macro2 = "1.0" syn = { version = "2.0", features = ["full", "extra-traits"] } diff --git a/utoipa-rapidoc/Cargo.toml b/utoipa-rapidoc/Cargo.toml index 35c74fd5..0d6f6dcb 100644 --- a/utoipa-rapidoc/Cargo.toml +++ b/utoipa-rapidoc/Cargo.toml @@ -2,7 +2,7 @@ name = "utoipa-rapidoc" description = "RapiDoc for utoipa" edition = "2021" -version = "4.0.1-rc.0" +version = "5.0.0" license = "MIT OR Apache-2.0" readme = "README.md" keywords = ["rapidoc", "openapi", "documentation"] @@ -18,10 +18,14 @@ rustdoc-args = ["--cfg", "doc_cfg"] [dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } -utoipa = { version = "5.0.0-rc", path = "../utoipa", default-features = false, features = ["macros"] } +utoipa = { version = "5.0.0", path = "../utoipa", default-features = false, features = [ + "macros", +] } actix-web = { version = "4", optional = true, default-features = false } rocket = { version = "0.5", features = ["json"], optional = true } -axum = { version = "0.7", default-features = false, features = ["json"], optional = true } +axum = { version = "0.7", default-features = false, features = [ + "json", +], optional = true } [dev-dependencies] utoipa-rapidoc = { path = ".", features = ["actix-web", "axum", "rocket"] } diff --git a/utoipa-rapidoc/README.md b/utoipa-rapidoc/README.md index a22f6399..ad33ea95 100644 --- a/utoipa-rapidoc/README.md +++ b/utoipa-rapidoc/README.md @@ -24,13 +24,13 @@ You may find fullsize examples from utoipa's Github [repository][examples]. Use RapiDoc only without any boiler plate implementation. ```toml [dependencies] -utoipa-rapidoc = "4" +utoipa-rapidoc = "5" ``` Enable actix-web integration with RapiDoc. ```toml [dependencies] -utoipa-rapidoc = { version = "4", features = ["actix-web"] } +utoipa-rapidoc = { version = "5", features = ["actix-web"] } ``` # Using standalone diff --git a/utoipa-redoc/Cargo.toml b/utoipa-redoc/Cargo.toml index 996ec250..06a9a26d 100644 --- a/utoipa-redoc/Cargo.toml +++ b/utoipa-redoc/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa-redoc" description = "Redoc for utoipa" -version = "4.0.1-rc.0" +version = "5.0.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" @@ -18,7 +18,9 @@ rustdoc-args = ["--cfg", "doc_cfg"] [dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } -utoipa = { version = "5.0.0-rc", path = "../utoipa", default-features = false, features = ["macros"] } +utoipa = { version = "5.0.0", path = "../utoipa", default-features = false, features = [ + "macros", +] } actix-web = { version = "4", optional = true } rocket = { version = "0.5", features = ["json"], optional = true } axum = { version = "0.7", default-features = false, optional = true } diff --git a/utoipa-redoc/README.md b/utoipa-redoc/README.md index 0bd9d2b0..7dce18d5 100644 --- a/utoipa-redoc/README.md +++ b/utoipa-redoc/README.md @@ -24,13 +24,13 @@ You may find fullsize examples from utoipa's Github [repository][examples]. Use Redoc only without any boiler plate implementation. ```toml [dependencies] -utoipa-redoc = "4" +utoipa-redoc = "5" ``` Enable actix-web integration with Redoc. ```toml [dependencies] -utoipa-redoc = { version = "4", features = ["actix-web"] } +utoipa-redoc = { version = "5", features = ["actix-web"] } ``` # Using standalone diff --git a/utoipa-scalar/Cargo.toml b/utoipa-scalar/Cargo.toml index f8340489..8b301a4c 100644 --- a/utoipa-scalar/Cargo.toml +++ b/utoipa-scalar/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa-scalar" description = "Scalar for utoipa" -version = "0.2.0-rc.0" +version = "0.2.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" @@ -18,7 +18,9 @@ rustdoc-args = ["--cfg", "doc_cfg"] [dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } -utoipa = { version = "5.0.0-rc", path = "../utoipa", default-features = false, features = ["macros"] } +utoipa = { version = "5.0.0", path = "../utoipa", default-features = false, features = [ + "macros", +] } actix-web = { version = "4", optional = true, default-features = false } rocket = { version = "0.5", features = ["json"], optional = true } axum = { version = "0.7", default-features = false, optional = true } diff --git a/utoipa-scalar/README.md b/utoipa-scalar/README.md index 41a7a71f..3f657a51 100644 --- a/utoipa-scalar/README.md +++ b/utoipa-scalar/README.md @@ -24,13 +24,13 @@ You may find fullsize examples from utoipa's Github [repository][examples]. Use Scalar only without any boiler plate implementation. ```toml [dependencies] -utoipa-scalar = "0.1" +utoipa-scalar = "0.2" ``` Enable actix-web integration with Scalar. ```toml [dependencies] -utoipa-scalar = { version = "0.1", features = ["actix-web"] } +utoipa-scalar = { version = "0.2", features = ["actix-web"] } ``` # Using standalone diff --git a/utoipa-swagger-ui/Cargo.toml b/utoipa-swagger-ui/Cargo.toml index d4b1e3c0..d63bc3b3 100644 --- a/utoipa-swagger-ui/Cargo.toml +++ b/utoipa-swagger-ui/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa-swagger-ui" description = "Swagger UI for utoipa" -version = "7.1.1-rc.0" +version = "8.0.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" @@ -27,7 +27,9 @@ rocket = { version = "0.5", features = ["json"], optional = true } axum = { version = "0.7", default-features = false, features = [ "json", ], optional = true } -utoipa = { version = "5.0.0-rc", path = "../utoipa", default-features = false, features = ["macros"] } +utoipa = { version = "5.0.0", path = "../utoipa", default-features = false, features = [ + "macros", +] } serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } diff --git a/utoipa-swagger-ui/README.md b/utoipa-swagger-ui/README.md index 9e81856d..3a397d74 100644 --- a/utoipa-swagger-ui/README.md +++ b/utoipa-swagger-ui/README.md @@ -41,14 +41,14 @@ Use only the raw types without any boilerplate implementation. ```toml [dependencies] -utoipa-swagger-ui = "7" +utoipa-swagger-ui = "8" ``` Enable actix-web framework with Swagger UI you could define the dependency as follows. ```toml [dependencies] -utoipa-swagger-ui = { version = "7", features = ["actix-web"] } +utoipa-swagger-ui = { version = "8", features = ["actix-web"] } ``` **Note!** Also remember that you already have defined `utoipa` dependency in your `Cargo.toml` diff --git a/utoipa/Cargo.toml b/utoipa/Cargo.toml index c3301c53..95996b58 100644 --- a/utoipa/Cargo.toml +++ b/utoipa/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa" description = "Compile time generated OpenAPI documentation for Rust" -version = "5.0.0-rc.0" +version = "5.0.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" @@ -52,7 +52,7 @@ auto_into_responses = ["utoipa-gen?/auto_into_responses"] serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } serde_yaml = { version = "0.9", optional = true } -utoipa-gen = { version = "5.0.0-rc.0", path = "../utoipa-gen", optional = true } +utoipa-gen = { version = "5.0.0", path = "../utoipa-gen", optional = true } indexmap = { version = "2", features = ["serde"] } [dev-dependencies] diff --git a/utoipa/src/lib.rs b/utoipa/src/lib.rs index 5df5c8be..68bb6ea5 100644 --- a/utoipa/src/lib.rs +++ b/utoipa/src/lib.rs @@ -121,10 +121,10 @@ //! //! # Install //! -//! Add minimal dependency declaration to Cargo.toml. +//! Add dependency declaration to Cargo.toml. //! ```toml //! [dependencies] -//! utoipa = "4" +//! utoipa = "5" //! ``` //! //! # Examples