Skip to content

Commit 82c2b68

Browse files
chore(release): assure, prune, and sync docs for v1.1.25
- Cut new release tag v1.1.25. - Document BOLT's optimization (moving /health endpoint above helmet/cors). - Update dependencies to the latest patch/minor versions. - Log lifecycle status in Warden ledger and update Changelog. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: shenald-dev <245350826+shenald-dev@users.noreply.github.com>
1 parent 1a850c6 commit 82c2b68

4 files changed

Lines changed: 26 additions & 16 deletions

File tree

.jules/warden.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,9 @@ Observation / Pruned:
132132
Assessed JULES/BOLT's optimization changing global `express.json` middleware into a route-specific middleware. This prevents unhandled routes (e.g. 404s) from attempting to buffer and parse large JSON payloads, saving CPU cycles and mitigating DoS vectors. The JSON error handler was effectively moved correctly to preserve functionality. Ran full tests and robustness scripts to verify correct validation edge cases pass. Zero unused files or exports were identified for pruning.
133133
Alignment / Deferred:
134134
Appended release notes for performance and security patch. Version bumped to 1.1.24.
135+
136+
2026-04-27 — Assessment & Lifecycle
137+
Observation / Pruned:
138+
Assessed BOLT's optimization moving the `/health` endpoint above `helmet()` and `cors()` middlewares, while manually setting `Content-Type`. This effectively prevents parsing and middleware overhead for frequent health check pings without compromising the expected response headers. Also bumped minor/patch versions via `npm update`. No dead code or unused files found, as previous optimizations have pruned effectively.
139+
Alignment / Deferred:
140+
Appended release notes for performance patch. Version bumped to 1.1.25.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v1.1.25 - 2026-04-27
2+
### Changed
3+
- **Performance:** Moved the `/health` endpoint above `helmet()` and `cors()` middlewares, saving significant CPU cycle overhead on load balancer pings by skipping unnecessary security header injections and CORS processing for this specific endpoint. No dead code pruned.
4+
15
## v1.1.24 - 2026-04-25
26
### Changed
37
- **Security/Performance:** Modified the `express.json()` middleware to act as a route-specific middleware on `/v1/chat/completions` rather than globally. This prevents unnecessary JSON parsing for non-existent endpoints (like 404 routes), mitigating potential CPU exhaustion DoS vectors from large arbitrary payloads.

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "one-api",
3-
"version": "1.1.24",
3+
"version": "1.1.25",
44
"description": "One API to rule them all. Unified gateway for 20+ LLM providers. OpenAI-compatible, single binary, zero config.",
55
"main": "src/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)