Changelog

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

# <a href="https://github.com/webpack-contrib/file-loader/compare/v5.1.0...v6.0.0">6.0.0</a> (2020-03-17)

## ⚠ BREAKING CHANGES

- use `md4` by default for hashing (#369) (ad39022)

# <a href="https://github.com/webpack-contrib/file-loader/compare/v5.0.2...v5.1.0">5.1.0</a> (2020-02-19)

## Features

- support the `query` template for the `name` option (#366) (cd8698b)

## <a href="https://github.com/webpack-contrib/file-loader/compare/v5.0.1...v5.0.2">5.0.2</a> (2019-11-25)

## Chore

- add the `funding` field in `package.json`

## <a href="https://github.com/webpack-contrib/file-loader/compare/v5.0.0...v5.0.1">5.0.1</a> (2019-11-25)

## Bug Fixes

- name of `esModule` option in source code (#346) (31d6589)

# <a href="https://github.com/webpack-contrib/file-loader/compare/v4.2.0...v5.0.0">5.0.0</a> (2019-11-22)

## BREAKING CHANGES

- minimum required nodejs version is `10.13.0`
- rename the `esModules` option to `esModule`
- switch to ES modules by default (the option `esModule` is `true` by default)

# <a href="https://github.com/webpack-contrib/file-loader/compare/v4.2.0...v4.3.0">4.3.0</a> (2019-11-21)

## Features

- new `esModules` option to output ES modules (#340) (9b9cd8d)

# <a href="https://github.com/webpack-contrib/file-loader/compare/v4.1.0...v4.2.0">4.2.0</a> (2019-08-07)

## Features

- `postTransformPublicPath` option (#334) (c136f44)

# <a href="https://github.com/webpack-contrib/file-loader/compare/v4.0.0...v4.1.0">4.1.0</a> (2019-07-18)

## Features

- improved validation error messages (#339) (705eed4)

# <a href="https://github.com/webpack-contrib/file-loader/compare/v3.0.1...v4.0.0">4.0.0</a> (2019-06-05)

## chore

- deps: update (#333) (0d2f9b8)

## BREAKING CHANGES

- deps: minimum required nodejs version is `8.9.0`

# <a href="https://github.com/webpack-contrib/file-loader/compare/v3.0.0...v3.0.1">3.0.1</a> (2018-12-20)

## Bug Fixes

- relax options validation for additional properties (#309) (c74d44e)

# <a href="https://github.com/webpack-contrib/file-loader/compare/v2.0.0...v3.0.0">3.0.0</a> (2018-12-20)

### Code Refactoring

- drop support for webpack < 4 (#303) (203a4ee)
- more validations in `options` schema

### Features

- `resourcePath` is now available in `outputPath` and `publicPath` (#304) (0d66e64)
- `context` is now available in `outputPath` and `publicPath` (#305) (d5eb823)

### BREAKING CHANGES

- removed the `useRelativePath` option. It is dangerously and break url when you use multiple entry points.
- drop support for webpack < 4

# <a href="https://github.com/webpack-contrib/file-loader/compare/v1.1.11...v2.0.0">2.0.0</a> (2018-08-21)

### Code Refactoring

- defaults: update to latest webpack-defaults (#268) (687f422)

### BREAKING CHANGES

- defaults: Enforces `engines` of `"node": ">=6.9.0 < 7.0.0 || >= 8.9.0"`

## <a href="https://github.com/webpack/file-loader/compare/v1.1.10...v1.1.11">1.1.11</a> (2018-03-01)

### Reverts

- index: `context` takes precedence over `issuer.context` (`options.useRelativePath`) (#260) (e73131f)

## <a href="https://github.com/webpack/file-loader/compare/v1.1.9...v1.1.10">1.1.10</a> (2018-02-26)

### Bug Fixes

- package: add `webpack >= 4` (`peerDependencies`) (#255) (3a6a7a1)

## <a href="https://github.com/webpack/file-loader/compare/v1.1.8...v1.1.9">1.1.9</a> (2018-02-21)

### Bug Fixes

- index: handle protocol URL's correctly (`options.publicPath`) (#253) (54fa5a3)
- index: use `path.posix` for platform consistency (#254) (2afe0af)

## <a href="https://github.com/webpack/file-loader/compare/v1.1.7...v1.1.8">1.1.8</a> (2018-02-20)

### Bug Fixes

- index: `context` takes precedence over `issuer.context` (`options.useRelativePath`) (3b071f5)
- index: don't append `outputPath` to the original `url` (`options.outputPath` `{Function}`) (4c1ccaa)
- index: normalize and concat paths via `path.join()` (26e47ca)

## <a href="https://github.com/webpack/file-loader/compare/v1.1.6...v1.1.7">1.1.7</a> (2018-02-19)

### Bug Fixes

- index: don't concat `options.outputPath` and `options.publicPath` (#246) (98bf052)

## <a href="https://github.com/webpack/file-loader/compare/v1.1.5...v1.1.6">1.1.6</a> (2017-12-16)

### Bug Fixes

- rootContext compatibility fix for legacy / v4 (#237) (1e4b7cf), closes #237

## <a href="https://github.com/webpack/file-loader/compare/v1.1.4...v1.1.5">1.1.5</a> (2017-10-05)

### Bug Fixes

- schema: allow `name` to be a `{Function}` (`options.name`) (#216) (fbfb160)

## <a href="https://github.com/webpack/file-loader/compare/v1.1.3...v1.1.4">1.1.4</a> (2017-09-30)

### Bug Fixes

- index: revert to CJS exports (#212) (f412b3e)

## <a href="https://github.com/webpack/file-loader/compare/v1.1.2...v1.1.3">1.1.3</a> (2017-09-30)

## <a href="https://github.com/webpack/file-loader/compare/v1.1.1...v1.1.2">1.1.2</a> (2017-09-30)

### Bug Fixes

- cjs: export `raw` value (#183) (daeff0e)

## <a href="https://github.com/webpack/file-loader/compare/v1.1.0...v1.1.1">1.1.1</a> (2017-09-30)

### Bug Fixes

- schema: allow `additionalProperties` (#207) (cf7c85a)

# <a href="https://github.com/webpack/file-loader/compare/v1.0.0...v1.1.0">1.1.0</a> (2017-09-29)

### Features

- add `options` validation (`schema-utils`) (#184) (696ca77)

# <a href="https://github.com/webpack/file-loader/compare/v1.0.0-rc.0...v1.0.0">1.0.0</a> (2017-07-26)

### Bug Fixes

- remove `=` from default export (`SyntaxError`) (#178) (3fe2d12)

### Code Refactoring

- Upgrade to defaults 1.3.0 (#170) (632ed72)
- Apply webpack-defaults (#167) (632ed72)

### BREAKING CHANGES

- Enforces Webpack standard NodeJS engines range. at the time of merge `>= 4.3 < 5.0.0 || >= 5.10`.

# <a href="https://github.com/webpack/file-loader/compare/v1.0.0-beta.1...v1.0.0-rc.0">1.0.0-rc.0</a> (2017-07-26)

### Bug Fixes

- remove `=` from default export (`SyntaxError`) (#178) (3fe2d12)

# <a href="https://github.com/webpack/file-loader/compare/v1.0.0-beta.0...v1.0.0-beta.1">1.0.0-beta.1</a> (2017-06-09)

### Code Refactoring

- Upgrade to defaults 1.3.0 (#170) (632ed72)

# <a href="https://github.com/webpack/file-loader/compare/v0.11.2...v1.0.0-beta.0">1.0.0-beta.0</a> (2017-06-07)

### Code Refactoring

- Apply webpack-defaults (#167) (632ed72)

### BREAKING CHANGES

- Enforces Webpack standard NodeJS engines range. at the time of merge `>= 4.3 < 5.0.0 || >= 5.10`.

## <a href="https://github.com/webpack/file-loader/compare/v0.11.1...v0.11.2">0.11.2</a> (2017-06-05)

### Bug Fixes

- index: allow to override publicPath with an empty string (#145) (26ab81a)
- init `publicPath` to undefined (#159) (e4c0b2a)

## <a href="https://github.com/webpack/file-loader/compare/v0.11.0...v0.11.1">0.11.1</a> (2017-04-01)

### Bug Fixes

- outputPath function overriden by useRelativePath (#139) (80cdee2)

# <a href="https://github.com/webpack/file-loader/compare/v0.10.1...v0.11.0">0.11.0</a> (2017-03-31)

### Features

- Emit files with relative urls (#135) (dbcd6cc)

## <a href="https://github.com/webpack/file-loader/compare/v0.10.0...v0.10.1">0.10.1</a> (2017-02-25)

### Bug Fixes

- getOptions: deprecation warn in loaderUtils (#129) (a8358a0)

# <a href="https://github.com/webpack/file-loader/compare/v0.9.0...v0.10.0">0.10.0</a> (2017-01-28)

### Features

- resources: specify custom public file name (6833c70)

# Change Log

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