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
ctxargument which improves TypeScript inference - Allow
next(ctx?)to accept an optional argument which replaces thectxdown the stack- Enables cool applications such as HTTP request retries which you clone the
reqeach time
- Enables cool applications such as HTTP request retries which you clone the
- Support
debugmode 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-promisewith TypeScript definition support
Remove `resolve` export from README
Fixed
- Remove
resolvefrom README, it was an earlier implementation detail that never released
Add Missing `typings.json`
Fixed
- Add
typings.jsonto package contents
Add Files To `package.json`
Changed
- Added
README.mdtopackage.json/files