Skip to content

feat: middleware for inkan 0.8 - #1

Merged
vxnsin merged 56 commits into
mainfrom
release-0.8
Oct 20, 2026
Merged

vxnsin merged 56 commits into
mainfrom
release-0.8

Conversation

@vxnsin

@vxnsin vxnsin commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Middleware for inkan 0.8.0.

  • New stores: @inkanjs/redis, @inkanjs/postgres, @inkanjs/mongo, @inkanjs/mysql (0.1.0): the core Store on your own client, no dependency. Each passes the core's conformance suite against real servers (CI job stores).
  • On the core Store (0.2.0): auth, session and idempotency take any Store; TTLs are milliseconds. auth's brute-force protection escalates per counter again (a slow guesser stays at about one attempt per maxDelay).
  • 0.2.0, needs inkan 0.8: circuit-breaker, etag, otel (span active around the handler via around()), proxy (app.all, joinPath), secure-headers (ctx.secure). No package emits a deprecation warning; the test runs fail if one does.
  • Security review fixes: MySQL statements are server-side prepared, swept in batches, event cursors clamped to server time, errors cleaned of keys and values, keys and prefixes checked the same way in all four stores.

vxnsin added 30 commits October 19, 2026 13:27
vxnsin added 26 commits October 19, 2026 14:24
@vxnsin
vxnsin merged commit 1a359e9 into main Oct 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant