Features
- compiler: auto detect css parts (#2510) (bce12b9)
- types: add
componentShouldUpdate
docs (#2505) (0425a78), closes #2489 - typescript: update to typescript 3.9.5 (2a8cd7d)
- Rollup 2.18.0
Bug Fixes
- css: fix compilation of multiple styleURLs (#2493) (d91819c), closes #2432
- jsx: fix refX / refY types (6cec36e), closes #2503
- change autocapitalize types to any to avoid conflicts (#2509) (19746d6)
- cli: correct import in generated spec tests (#2486) (9a80c41)
- client: import client platform from patch (dbacafc)
- compiler: types should not be based on package.json (65cdfbd), closes #2460
- dist: copy assets to the dist folder (2a8b1f1)
- worker: inline worker if there is a dist output target (#2450) (a96b346), closes #2438
- do not emit nomodule script of es5 is disabled (39c51db)
- runtime: enumerated boolean attributes (0d72aee)
- watch: fix watch callbacks in custom elements build (d052fe4), closes #2478
- #2366: rehydrate slot child (e152773), closes #2366
- dev-server: fix dev-server on ie11 (db19ba7)
- hydrate: fix hydrate attach styles (d891537)
- polyfill: add proper url base to import shim (#2410) (96dd746)
- resolve: fix rollup and commonjs resolve (0ea9c71), closes #2461
- sass: fix sass imports for scoped packages (e551be2), closes #2521
Performance Improvements
- reenable const class optimization (438c6b3)
Internal Changes
- Move browser patch fns out of
@stencil/core/internal/client
- Created
@stencil/core/internal/client/patch
to be used for lazy load builds - Internal packages now use
index.cjs.js
for CommonJS builds, andindex.js
for ESM builds - Updated internal package.json's
main
property toindex.cjs.js
- Removed
require('url')
from Node builds now thatURL
is global since Node v10 - Custom Elements output target will default to build to
index.js
instead ofindex.mjs