Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .changeset/example-gateway.md

This file was deleted.

18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Loading