UNPKG

4.36 kBMarkdownView Raw
1## 1.1.1 (July 16, 2018)
2
3* Fixed `PrerenderPlugin` not correctly spacing root classnames in multilocale prerendered HTML files.
4
5## 1.1.0 (July 6, 2018)
6
7* Added new plugin `VerboseLogPlugin` and a corresponding `verbose` mixin. Progressively outputs detailed log informations as a build executes.
8* 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.
9* Fixed `SnapshotPlugin` build failure with React 16.4.1.
10
11## 1.0.4 (April 26, 2018)
12
13* Support `@enact/core/snapshot` window hook for SnapshotPlugin's environment update helper.
14* Preserve HTML comment nodes within app prerendered HTML (fixing support for React 15's empty nodes).
15
16## 1.0.3 (April 12, 2018)
17
18* 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.
19
20## 1.0.2 (March 30, 2018)
21
22* Fixed automatic resolution independence detection and configuration.
23* Updated framework mixin to remove ReactPerf reference, which is no longer needed in React 16.
24
25## 1.0.1 (March 26, 2018)
26
27* SnapshotPlugin's mock window updated to catch modular event listeners added to document/window and forwarded at launch-time. Fixes React 16 support.
28* SnapshotPlugin will now output a helpful stack trace on exception.
29
30## 1.0.0 (March 13, 2018)
31
32* Added basic documentation.
33* Top-level exports are now loaded/parsed on-demand when accessed.
34* Support dynamic output path with framework mixin.
35* Remove unneeded `main` package detection.
36* Fix root `package.json` detection on Windows platform.
37* Fix iLib localedata/moonstone ResBundle detection on Windows platform.
38* Ensure moonstone ResBundle is correctly included when running tests within moonstone itself.
39* Improved source code formatting/validation via `eslint-plugin-import` along with `eslint-plugin-prettier`.
40
41## 0.5.0 (January 9, 2018)
42
43* 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.
44* PrerenderPlugin inline script to initialize root `fontSize` now considers window height in addition to window width.
45* Deep linking support in a prerendered page will now default to empty content, inserting prerendered app HTML as needed.
46
47## 0.4.0 (November 6, 2017)
48
49* Unify PrerenderPlugin and LocaleHtmlPlugin into a single general-purpose plugin
50* Defaults to `en-US` locale but supports all the same locale option as LocaleHtmlPlugin (json files, literal objects, presets, etc.).
51* Locale preset json format updated to a more readable layout. For example:
52```json
53{
54 "locales": [
55 "en-US",
56 "es-ES",
57 "fr-FR",
58 "ko-KR",
59 "zh-Hans-CN",
60 ]
61}
62```
63* Fixed webpack 3.x prerendering when using asynchronous chunks.
64* Fixed screentype detection when not using an identifiable theme like moonstone.
65* Fixed browserslist support when using Electron browser to auto-determine webpack should use `electron-main` environment.
66
67## 0.3.0 (October 30, 2017)
68
69* Added support for targetted builds using the `BROWSERSLIST` browser [standard format](https://github.com/ai/browserslist).
70* Added `core-js` polyfill support to vdom rendering to allow for modern APIs.
71* Fixed loader detection from loader filepaths.
72* Changed default scope of browser support to ignore IE and IE Mobile.
73* Changed to generalized `package.json` requirements for greater flexibility and sharing or dependencies between packages.
74
75## 0.2.0 (October 5, 2017)
76
77* 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.
78* Added support for a CommonJS font generator to generate localized font CSS (deprecating the previous global prerender hook).
79* Added support for dynamic replacement of main entrypoint to `config-helper`.
80* Updated `package-root` to now throw an error when no root is found.
81* Updated dependencies.
82
83## 0.1.0 (September 28, 2017)
84
85* Initial code migration from `enact-dev`