UNPKG

6.72 kBMarkdownView Raw
1Change History
2==============
3
4v2.24.1
5---
6* Hide event deprecated warning of 'applyPluginsAsyncWaterfall' for html-webpack-plugin-after-emit and improve the warning message.
7
8v2.24.0
9---
10* Update dependencies
11* Add deprecate warning for plugins not returning a result
12* Add [path] for favicons
13
14v2.23.0
15---
16* Update dependencies
17* Stop automated tests for webpack 2 beta because of #401
18
19v2.22.0
20---
21* Update dependencies
22
23v2.21.1
24---
25* Better error handling (#354)
26
27v2.21.0
28----
29* Add `html-webpack-plugin-alter-asset-tags` event to allow plugins to adjust the script/link tags
30
31v2.20.0
32----
33* Exclude chunks works now even if combined with dependency sort
34
35v2.19.0
36----
37* Add `html-webpack-plugin-alter-chunks` event for custom chunk sorting and interpolation
38
39v2.18.0
40----
41* Updated all dependencies
42
43v2.17.0
44----
45* Add `type` attribute to `script` element to prevent issues in Safari 9.1.1
46
47v2.16.2
48----
49* Fix bug introduced by 2.16.2. Fixes #315
50
51v2.16.1
52----
53* Fix hot module replacement for webpack 2.x
54
55v2.16.0
56----
57* Add support for dynamic filenames like index[hash].html
58
59v2.15.0
60----
61* Add full unit test coverage for the webpack 2 beta version
62* For webpack 2 the default sort will be 'dependency' instead of 'id'
63* Upgrade dependencies
64
65v2.14.0
66----
67* Export publicPath to the template
68* Add example for inlining css and js
69
70v2.13.0
71----
72* Add support for absolute output file names
73* Add support for relative file names outside the output path
74
75v2.12.0
76----
77* Basic Webpack 2.x support #225
78
79v2.11.0
80----
81* Add `xhtml` option which is turned of by default. When activated it will inject self closed `<link href=".." />` tags instead of unclosed `<link href="..">` tags. https://github.com/ampedandwired/html-webpack-plugin/pull/255
82* Add support for webpack placeholders inside the public path e.g. `'/dist/[hash]/'`. https://github.com/ampedandwired/html-webpack-plugin/pull/249
83
84v2.10.0
85----
86* Add `hash` field to the chunk object
87* Add `compilation` field to the templateParam object (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/237)
88* Add `html-webpack-plugin-before-html-generation` event
89* Improve error messages
90
91v2.9.0
92----
93* Fix favicon path (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/185, https://github.com/ampedandwired/html-webpack-plugin/issues/208, https://github.com/ampedandwired/html-webpack-plugin/pull/215 )
94
95v2.8.2
96----
97* Support relative URLs on Windows (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/205 )
98
99v2.8.1
100----
101* Caching improvements (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/204 )
102
103v2.8.0
104----
105* Add `dependency` mode for `chunksSortMode` to sort chunks based on their dependencies with each other
106
107v2.7.2
108----
109* Add support for require in js templates
110
111v2.7.1
112----
113* Refactoring
114* Fix relative windows path
115
116v2.6.5
117----
118* Minor refactoring
119
120v2.6.4
121----
122* Fix for `"Uncaught TypeError: __webpack_require__(...) is not a function"`
123* Fix incomplete cache modules causing "HtmlWebpackPlugin Error: No source available"
124* Fix some issues on Windows
125
126v2.6.3
127----
128* Prevent parsing the base template with the html-loader
129
130v2.6.2
131----
132* Fix `lodash` resolve error (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/172 )
133
134v2.6.1
135----
136* Fix missing module (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/164 )
137
138v2.6.0
139----
140* Move compiler to its own file
141* Improve error messages
142* Fix global HTML_WEBPACK_PLUGIN variable
143
144v2.5.0
145----
146* Support `lodash` template's HTML _"escape"_ delimiter (`<%- %>`)
147* Fix bluebird warning (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/130 )
148* Fix an issue where incomplete cache modules were used
149
150v2.4.0
151----
152* Don't recompile if the assets didn't change
153
154v2.3.0
155----
156* Add events `html-webpack-plugin-before-html-processing`, `html-webpack-plugin-after-html-processing`, `html-webpack-plugin-after-emit` to allow other plugins to alter the html this plugin executes
157
158v2.2.0
159----
160* Inject css and js even if the html file is incomplete (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/135 )
161* Update dependencies
162
163v2.1.0
164----
165* Synchronize with the stable `@1` version
166
167v2.0.4
168----
169* Fix `minify` option
170* Fix missing hash interpolation in publicPath
171
172v2.0.3
173----
174* Add support for webpack.BannerPlugin
175
176v2.0.2
177----
178* Add support for loaders in templates (fixes https://github.com/ampedandwired/html-webpack-plugin/pull/41 )
179* Remove `templateContent` option from configuration
180* Better error messages
181* Update dependencies
182
183
184v1.7.0
185----
186* Add `chunksSortMode` option to configuration to control how chunks should be sorted before they are included to the html
187* Don't insert async chunks into html (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/95 )
188* Update dependencies
189
190v1.6.2
191----
192* Fix paths on Windows
193* Fix missing hash interpolation in publicPath
194* Allow only `false` or `object` in `minify` configuration option
195
196v1.6.1
197----
198* Add `size` field to the chunk object
199* Fix stylesheet `<link>`s being discarded when used with `"inject: 'head'"`
200* Update dependencies
201
202v1.6.0
203----
204* Support placing templates in subfolders
205* Don't include chunks with undefined name (fixes https://github.com/ampedandwired/html-webpack-plugin/pull/60 )
206* Don't include async chunks
207
208v1.5.2
209----
210* Update dependencies (lodash)
211
212v1.5.1
213----
214* Fix error when manifest is specified (fixes https://github.com/ampedandwired/html-webpack-plugin/issues/56 )
215
216v1.5.0
217----
218* Allow to inject javascript files into the head of the html page
219* Fix error reporting
220
221v1.4.0
222----
223* Add `favicon.ico` option
224* Add html minifcation
225
226v1.2.0
227------
228* Set charset using HTML5 meta attribute
229* Reload upon change when using webpack watch mode
230* Generate manifest attribute when using
231 [appcache-webpack-plugin](https://github.com/lettertwo/appcache-webpack-plugin)
232* Optionally add webpack hash as a query string to resources included in the HTML
233 (`hash: true`) for cache busting
234* CSS files generated using webpack (for example, by using the
235 [extract-text-webpack-plugin](https://github.com/webpack/extract-text-webpack-plugin))
236 are now automatically included into the generated HTML
237* More detailed information about the files generated by webpack is now available
238 to templates in the `o.htmlWebpackPlugin.files` attribute. See readme for more
239 details. This new attribute deprecates the old `o.htmlWebpackPlugin.assets` attribute.
240* The `templateContent` option can now be a function that returns the template string to use
241* Expose webpack configuration to templates (`o.webpackConfig`)
242* Sort chunks to honour dependencies between them (useful for use with CommonsChunkPlugin).