You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
response:sendCreated and sendAccepted are removed. Replace return sendCreated(event, data) with event.response.status = 201; return data; and return sendAccepted(event, data) with event.response.status = 202; return data;. See migration-v6.
app: promote plugin surface to IApp; drop dead error class (#916)
plugin: silent-skip install model; add singleton and singletonByPath flags (#915)
app: app.on() / app.off() / HookName are removed. HandlerOptions.onBefore / onAfter / onError are removed. AppContext no longer accepts a hooks field. RouteEntry / AppRouteEntry / HandlerRouteEntry / RouteEntryType are removed (App now stores Route directly). Sub-apps mounted with use() are snapshot into the parent at mount time; late additions on the child do not propagate.
tighten event.method and event.params typing (#909)
router: drop optional routes from the IRouter contract (#907)
trie: feature-complete trie — method bucketing + native parser, drop path-to-regexp from hot path (#905)
app: track routes on App, add setRouter, narrow IRouter contract
resolve App options at mount time, drop appPath (#904)
MemoizedRouter has been removed. Migrate by dropping the wrapper and (optionally) configuring the new cache option on your router:
Features
app: flatten sub-apps on use(), drop hooks (#912) (1d151cb)