UNPKG

8.74 kBMarkdownView Raw
1# 2.4.1 (September 4, 2019)
2
3* `SnapshotPlugin`: Fixed V8 snapshotting when `ilib` external package is not found.
4
5# 2.4.0 (August 12, 2019)
6
7* Redesigned `option-parser` with encapsulated theme option support and environment variable overriding.
8* Update `ILibPlugin` to support theme-based ResBundle resources.
9* Fixed bug where undefined `ri` values would result in `Infinity` pixel values.
10
11# 2.3.0 (July 12, 2019)
12
13* Added support utility-wide for new `ilib` external NPM package (with backward compatibility for `@enact/i18n/ilib`).
14
15# 2.2.2 (July 2, 2019)
16
17* Reduce `find-cache-dir` version to `^2.0.0` to retain NodeJS 6.x compatibility for one more release.
18
19# 2.2.1 (June 10, 2019)
20
21* Expand default browserslist config from `last 2` stable versions of Chrome and Firefox to `last 5`.
22
23# 2.2.0 (May 7, 2019)
24* Updated all dependencies to latest releases.
25* `PrerenderPlugin`:
26 * Fixed React hook-based rendering, ensuring only one copy of React is loaded.
27* `WebOSMetaPlugin`:
28 * No longer requires HtmlWebpackPlugin to function.
29 * Switch deprecated `new Buffer()` to `Buffer.from()` to avoid NodeJS deprecation notice.
30
31# 2.1.0 (January 31, 2019)
32* Added support for parsing `forceCSSModules` Enact project option.
33* Fixed `framework` mixin generating correct module IDs when a symlinked Enact framework is used as the source.
34
35## 2.0.1 (November 6, 2018)
36* Fixed `EnactFrameworkRefPlugin` for Webpack 4 dll format and the latest HtmlWebpackPlugin
37* Fixed dynamic setting `ILIB_BASE_PATH` for `EnactFrameworkRefPlugin`
38* Fixed `EnactFrameworkRefPlugin` to only hook in to webOS appinfo events when `WebOSMetaWebpackPlugin` is used
39* Removes @enact/dev-utils from the possible entrypoints that `framework` mixin builds can use
40* All mixins now return the configs themselves, to support chaining
41
42## 2.0.0 (October 4, 2018)
43
44* Update all dependencies, with webpack peer dependency restricted to >=4.0.0
45* Refactor all webpack plugins into ES6 classes
46* Update all webpack plugins to use new `tappable` hook system
47* For webpack plugins, use `compiler.outputPath` and `compiler.context` instead of parsed values from `compiler.options`
48* Explicitly invoke `apply`on embedded plugins on the compiler
49* Support `browserslist` as the primary method of browser/node targeting with webpack `target` extrapolated as determined
50* Add `setEnactTargetsAsDefault`function to option-parser which can set the Enact supported browsers as the `browserslist` values to use when not user-set.
51* Update config-helper to remove loader functions and add support for finding/modifying minimizer plugins.
52* `isomorphic` mixin:
53 * Enable mapfile output by default when building more than 1 locale
54 * Inject snapshot helper file as a webpack entry
55 * Set webpack config `output.globalObject` to `this` for proper umd support
56* `framework` mixin:
57 * Filter out ilib localedata directory
58 * Fix support for symlinks
59 * Set webpack config `output.globalObject` to `this` for proper umd support
60* `unmangle` mixin:
61 * Switch from UglifyJsPlugin to TerserPlugin support
62 * Look for TerserPlugin as a minifier plugin rather than a regular plugin
63 * Fixed beautify option support
64* `EnzymeAdapterPlugin`:
65 * Remove workaround Enzyme React 16 adapter since the context support has made it upstream
66* `ILibPlugin`:
67 * Fix to correctly copy ilib resource assets for apps under `@enact` scope (though don't create when missing).
68 * Fix to route moonstone 'app' assets to a `_resources_` pseudo directory to prevent extra XHR calls during test execution.
69* `PrerenderPlugin`:
70 * Fixed compatibility for supporting latest `html-webpack-plugin`
71* `SnapshotPlugin`:
72 * Remove dynamic helper javascript entry injection (since access to config was removed in webpack 4), with it relocated to the `isomorphic` mixin
73 * Add `SnapshotPlugin.helperJS` property which returns the resolve path to the helper file.
74
75## 1.2.0 (September 24, 2018)
76
77* Added support for `applyEnactMeta` function in `option-parser.js` to apply Enact metadata overrides.
78* Added support for `imageForRecents` asset field in `WebOSMetaPlugin`.
79* Fixed uglify unmangling mixin usage with latest UglifyPlugin option format.
80
81## 1.1.2 (July 26, 2018)
82
83* Fixed locale classes failing to be applied on a multi-locale prerender when deep-linking is used.
84* Fixed font style prerendering, with added support for font overrides.
85
86## 1.1.1 (July 16, 2018)
87
88* Fixed `PrerenderPlugin` not correctly spacing root classnames in multilocale prerendered HTML files.
89
90## 1.1.0 (July 6, 2018)
91
92* Added new plugin `VerboseLogPlugin` and a corresponding `verbose` mixin. Progressively outputs detailed log informations as a build executes.
93* Added support for boolean flag option `externalStartup` in the enact options in a project's `package.json`. When true, any prerender startup scripts will be external file assets rather than embedded inline javascript.
94* Fixed `SnapshotPlugin` build failure with React 16.4.1.
95
96## 1.0.4 (April 26, 2018)
97
98* Support `@enact/core/snapshot` window hook for SnapshotPlugin's environment update helper.
99* Preserve HTML comment nodes within app prerendered HTML (fixing support for React 15's empty nodes).
100
101## 1.0.3 (April 12, 2018)
102
103* PrerenderPlugin now disables usage of any bundled polyfills (via setting `global.skipPolyfills`), as a local `core-js` is already used on the active Node process.
104
105## 1.0.2 (March 30, 2018)
106
107* Fixed automatic resolution independence detection and configuration.
108* Updated framework mixin to remove ReactPerf reference, which is no longer needed in React 16.
109
110## 1.0.1 (March 26, 2018)
111
112* SnapshotPlugin's mock window updated to catch modular event listeners added to document/window and forwarded at launch-time. Fixes React 16 support.
113* SnapshotPlugin will now output a helpful stack trace on exception.
114
115## 1.0.0 (March 13, 2018)
116
117* Added basic documentation.
118* Top-level exports are now loaded/parsed on-demand when accessed.
119* Support dynamic output path with framework mixin.
120* Remove unneeded `main` package detection.
121* Fix root `package.json` detection on Windows platform.
122* Fix iLib localedata/moonstone ResBundle detection on Windows platform.
123* Ensure moonstone ResBundle is correctly included when running tests within moonstone itself.
124* Improved source code formatting/validation via `eslint-plugin-import` along with `eslint-plugin-prettier`.
125
126## 0.5.0 (January 9, 2018)
127
128* Added a new plugin for webpack, EnzymeAdapterPlugin, which automates the Enzyme initialization of an adapter. Whenever an app imports/requires Enzyme, a small proxy will intervene and ensure the desired Enzyme adapter is configured and used. This allows easier Enzyme usage within karma-webpack, for example.
129* PrerenderPlugin inline script to initialize root `fontSize` now considers window height in addition to window width.
130* Deep linking support in a prerendered page will now default to empty content, inserting prerendered app HTML as needed.
131
132## 0.4.0 (November 6, 2017)
133
134* Unify PrerenderPlugin and LocaleHtmlPlugin into a single general-purpose plugin
135* Defaults to `en-US` locale but supports all the same locale option as LocaleHtmlPlugin (json files, literal objects, presets, etc.).
136* Locale preset json format updated to a more readable layout. For example:
137```json
138{
139 "locales": [
140 "en-US",
141 "es-ES",
142 "fr-FR",
143 "ko-KR",
144 "zh-Hans-CN",
145 ]
146}
147```
148* Fixed webpack 3.x prerendering when using asynchronous chunks.
149* Fixed screentype detection when not using an identifiable theme like moonstone.
150* Fixed browserslist support when using Electron browser to auto-determine webpack should use `electron-main` environment.
151
152## 0.3.0 (October 30, 2017)
153
154* Added support for targetted builds using the `BROWSERSLIST` browser [standard format](https://github.com/ai/browserslist).
155* Added `core-js` polyfill support to vdom rendering to allow for modern APIs.
156* Fixed loader detection from loader filepaths.
157* Changed default scope of browser support to ignore IE and IE Mobile.
158* Changed to generalized `package.json` requirements for greater flexibility and sharing or dependencies between packages.
159
160## 0.2.0 (October 5, 2017)
161
162* Added an `option-parser` module to parse and store the Enact build options from the `package.json` and to handle intertwined values and fallbacks to do with `fontGenerator`, `screenTypes`, `ri`, `theme`, `target`, etc.
163* Added support for a CommonJS font generator to generate localized font CSS (deprecating the previous global prerender hook).
164* Added support for dynamic replacement of main entrypoint to `config-helper`.
165* Updated `package-root` to now throw an error when no root is found.
166* Updated dependencies.
167
168## 0.1.0 (September 28, 2017)
169
170* Initial code migration from `enact-dev`