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 |
|
9 |
|
10 |
|
11 | ## [0.27.15] (2019-01-10)
|
12 | * Add `--allow-origin` flag which sets the `Access-Control-Allow-Origin` header.
|
13 |
|
14 | ## [0.27.14] (2018-12-19)
|
15 | * Fix `compile-cache` cli option not being respected.
|
16 |
|
17 | ## [0.27.13] (2018-10-15)
|
18 | * Allow file requests to specify `?nocompile` to prevent any compilation
|
19 |
|
20 | ## [0.27.12] (2018-06-28)
|
21 | * Updated dependencies.
|
22 |
|
23 | ## [0.27.11] (2018-05-08)
|
24 | * Updated dependencies.
|
25 |
|
26 | ## [0.27.10] (2018-05-03)
|
27 | * The transform for `import.meta` now uses the special `"meta"` dependency
|
28 | provided by
|
29 | [@polymer/esm-amd-loader](https://github.com/Polymer/tools/tree/master/packages/esm-amd-loader),
|
30 | instead of injecting a static path. As a result, it is now always coupled with
|
31 | the AMD transform, and cannot be enabled independently.
|
32 | * Fixed issue where the package name was only a substring of a request path was
|
33 | being considered a root path request. e.g. a package of `@foo` with a request
|
34 | path os `/@foo/bar` is considered a root path request, but a request path of
|
35 | `/@foobar/baz` is not but was being considered one before.
|
36 | * The [regenerator runtime](https://github.com/facebook/regenerator) is now
|
37 | injected into projects that are compiling to ES5.
|
38 |
|
39 | ## [0.27.9] (2018-05-01)
|
40 | * Dropped support for node v6. This is a soft break, as we aren't
|
41 | making any changes that are known to break node v6, but we're no longer testing against it. See our [node version support policy](https://www.polymer-project.org/2.0/docs/tools/node-support)
|
42 | for details.
|
43 | * Fixed issue where resources would be cached after restarting polyserve with
|
44 | different compilation/transformation options. We've turned off most
|
45 | browser-side caching. As a reminder: do not use polyserve in production,
|
46 | it is designed for development.
|
47 | * Add "webcomponents-bundle.js" to the heuristic used to determine when to
|
48 | inject the Custom Elements ES5 Adapter.
|
49 | * Replaced RequireJS AMD loader with
|
50 | [@polymer/esm-amd-loader](https://github.com/Polymer/tools/tree/master/packages/esm-amd-loader),
|
51 | which is smaller and better emulates the behavior of ES modules.
|
52 |
|
53 | ## [0.27.8] (2018-04-25)
|
54 | * `@babel/preset-es2015` has been replaced with a manually-created version so that `@babel/plugin-transform-classes` can be pinned to v7.0.0-beta.35 to avoid a bug where the polyfilled HTMLElement constructor is not called. (https://github.com/babel/babel/issues/7506)
|
55 |
|
56 |
|
57 | ## [0.27.7] (2018-04-23)
|
58 | * Stricter requirements for determining when a browser supports modules, and
|
59 | hence when to automatically transform modules to AMD. We now require support
|
60 | for dynamic import and import.meta.
|
61 |
|
62 | ## [0.27.6] (2018-04-18)
|
63 | * Fix node module resolution for the case where the root package is served from
|
64 | the components/ directory and imports a module from its own package using a
|
65 | path.
|
66 |
|
67 | ## [0.27.5] (2018-04-17)
|
68 | * Update --npm flag description.
|
69 |
|
70 | ## [0.27.4] (2018-04-11)
|
71 | * Fix AMD transform bug where if an HTML document had multiple type=module scripts, and any of them (apart from the first) had any kind of import, then that import was not accessible (because it was mapped to the wrong module callback function argument).
|
72 |
|
73 | ## [0.27.2] (2018-04-10)
|
74 | * Bring in latest polymer-analyzer and polymer-build fixes to node resolution
|
75 | and babel helpers.
|
76 |
|
77 | ## [0.27.0](https://github.com/PolymerLabs/polyserve/tree/0.26.0) (2018-04-03)
|
78 | * Upgrade polymer-build to 3.0.0-pre.7
|
79 |
|
80 | ## [0.26.0](https://github.com/PolymerLabs/polyserve/tree/0.26.0) (2018-03-28)
|
81 |
|
82 | * ES > AMD module transformation
|
83 | * AMD loader will now be injected as a minified inline script, instead of as
|
84 | an external script.
|
85 | * AMD modules will now execute in document script order.
|
86 | * Babel helpers will now be injected as a single minified inline script into
|
87 | the HTML document, instead of into every JS script.
|
88 | * Phantom `<html>`, `<body>`, and `<head>` elements will no longer be
|
89 | introduced into HTML.
|
90 |
|
91 | ## [0.25.3](https://github.com/PolymerLabs/polyserve/tree/0.25.3) (2018-03-26)
|
92 |
|
93 | * Node module specifier rewriter will now resolve paths according to the node
|
94 | module resolution algorithm, not just bare specifiers (e.g. "./foo" resolves
|
95 | to "./foo.js").
|
96 |
|
97 | ## [0.25.2](https://github.com/PolymerLabs/polyserve/tree/0.25.1) (2018-03-21)
|
98 |
|
99 | * Another fix for import specifier rewriting when given a relative componentDir.
|
100 |
|
101 | ## [0.25.1](https://github.com/PolymerLabs/polyserve/tree/0.25.1) (2018-03-21)
|
102 |
|
103 | * Fix import specifier rewriting when given a relative componentDir.
|
104 |
|
105 | ## [0.25.0](https://github.com/PolymerLabs/polyserve/tree/0.25.0) (2018-03-20)
|
106 |
|
107 | * Module bare specifier rewriting Babel plugin now works on Windows, does not rewrite fully qualified URLs, and will follow the "module" or "jsnext:main" fields when a package.json uses them instead of "main".
|
108 | * Add exponentiation, async/await, and async generator support when compiling to ES5.
|
109 | * Fix import specifier rewriting when importing a dependency from a top-level module.
|
110 |
|
111 | ## [0.24.0](https://github.com/PolymerLabs/polyserve/tree/0.24.0) (2018-02-23)
|
112 |
|
113 | * Honor `.bowerrc` for bower component directory and variants
|
114 | * Root directories can now be relative paths
|
115 | * Added --module-resolution flag to allow rewriting of "bare" module specifiers to web-compatible paths.
|
116 |
|
117 | ## [0.23.0](https://github.com/PolymerLabs/polyserve/tree/0.23.0) (2017-10-02)
|
118 |
|
119 | * Added ability to modify and/or substitute generated express apps for when calling startServers, to support more flexibility in request handler ordering and middleware scenarios.
|
120 | * Fix issue with module scripts being compiled when a nomodule script exists.
|
121 | * Updated polymer-build to 2.1.0 which includes polymer-build 3.1.0 which inlines external stylesheet links in templates.
|
122 |
|
123 | ## [0.22.1](https://github.com/PolymerLabs/polyserve/tree/v0.22.1) (2017-09-19)
|
124 |
|
125 | * Fixes issue with the babel compile cache where different compilation options were using the same namespace. ([#216](https://github.com/Polymer/polyserve/issues/216)).
|
126 |
|
127 | ## [0.22.0](https://github.com/PolymerLabs/polyserve/tree/v0.22.0) (2017-09-18)
|
128 |
|
129 | * Identify wct-browser-legacy as a web-component-tester client package, to add a hook for deferring mocha execution in support of requirejs.
|
130 | * Change `x(...args)` syntax to `x.apply(undefined, arguments)` to support IE11.
|
131 |
|
132 | ## [0.21.9](https://github.com/PolymerLabs/polyserve/tree/v0.21.9) (2017-09-15)
|
133 |
|
134 | * Fix issue where requirejs is installed somewhere other than in polyserve's own node_modules subfolder.
|
135 | * Fix issue with `.npmignore` file and npm pack logic change in recent npm release.
|
136 |
|
137 | ## [0.21.0](https://github.com/PolymerLabs/polyserve/tree/v0.21.0) (2017-09-13)
|
138 |
|
139 | * Auto-compile now includes transformation of ES modules to AMD modules with RequireJS for browsers that do not support ES modules. Includes special handling for WCT.
|
140 | * Fix #48 where we would incorrectly inject the ES5 adapter for browsers that supported ES2015 but not modules.
|
141 |
|
142 | ## [0.20.0](https://github.com/PolymerLabs/polyserve/tree/v0.20.0) (2017-08-08)
|
143 |
|
144 | * Update Polymer Build to v2.0.0
|
145 | * Allow package names to include a '/'
|
146 | * Added --npm flag which sets component folder to node_modules and reads package name from package.json.
|
147 |
|
148 | ## [0.19.1](https://github.com/PolymerLabs/polyserve/tree/v0.19.1) (2017-05-22)
|
149 |
|
150 | * Allow webcomponentsjs polyfill *tests* to be compiled.
|
151 |
|
152 | ## [0.19.0](https://github.com/PolymerLabs/polyserve/tree/v0.19.0) (2017-05-08)
|
153 |
|
154 | * Add auto-compile support for the Mobile Safari browser.
|
155 | * Add auto-compile support for the Vivaldi browser.
|
156 | * Fixed issue when serve with --push-manifest ([#168](https://github.com/Polymer/polyserve/issues/168))
|
157 | * Add gzip and deflate HTTP response compression.
|
158 |
|
159 | ## [0.18.0](https://github.com/PolymerLabs/polyserve/tree/v0.18.0) (2017-04-18)
|
160 |
|
161 | * When compiling to ES5, inject the Custom Elements ES5 Adapter into any HTML
|
162 | file where the web components polyfill is included (typically the entry
|
163 | point). This adapter is needed when serving ES5 to browsers that support the
|
164 | native Custom Elements API
|
165 | ([#164](https://github.com/Polymer/polyserve/issues/164)).
|
166 | * A server can now be started with a custom entry point; previously index.html
|
167 | was always assumed ([#161](https://github.com/Polymer/polyserve/issues/161)).
|
168 |
|
169 | ## [0.17.0](https://github.com/PolymerLabs/polyserve/tree/v0.17.0) (2017-04-13)
|
170 |
|
171 | * Add auto-compile support for the Chromium browser.
|
172 | * Add auto-compile support for the Opera browser.
|
173 | * Require ES5 compilation for Edge < 40 ([#161](https://github.com/Polymer/polyserve/issues/161)).
|
174 | * Fixed issue where directory paths redirected to the file system ([#96](https://github.com/Polymer/polyserve/issues/96)).
|
175 | * [Breaking] Remove Node v4 support: Node v4 is no longer in Active LTS, so as per the [Polymer Tools Node.js Support Policy](https://www.polymer-project.org/2.0/docs/tools/node-support) polyserve will not support Node v4. Please update to Node v6 or later to continue using the latest verisons of Polymer tooling.
|
176 |
|
177 | ## [0.16.0](https://github.com/PolymerLabs/polyserve/tree/v0.16.0) (2017-02-14)
|
178 |
|
179 | ### Added
|
180 | * `-u`/`--component-url` option to support expressing different url to
|
181 | fetch components from than `components`.
|
182 |
|
183 | ### Fixed
|
184 | * When no port is given, do a better job of finding an available port.
|
185 | * Uses the list of [sauce-legal](https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy+FAQS#SauceConnectProxyFAQS-CanIAccessApplicationsonlocalhost?) ports.
|
186 |
|
187 | ## [0.15.0](https://github.com/PolymerLabs/polyserve/tree/v0.15.0) (2016-11-28)
|
188 |
|
189 | ### Added
|
190 |
|
191 | * Compile JavaScript with Babel for browsers that don't support ES6. A new
|
192 | `--compile` flag controls compilation, with valid values of 'always', 'never',
|
193 | and 'auto'; and a default of 'auto'.
|
194 | * If the root dir contains directories that look like `bower_components-${foo}`,
|
195 | they will be treated as `dependency variants`. In that case, polyserve will
|
196 | start one server for each variant, enabling testing and development of your code
|
197 | against each set of dependencies.
|
198 |
|
199 | ## [0.14.0](https://github.com/PolymerLabs/polyserve/tree/v0.14.0) (2016-11-17)
|
200 |
|
201 | * Added support for HTTP2 and HTTP2 Push. PR #98
|
202 | * TypeScript declaration fixes
|
203 |
|
204 | ## [0.13.0](https://github.com/PolymerLabs/polyserve/tree/v0.13.0) (2016-09-30)
|
205 |
|
206 | ### Fixed
|
207 | * Return a 404 for missing resources with known file extensions rather than serving out `index.html`. PR #102
|
208 |
|
209 | ## [0.12.0](https://github.com/PolymerLabs/polyserve/tree/v0.12.0) (2016-05-17)
|
210 |
|
211 | ### Fixed
|
212 | * The `openPath` option should override the component path. PR #95
|
213 |
|
214 | ## [0.11.0](https://github.com/PolymerLabs/polyserve/tree/v0.11.0) (2016-05-12)
|
215 |
|
216 | ### Added
|
217 | * Option to customize the URL top open the browser to. #81
|
218 |
|
219 | ### Fixed
|
220 | * Don't serve out the `index.html` shell file for paths ending in `.html`.
|
221 | * Make the browser opening behavior more configurable and predictable. #81
|
222 |
|
\ | No newline at end of file |