Skip to content

Latest commit

 

History

History
203 lines (116 loc) · 7.2 KB

CHANGELOG.md

File metadata and controls

203 lines (116 loc) · 7.2 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines. https://github.com/jharris4/html-webpack-tags-plugin

3.0.2 (2021-10-30)

Bug Fixes

  • Fix script attributes not being copied when scripts are injected in the head of the html document [#79].

3.0.1 (2021-04-07)

Features

  • Added webpack & html-webpack-plugin to peerDependencies.

3.0.0 (2021-02-03)

Features

  • Updated to support webpack & html-webpack-plugin version 5.

BREAKING CHANGES

  • webpack&html-webpack-plugin version **5`** are now required.
  • Node version >=10 is now required.

2.0.17 (2019-09-23)

Bug Fixes

  • Add typings.d.ts to files in package.json (oops) [#52].

2.0.16 (2019-09-23)

Features

  • Add TypeScript definitions [#52].

2.0.15 (2019-08-20)

Features

  • Renamed the meta option to metas. The plural version is more consistent with the tags, scripts and links options.

2.0.14 (2019-08-20)

Features

  • Add new meta option (default undefined) that allows <meta> tags to be injected.

2.0.13 (2019-06-18)

Bug Fixes

  • Use url.resolve instead of path.join to fix a bug when the publicPath contains //. [#47].

Features

  • Update all dependency packages to latest.

2.0.12 (2019-05-03)

Features

  • Update slash package to 3.0.0.

2.0.11 (2019-05-03)

Features

  • Add new globFlatten tag option (default false) that allows paths to be stripped from glob matched file paths.

2.0.10 (2019-04-27)

Features

  • Add new prependExternals option (default true) that auto-prepends (append: false) any scripts with the external option specified.

2.0.9 (2019-04-24)

Bug Fixes

  • More robust validation logic for all options across the board.

Features

  • Adds support for all top level options to be specified at the tag level.
  • HtmlWebpackTagsPlugin.api now ready for use by any plugins wanting to extend this plugin's options.

2.0.8 (2019-04-23)

Features

  • Adds an api property to the plugin constructor, allowing reuse of option validation by other plugins.

2.0.7 (2019-04-23)

Features

  • Adds stricter/better option validation.

2.0.6 (2019-04-23)

Bug Fixes

2.0.5 (2019-04-23)

Features

  • Adds support for specifying the append option at the tag level.

2.0.4 (2019-04-22)

Features

  • Added browser tests to this package (using puppeteer).

Bug Fixes

  • Fix windows path formatting issues introduced in the 2.x version rewrite. [#44].

2.0.3 (2019-04-19)

Features

  • Adds support for new external script tag options that can control webpack's external config.

2.0.2 (2019-04-19)

Bug Fixes

  • Fix bugs related to renaming the assets option name to tags.

2.0.1 (2019-04-19)

Version 2.0.1 renamed this package from html-webpack-include-assets-plugin to html-webpack-tags-plugin.

BREAKING CHANGES

  • The assets option was renamed to the tags option
  • The asset.assetPath option was renamed to asset.sourcePath

2.0.0 (2019-04-18)

Version 2.0.0 is a full rewrite of this plugin using ES6 instead of ES5 source code.

Bug Fixes

  • More robust logic for separating script vs link tags compared with version `1.0.x
  • More robust logic for injecting attributes into link tags
  • Fix inconsistencies with the hash and publicPath options from version 1.0.x

Features

  • New links and scripts plugin options added as shortcuts for injecting assets without worrying about type or file extension

BREAKING CHANGES

  • Node >= 8.6 is now required due to the use of object spread syntax in the plugin source code
  • append option now defaults to true

1.0.10 (2018-04-12)

This is the last 1.0.x version which supports Node < 8.6.

  • Rename links to cssAssets and improve test coverage (7e78bec)
  • Add selfClosingTag and voidTag to links (97ac502)
  • misc cleanup (6ca39ac)

1.0.9 (2018-04-12)

This version adds support for the links option, similar to the option in version 2.x except href is used instead of path.