Skip to content

Commit

Permalink
poem 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sunli829 committed Jan 6, 2024
1 parent 184ed6c commit 18c267d
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion poem-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion poem-grpc-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion poem-grpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion poem-lambda/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion poem-openapi-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 6 additions & 0 deletions poem-openapi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions poem-openapi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 }

Expand Down
1 change: 1 addition & 0 deletions poem-openapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down
1 change: 1 addition & 0 deletions poem-openapi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down
5 changes: 5 additions & 0 deletions poem/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion poem/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "poem"
version = "1.3.59"
version = "2.0.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down

0 comments on commit 18c267d

Please sign in to comment.