diff --git a/CHANGELOG.md b/CHANGELOG.md index a740d3d0c..63dd1e84c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,11 @@ This project adheres to [Semantic Versioning](https://semver.org). ## Unreleased -## [0.9.0] - TBD +## [0.9.0] - 2024-05-14 +### Changed + - The OpenAPI operation id will now be generated from the function name instead of the + operation verb + ### Updated - `openapi_type` has been updated to 0.5 - `jsonwebtoken` has been updated to 9.3 diff --git a/Cargo.toml b/Cargo.toml index 3d8339128..4b51d0332 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ members = [".", "./derive", "./redoc"] [package] name = "gotham_restful" -version = "0.8.5" +version = "0.9.0" authors = ["Dominic Meiser "] edition = "2021" rust-version = "1.73.0" @@ -21,7 +21,7 @@ include = ["/src/**/*.rs", "/LICENSE", "/crates-io.md"] futures-core = "0.3.19" futures-util = "0.3.19" gotham = { version = "0.7.4", features = ["derive"], default-features = false } -gotham_restful_derive = { version = "0.8.3", path = "./derive" } +gotham_restful_derive = { version = "0.9.0", path = "./derive" } log = "0.4.12" serde = { version = "1.0.186", features = ["derive"] } serde_json = "1.0" @@ -30,7 +30,7 @@ thiserror = "1.0.2" # non-feature optional dependencies base64 = { version = "0.22", optional = true } gotham_middleware_diesel = { version = "0.5.1", optional = true } -gotham_restful_redoc = { version = "0.2.5", path = "./redoc", optional = true } +gotham_restful_redoc = { version = "0.2.6", path = "./redoc", optional = true } jsonwebtoken = { version = "9.3", default-features = false, optional = true } lazy-regex = { version = "3.0", optional = true } openapi_type = { version = "0.5.0", optional = true } @@ -40,7 +40,7 @@ sha2 = { version = "0.10", optional = true } [dev-dependencies] diesel = { version = "2.1", features = ["postgres"] } futures-executor = "0.3.19" -gotham = { version = "0.7.2", features = ["testing"], default-features = false } +gotham = { version = "0.7.4", features = ["testing"], default-features = false } paste = "1.0" pretty_assertions = "1.0" simple_logger = "5.0" diff --git a/README.md b/README.md index fed9260cd..3bf38f5d8 100644 --- a/README.md +++ b/README.md @@ -427,18 +427,18 @@ limitations under the License. ``` [contributors]: https://github.com/msrd0/gotham_restful/graphs/contributors - [__cargo_doc2readme_dependencies_info]: ggGkYW0BYXSEG_c05bNSqfUVG2tdi6p1jFmpG4qq1UVcYL2XGy6DEJ4tSdgGYXKEG5SJ8EcO8pvsG6aAql37ujSmG2rGlxSAmKbZG4WCYbMMmkI6YWSEgmZnb3RoYW1lMC43LjSCbmdvdGhhbV9yZXN0ZnVsZTAuOC41gmxvcGVuYXBpX3R5cGVlMC41LjCCanNlcmRlX2pzb25nMS4wLjExNw + [__cargo_doc2readme_dependencies_info]: ggGkYW0BYXSEG_c05bNSqfUVG2tdi6p1jFmpG4qq1UVcYL2XGy6DEJ4tSdgGYXKEG5SJ8EcO8pvsG6aAql37ujSmG2rGlxSAmKbZG4WCYbMMmkI6YWSEgmZnb3RoYW1lMC43LjSCbmdvdGhhbV9yZXN0ZnVsZTAuOS4wgmxvcGVuYXBpX3R5cGVlMC41LjCCanNlcmRlX2pzb25nMS4wLjExNw [__link0]: https://crates.io/crates/gotham/0.7.4 [__link1]: https://doc.rust-lang.org/stable/std/primitive.i64.html [__link10]: https://docs.rs/gotham/0.7.4/gotham/?search=state::State [__link11]: https://docs.rs/openapi_type/0.5.0/openapi_type/?search=OpenapiType - [__link12]: https://docs.rs/gotham_restful/0.8.5/gotham_restful/?search=Endpoint - [__link13]: https://docs.rs/gotham_restful/0.8.5/gotham_restful/?search=EndpointWithSchema + [__link12]: https://docs.rs/gotham_restful/0.9.0/gotham_restful/?search=Endpoint + [__link13]: https://docs.rs/gotham_restful/0.9.0/gotham_restful/?search=EndpointWithSchema [__link2]: https://doc.rust-lang.org/stable/std/string/struct.String.html - [__link3]: https://docs.rs/gotham_restful/0.8.5/gotham_restful/?search=RequestBody + [__link3]: https://docs.rs/gotham_restful/0.9.0/gotham_restful/?search=RequestBody [__link4]: https://docs.rs/gotham/0.7.4/gotham/?search=extractor::QueryStringExtractor [__link5]: https://docs.rs/gotham/0.7.4/gotham/?search=state::State [__link6]: https://crates.io/crates/serde_json/1.0.117 - [__link7]: https://docs.rs/gotham_restful/0.8.5/gotham_restful/?search=Response::header - [__link8]: https://docs.rs/gotham_restful/0.8.5/gotham_restful/?search=cors::CorsRoute + [__link7]: https://docs.rs/gotham_restful/0.9.0/gotham_restful/?search=Response::header + [__link8]: https://docs.rs/gotham_restful/0.9.0/gotham_restful/?search=cors::CorsRoute [__link9]: https://diesel.rs/ diff --git a/crates-io.md b/crates-io.md index c8e159d6b..1867d760a 100644 --- a/crates-io.md +++ b/crates-io.md @@ -395,18 +395,18 @@ limitations under the License. ``` [contributors]: https://github.com/msrd0/gotham_restful/graphs/contributors - [__cargo_doc2readme_dependencies_info]: ggGkYW0BYXSEG6RlNYoaGGVNG14HXEhSOW3-GwDJMt780dDKG2uMqUakEThCYXKEG5SJ8EcO8pvsG6aAql37ujSmG2rGlxSAmKbZG4WCYbMMmkI6YWSEgmZnb3RoYW1lMC43LjSCbmdvdGhhbV9yZXN0ZnVsZTAuOC41gmxvcGVuYXBpX3R5cGVlMC41LjCCanNlcmRlX2pzb25nMS4wLjExNw + [__cargo_doc2readme_dependencies_info]: ggGkYW0BYXSEG6RlNYoaGGVNG14HXEhSOW3-GwDJMt780dDKG2uMqUakEThCYXKEG5SJ8EcO8pvsG6aAql37ujSmG2rGlxSAmKbZG4WCYbMMmkI6YWSEgmZnb3RoYW1lMC43LjSCbmdvdGhhbV9yZXN0ZnVsZTAuOS4wgmxvcGVuYXBpX3R5cGVlMC41LjCCanNlcmRlX2pzb25nMS4wLjExNw [__link0]: https://crates.io/crates/gotham/0.7.4 [__link1]: https://doc.rust-lang.org/stable/std/primitive.i64.html [__link10]: https://docs.rs/gotham/0.7.4/gotham/?search=state::State [__link11]: https://docs.rs/openapi_type/0.5.0/openapi_type/?search=OpenapiType - [__link12]: https://docs.rs/gotham_restful/0.8.5/gotham_restful/?search=Endpoint - [__link13]: https://docs.rs/gotham_restful/0.8.5/gotham_restful/?search=EndpointWithSchema + [__link12]: https://docs.rs/gotham_restful/0.9.0/gotham_restful/?search=Endpoint + [__link13]: https://docs.rs/gotham_restful/0.9.0/gotham_restful/?search=EndpointWithSchema [__link2]: https://doc.rust-lang.org/stable/std/string/struct.String.html - [__link3]: https://docs.rs/gotham_restful/0.8.5/gotham_restful/?search=RequestBody + [__link3]: https://docs.rs/gotham_restful/0.9.0/gotham_restful/?search=RequestBody [__link4]: https://docs.rs/gotham/0.7.4/gotham/?search=extractor::QueryStringExtractor [__link5]: https://docs.rs/gotham/0.7.4/gotham/?search=state::State [__link6]: https://crates.io/crates/serde_json/1.0.117 - [__link7]: https://docs.rs/gotham_restful/0.8.5/gotham_restful/?search=Response::header - [__link8]: https://docs.rs/gotham_restful/0.8.5/gotham_restful/?search=cors::CorsRoute + [__link7]: https://docs.rs/gotham_restful/0.9.0/gotham_restful/?search=Response::header + [__link8]: https://docs.rs/gotham_restful/0.9.0/gotham_restful/?search=cors::CorsRoute [__link9]: https://diesel.rs/ diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 31c93ce2d..ac09a0704 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "gotham_restful_derive" -version = "0.8.3" +version = "0.9.0" authors = ["Dominic Meiser "] edition = "2021" description = "Private implementation detail of gotham_restful" diff --git a/redoc/Cargo.toml b/redoc/Cargo.toml index f466fa123..2f5b3e23c 100644 --- a/redoc/Cargo.toml +++ b/redoc/Cargo.toml @@ -3,7 +3,7 @@ [package] workspace = ".." name = "gotham_restful_redoc" -version = "0.2.5+2.1.4" +version = "0.2.6+2.1.4" authors = ["Dominic Meiser "] edition = "2021" description = "Private implementation detail of gotham_restful"