v0.12.0
Overview
This release fixes and stabilizes the DOM shim loading to be more resilient in SSR environments, in addition to forking some of our dependencies to an ESM and more bundler friendly version.
Changelog
https://github.com/ProjectEvergreen/wcc/issues?q=label%3A0.12.0
- duplicate loads of the DOM shim leads to an infinite rendering issue
- registration of a custom element is being assumed when initializing a custom element
- vendor a bundle friendly and ESM compatible version of acorn-jsx
- adopt a bundle friendly and ESM compatible fork of escodegen
Breaking Changes
You won't require a JSON plugin (e.g. for Rollup) now that our fork of escodegen does not have a require
call in it to read package.json for getting the version
Known Issues
Diff
$ git diff 0.11.0 0.12.0 --stat
.npmrc | 1 +
package-lock.json | 739 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------
package.json | 13 +-
rollup.config.js | 6 +-
src/dom-shim.js | 20 ++-
src/jsx-loader.js | 6 +-
src/wcc.js | 8 +-
7 files changed, 560 insertions(+), 233 deletions(-)