Skip to content

Releases: serviejs/throwback

v4.1.0

Choose a tag to compare

@blakeembrey blakeembrey released this 09 Jun 23:00

Changed

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

Remove Context Proxy

Choose a tag to compare

@blakeembrey blakeembrey released this 21 Oct 20:41

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

Choose a tag to compare

@blakeembrey blakeembrey released this 21 May 08:23

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

Choose a tag to compare

@blakeembrey blakeembrey released this 08 May 21:27

Move to @serviejs org

Native Promises

Choose a tag to compare

@blakeembrey blakeembrey released this 18 Jan 18:31

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

Choose a tag to compare

@blakeembrey blakeembrey released this 20 Jun 18:52

Changed

  • Remember to inline source map sources into package

Update `any-promise`

Choose a tag to compare

@blakeembrey blakeembrey released this 11 May 22:11

Changed

  • Updated to any-promise with TypeScript definition support

Remove `resolve` export from README

Choose a tag to compare

@blakeembrey blakeembrey released this 10 May 15:58

Fixed

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

Add Missing `typings.json`

Choose a tag to compare

@blakeembrey blakeembrey released this 07 May 23:38

Fixed

  • Add typings.json to package contents

Add Files To `package.json`

Choose a tag to compare

@blakeembrey blakeembrey released this 07 May 23:38

Changed

  • Added README.md to package.json/files