From fb9a3692fab65cfbe4d4b9c45e2e08f9c2636cf5 Mon Sep 17 00:00:00 2001 From: Gaspard Kirira Date: Sun, 4 Jan 2026 11:58:01 +0300 Subject: [PATCH] chore(release): prepare v1.17.5 (cli/core/utils) --- CHANGELOG.md | 22 ++++++++++++++++ examples/ip_filter/ip_filter_server.cpp | 34 ++++++++++++------------- modules/cli | 2 +- modules/core | 2 +- modules/utils | 2 +- 5 files changed, 42 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 670607f..c6a356d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v1.17.5 โ€” Performance & CLI Stability Release + +### ๐Ÿš€ Performance + +- **core:** remove logger context and console synchronization from HTTP access logs, reducing contention under load +- **utils:** snapshot `spdlog` logger instances to avoid global mutex contention and improve logging throughput + +### ๐Ÿ–ฅ๏ธ CLI & Tooling + +- **cli(run):** remove capture-based configure phase and switch to live execution for more predictable runtime behavior +- **cli:** clean and stabilize CMake output during configure while keeping build and run steps intact +- **cli:** remove dead helpers left after the build UX rewrite + +### ๐Ÿงน Maintenance + +- Internal cleanup across `cli`, `core`, and `utils` modules +- No breaking changes + +### โœ… Notes + +This release focuses on **runtime performance**, **log scalability**, and **CLI robustness**, especially under high load and iterative development workflows. + ## v1.17.4 โ€” 2026-01-02 ### ๐Ÿ”ง Fixed diff --git a/examples/ip_filter/ip_filter_server.cpp b/examples/ip_filter/ip_filter_server.cpp index c84549a..f3e5fe7 100644 --- a/examples/ip_filter/ip_filter_server.cpp +++ b/examples/ip_filter/ip_filter_server.cpp @@ -40,25 +40,25 @@ using namespace vix; int main() { - App app; + App app; - // Apply on /api/* - app.use("/api", middleware::app::ip_filter_allow_deny_dev( - "x-forwarded-for", - {"10.0.0.1", "127.0.0.1"}, // allow - {"9.9.9.9"}, // deny (priority) - true // fallback to x-real-ip, etc. - )); + // Apply on /api/* + app.use("/api", middleware::app::ip_filter_allow_deny_dev( + "x-forwarded-for", + {"10.0.0.1", "127.0.0.1"}, // allow + {"9.9.9.9"}, // deny (priority) + true // fallback to x-real-ip, etc. + )); - // Routes - app.get("/", [](Request &, Response &res) - { res.send("public route"); }); + // Routes + app.get("/", [](Request &, Response &res) + { res.send("public route"); }); - app.get("/api/hello", [](Request &req, Response &res) - { res.json({"ok", true, - "message", "Hello from /api/hello", - "x_forwarded_for", req.header("x-forwarded-for"), - "x_real_ip", req.header("x-real-ip")}); }); + app.get("/api/hello", [](Request &req, Response &res) + { res.json({"ok", true, + "message", "Hello from /api/hello", + "x_forwarded_for", req.header("x-forwarded-for"), + "x_real_ip", req.header("x-real-ip")}); }); - app.run(8080); + app.run(8080); } diff --git a/modules/cli b/modules/cli index 3eebb51..fd533eb 160000 --- a/modules/cli +++ b/modules/cli @@ -1 +1 @@ -Subproject commit 3eebb51c995d5e380e10d566f0102eeb27cdd7ae +Subproject commit fd533eb6c36a03211b2790b3106ab38ab82d5dc3 diff --git a/modules/core b/modules/core index 549b7f3..3967756 160000 --- a/modules/core +++ b/modules/core @@ -1 +1 @@ -Subproject commit 549b7f38c8aebf2c20623d819e586224c10c33bb +Subproject commit 39677564cda333c726ffe0bfdd8554af61d533ee diff --git a/modules/utils b/modules/utils index 6d3aa36..0de8931 160000 --- a/modules/utils +++ b/modules/utils @@ -1 +1 @@ -Subproject commit 6d3aa36b98f9ed6f549475e7ef6021ce82016918 +Subproject commit 0de8931cc06a47461135575f7b0c30d7281b9a89