Skip to content

Latest commit

 

History

History
172 lines (82 loc) · 6.02 KB

CHANGELOG.md

File metadata and controls

172 lines (82 loc) · 6.02 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

6.0.0 (2024-01-15)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 18.12.0 (#151) (ed762dc)

5.0.1 (2022-11-29)

Bug Fixes

5.0.0 (2022-05-17)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 14.15.0

4.0.0 (2021-05-14)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 12.13.0

3.1.0 (2021-03-01)

Features

  • added the buildDependensies option (#63) (04be3eb)
  • added the executableFile option (#65) (b46090f)
  • support ECMA modules for the executableFile option (#66) (1e6675f)

3.0.0 (2020-12-22)

⚠ BREAKING CHANGES

  • minimum supported webpack version is 5

2.1.2 (2020-10-09)

Chore

  • update schema-utils

2.1.1 (2020-04-09)

Chore

  • update deps

2.1.0 (2019-12-17)

Features

  • pass loaderContext as 2nd parameter (#47) (cd5dd47)

2.0.2 (2019-11-25)

Chore

  • add the funding field in package.json

2.0.1 (2019-11-19)

Bug Fixes

2.0.0 (2019-11-14)

Bug Fixes

  • support webpack@5

Features

  • better handle errors from a module
  • pass module.parent to a module
  • validate loader options

BREAKING CHANGES

  • minimum supported node version is 10.13.0
  • minimum supported webpack version is 4.0.0

1.1.1 (2018-06-21)

Bug Fixes

1.1.0 (2017-11-19)

Features

  • add support for contextDependencies in the {Object} interface (options.contextDependencies) (#23) (78aa6fe)

1.0.2 (2017-03-21)

Bug Fixes

  • .babelrc: enable modules (b0b116a)

1.0.1 (2017-03-20)

Bug Fixes

1.0.0 (2017-03-16)

Features

  • change expected module API (caf2aab)

BREAKING CHANGES

  • this commit introduces a major refactoring of the loader.
  • remove node 0.10 and node 0.12 support
  • the loaded module must now export a function
  • this function will be called with the loader options
  • this function must return an object with this structure
Property Type Description
code `string Buffer`
sourceMap SourceMap Optional. Will be pased to the next loader or to webpack.
ast any Optional. An Abstract Syntax Tree that will be passed to the next loader. Useful to speed up the build time if the next loader uses the same AST.
dependencies Array<string> Default: []. An array of absolute, native paths to file dependencies that need to be watched for changes.
cacheable boolean Default: false. Flag whether the code can be re-used in watch mode if none of the dependencies have changed.
  • the function may also return a promise for async results
  • switch tooling to webpack-defaults