From 4ae41deaf51a72927c3878ee088835b950fc458a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 Aug 2026 20:24:43 +0000 Subject: [PATCH] Version Packages --- .changeset/example-gateway.md | 17 ----------------- CHANGELOG.md | 18 ++++++++++++++++++ package.json | 2 +- 3 files changed, 19 insertions(+), 18 deletions(-) delete mode 100644 .changeset/example-gateway.md diff --git a/.changeset/example-gateway.md b/.changeset/example-gateway.md deleted file mode 100644 index 4a0131f..0000000 --- a/.changeset/example-gateway.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"resilix": patch ---- - -Adds a runnable example: `pnpm example:gateway`. - -A simulated LLM provider degrades from ~140ms to seconds **at a flat error rate**, starts -returning `429`s, then recovers, while ~25 requests/second flow through a full pipeline across -three tenants. It prints a per-second table so the adaptation is visible rather than described: -between 7s and 19s latency rises **23× while failures stay at 2**, and the limiter walks -concurrency from 25 down to 5 and sheds the excess before the timeouts start. - -Covers policy ordering, the verdict model, per-model isolation keys, tenant fairness, criticality -shedding, a shared retry budget, `ctx.mark()` for time-to-first-token, and `RejectedError.reason`. - -It is type-checked and run in CI (nine seconds at 4× speed) — an example that does not compile is -worse than no example, and it is the first code anyone reads. diff --git a/CHANGELOG.md b/CHANGELOG.md index cb7ca53..00df83b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # resilix +## 0.6.1 + +### Patch Changes + +- 678851c: Adds a runnable example: `pnpm example:gateway`. + + A simulated LLM provider degrades from ~140ms to seconds **at a flat error rate**, starts + returning `429`s, then recovers, while ~25 requests/second flow through a full pipeline across + three tenants. It prints a per-second table so the adaptation is visible rather than described: + between 7s and 19s latency rises **23× while failures stay at 2**, and the limiter walks + concurrency from 25 down to 5 and sheds the excess before the timeouts start. + + Covers policy ordering, the verdict model, per-model isolation keys, tenant fairness, criticality + shedding, a shared retry budget, `ctx.mark()` for time-to-first-token, and `RejectedError.reason`. + + It is type-checked and run in CI (nine seconds at 4× speed) — an example that does not compile is + worse than no example, and it is the first code anyone reads. + ## 0.6.0 ### Minor Changes diff --git a/package.json b/package.json index 888074b..4d1772f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "resilix", - "version": "0.6.0", + "version": "0.6.1", "description": "Load limiting for JavaScript: adaptive concurrency limiting and slow-call circuit breaking. Sheds load when an upstream slows, not just when it errors.", "keywords": [ "circuit-breaker",