Releases: serviejs/throwback
Releases · serviejs/throwback
v4.1.0
Remove Context Proxy
Changed
- Disable ability to call
next(ctx)
- Recommend that if you still need this, promote writing a wrapper function that takes
(fn) => (ctx, next) => fn(ctx.clone(), next)
- Recommend that if you still need this, promote writing a wrapper function that takes
Simple Arguments
Changed
- Only accepts a single
ctx
argument which improves TypeScript inference - Allow
next(ctx?)
to accept an optional argument which replaces thectx
down the stack- Enables cool applications such as HTTP request retries which you clone the
req
each time
- Enables cool applications such as HTTP request retries which you clone the
- Support
debug
mode that is skipped in production to provide helpful debug errors during development
Move to @serviejs org
Move to @serviejs org
Native Promises
Changed
- Remove
any-promise
, rely on native globalPromise
- Add TypeScript function overloads for better types (unfortunately they are overloads until TypeScript supports type arity)
Inline Package Sources
Changed
- Remember to inline source map sources into package
Update `any-promise`
Changed
- Updated to
any-promise
with TypeScript definition support
Remove `resolve` export from README
Fixed
- Remove
resolve
from README, it was an earlier implementation detail that never released
Add Missing `typings.json`
Fixed
- Add
typings.json
to package contents
Add Files To `package.json`
Changed
- Added
README.md
topackage.json/files