Skip to content

Releases: ionic-team/stencil

🚁 1.16.3

22 Jul 19:41
Compare
Choose a tag to compare

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

  • prerendering: pass results to afterHydrate (#2567) (135d49e)
  • transpile: add styleImportData option to not include style import queryparams (38d5821)

🍷 1.16.2

22 Jul 19:41
Compare
Choose a tag to compare

Bug Fixes

  • checker: fix how often to check for stencil updates (eb0da10)

🎱 1.16.1

22 Jul 19:42
Compare
Choose a tag to compare

Bug Fixes

  • cli: export cli types and runTask, move checkVersion to sys, add tests (02c62b5)

  • sys: ensure typescript sys patched for initial load (90913df)

  • typescript: correctly patch typescript import (b24933d), closes #2561

  • Rollup 2.21.0

🏊 1.16.0

22 Jul 19:43
Compare
Choose a tag to compare

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

22 Jul 19:43
Compare
Choose a tag to compare

Features

  • 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, and index.js for ESM builds
  • Updated internal package.json's main property to index.cjs.js
  • Removed require('url') from Node builds now that URL is global since Node v10
  • Custom Elements output target will default to build to index.js instead of index.mjs

🏒 1.14.0

22 Jul 19:44
Compare
Choose a tag to compare

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

22 Jul 19:44
91d728e
Compare
Choose a tag to compare

Features

  • ssg: static site generation (2a38293)
  • prerender: parse typed prerender config (7b6aaf7)
  • Add staticSite to prerender.config.ts
  • Add staticDocument to PrerenderHydrateOptions
  • Add staticComponents to HydrateDocumentOptions
  • 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

22 Jul 19:45
3dc0997
Compare
Choose a tag to compare

Bug Fixes

  • polyfills: check for getRootNode on Element when applying dom.js polyfill (#2370) (4b74027), closes #2369
  • support .css imports (d1edb0d)

v1.2.4

08 Aug 17:48
f48d8de
Compare
Choose a tag to compare

🐗 1.2.4 (2019-08-08)

Bug Fixes

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)

Performance Improvements

  • vdom: avoid creating an array in isComplexType (fbcd405)
  • async queue for hydrated client (fa7d29f)