From 80b25af76773e19b30c9dbbc718ab5dfa54e7bc1 Mon Sep 17 00:00:00 2001 From: Tiago Castro Date: Sat, 9 Sep 2023 00:09:26 +0100 Subject: [PATCH] fix(openapiv3): pin openapiv3 dep to fix breaking change Signed-off-by: Tiago Castro --- CHANGELOG.md | 4 ++++ Cargo.toml | 8 ++++---- core/Cargo.toml | 4 ++-- plugins/actix-web/Cargo.toml | 6 +++--- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13fdafd74..8ef62d123 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.8.2] - 2023-09-27 +### Fixed +- Pin openapiv3 to wa breaking change. [PR#508](https://github.com/paperclip-rs/paperclip/pull/508) + ## [0.8.1] - 2023-08-20 ### Added - Add support for `PathBuf` type. [PR#502](https://github.com/paperclip-rs/paperclip/pull/502) diff --git a/Cargo.toml b/Cargo.toml index 74cdac634..38272a58d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "paperclip" -version = "0.8.1" +version = "0.8.2" edition = "2018" description = "OpenAPI tooling library for type-safe compile-time checked HTTP APIs" documentation = "https://paperclip-rs.github.io/paperclip/paperclip" @@ -17,8 +17,8 @@ path = "src/bin/main.rs" required-features = ["cli"] [dependencies] -paperclip-actix = { path = "plugins/actix-web", version = "0.6.1", optional = true } -paperclip-core = { path = "core", version = "0.6.1" } +paperclip-actix = { path = "plugins/actix-web", version = "0.6.2", optional = true } +paperclip-core = { path = "core", version = "0.6.2" } paperclip-macros = { path = "macros", version = "0.6.3", optional = true } env_logger = { version = "0.8", optional = true } @@ -40,7 +40,7 @@ url_dep = { version = ">=1.7,<3", package = "url" } thiserror = "1.0" anyhow = "1.0" once_cell = "1.4" -openapiv3 = { version = "1.0.2", optional = true } +openapiv3 = { version = "=1.0.2", optional = true } indexmap = { version = "1.0", features = ["serde-1", "std"], optional = true } [dev-dependencies] diff --git a/core/Cargo.toml b/core/Cargo.toml index a786a68e1..870a40fbb 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "paperclip-core" -version = "0.6.1" +version = "0.6.2" edition = "2018" description = "Core types and traits for paperclip OpenAPI tooling library" documentation = "https://paperclip-rs.github.io/paperclip/paperclip_core" @@ -37,7 +37,7 @@ actix-web-validator2 = { version = "2.2", optional = true, package = "actix-web- actix-web-validator3 = { version = "3.0", optional = true, package = "actix-web-validator" } validator12 = { version = "0.12", features = ["derive"], optional = true, package = "validator" } validator14 = { version = "0.14", features = ["derive"], optional = true, package = "validator" } -openapiv3 = { version = "1.0.2", optional = true } +openapiv3 = { version = "=1.0.2", optional = true } indexmap = { version = "1.0", features = ["serde-1", "std"], optional = true } [features] diff --git a/plugins/actix-web/Cargo.toml b/plugins/actix-web/Cargo.toml index 835c7fa76..3cc8d3398 100644 --- a/plugins/actix-web/Cargo.toml +++ b/plugins/actix-web/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "paperclip-actix" -version = "0.6.1" +version = "0.6.2" edition = "2018" description = "Paperclip OpenAPI plugin for actix-web framework" documentation = "https://paperclip-rs.github.io/paperclip/paperclip_actix" @@ -9,7 +9,7 @@ homepage = "https://github.com/paperclip-rs/paperclip" repository = "https://github.com/paperclip-rs/paperclip" [dependencies] -paperclip-core = { path = "../../core", version = "0.6.1", optional = true } +paperclip-core = { path = "../../core", version = "0.6.2", optional = true } paperclip-macros = { path = "../../macros", version = "0.6.3", features = ["actix"] } futures = "0.3" actix-service1 = { version = "1", package = "actix-service", optional = true } @@ -20,7 +20,7 @@ actix-web4 = { version = "4", default-features = false, optional = true, package mime_guess = { version = "2.0.4", default-features = false } serde_json = "1.0" once_cell = "1.4" -openapiv3 = { version = "1.0.2", optional = true } +openapiv3 = { version = "=1.0.2", optional = true } include_dir = { version = "0.7.2", optional = true } tinytemplate = { version = "1.1", optional = true }