Skip to content

Commit 61a7e1a

Browse files
chore(release): v1.1.28
- Updated `.jules/warden.md` with an assessment of the graceful error handling patch. - Appended `CHANGELOG.md` with the release notes. - Bumped package version to `1.1.28`. 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 58e5499 commit 61a7e1a

4 files changed

Lines changed: 13 additions & 3 deletions

File tree

.jules/warden.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,9 @@ Observation / Pruned:
155155
Assessed repository state following previous optimizations. Since no new functional or architectural changes were introduced by the prior agent run, no new release cut or version bump is warranted. Maintained semantic integrity by preserving the existing v1.1.26 state. Zero dead code identified and pruned.
156156
Alignment / Deferred:
157157
Release deferred. Repository state verified and stable.
158+
159+
2026-04-30 — Assessment & Lifecycle
160+
Observation / Pruned:
161+
Assessed JULES/BOLT's optimization gracefully handling Express body-parser 4xx client errors (charset.unsupported, encoding.unsupported, request.aborted) by intercepting them and returning explicit 415 or 400 JSON responses. This prevents unhandled errors from falling through to the global error handler and causing 500 Internal Server Error log spam. Precomputed standard JSON buffers were used to avoid repetitive allocation. Ran tests and robustness scripts to verify correct validation edge cases pass. Zero unused files or exports were identified for pruning.
162+
Alignment / Deferred:
163+
Appended release notes for error handling patch. Version bumped to 1.1.28.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [1.1.28] - 2026-04-30
2+
### Changed
3+
* **[Reliability & Security]:** Gracefully handle Express body-parser 4xx client errors (`charset.unsupported`, `encoding.unsupported`, `request.aborted`) by returning explicit 415 or 400 JSON responses instead of falling through to the generic 500 error handler. Precomputed standard JSON responses to optimize error paths. Zero dead code pruned.
4+
15
## [1.1.27] - 2026-04-29
26
### Changed
37
- Optimized `/v1/chat/completions` parsing and validation loops.

package-lock.json

Lines changed: 2 additions & 2 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.27",
3+
"version": "1.1.28",
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)