Skip to content

Commit 3bb326b

Browse files
authored
Merge pull request #254 from ngyn-rs/dev
2 parents bd8d2fc + 4e5dc33 commit 3bb326b

File tree

9 files changed

+46
-29
lines changed

9 files changed

+46
-29
lines changed

Cargo.lock

Lines changed: 14 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/Cargo.lock

Lines changed: 5 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/core/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file. See [conven
88

99
#### Miscellaneous Chores
1010

11+
## 0.5.4 - 2025-01-29
12+
#### Bug Fixes
13+
- [#252](../../../../pull/252) **platform**: broken hyper graceful shutdown
14+
1115
## 0.5.3 - 2025-01-14
1216

1317
## 0.5.2 - 2024-12-30

crates/core/Cargo.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
[package]
22
name = "ngyn"
3-
version = "0.5.3"
3+
version = "0.5.4"
44
edition = "2021"
55
description = "Modular backend framework for web applications"
66
license = "MIT"
77
rust-version = "1.75"
88
documentation = "https://ngyn.rs/docs"
99
repository = "https://github.com/ngyn-rs/ngyn"
1010
homepage = "https://ngyn.rs"
11-
keywords = ["web-apps", "web-server", "web-framework", "back-end", "applications"]
11+
keywords = [
12+
"web-apps",
13+
"web-server",
14+
"web-framework",
15+
"back-end",
16+
"applications",
17+
]
1218

1319
[lib]
1420
path = "src/lib.rs"
@@ -17,4 +23,4 @@ path = "src/lib.rs"
1723
http = { workspace = true }
1824
ngyn_macros = { version = "0.5.3", path = "../macros" }
1925
ngyn_shared = { version = "0.5.3", path = "../shared" }
20-
ngyn-hyper = { version = "0.2.2", path = "../hyper" }
26+
ngyn-hyper = { version = "0.2.3", path = "../hyper" }

crates/hyper/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file. See [conven
88

99
#### Miscellaneous Chores
1010

11+
## 0.2.3 - 2025-01-29
12+
#### Bug Fixes
13+
- [#252](../../../../pull/252) **platform**: broken hyper graceful shutdown
14+
1115
## 0.2.2 - 2025-01-14
1216
#### Features
1317
- [#247](../../../../pull/247) **core**: http1 application configuration

crates/hyper/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ngyn-hyper"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
edition = "2021"
55
description = "Hyper Platform for ngyn web framework"
66
license = "MIT"
@@ -13,6 +13,6 @@ keywords = ["ngyn", "run-time", "platform", "hyper", "framework"]
1313
[dependencies]
1414
http-body-util = { workspace = true }
1515
hyper = { version = "1", features = ["full"] }
16-
hyper-util = { version = "0.1", features = ["full"] }
16+
hyper-util = { version = "0.1.10", features = ["full"] }
1717
ngyn_shared = { version = "0.5", path = "../shared" }
1818
tokio = { version = "1", features = ["full"] }

crates/hyper/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use hyper::body::Incoming;
33
use hyper::server::conn::http1;
44
use hyper::{service::service_fn, Request};
55
use hyper_util::rt::TokioIo;
6+
use hyper_util::server::graceful::GracefulShutdown;
67
use ngyn_shared::core::engine::{NgynHttpPlatform, PlatformData};
78
use ngyn_shared::server::NgynResponse;
89
use std::sync::Arc;
@@ -73,7 +74,7 @@ impl HyperApplication {
7374
http1.max_headers(max_headers);
7475
}
7576

76-
let graceful = hyper_util::server::graceful::GracefulShutdown::new();
77+
let graceful = GracefulShutdown::new();
7778
// when this signal completes, start shutdown
7879
let mut signal = std::pin::pin!(shutdown_signal());
7980

crates/shuttle/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file. See [conven
88

99
#### Miscellaneous Chores
1010

11+
## 0.2.3 - 2025-01-29
12+
#### Bug Fixes
13+
- [#252](../../../../pull/252) **platform**: broken hyper graceful shutdown
14+
1115
## 0.2.2 - 2025-01-14
1216

1317
## 0.2.1 - 2024-12-21

crates/shuttle/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ngyn-shuttle"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
edition = "2021"
55
description = "Shuttle Runtime Platform for ngyn web framework"
66
license = "MIT"
@@ -13,5 +13,5 @@ keywords = ["ngyn", "run-time", "platform", "shuttle", "framework"]
1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

1515
[dependencies]
16-
ngyn-hyper = { version = "0.2.2", path = "../../crates/hyper" }
16+
ngyn-hyper = { version = "0.2.3", path = "../../crates/hyper" }
1717
shuttle-runtime = "0"

0 commit comments

Comments
 (0)