github unnoq/orpc v0.26.0

latest releases: v1.8.6, v1.8.5, v1.8.4...
8 months ago

🚨 Breaking Changes

Middleware, and handler parameters has been redesigned.

os.handler((input, context, meta) => { }) // 🛑 old
os.handler(({ context, input }) => { }) // ✅ new

os.middleware((input, context, meta) => meta.next({})) // 🛑 old
os.middleware(({ context, next }, input) => next({})) // ✅ new

os.use((input, context, meta) => meta.next({})) // 🛑 old
os.use(({ context, next }, input) => next({})) // ✅ new

   🚨 Breaking Changes

  • server: Redesign middleware and handler parameters  -  by @unnoq in #72 (7e55b)
    View changes on GitHub

Don't miss a new orpc release

NewReleases is sending notifications on new releases.