All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- (react-union-liferay-build-tools) - updated app version generated by liferay-scripts
- (react-union-liferay-build-tools) - updated artifact placement and name by liferay-scripts
- (react-union-liferay-build-tools) - Fix of missing
template-npmbundlerrc.json
in packaging
- New liferay boilerplate
- Progress on react-union-liferay-build-tools
- fix of multiple warnings being thrown in dev console due to https://github.com/liferay/liferay-amd-loader/commit/30b6e56fb3464e0a68b1f0e2601314f308184edb#diff-5d3acecd98578daf8479f9970d40a347
- (eslint-config-react-union) - Adding new eslint rules -
arrow-body-style
andcurly
- (react-union-scripts) - Migrating to terser
- (react-union-scripts) - Liferay basic example fails on yarn build
- Added
^
to all dependencies inpackage.json
.
- (react-union):
rescan()
, a function to imperatively rescan the document for widget descriptors. Callable from anywhere! - (babel-preset-react-union): The preset is now configurable with options.
- (react-union-scripts): Default value of
mangle
is now true (UglifyJS). - (react-union-scripts):
devtools
related to source maps are now easier to customize. - (react-union-scripts): The webpack entry is now an array instead of an object. As a result, the output is now named
main
instead of<app-name>
. If you're using React Union with Liferay, see the updated AMD Loader Scripts.
Many changes for future SSR support!
- (react-union): Handling of invalid JSON in widget and common descriptors.
- (babel-preset-react-union): The
babel-plugin-universal-import
has been added for convenience.
- (react-union): Routes should now have the
component
property instead ofgetComponent
. Please usereact-universal-component
or some other solution for asynchronous loading of React components. - (react-union):
onScanEnd
now returns an object with awidgetConfigs
property (instead ofconfigs
). - (react-union):
justUnmountComponentAtNode
no longer accepts thereactElement
as the first argument for consistency.
- (react-union): The rollup config has been improved.
- (react-union-scripts): Webpack optimization is now properly utilized, resulting in smaller bundle sizes.
- (react-union):
<Union />
no longer accepts thestrictMode
prop. - (react-union-scripts):
union.config.js
no longer supports thegenerateVendorBundle
andvendorBlacklist
props.