Skip to content

Releases: enactjs/dev-utils

v1.1.2

10 Aug 16:14
Compare
Choose a tag to compare
  • Fixed locale classes failing to be applied on a multi-locale prerender when deep-linking is used.
  • Fixed font style prerendering, with added support for font overrides.

v1.1.1

10 Aug 16:13
Compare
Choose a tag to compare
  • Fixed PrerenderPlugin not correctly spacing root classnames in multilocale prerendered HTML files.

v1.1.0

10 Aug 16:13
Compare
Choose a tag to compare
  • Added new plugin VerboseLogPlugin and a corresponding verbose mixin. Progressively outputs detailed log informations as a build executes.
  • 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.
  • Fixed SnapshotPlugin build failure with React 16.4.1.

v1.0.4

10 Aug 16:12
Compare
Choose a tag to compare
  • Support @enact/core/snapshot window hook for SnapshotPlugin's environment update helper.
    Preserve HTML comment nodes within app prerendered HTML (fixing support for React 15's empty nodes).

v1.0.3

10 Aug 16:11
Compare
Choose a tag to compare
  • 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.

v1.0.2

10 Aug 16:10
Compare
Choose a tag to compare
  • Fixed automatic resolution independence detection and configuration.
  • Updated framework mixin to remove ReactPerf reference, which is no longer needed in React 16.

v1.0.1

26 Mar 17:46
Compare
Choose a tag to compare
  • SnapshotPlugin's mock window updated to catch modular event listeners added to document/window and forwarded at launch-time. Fixes React 16 support.
  • SnapshotPlugin will now output a helpful stack trace on exception.

v1.0.0

26 Mar 17:45
Compare
Choose a tag to compare
  • Added basic documentation.
  • Top-level exports are now loaded/parsed on-demand when accessed.
  • Support dynamic output path with framework mixin.
  • Remove unneeded main package detection.
  • Fix root package.json detection on Windows platform.
  • Fix iLib localedata/moonstone ResBundle detection on Windows platform.
  • Ensure moonstone ResBundle is correctly included when running tests within moonstone itself.
  • Improved source code formatting/validation via eslint-plugin-import along with eslint-plugin-prettier.

v0.5.0

10 Mar 18:22
Compare
Choose a tag to compare
  • 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.
  • PrerenderPlugin inline script to initialize root fontSize now considers window height in addition to window width.
  • Deep linking support in a prerendered page will now default to empty content, inserting prerendered app HTML as needed.

v0.4.0

10 Mar 18:21
Compare
Choose a tag to compare
  • Unify PrerenderPlugin and LocaleHtmlPlugin into a single general-purpose plugin
  • Defaults to en-US locale but supports all the same locale option as LocaleHtmlPlugin (json files, literal objects, presets, etc.).
  • Locale preset json format updated to a more readable layout. For example:
{
	"locales": [
		"en-US",
		"es-ES",
		"fr-FR",
		"ko-KR",
		"zh-Hans-CN",
	]
}
  • Fixed webpack 3.x prerendering when using asynchronous chunks.
  • Fixed screentype detection when not using an identifiable theme like moonstone.
  • Fixed browserslist support when using Electron browser to auto-determine webpack should use electron-main environment.