Skip to content

@effect/platform@0.96.3

Choose a tag to compare

@github-actions github-actions released this 13 Jul 15:05
703792d

Patch Changes

  • #6244 99d5575 Thanks @spokodev! - Fix HttpLayerRouter.addHttpApi so two registered APIs no longer share error encoders. Previously each call's middleware was added to a shared context map and applied to every route, so a 500 response from one API was sometimes encoded against the other API's error schema. The fix scopes each API's middleware to its own endpoints (matched by method + path) and wraps each route handler directly.

  • Updated dependencies [307d54a, d95868a, 95c7d2e, d24511f]:

    • effect@3.21.5