1 | # Change Log
|
2 |
|
3 | All notable changes to this project will be documented in this file.
|
4 |
|
5 | The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
6 | and this project adheres to [Semantic Versioning](http://semver.org/).
|
7 |
|
8 | ## Unreleased
|
9 |
|
10 |
|
11 | ## 3.0.0 - 2017-07-14
|
12 | - BREAKING: The following changes support polymer 2.x, but will break some Polymer 1.x projects which may rely on the rewriting of relative urls within style tags. For those projects, set the `rewriteUrlsInTemplates` option to `true` or use `--rewriteUrlsInTemplates` at command-line.
|
13 | - Fixed [issue #579](https://github.com/Polymer/polymer-bundler/issues/579) where `url()` values inside `<style>` tags inside of `<dom-module>` tags of inlined html imports were rewritten without consideration of the module's `assetpath` property.
|
14 | - Fixed issue when stylesheet imports are inlined inside of a `<dom-module>` the url resolution now takes into consideration the `assetpath`.
|
15 |
|
16 | ## 2.3.1 - 2017-07-13
|
17 | - Rolling back these changes from 2.3.0 release which break polymer 1.x bundling case and going to release them in polymer-bundler 3.x because they are breaking changes:
|
18 | - Fixed [issue #579](https://github.com/Polymer/polymer-bundler/issues/579) where `url()` values inside `<style>` tags inside of `<dom-module>` tags of inlined html imports were rewritten without consideration of the module's `assetpath` property.
|
19 | - Fixed issue when stylesheet imports are inlined inside of a `<dom-module>` the url resolution now takes into consideration the `assetpath`.
|
20 |
|
21 | ## 2.3.0 - 2017-07-12
|
22 | - Fixed issue where inlined `<link rel="import" type="css" ...>` "stylesheet imports" (deprecated but still supported) were inlined in reverse order. Fixes [issue #575](https://github.com/Polymer/polymer-bundler/issues/575).
|
23 | - Added a `missingImports` property to the `Bundle` class (part of the `BundleManifest`).
|
24 | - The JSON generated by `--manifest-out` now includes a `_missing` url collection when any are encountered that could not be loaded.
|
25 | - Added missing `--rewrite-urls-in-templates` option to `bin/polymer-bundler`.
|
26 | - Fixed issue where HTML imports which were not inlined, because they matched an entry in the `excludes` option, were being erroneously added to the bundle's `missingImports` set.
|
27 | - Fixed [issue #579](https://github.com/Polymer/polymer-bundler/issues/579) where `url()` values inside `<style>` tags inside of `<dom-module>` tags of inlined html imports were rewritten without consideration of the module's `assetpath` property.
|
28 | - Fixed issue when stylesheet imports are inlined inside of a `<dom-module>` the url resolution now takes into consideration the `assetpath`.
|
29 |
|
30 | ## 2.2.0 - 2017-06-28
|
31 | - Fixed issue where bundles produced by shell strategy incorrectly included eager html imports of the shell. https://github.com/Polymer/polymer-bundler/issues/471
|
32 | - Fixed the `--inline-scripts` and `--inline-css` options, previously inlining happened regardless of whether the options were actually set. Important, if you use the `bin/polymer-bundler` CLI you must provide these options to inline scripts and css now.
|
33 | - Fixed issue producing assetpath in application root. https://github.com/Polymer/polymer-bundler/issues/562
|
34 | - Fixed issue where absolute paths were not handled properly. https://github.com/Polymer/polymer-bundler/issues/559
|
35 | - Fixed issue where out-dir was essentially ignored for a single bundle case. https://github.com/Polymer/polymer-bundler/issues/560
|
36 | - Fixed issue where, if a different version of polymer-analyzer was given to Bundler's constructor, it caused instanceof check failures and resulting in documents not being identified as documents; added more definitive error messaging for this scenario as stop-gap until we switch to a no instanceof version of polymer-analyzer interface.
|
37 |
|
38 | ## 2.1.0 - 2017-06-14
|
39 | - Added a `--redirect` option to `bin/polymer-bundler`.
|
40 | - Added a `--root` option to `bin/polymer-bundler`.
|
41 | - Added support for preserving important comments of the form `<!--! ... -->` when using `stripComments`.
|
42 | - The `excludes` option now supports excluding specific script and css file and containing folder urls.
|
43 | - The `stripComments` behavior now removes comments inside templates.
|
44 | - Fixed issue with incorrect URL rewrites in inlined CSS (when URL points outside of the package root). https://github.com/Polymer/polymer-bundler/issues/531
|
45 | - Fixed error when generating source maps due to original line or column not being available. https://github.com/Polymer/polymer-bundler/issues/516
|
46 | - Fixed `--manifest-out` option to include inlined scripts and styles and emit during single bundle cases. https://github.com/Polymer/polymer-bundler/issues/549 and https://github.com/Polymer/polymer-bundler/issues/550
|
47 |
|
48 | ## 2.0.3 - 2017-06-07
|
49 | - Fixed issue with lazy-imports impacting bundle inlining logic. https://github.com/Polymer/polymer-bundler/issues/536
|
50 | - Fixed issue with hidden div being created inside dom-modules. https://github.com/Polymer/polymer-bundler/issues/535
|
51 | - Fixed issue with injected dependencies inside dom-modules in shell when using lazy-imports. https://github.com/Polymer/polymer-bundler/issues/534
|
52 |
|
53 | ## 2.0.2 - 2017-06-02
|
54 | - In cases such as the shell merge strategy, imports which are not originally
|
55 | part of the shell are now inserted before other imports which are dependent
|
56 | on them. Fixes https://github.com/Polymer/polymer-bundler/issues/517.
|
57 |
|
58 | ## 2.0.1 - 2017-05-19
|
59 | - Don't include the `by-polymer-bundler` hidden div in bundled files
|
60 | if it is empty.
|
61 |
|
62 | ## 2.0.0 - 2017-05-18
|
63 | - Official 2.0.0 release of polymer-bundler! 🎉
|
64 | - Fixed a bug with url-rewriting in cases where base urls provided
|
65 | has mix of relative and absolute pathnames.
|
66 |
|
67 | ## 2.0.0-pre.18 - 2017-05-15
|
68 | - Updated dependency on `polymer-analyzer` to ^2.0.0 now that it is
|
69 | out of alpha.
|
70 |
|
71 | ## 2.0.0-pre.17 - 2017-05-11
|
72 | - BREAKING: Bundler's `bundle()` method now returns a `BundleResult`
|
73 | instead of just a document collection. It does this to include a
|
74 | copy of the provided manifest, where each bundle includes a record
|
75 | of the sets of imports which were inlined during bundling.
|
76 |
|
77 | ## 2.0.0-pre.16 - 2017-05-10
|
78 | - Fixed issue where an inlined import's `<link rel="lazy-import">` href
|
79 | was being adjusted, but should not be adjusted when governed by the
|
80 | containing dom-module's assetpath.
|
81 |
|
82 | ## 2.0.0-pre.15 - 2017-05-08
|
83 | - Fixed case where an inlined import's `<link rel="lazy-import">` tags
|
84 | were being moved.
|
85 | - Updated `polymer-analyzer` to latest version.
|
86 |
|
87 | ## 2.0.0-pre.14 - 2017-05-03
|
88 | - BREAKING: Bundler options now include `strategy` and `urlMapper`. These
|
89 | have been moved out from the `generateManifest` method which now only
|
90 | takes the `entrypoints` array. If you had code that used this method,
|
91 | you'll need to move those parameters to your `new Bundler({...})` call.
|
92 | - Added new url mapper functions to make customizing destination of shared
|
93 | bundle files easier: `generateSharedBundleUrlMapper` and
|
94 | `generateCountingSharedBundleUrlMapper` in `src/build-manifest`.
|
95 | - Fixed an issue where `<link rel="lazy-import">` tags were being moved
|
96 | out of their containing `<dom-module>` tags.
|
97 | - Export all of the bundle manifest types and functions on the default
|
98 | namespace of `polymer-bundler`.
|
99 |
|
100 | ## 2.0.0-pre.13 - 2017-05-01
|
101 | - BREAKING: Bundler now supports "lazy imports" aka `<link rel="lazy-import">`.
|
102 | URLs which are imported lazily are implicitly treated as entrypoints. This
|
103 | is a breaking change because, previously, Bundler would incorrectly treat
|
104 | lazy imports just like regular imports.
|
105 | - BREAKING: Bundler now inlines Scripts and CSS by default. Pass `inlineCss`
|
106 | and `inlineScripts` as `false` explicitly to disable.
|
107 | - Fixed an issue where `exclude` option did not actually support folder names.
|
108 |
|
109 | ## 2.0.0-pre.12 - 2017-04-14
|
110 | - BREAKING: Public API change. The `bundle()` method now takes a manifest
|
111 | instead of entrypoints, strategy and mapper. To produce a manifest,
|
112 | use new public method `generateManifest()`.
|
113 | - The polymer-bundler CLI now uses the current working directory as
|
114 | the package root folder for its Analyzer, allowing absolute paths to
|
115 | resolve properly.
|
116 | - Fixed an issue where an immediate `<style>` child of `<dom-module>` was
|
117 | not moved into generated `<template>`.
|
118 | - BREAKING: Added option `rewriteUrlsInTemplates` to support rewriting of urls
|
119 | found in `src`, `href`, `action`, `assetpath` and `style` attributes
|
120 | found inside `<template>` elements, when inlining html imports. Previously,
|
121 | this was done by default. Now requires explicit option.
|
122 | - BREAKING: inlinining functions in `import-utils` require an explicit
|
123 | `analyzer` argument.
|
124 | - BREAKING: Dropped support for node v4, added support for node v8. See our
|
125 | [node version support policy]
|
126 | (https://www.polymer-project.org/2.0/docs/tools/node-support) for details.
|
127 | - Fixed an issue where bundler was adding `<html>`, `<head>`, and `<body>` tags
|
128 | to documents that didn't have them.
|
129 | - Removed unused/not-implemented options from the polymer-bundler CLI and
|
130 | corresponding `Bundler` options: `strip-exclude`, `no-implicit-strip` and
|
131 | `redirect`.
|
132 | - Corrected the CLI usage output.
|
133 | - Corrected the README.
|
134 |
|
135 | ## 2.0.0-pre.11 - 2017-03-20
|
136 | - Bump dependency on analyzer
|
137 |
|
138 | ## 2.0.0-pre.10 - 2017-03-15
|
139 | - Add a sourcemap option to properly handle or create sourcemaps for
|
140 | script tags
|
141 |
|
142 | ## 2.0.0-pre.9 - 2017-03-07
|
143 | - Bump dependency on analyzer
|
144 |
|
145 | ## 2.0.0-pre.8 - 2017-03-03
|
146 | - Uses `polymer-analyzer` directly to obtain import document sources and
|
147 | ASTs. This enforces agreement with the Analyzer as to which documents
|
148 | should be inlined/bundled.
|
149 | - Fixes issue where protocol-less URLs (those that start with `//`) were
|
150 | treated as absolute paths.
|
151 | - Renamed/refactored to draw a clearer distinction between ASTs and
|
152 | documents.
|
153 | - Fixes issue where absolute paths in urls would be rewritten in unexpected
|
154 | ways because they were not resolved by the same url resolver rules used
|
155 | by the Analyzer.
|
156 |
|
157 | ## 2.0.0-pre.7 - 2017-03-03
|
158 | - Bump dependency on analyzer.
|
159 |
|
160 | ## 2.0.0-pre.6 - 2017-02-17
|
161 | - Handle `<base href="...">` values correctly when inlining imports.
|
162 | - Apply `<base target="...">` to links and forms in the same document as
|
163 | appropriate.
|
164 | - License comments are deduplicated properly now.
|
165 | - Server-Side Include comments `<!--# ... -->` are no longer stripped.
|
166 | - Fixed a bug where element attributes inside `<template>` tags were not
|
167 | being rewritten when html imports were inlined.
|
168 |
|
169 | ## 2.0.0-pre.5 - 2017-02-14
|
170 | - Handle base tags when resolving the dependency graph of imports.
|
171 |
|
172 | ## 2.0.0-pre.4 - 2017-02-06
|
173 | - Fixed a bug where bundling using generateShellMergeStrategy would result in
|
174 | builds missing imports which should have been appended to shell.
|
175 |
|
176 | ## 2.0.0-pre.3 - 2017-01-31
|
177 | - Changed the way bundle documents are generated, so that bundles based on a
|
178 | source file retain their HTML structure instead of always being synthesized
|
179 | from a blank document.
|
180 | - bundle() is the only public method on Bundler class now.
|
181 | - Bundler does not explicitly throw an error if it spots a `<polymer-element>`
|
182 | somewhere in a document.
|
183 | - `--add-import` and `--importUrl` options have been removed. These features,
|
184 | as expressed, need to be conceptually reworked to work in bundler's new
|
185 | multi-bundle paradigm.
|
186 | - `--abspath`/`basePath` have been removed, anticipating their reimplementation
|
187 | in `polymer-build`. https://github.com/polymer/polymer-build/issues/117
|
188 |
|
189 | ## 2.0.0-pre.2 - 2017-01-17
|
190 | - Minor API difference the way Bundler class is exported to make it import
|
191 | friendly.
|
192 | - Reduced set of files in published package.
|
193 |
|
194 | ## 2.0.0-pre.1 - 2017-01-17
|
195 | - Complete rewrite of codebase in Typescript and changed from hydrolysis to
|
196 | polymer-analyzer.
|
197 | - Built-in support for build sharding.
|
198 | - Optionally generates a manifest of each bundle's imports.
|
199 |
|
200 | ## 1.16.0 - 2017-07-14
|
201 | - Fix erroneously reverse-order inlining of style imports `<link rel="import" type="css">`.
|
202 | - Added `--polymer2` flag that changes some of the rewriting behaviors to support the fact that Polymer 2.x honors the `assetpath` of `<dom-module>` when interpreting style urls:
|
203 | - Disables rewriting urls in inlined html imports containing `<style>` tags inside `<dom-module>` containers.
|
204 | - Include consideration of container `<dom-module>` `assetpath` property when rewriting urls inside inlined style imports.
|
205 |
|
206 | ## 1.15.5 - 2017-06-01
|
207 | - Add --out-request-list to bin/vulcanize help message
|
208 |
|
209 | ## 1.15.4 - 2017-03-21
|
210 | - `excludes` option now honors JavaScript asset references:
|
211 | - Won't attempt to load the JS (which caused errors when local file not present.)
|
212 | - Won't inline excluded JS files.
|
213 | - Added --out-request-list option, which writes a list of request URLs required
|
214 | to vulcanize `<html file>` to a given file on success.
|
215 |
|
216 | ## 1.15.3 - 2017-01-17
|
217 | - Fix for how paths are rewritten in nested import scenarios where paths to same
|
218 | directory were ignored instead of treated as "." for relative path.
|
219 |
|
220 | ## 1.15.2 - 2016-12-16
|
221 | - Fix for how assetpath is set when in the same directory, where assetpath attribute
|
222 | for components in same directly were incorrectly set to "/".
|
223 |
|
224 | ## 1.15.1 - 2016-12-16
|
225 | - Amended README and minor text fixes to CHANGELOG post release.
|
226 |
|
227 | ## 1.15.0 - 2016-12-16
|
228 | - Fixed: Preserve style ordering when moving imports and links out of head tag.
|
229 | - Don't actually move anything out of head until an html import is encountered.
|
230 |
|
231 | ## 1.14.12 - 2016-11-16
|
232 | - Removed update-notifier dependency and functionality
|
233 | - Fixed: Stopped moving links with certain rels out of the head tag to avoid breaking
|
234 | favicons, manifests, and other such features.
|
235 | - Speed enhancements
|
236 |
|
237 | ## 1.14.11 - 2016-04-11
|
238 | - Radically simpler inlining design. Move all imports and scripts into document
|
239 | body, replace imports inline.
|
240 | - Add tests for more complicated inlining scenarios
|
241 |
|
242 | ## 1.14.10 - 2016-04-07
|
243 | - Must use path resolution when moving `<head>` nodes
|
244 |
|
245 | ## 1.14.9 - 2016-04-05
|
246 | - Try harder to preserve script ordering, move nodes from `<head>` of current
|
247 | document into import inlining fragment
|
248 |
|
249 | ## 1.14.8 - 2016-03-24
|
250 | - Undo hydrolysis inlining scripts
|
251 |
|
252 | ## 1.14.7 - 2016-03-01
|
253 | - Fix inlining for firebase and other scripts that use `\\x3c/script` syntax
|
254 | when making more scripts
|
255 |
|
256 | ## 1.14.6 - 2016-02-23
|
257 | - Make sure `@license` comments always are maintained
|
258 |
|
259 | ## 1.14.5 - 2016-01-21
|
260 | - Fix dom5 dependency to 1.3+
|
261 |
|
262 | ## 1.14.4 - 2016-01-21
|
263 | - Make sure `<link rel="import type="css">` inlining is placed into a
|
264 | `<dom-module>`'s `<template>`
|
265 |
|
266 | ## 1.14.3 - 2016-01-19
|
267 | - Fix for trailing slash in `<base>` tag
|
268 |
|
269 | ## 1.14.2 - 2016-01-19
|
270 | - Fix paths when preserving execution order moves scripts to body
|
271 |
|
272 | ## 1.14.1 - 2016-01-14
|
273 | - Escape inline scripts
|
274 | - Strip Excludes fixed to have higher precedence than Excludes
|
275 | - Fix script execution order with imports, once and for all!
|
276 |
|
277 | ## 1.14.0 - 2015-10-20
|
278 | - Add `output` option to write file from CLI
|
279 |
|
280 | ## 1.13.1
|
281 | - Strip Excludes should be fuzzy
|
282 |
|
283 | ## 1.13.0
|
284 | - Support custom hydrolysis file loaders
|
285 |
|
286 | ## 1.12.3
|
287 | - Make sure `excludes` works with `redirects`
|
288 |
|
289 | ## 1.12.2
|
290 | - Fix CLI spelling of `redirects`
|
291 |
|
292 | ## 1.12.1
|
293 | - Fix misspelling of `redirects` in library options
|
294 |
|
295 | ## 1.12.0
|
296 | - New `--redirect` flag and `redirect` argument to set up custom path mappings
|
297 |
|
298 | ## 1.11.0
|
299 | - New `-add-import` flag and `addedImports` argument to add additional imports
|
300 | to the target file.
|
301 | - Copy `@media` queries on external CSS files into inlined styles.
|
302 | - Fix excluding css files from computing dependencies.
|
303 |
|
304 | ## 1.10.5
|
305 | - Fix a dumb unix path assumption for --inline-scripts and --inline-css +
|
306 | absolute paths on windows.
|
307 |
|
308 | ## 1.10.4
|
309 | - Fix excludes for js files and folders
|
310 |
|
311 | ## 1.10.3
|
312 | - Fix regression in --strip-comments from 1.9.0
|
313 |
|
314 | ## 1.10.2
|
315 | - Use URLs internally until calling hydrolysis
|
316 | - Fixes a bunch of inline issues for Windows
|
317 |
|
318 | ## 1.10.1
|
319 | - Typecheck inputs in library usage
|
320 | - Fix README to say that `stripExcludes` is an Array not a Boolean
|
321 |
|
322 | ## 1.10.0
|
323 | - Add `inputUrl` option to work around grunt and gulp plugins providing
|
324 | filepaths that cannot be used as URLs to `vulcanize.process()`
|
325 |
|
326 | ## 1.9.3
|
327 | - Fix abspath bug on windows machines
|
328 |
|
329 | ## 1.9.2
|
330 | - Use new class API in binary
|
331 | - Update dependencies
|
332 |
|
333 | ## 1.9.1
|
334 | - Fix `implicitStrip` in new Class based API
|
335 |
|
336 | ## 1.9.0
|
337 | - New class based API:
|
338 | ```js
|
339 | var Vulcanize = require('vulcanize');
|
340 |
|
341 | var vulcan = new Vulcanize(options);
|
342 | vulcan.process(...);
|
343 | ```
|
344 | - `vulcanize.setOptions` and `vulcanize.process` are deprecated
|
345 | ## 1.8.1
|
346 | - Bump hydrolysis to 1.12.0 with proper ordering
|
347 |
|
348 | ## 1.8.0
|
349 | - Make stripComments work more reliably
|
350 |
|
351 | ## 1.7.1
|
352 | - Don't try to inline styles from external sources
|
353 |
|
354 | ## 1.7.0
|
355 | - Inline link[rel="stylesheet"] css as well as polymer import stylesheets
|
356 |
|
357 | ## 1.6.0
|
358 | - Update usage of private API of hydrolysis
|
359 | - Correctly set 'implicit strip' option when used programatically
|
360 |
|
361 | ## 1.5.1
|
362 | - Ignore external (http and https) resources from inlining
|
363 |
|
364 | ## 1.5.0
|
365 | - Error on the use of old Polymer elements. Vulcanize 0.7.x is the last version
|
366 | that will handle < Polymer 0.8.
|
367 | - Rewrite urls for inlined styles
|
368 |
|
369 | ## 1.4.4
|
370 | - Make sure excluded js files are totally removed (they inserted blank script
|
371 | tags)
|
372 |
|
373 | ## 1.4.3
|
374 | - Update dependencies and docs
|
375 | - Dependency update fixes cyclic dependencies
|
376 |
|
377 | ## 1.4.2
|
378 | - Fix URL rewriting from parts of imports that end up in `<body>`
|
379 |
|
380 | ## 1.4.1
|
381 | - `--implicit-strip` is default
|
382 | - Remove "comment normalization" when stripping, it was not self-stable
|
383 |
|
384 | ## 1.4.0
|
385 | - Add `--strip-comments` to remove unnecessary comments
|
386 |
|
387 | ## 1.3.0
|
388 | - Add `--inline-css` option to inline external stylesheets
|
389 |
|
390 | ## 1.2.1
|
391 | - Update dependencies
|
392 |
|
393 | ## 1.2.0
|
394 | - Change `--strip-exclude` to be an array of excludes to strip
|
395 | - `--implicit-strip` is the old `--strip-excludes` behavior
|
396 |
|
397 | ## 1.1.0
|
398 | - Add `--inline-scripts` option to inline external scripts
|
399 |
|
400 | ## 1.0.0
|
401 | - Rewrite on top of [hydrolysis](https://github.com/PolymerLabs/hydrolysis) and
|
402 | [dom5](https://github.com/PolymerLabs/dom5)
|
403 | - Factor out `--csp` flag into [crisper](https://github.com/PolymerLabs/crisper)
|
404 | - Remove html and javascript minification
|
405 |
|
406 | ## 0.7.10
|
407 | - Collapse whitespace instead of removing it
|
408 | - Keep unique license comments
|
409 |
|
410 | ## 0.7.9
|
411 | - Honor `<base>` urls in inline styles
|
412 |
|
413 | ## 0.7.8
|
414 | - Update to whacko 0.17.3
|
415 |
|
416 | ## 0.7.7
|
417 | - Honor `<base>` tag
|
418 | - Make all schemas "absolute" urls
|
419 |
|
420 | ## 0.7.6
|
421 | - Don't rewrite urls starting with '#'
|
422 |
|
423 | ## 0.7.5
|
424 | - Remove cssom, just use regexes
|
425 |
|
426 | ## 0.7.4
|
427 | - Workaround for cssom not liking '{{ }}' bindings in `<style>` tags (unsupported, use `<core-style>` instead)
|
428 |
|
429 | ## 0.7.3
|
430 | - Replace clean-css with cssom, which does less "optimizations"
|
431 |
|
432 | ## 0.7.2
|
433 | - Disable css number rounding for crazy-sad flexbox hacks in IE 10
|
434 | - Add charset=utf-8 to all scripts
|
435 | - Better comment removal codepath
|
436 |
|
437 | ## 0.7.1
|
438 | - Support for mobile URL Schemes "tel:" and "sms:"
|
439 | - Better reporting of javascript error messages with `--strip`
|
440 | - Handle buffers as input with `inputSrc`
|
441 | - Rename `outputSrc` to `outputHandler`
|
442 |
|
443 | ## 0.7.0
|
444 | - Upgrade to whacko 0.17.2 with template support
|
445 | - add utils.searchAll to make a query that walks into `<template>` elements
|
446 |
|
447 | ## 0.6.2
|
448 | - stick to whacko 0.17.1 until `<template>` support is complete
|
449 |
|
450 | ## 0.6.1
|
451 | - fix bug with removing absolute imports
|
452 |
|
453 | ## 0.6.0
|
454 | - Strip excluded imports by default (old behavior accessible with --no-strip-excludes flag)
|
455 |
|
456 | ## 0.5.0
|
457 | - finally switch to new-world polymer license
|
458 | - Add a bunch of tests for lib/vulcan
|
459 | - Refactor test suites
|
460 | - tests for utils and optparser modules
|
461 | - Merge pull request #83 from jongeho1/undefined-element
|
462 | - undefined element fix
|
463 | - remove unnecessary require statement
|
464 | - Handle indirect prototype references in Polymer invocation
|
465 | - plumb abspath to all url rewriting
|
466 | - shields!
|
467 | - add travis config
|
468 | - add tests!
|
469 | - Add option for printing version and nag to update
|
470 | - move test folder to example
|
471 | - Merge branch 'master' of github.com:rush340/vulcanize into rush340-master
|
472 | - Merge pull request #75 from ragingwind/remove-importerjs
|
473 | - Merge pull request #77 from Polymer/use-whacko
|
474 | - Keep consistent ordering of import document heads and bodies
|
475 | - Don't create a whole document for inlining styles
|
476 | - Switch to whacko/parse5
|
477 | - fix flipped conditional
|
478 | - Merge pull request #76 from ragingwind/buffer
|
479 | - Support buffer in/out
|
480 | - Remove importer.js
|
481 | - more explicit checking of whether abspath is set
|
482 | - cleaned up regex matching of root
|
483 | - renamed webAbsPath to abspath
|
484 | - fixed cheerio options to perform the same parsing while reading and writing
|
485 | - if webAbsPath is passed in, use absolute paths everywhere
|
486 | - resolve webAbsPath if relative path provided
|
487 | - added recognition of double-slash paths as a remote absolute URL
|
488 | - applied webAbsPath option for handling absolute paths (based on jongeho1's pull request: https://github.com/Polymer/vulcanize/pull/36)
|
489 |
|
490 | ## 0.4.3
|
491 | - Release 0.4.3
|
492 | - Mailto: is an absolute path
|
493 | - Merge pull request #70 from rush340/htmlentities
|
494 | - added missing use of CHEERIO_OPTIONS
|
495 | - fixed cheerio options to perform the same parsing while reading and writing
|
496 | - Merge pull request #59 from mozilla-appmaker/cheerio-write-fix
|
497 | - Merge pull request #65 from tbuckley/patch-1
|
498 | - Add quotes around filenames in CSS
|
499 | - audit license headers
|
500 | - fixed cheerio options to perform the same parsing while reading and writing
|
501 | - Never decode entities
|
502 |
|
503 | ## 0.4.2
|
504 | - Fix inline svgs
|
505 | - Update README with --strip functionality
|
506 |
|
507 | ## 0.4.1
|
508 | - Bump version to 0.4.1
|
509 | - Strip comments and whitespace from all nodes
|
510 |
|
511 | ## 0.4.0
|
512 | - Bump to version 0.4.0
|
513 | - Replace noscript with explicit Polymer invocation, to ensure correct element registration order when CSP'ed.
|
514 |
|
515 | ## 0.3.1
|
516 | - remove extraneous async module
|
517 | - Fixes #34
|
518 |
|
519 | ## 0.3.0
|
520 | - Hide import content from view in the main document
|
521 |
|
522 | ## 0.2.7
|
523 | - always add name to polymer invocation
|
524 |
|
525 | ## 0.2.6
|
526 | - bump version
|
527 | - add small usage block to help
|
528 | - Make --strip work with --csp
|
529 | - Clean up use of get/setTextContent
|
530 | - Inline stylesheet happens after import path fixup, so outputPath of rewriteURL should be the overall outputPath
|
531 |
|
532 | ## 0.2.5
|
533 | - update to 0.2.5
|
534 | - .text() was decoding HTML entities, read raw script node content for CSP
|
535 | - Support Polymer invocation without tag name
|
536 | - Fix slightly broken merge conflict
|
537 | - Enable `--inline --csp` mode to smash everything into one JS file
|
538 | - Upstream cheerio changed loop semantics to return "dom" nodes instead of sugared cheerio objects
|
539 | - Fix #29
|
540 | - Print help dialog if called without arguments
|
541 | - update dependencies
|
542 |
|
543 | ## 0.2.4
|
544 | - Treat config file as "defaults", commandline flags override
|
545 | - Do path resolution before import processing and style inlining
|
546 |
|
547 | ## 0.2.3
|
548 | - A few bug fixes
|
549 |
|
550 | ## 0.2.2
|
551 | - Don't recalculate assetpath for handled elements
|
552 | - Bump to 0.2.1
|
553 |
|
554 | ## 0.2.1
|
555 | - unbreak assetpath generation
|
556 |
|
557 | ## 0.2.0
|
558 | - Prepare vulcanize 0.2.0
|
559 | - Merge pull request #25 from lborgav/patch-1
|
560 | - Fixing missing letters
|
561 | - Don't move external scripts around with CSP mode
|
562 | - Use uglify inline_script
|
563 | - Use cleancss only for stripping comments
|
564 | - Merge pull request #21 from azakus/modular
|
565 | - went a little too quick with the regex
|
566 | - Remove byte order mark
|
567 | - Make sure not to lose assetpath fix
|
568 | - First draft at a split out Importer
|
569 | - Inplace inline *all* imports
|
570 | - Copy setTextNode since it's so tiny
|
571 | - move all the option validation into optparser
|
572 | - Update npm dependencies
|
573 | - Split out path resolution
|
574 | - Break out option parser
|
575 | - Break out constants
|
576 | - Add the hooks for style and script excludes
|
577 | - Add changelog generation script
|
578 | - Merge pull request #16 from tbuckley/master
|
579 | - Include excluded script instead of its contents
|
580 | - Only put a trailing slash into assetpath attribute if there is a path
|
581 | - bump version
|
582 | - clone all styles (minus href and rel) from `<link>` to `<style>`
|
583 | - update to 0.1.13
|
584 | - Skip non-JS scripts and non-CSS styles
|
585 | - bump version
|
586 | - Make sure to CSPify main document first, load platform.js first in the output js file.
|
587 | - add test config for excluding polymer.html
|
588 | - Refactor handling of inlined and excluded import insertion
|
589 | - bump version
|
590 | - Fix subtle path bug in stylesheets
|
591 | - use uglify and clean-css to strip comments from js and css when using --strip
|
592 | - Clean up
|
593 | - bump version
|
594 | - --csp will now operate on the input html file as well
|
595 | - Fix script inlining to ignore parsing html comments
|
596 | - cheerio 0.13 seems to work just fine
|
597 | - inline stylesheets in the main page when using --inline
|
598 | - README: add ga beacon
|
599 |
|
600 | ## 0.1.9
|
601 | - Reset excludes on each run
|
602 |
|
603 | ## 0.1.8
|
604 | - Bump version
|
605 | - add "strip comments" functionality
|
606 | - fix minor typo in helep text: s/defualts/defaults
|
607 |
|
608 | ## 0.1.7
|
609 | - bump version
|
610 | - add sub-import test to the top level import
|
611 | - Add --config option to specify user defined excludes
|
612 | - Add user-defined excludes from inling.
|
613 |
|
614 | ## 0.1.6
|
615 | - bump version
|
616 | - test with absolute urls
|
617 | - remove console.log
|
618 | - Deduplicate absolute url imports
|
619 | - fix missing absolute imports
|
620 |
|
621 | ## 0.1.5
|
622 | - bump to 0.1.5
|
623 | - Revert "polymer-scope is no longer supported"
|
624 |
|
625 | ## 0.1.4
|
626 | - reset shared buffers on each handleMainDocument call
|
627 |
|
628 | ## 0.1.3
|
629 | - bump version
|
630 | - move option checking to setOptions, not the bin
|
631 | - Add npm installation instructions
|
632 | - polymer-scope is no longer supported
|
633 |
|
634 | ## 0.1.2
|
635 |
|
636 | ## 0.1.15
|
637 | - Only put a trailing slash into assetpath attribute if there is a path
|
638 |
|
639 | ## 0.1.14
|
640 | - bump version
|
641 | - clone all styles (minus href and rel) from `<link>` to `<style>`
|
642 |
|
643 | ## 0.1.13
|
644 | - update to 0.1.13
|
645 | - Skip non-JS scripts and non-CSS styles
|
646 |
|
647 | ## 0.1.12
|
648 | - bump version
|
649 | - Make sure to CSPify main document first, load platform.js first in the output js file.
|
650 | - add test config for excluding polymer.html
|
651 | - Refactor handling of inlined and excluded import insertion
|
652 |
|
653 | ## 0.1.11
|
654 | - bump version
|
655 | - Fix subtle path bug in stylesheets
|
656 | - use uglify and clean-css to strip comments from js and css when using --strip
|
657 | - Clean up
|
658 |
|
659 | ## 0.1.10
|
660 | - bump version
|
661 | - --csp will now operate on the input html file as well
|
662 | - Fix script inlining to ignore parsing html comments
|
663 | - cheerio 0.13 seems to work just fine
|
664 | - inline stylesheets in the main page when using --inline
|
665 | - README: add ga beacon
|
666 | - Reset excludes on each run
|
667 | - Bump version
|
668 | - add "strip comments" functionality
|
669 | - fix minor typo in helep text: s/defualts/defaults
|
670 | - bump version
|
671 | - add sub-import test to the top level import
|
672 | - Add --config option to specify user defined excludes
|
673 | - Add user-defined excludes from inling.
|
674 | - bump version
|
675 | - test with absolute urls
|
676 | - remove console.log
|
677 | - Deduplicate absolute url imports
|
678 | - fix missing absolute imports
|
679 | - bump to 0.1.5
|
680 | - Revert "polymer-scope is no longer supported"
|
681 | - reset shared buffers on each handleMainDocument call
|
682 | - bump version
|
683 | - move option checking to setOptions, not the bin
|
684 | - Add npm installation instructions
|
685 | - polymer-scope is no longer supported
|
686 | - bump version
|
687 | - update README to be more approachable
|
688 | - add a help dialog, fix "main" in package.json
|
689 |
|
690 | ## 0.1.1
|
691 | - Bump version to 0.1.1
|
692 | - Fix paths from main html file if input or output directories are not current working directory
|
693 | - Add style url rewriting back
|
694 | - add other directories to testing
|
695 | - Merge pull request #3 from akhileshgupta/inline_styles_fix
|
696 | - Merge pull request #2 from akhileshgupta/concat_scripts_bugfix
|
697 | - variable rename and removing the unrequired check
|
698 | - fixing the use of .html(cssText) to update the styles content.
|
699 | - resolving script path from outputDir during concatenation
|
700 | - Merge pull request #1 from addyosmani/patch-1
|
701 | - Adds npm install snippet, minor formatting changes.
|
702 |
|
703 | ## 0.1.0
|
704 | - semver recommends starting at 0.1.0
|
705 | - add repo info to package.json
|
706 |
|
707 | ## 0.0.1
|
708 | - Update README.md
|
709 | - add license top
|
710 | - remove unrelated viz file
|
711 | - add license files
|
712 | - reference new executable path
|
713 | - reference bin/vulcanize for global npm install
|
714 | - split vulcan.js into vulcanize bin and lib/vulcan.js
|
715 | - reorder constant variables, add missing SCRIPT_SRC
|
716 | - inlineScripts now uses html text and regex, not cheerio api
|
717 | - Use html() to inline scripts, text() makes HTML Entities
|
718 | - Add --inline option to inline all scripts into main document (opposite of --csp)
|
719 | - Update README to reflect all-in-one html files
|
720 | - Try to insert inlined import exactly where the link was
|
721 | - make everything from imports inlined
|
722 | - update README with index-vulcanized output
|
723 | - Inlined stylesheets must have URL paths rewritten, move to import processing
|
724 | - inline css stylesheets into style tags in polymer elements
|
725 | - assetpath is handled by polymer now
|
726 | - Update README.md
|
727 | - Update README.md
|
728 | - Remove unused function
|
729 | - fix import location finding and windows path munging
|
730 | - Fix output directory for CSP js file
|
731 | - find better spots for vulcanized imports and scripts
|
732 | - Update to newer cheerio with fixed htmlparser
|
733 | - reflect new functionality in README, fix up newline issues, refactor constants
|
734 | - vulcanizer will now take in a single main document and produce a built version of that main document.
|
735 | - add a semicolon to all scripts to prevent weird insertion conditions
|
736 | - update README for CSP mode
|
737 | - For CSP, allow an option to separate scripts into a separate file
|
738 | - Process imports as whole files, no element extraction
|
739 | - breaking down doc tool for analysis
|
740 | - Update README for polymer-element
|
741 | - update for polymer-element
|
742 | - Much more useful README
|
743 | - use assetpath attribute on `<element>` to fix resolvePath usage in Polymer elements
|