Releases: ionic-team/stencil
Releases · ionic-team/stencil
🚁 1.16.3
Bug Fixes
- cli: export parseFlags api (3bd1904)
- commonjs: bump commonjs plugin to 14.0.0 (7eee192)
- compiler: check reference type text (fdc271c), closes #2569
- hydrated: fix custom hydratedFlag config (013ca8c), closes #2574
- prerender: await hashed template html (f4b1799)
- sys-node: improve os.cpu() checks to read model (05ea6df), closes #2565
- test: fix testing.testEnvironment setting (645f3a0), closes #2425
- type definition: add abbr to ThHTMLAttributes (#2568) (d0f7ff1)
Features
🍷 1.16.2
🎱 1.16.1
🏊 1.16.0
Features
- TypeScript 3.9.6
- Rollup 2.19.0
- deno: create deno system to run cli and compiler from Deno Experimental!! (b3d79c6)
Bug Fixes
- compiler: fix transitive module dependencies in unit tests (#2178) (#2549) (6585dd1)
- e2e: readiness flag on slow or overloaded computers (#2525) (a19ac90)
- jest: correctly set coverageThreshold (#2529) (915bfce)
- jsx: add autocomplete to
<select>
(69ccbf1) - worker: use importScript() to load cross-origin worker (d6b73b1)
- compiler: ensure event emitters defined before user statements (1b52d43)
- runtime: correctly set isWatchReady flag for custom elements build (36b4978)
- treeshaking: update build conditional treeskaking optimization (2ba24b1)
🎙 1.15.0
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
🏒 1.14.0
Features
dist-custom-elements-bundle
output target improvements/fixes- TypeScript 3.9.3
- Rollup 2.10.9
- Requires NodeJS >= 10.13.0
- import-format: text and url format import param (4f1f39a)
- add focusin and focusout event declarations (#2436) (0d730d6), closes #2435
Performance Improvements
- compiler: do not build hydrated in dev mode (#2448) (8e65201)
- transpile: skip component.d.ts formatting (#2304) (e3f2700)
Bug Fixes
- runtime: schedule update when value change in ref() (54ee75f)
- emit private types in local component.d.ts (#2447) (9d444ff), closes #2440
- cli: fix --version and --help flags (40baa54)
- compiler: components without mode should never get mode suffix (#2445) (11e1ccb)
- compiler: use transformed css to check changed imports of globalStyle (#2422) (7742a87)
- dev-server: allow no trailing slash for custom base url (0fae632)
- compiler: disable const class optimization (eac02cb), closes #2462
- custom-elements: generate types for ce build, fix import paths (22f3f23)
- transform: always update lazy class declaration (6dd59b3)
- ts: ts resolve failedLookupLocations fix (30203b8)
- spellcheck: put an any on it (#2476) (1418c04)
- custom-elements: fix copy tasks (d810649)
🚂 1.13.0
Features
- Add
staticSite
toprerender.config.ts
- Add
staticDocument
toPrerenderHydrateOptions
- Add
staticComponents
toHydrateDocumentOptions
- Assume a static site build when
index.html
does not include scripts - Do not define custom element for static only components
- Do not add link rel=modulepreload for static only components
- Do not minify inline script/styles if already minified within template
- Ensure valid "src" URL within mock-doc
Bug Fixes
- docs: include parts in top level docs json (#2412) (131904f)
- gatsby: prevent clientside for ssr/ssg node env (6bec727), closes #2411
- jest: change package used to import runCli (#2387) (620d350)
- jest: jest testing updates (6d69f53)
- jest: ensure jest-cli, set presets (0d3ed7d)
- polyfill: slot child fix (#2375) (654d753), closes #2373
- runtime: fix lifecycle state values (#2414) (8302fed)
- dev-mode: always add dist-types (#2402) (f523461)
- e2e: fix puppeteer types (4b38e7d)
- hydrate: set shadowRoot property on host element (28128df), closes #2301
- jsx: add missing 'as' attribute to LinkHTMLAttributes (#2404) (28f6cc5)
- jsx: expose exportparts (180e890), closes #2383
- prerender: fix prerender.config.ts transpiling (763c0be)
- types: spellcheck is an string attribute (caf03fa), closes #2186 #2181
- add types for toggle event of html5 details (#2421) (ebf42cf), closes #2398
- test: allow setRequestInterception to ba called from user tests (#2330) (ff7fb41)
- testing: MockResponse404 is not ok (#2420) (43d30dc)
- add warning for missing include of the srcDir (c6b954c), closes #2380
- output: fix custom elements build for plain cmps (1a5095a)
- testing: don't remove request interceptor (8a18112)
🍦 1.12.5
v1.2.4
🐗 1.2.4 (2019-08-08)
Bug Fixes
- don't emit undocumented warning when deprecated (2ef43d1)
- fix tests (d6eded2)
- node types (35ab597)
- compiler: crash when printing warning (64607d1)
- dev-server: ssl support (#1653) (e6cc6da)
- runtime: always add .hydrated to (#1767) (143e07e)
- script: accept query parameter (1bf34b0), closes #1775
- vdom: render falsy attributes properly (368aee7), closes #1780
- workaround v8 caching issue (#1768) (c3d0910), closes #1759
Features
- build: export component classes as const variable (3a948af)
- emit warning when emitting event while disconnected (053a7df)
- compiler: add component compiler metadata to results (b354444)
- compiler: add import paths to compile results (adca6d0)