github Effect-TS/effect @effect/platform@0.96.3

latest releases: @effect/workflow@0.19.0, @effect/vitest@0.30.0, @effect/sql-pg@0.53.0...
10 hours ago

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

Don't miss a new effect release

NewReleases is sending notifications on new releases.