diff --git a/Cargo.toml b/Cargo.toml index b13ca68af5..5540445e8d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,10 +20,10 @@ repository = "https://github.com/poem-web/poem" rust-version = "1.64" [workspace.dependencies] -poem = { path = "poem", version = "1.3.59", default-features = false } -poem-derive = { path = "poem-derive", version = "1.3.59" } -poem-openapi-derive = { path = "poem-openapi-derive", version = "3.0.6" } -poem-grpc-build = { path = "poem-grpc-build", version = "0.2.23" } +poem = { path = "poem", version = "2.0.0", default-features = false } +poem-derive = { path = "poem-derive", version = "2.0.0" } +poem-openapi-derive = { path = "poem-openapi-derive", version = "4.0.0" } +poem-grpc-build = { path = "poem-grpc-build", version = "0.3.0" } proc-macro-crate = "2.0.0" proc-macro2 = "1.0.29" diff --git a/poem-derive/Cargo.toml b/poem-derive/Cargo.toml index 23b449fe3f..6c0f019b3d 100644 --- a/poem-derive/Cargo.toml +++ b/poem-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poem-derive" -version = "1.3.59" +version = "2.0.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/poem-grpc-build/Cargo.toml b/poem-grpc-build/Cargo.toml index b335ec65ee..c0f107a382 100644 --- a/poem-grpc-build/Cargo.toml +++ b/poem-grpc-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poem-grpc-build" -version = "0.2.23" +version = "0.3.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/poem-grpc/Cargo.toml b/poem-grpc/Cargo.toml index ec3160de43..dab8b02c75 100644 --- a/poem-grpc/Cargo.toml +++ b/poem-grpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poem-grpc" -version = "0.2.25" +version = "0.3.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/poem-lambda/Cargo.toml b/poem-lambda/Cargo.toml index ff0b4bdf9a..aea09499b9 100644 --- a/poem-lambda/Cargo.toml +++ b/poem-lambda/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poem-lambda" -version = "1.3.59" +version = "4.0.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/poem-openapi-derive/Cargo.toml b/poem-openapi-derive/Cargo.toml index 1eca7cb034..9ba46ca316 100644 --- a/poem-openapi-derive/Cargo.toml +++ b/poem-openapi-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poem-openapi-derive" -version = "3.0.6" +version = "4.0.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/poem-openapi/CHANGELOG.md b/poem-openapi/CHANGELOG.md index eecd275ce6..5ee723b148 100644 --- a/poem-openapi/CHANGELOG.md +++ b/poem-openapi/CHANGELOG.md @@ -4,6 +4,12 @@ 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). +# [4.0.0] 2023-01-06 + +- upgrade to `hyper1` +- added documetation on how to merge API specs [#716](https://github.com/poem-web/poem/pull/716) +- impl Type for std::time::Duration instead of only humantime::Duration [#713](https://github.com/poem-web/poem/pull/713) + # [3.0.6] 2023-11-19 - add [`prost-wkt-types` crate](https://crates.io/crates/prost-wkt-types) support [#689](https://github.com/poem-web/poem/pull/689) diff --git a/poem-openapi/Cargo.toml b/poem-openapi/Cargo.toml index 7e85c64bb2..52277920c0 100644 --- a/poem-openapi/Cargo.toml +++ b/poem-openapi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poem-openapi" -version = "3.0.6" +version = "4.0.0" authors.workspace = true edition.workspace = true license.workspace = true @@ -69,7 +69,7 @@ bson = { version = "2.0.0", optional = true } rust_decimal = { version = "1.22.0", optional = true } humantime = { version = "2.1.0", optional = true } ipnet = { version = "2.7.1", optional = true } -prost-wkt-types = { version = "0.5.0", optional = true} +prost-wkt-types = { version = "0.5.0", optional = true } geo-types = { version = "0.7.12", optional = true } geojson = { version = "0.24.1", features = ["geo-types"], optional = true } diff --git a/poem-openapi/README.md b/poem-openapi/README.md index c189cb1500..17e6337a83 100644 --- a/poem-openapi/README.md +++ b/poem-openapi/README.md @@ -61,6 +61,7 @@ To avoid compiling unused dependencies, Poem gates certain features, some of whi | redoc | Add Redoc UI support | | email | Support for email address string | | hostname | Support for hostname string | +| humantime | Integrate with the [`humantime` crate](https://crates.io/crates/humantime) | | uuid | Integrate with the [`uuid` crate](https://crates.io/crates/uuid) | | url | Integrate with the [`url` crate](https://crates.io/crates/url) | | geo | Integrate with the [`geo-types` crate](https://crates.io/crates/geo-types) | diff --git a/poem-openapi/src/lib.rs b/poem-openapi/src/lib.rs index b2bd86e6c5..5ee4707919 100644 --- a/poem-openapi/src/lib.rs +++ b/poem-openapi/src/lib.rs @@ -103,6 +103,7 @@ //! | redoc | Add Redoc UI support | //! | email | Support for email address string | //! | hostname | Support for hostname string | +//! | humantime | Integrate with the [`humantime` crate](https://crates.io/crates/humantime) | //! | uuid | Integrate with the [`uuid` crate](https://crates.io/crates/uuid) | //! | url | Integrate with the [`url` crate](https://crates.io/crates/url) | //! | geo | Integrate with the [`geo-types` crate](https://crates.io/crates/geo-types) | diff --git a/poem/CHANGELOG.md b/poem/CHANGELOG.md index 862b3a2612..1345bf9a0d 100644 --- a/poem/CHANGELOG.md +++ b/poem/CHANGELOG.md @@ -4,6 +4,11 @@ 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). +# [2.0.0] 2024-01-06 + +- upgrade to `hyper1` +- allow WebSocket casing for upgrade header [#709](https://github.com/poem-web/poem/pull/709) + # [1.3.59] 2023-11-19 - added permissions and owner to UnixListener [#668](https://github.com/poem-web/poem/pull/668) diff --git a/poem/Cargo.toml b/poem/Cargo.toml index d84d20f1d2..882ed91e30 100644 --- a/poem/Cargo.toml +++ b/poem/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poem" -version = "1.3.59" +version = "2.0.0" authors.workspace = true edition.workspace = true license.workspace = true