Skip to content

Releases: webpack/tapable

v2.3.0

02 Oct 11:46

Choose a tag to compare

Features

  • [TYPES] Added TypedHookMap type.

v2.2.3

22 Aug 16:27

Choose a tag to compare

Fixes

  • Async hook catch an error when reject a falsy value
  • [typescript] Support to pass return type for waterfall hooks

v2.2.2

19 May 17:53

Choose a tag to compare

Developer Experience

  • add interceptors type to hook class

v2.2.1

13 Sep 09:56

Choose a tag to compare

Developer Experience

  • fix some incorrect typings

v2.2.0

04 Dec 13:58

Choose a tag to compare

Features

  • add basic support for in browser usage
    • avoid arrow functions in favor of normal functions

Performance

  • flag functions in good path for eager parsing

v2.1.1

09 Nov 10:29

Choose a tag to compare

Bugfix

  • add workaround for jsdoc-style typescript bug

v2.1.0

09 Nov 09:30

Choose a tag to compare

Features

  • allow custom options for taps

Bugfixes

  • fix types for interceptor.register

v2.0.0

17 Sep 23:39

Choose a tag to compare

Features

  • Ship with typings
  • add name argument to give a Hook a name
  • add done, result and error intercept points to the intercept API

Bugfixes

  • Avoid stack overflow while series hook compilation
  • Exclude tests from npm package
  • remove duplicate semicolon in generated code
  • fixes a stack overflow when adding too many plugins to a sync hook

Performance

  • refactor hooks to reduce number of hidden maps in methods

Deprecations

  • remove deprecated Tapable class
  • Deprecate context option
  • Deprecate tap etc. for HookMap

Internal

  • Upgrade dev dependencies
  • Add linting step to CI

v2.0.0-beta.11

15 May 13:31

Choose a tag to compare

v2.0.0-beta.11 Pre-release
Pre-release

Bugfixes

  • fixes a stack overflow when adding too many plugins to a sync hook

v2.0.0-beta.10

10 Mar 17:43

Choose a tag to compare

v2.0.0-beta.10 Pre-release
Pre-release

Bugfixes

  • fix null and undefined types for callbacks
  • remove duplicate semicolon in generated code