Skip to content

Releases: serviejs/throwback

v4.1.0

09 Jun 23:00
Compare
Choose a tag to compare

Changed

  • Remove configurable debugMode in favor of NODE_ENV only (reduces bundle in browsers)

Remove Context Proxy

21 Oct 20:41
Compare
Choose a tag to compare

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)

Simple Arguments

21 May 08:23
Compare
Choose a tag to compare

Changed

  • Only accepts a single ctx argument which improves TypeScript inference
  • Allow next(ctx?) to accept an optional argument which replaces the ctx down the stack
    • Enables cool applications such as HTTP request retries which you clone the req each time
  • Support debug mode that is skipped in production to provide helpful debug errors during development

Move to @serviejs org

08 May 21:27
Compare
Choose a tag to compare

Native Promises

18 Jan 18:31
Compare
Choose a tag to compare

Changed

  • Remove any-promise, rely on native global Promise
  • Add TypeScript function overloads for better types (unfortunately they are overloads until TypeScript supports type arity)

Inline Package Sources

20 Jun 18:52
Compare
Choose a tag to compare

Changed

  • Remember to inline source map sources into package

Update `any-promise`

11 May 22:11
Compare
Choose a tag to compare

Changed

  • Updated to any-promise with TypeScript definition support

Remove `resolve` export from README

10 May 15:58
Compare
Choose a tag to compare

Fixed

  • Remove resolve from README, it was an earlier implementation detail that never released

Add Missing `typings.json`

07 May 23:38
Compare
Choose a tag to compare

Fixed

  • Add typings.json to package contents

Add Files To `package.json`

07 May 23:38
Compare
Choose a tag to compare

Changed

  • Added README.md to package.json/files