Skip to content

Latest commit

 

History

History
1350 lines (789 loc) · 100 KB

CHANGELOG.md

File metadata and controls

1350 lines (789 loc) · 100 KB

🏊 1.16.0 (2020-07-06)

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 (2020-06-25)

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 (2020-05-29)

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 (2020-05-11)

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.7 (2020-04-29)

🚩 1.12.6 (2020-04-24)

Bug Fixes

  • buildevents: ensure all events are emitted after one is removed (48f18f2)
  • hydrate: console.debug diagnostic fix (6c1f058)

Features

  • prerender: prerender app while in dev/watch mode (6641c12)

🍦 1.12.5 (2020-04-18)

Bug Fixes

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

🚞 1.12.4 (2020-04-15)

Bug Fixes

  • cli: add g shortcut for generate (035972c), closes #2346
  • cli: pass --esm flag to th compiler (#2339) (939a493)
  • compiler: initializeNextTick=true by default (cb71057)
  • types: add href SVG attribute (#2359) (0c0a3d0), closes #2358
  • types: add onSlotchange to slot element attribute (#2357) (5b9b89e), closes #2356
  • watch: rebuild on css import file changes (b7ca6e1)
  • workers: wrap code around iife (c4479cc)

Features

  • compiler: add extra for transformTagName (#2343) (253894d)
  • devserver: dynamic dev server / socket url config (acecc68)
  • prerender: improve prerender logging, disable crawlUrls options (0683598)
  • types: add enterkeyhint HTMLAttribute (#2367) (5adcdd3)

Performance Improvements

🌙 1.12.3 (2020-04-06)

Bug Fixes

Features

  • prerender: improve prerender logging, disable crawlUrls options (0683598)

Performance Improvements

🐷 1.12.2 (2020-04-04)

Bug Fixes

  • testing: skip debug logs (23b2566)
  • install correct lazy dependencies (dd47dbe)
  • vdom: reflect props need vdomAttribute (2b1291c)

Features

  • prerender: add more hooks to prerender config (5d9165f)

🐓 1.12.1 (2020-04-02)

Added taskQueue: 'immediate' config setting.

1.12.0 (2020-04-01)

Bug Fixes

  • types: part can be used in svg (45f02de)

Features

🦁 1.11.3 (2020-03-30)

Features

Bug Fixes

Performance Improvements

  • compiler: skip some output targets in dev mode (281c274)

🕹 1.11.2 (2020-03-23)

Bug Fixes

  • angular: validate angular outputTarget (413c451)

🐝 1.11.1 (2020-03-23)

Features

  • compiler: add minified stencil.min.js (d2cb1f9)
  • compiler: expose path fns in compiler (7e95038)
  • sys: add fetch to compiler system (0977a44)

Bug Fixes

  • runtime: next tick initialize for angular (#2299) (d771df5)

🍿 1.11.0 (2020-03-20)

Bug Fixes

  • compiler: handle component styles with literals (2bef0f3)
  • compiler: rename @stencil/core imports in all d.ts files (4c70fdd)
  • test: e2e tests without www output target (7be5255)

🏓 1.10.3 (2020-03-19)

Bug Fixes

  • vdom: functional components always get object as props (0f71c6c)

🤘 1.10.2 (2020-03-19)

Bug Fixes

🍋 1.10.1 (2020-03-17)

Bug Fixes

  • bundler: not resolve browser modules (#2279) (93182e7)
  • docs: validate vscode output docs (2f48a8d)
  • disable console colors in E2E testing (27e1eda)
  • docs: parse css variables docs (#2273) (1370152)

🎭 1.10.0 (2020-03-16)

Bug Fixes

  • docs: use pipe for union types (d196971)
  • build: alias @stencil/core/internal imports to correct platform (#2267) (d04a1ca)
  • fs: clone cached fetch response text (f19a3df)

Features

  • docs: include listeners in docs-json (#2272) (040111e)
  • mock-doc: add Request, Response, Headers to mock-doc and testing (31502ff)
  • logger: disable log colors for ci builds (88c76e6)

🚦 1.9.2 (2020-03-12)

Deprecate element.forceUpdate() and print console warnings during development to import forceUpdate from @stencil/core instead. The forceUpdate() method be removed from the host element in v2.

Bug Fixes

  • build: minify css-shim build (7eaad18)

🐧 1.9.1 (2020-03-10)

Bug Fixes

  • watch: only remove from module cache on delete (1f4ff24)

🏔 1.9.0 (2020-03-09)

With the 1.9.0 release, the default compiler is the same as 1.8.x. However, to opt-in to test the improved compiler use the --next flag. Once the "next" compiler is stable we'll then make it the default in the 1.10.0 release. Currently the next compiler is passing all tests, but we'd like to get more real-world testing before making it the default.

Some of main features with the --next compiler include:

  • Faster incremental builds and TypeScript error feedback
  • Easily bundle and interact with Web Workers
  • dist-custom-elements-bundle Output Target (components without lazy loading)
  • Internal compiler and runtime refactor in order to improve 3rd party tooling
  • Import CSS files using traditional ESM imports
  • Online REPL
  • TypeScript 3.8.3
  • Rollup 1.32.0

Features

  • build: web workers esm (67a7fc2)
  • compiler: custom-elements-bundle (228e382)
  • mock-dock: support all css selectors (a2c4667)
  • mock-doc: add insertAdjacentHTML (42921d2), closes #1980
  • mock-doc: get attributes by index (d91b197), closes #1211
  • worker: transfer any typedArray (302ddb1)
  • docs: Add documentation output for Shadow Parts (#2122) (f7cd61a)
  • mock-doc: selector to handle child combinators (#2037) (6fd43e7)
  • test: Add two event detail jest matchers (ebc518d), closes #2046
  • compiler: add config flag for preventing script inlining (#2077) (f85cf42)
  • compiler: add Build.isTesting (eac90bd)
  • bundler: txt plugin (b0efb11)
  • compiler: add Build.isServer (56d94f3)
  • config: also load and validate tsconfig within loadConfig() (cbff6e1)
  • hydrate: always build hydrate if it's an output (92a6015)
  • cli: update tests in task generator (#2128) (e6af190)
  • fetch: export mock fetch testing apis (c63a64f)
  • prerender: add prerender task cmd for existing hydrate app scripts (f4f3213)
  • polyfills: optionally exclude css vars shim (b3b6993)
  • bundling: add webpack chunk name (3ca7d82), closes #1345 #1346
  • dev-server: experimental dev node modules (104a819)
  • runtime: dispatch namespace in lifecycleDOMEvents (67cb2f3)
  • add dynamicImportShim as extra (#2177) (fd81489)
  • e2e: include global style in e2e html content (b8e7a8f), closes #2192
  • hydratedFlag: ability to configure applied hydrated css class (62e2168)
  • minify dist-custom-elements-bundle in prod mode (7f90430)
  • build: exclude setting vdom prop/attrs when not used (381b66d)
  • extras: add ability to opt out of scriptDataOpts (d622712)
  • minify: improve minifying core (747fb7d)
  • style: set static style as property on cmp clss (ba14fe6)
  • cli: add ComponentInterface in component generator template (#2147) (1688ff4)
  • docs: disable the dependencies part of the markdown docs. (#2145) (4e74f26)
  • compiler: export optimizeCss and optimizeJs (d80a111)
  • next: transform css content to esm format w/ compile() (a72c01d)
  • prerender: optimizeCss and optimzeJs (425ce38)
  • styles: use static get styles() with template literals (ff79406), closes #2234
  • compiler: treeshake supportsShadow (#2249) (da634da)
  • runtime: remove slot polyfill more aggressively (#2244) (56da2e7)
  • sw: do not register or unregister sw when config set to false (565d353)

Bug Fixes

  • config: filter spec/e2e from tsconfig for stencil builds (5dfa164)
  • css: improve css minify (a7d7e3c)
  • deps: ensure deps unique (21afacb)
  • hmr: fix style hmr (c14fcc4)
  • next: fix web worker ts.sys patching (fe0ab8a)
  • testing: add @stencil/core/testing to next compiler (5efb2e5)
  • watch: exclude exts/dirs from watch (8ab7478)
  • compiler: add sw to next compiler (afd2215)
  • build: skip d.ts cache file (98b067b)
  • www: respect allowInlineScripts (1042a50)
  • don't inline main script (8c04fd1)
  • compiler: change props union type parsing (#1779) (46b1090)
  • dist: allow globs in package.json files (9777426), closes #1792
  • docs: fix docs build (d83e355), closes #2095
  • screenshot: set correct width/height (14e8ffc), closes #1209
  • www: fix prod import paths for www output (e66c9ea)
  • compiler: dead @Watch() are warnings in dev mode (0dd169a)
  • compiler: fix circular dependency with @app-globals (ce4a6c8)
  • compiler: resolve const enums (86c0afe)
  • dev-server: append dev server connector within (140fc7f)
  • fs: do not skip specs in ts.sys (d753e38)
  • fs: output targets in separate map (e2b5318)
  • hydrate: do not remove existing canonical links (19da9ec), closes #2097
  • next: fix dev server hmr (f1af876)
  • next: fix file watch callbacks (80cc68d)
  • next: fix ts readDirectory, use fetch cache (18360ca)
  • prerender: fix max concurrency (a24f9d1)
  • runtime: better error for unknown mode (d0eeec0)
  • worker: check for web worker support (09f8e18)
  • worker: ensure value undefined when error (484dc6b)
  • worker: improve error debuggin in dev mode (d2b648d)
  • worker: dev error (eeb8b3d)
  • compiler: config.extras is always defined (d5591d3)
  • next: don't minify css around + (d38707d)
  • next: emit componentGraph data (3d4eb4a)
  • node: semver break bundling (58f9b4d), closes /github.com/npm/node-semver/blob/bb36c98d71d5760d730abba71c68bc324035dd36/index.js#L7-L21
  • vdom: functional components can accept any children (93081f5), closes #2007 #1969
  • worker: add dev error about non async exports (e056a87)
  • compiler: add unused watch error (f9c8078)
  • compiler: do not force disable incremental build (f5a5daf)
  • compiler: include dependency globals (8de1667)
  • compiler: move worker file to the root (71adb25)
  • compiler: unused variables becomes a warning in dev mode (d55ade5)
  • next: validate tsconfig w/ ts parse config api (10a6471)
  • runtime: safari 10.0 does not implement the performance api #2081 (117e9a9)
  • worker: make them strongly typed and allow to pass callbacks (89d5f40)
  • worker: minify worker in production (3716040)
  • worker: move main thread into a virtual module (606fdbf)
  • worker: use event listeners and stencil prefix (8b37fc5)
  • compiler: don't inline scripts with crossorigin (9cdcb28)
  • config: add warning for stencil.config.ts in tsconfig (b93b32b)
  • next: do not overide rootDir (f1be974)
  • next: fix JsonDocs dts (93ff155)
  • next: fix readPackageJson (ae10174)
  • next: prepend ext-modules.d.ts ref to internal index (b2506fe)
  • next: resolve remote internal dts urls (2999885)
  • next: resolve remote url ts extensions (5ae307d)
  • next: warnings does not kill the process (29ff45e)
  • compiler: fix prerendering in next compiler (4669ad9)
  • fs: fix sys fs.readdirSync (ec75495)
  • next: collection output target (5fffda1)
  • next: do not override target (d1bd0e2)
  • next: typescript plugin runs first (67e6565)
  • runtime: cmpMeta is part of hostRef (04f7dcd)
  • www: inline esm in place (b99344f)
  • next: optimize dist-custom-elements bundle (50b5a27)
  • next: optimizes mode entries (634e394)
  • next: skip test files (150d984)
  • next: www runs after lazy build (96ae066)
  • compiler: resolve dependencies package.json correctly (0f029ae)
  • next: ensure at least one output target (751ada9)
  • worker: fix passing back worker error (9304db7)
  • es5: optionally do not include polyfills for dist builds (4964f1e), closes #2005
  • namespace: fix namespaces w/ dashes (84ef0b2), closes #2116
  • next: copy cmp assets to correct directory (8887579), closes #2120
  • next: normalize paths (#2124) (f980954)
  • prerender: add reflect to attributes while prerendering (7974c41), closes #2119
  • reflect: reflect attrs when no vnode attr (2b948b2)
  • css: add types to css parser/serializer and add more tests (b9e4595)
  • gatsby: ensure window references are avoided (b00bed6)
  • hydrate: fix const Context declaration (d20f6ed)
  • jsx: every JSX element should have a "key" (#2113) (1243e8d)
  • logger: checking iterability of diag.next (#2107) (fb5b11b)
  • next: allow browser main thread compiler, fix ts imports (64e3810), closes #2130
  • dev-server: visibility hidden connector iframe (b86e537), closes #1683
  • test: lock in working version of fast-deep-equal (8ad1540), closes #2133
  • css: fix media whitespace removal (918ae5a)
  • css-shim: check for MutationObserver (#2140) (f5140c4)
  • next: create collection-manifest.json (d9b236a), closes #2150
  • next: empty dist directories (c4590ff)
  • next: fix collection output paths (7097a9d), closes #2149
  • next: fix dist output (aa57ebc)
  • next: fix output dts relative path (9e2679e)
  • build: fix global script and collection builds for distribution (df83832)
  • dev-server: ensure utf-8 (ca42fca), closes #2161
  • next: fix standalone compiler (674019b), closes #2142
  • normalizePath: ensure non-ascii paths can be normalized (a97c2f5), closes #2161
  • normalizePath: improve normalizePath (addfdbc)
  • resolve: resolve also w/ typescript compiler option paths (69efa87)
  • build: always build esm for dist, both prod and dev mode (06e90bf)
  • next: add tick before stencil_appload dom event (a71b3af)
  • next: do not read collection of the same project (76f46f2)
  • next: fix hydrate build w/ global script, w/out Context (d65b0cc)
  • next: improve createJsVarName (d219327)
  • next: copy styles to collection build (baf5bcf)
  • next: fix lerna collection (24f59d3)
  • next: unregister service worker during e2e tests (a34b88b)
  • windows: update puppeteer and jest, format components.d.ts (558aa72)
  • css: fix node_module css imports (cc79e39)
  • hydrated: fix hydrated config for legacy compiler (1d1e900)
  • next: emit fsChange event (09986b0)
  • compiler: ignore irrelevant emitted files of ts transpiler (#2212) (65d5f6e)
  • core: disable booleans_as_integers minification option (e62f212)
  • css: node_modules css imports (cc7e154)
  • dev: don't show warning for inputs without value (#2209) (4744070)
  • listeners: add host event listeners within constructor (dc1ba91)
  • vdom: do not reset $slotRefNode$ when relocating nodes (#2208) (ff7807d)
  • css: do not remove /*! comments (581be70)
  • hydrate: check for valid element nodeName (9994c5b), closes #2157
  • hydrate: do not register cmps that should be excluded (1ff1d79)
  • next: comment shadow css for client hydrate (2b69230)
  • next: do not inject global style into e2e setContent unless set (eb4c5d4), closes #2210
  • next: fix promisify.custom and node util bundling (51a9a5e)
  • next: fix styles hmr (9a015e9)
  • ts: all unused imports is a warning (a515d17)
  • worker: use Blob for cross-origin web worker (cbeec64)
  • next: update jest presets (7c83111)
  • compile: check for global ts before nodejs/webworker ts (59cc59e), closes #2239
  • compile: enable vdomPropOrAttr by default (9881011), closes #2238
  • compiler: prefix assets in prod mode (#2236) (2c1a906)
  • next: run custom output targets (a9c0715)
  • prerender: only comment original selectors for shadow css (b5757df)
  • slot: patch childNodes/children getters for browsers w/out shadow support (efca632), closes #1280
  • client: default supportsShadow to when shadowDomShim false (185f933)
  • compiler: do not polyfill import.meta when using native import() (#2250) (a644004)
  • compiler: only rebuild after success (#2248) (3a63c4f)
  • next: always reset process cwd before each build (91617f8)
  • next: clear module cache after updating/deleting module (62971ea)
  • next: simulate nodejs fs errors (d735787)
  • listeners: reattach host listeners (8ea183e), closes #2253
  • prerender: validate prerender config w/ prerender task (26cc015)

🏰 1.8.11 (2020-02-27)

Features

  • hydrate: excludeComponents option (a75f76a)

🎿 1.8.10 (2020-02-25)

Bug Fixes

  • minify: do not remove console.debug() (acd7209), closes #2216

Features

  • input: update JSX InputHTMLAttributes (38ffc86), closes #2218
  • mock-doc: add global HTML constructors to node test global (5036a59)
  • rollup: update to rollup 1.31.1 (a883b93)
  • typescript: update to typescript 3.8.2 (aa4d189)

⛄️ 1.8.9 (2020-02-18)

  • Backported runtime improvements from 1.9.x builds

🏙 1.8.8 (2020-02-12)

Bug Fixes

  • hydrate: do not overwrite parent shadow style when multiple scoped (a10a37f)
  • slotted: fix applying polyfilled slotted css to nested slot (e4229db), closes #2183

🏎 1.8.7 (2020-02-04)

Bug Fixes

  • runtime: render svg #text nodes (#2176) (f623bf7)
  • slot: correct order of nested slots (800292f), closes #2159
  • slot: do not render light dom without unnamed slot (8298659), closes #2162

🚚 1.8.6 (2020-01-24)

Updated:

  • TypeScript 3.7.5
  • Rollup 1.29.1
  • Terser 4.6.3

Bug Fixes

  • dist: optionally provide defineCustomElements window (dfca3ed)
  • ie11: indexOf instead of includes (2f16d2a), closes #2151

🏕 1.8.5 (2020-01-09)

Bug Fixes

  • shadowDom: improve supports shadow dom check (423eec3), closes #2117
  • polyfills: apply SystemJS polyfill conditionally (20af1bd), closes #2005

⭐️ 1.8.4 (2020-01-06)

Bug Fixes

  • css-shim: apply css vars to global styles (4070312), closes #2076
  • safari: update safari 10 to use es5/system builds (cc4c013), closes #1900
  • slot: fix appendChild when using slot polyfill (e8b4c59), closes #1686

🚍 1.8.3 (2019-12-30)

Bug Fixes

  • crossOrigin: fix crossOrigin error on edge (965b4af)
  • hydrate: fix scoped/ie11/edge clientside slot hydrate (d4314f4)
  • ie11: ensure document.body ready for es5 msg (763343e)
  • mock-doc: add CSSStyleSheet insertRule() to fix emotion-css SSR (3aa702c)

Features

  • e2e: add togglesAttribute() and removeAttribute() to e2e elements (ca27197), closes #1745

🐍 1.8.2 (2019-12-18)

Features

  • delegatesFocus: ability to set delegatesFocus on shadow cmps (f45c919), closes #1623
  • custom: add copy tasks to custom outputTargets (#2023) (65aeb8c)
  • runtime: experimental active render context (#2040) (75ed488)

Bug Fixes

🔋 1.8.1 (2019-11-15)

Bug Fixes

  • dev: add value order warning (4124720)
  • es5: workaround around es5 helpers name conflict (#2013) (b5353bd), closes #1916

🚀 1.8.0 (2019-11-13)

Bug Fixes

  • jsx: add referrerPolicy for iframe interface (#2003) (c2be55e)
  • slot: fix non-shadow list inside of a shadow DOM component (#1197) (b8f22da), closes #897

Features

🚎 1.7.5 (2019-10-29)

Bug Fixes

  • jest: bump jest versions to fix types (68f5a02)
  • jest: improve lazy require install output (264f0a7)

Features

  • jest: bump jest (567a6b7)
  • jest: optionally jest transform esm files to cjs (7adf62f)

🎠 1.7.4 (2019-10-23)

Bug Fixes

  • types: use var for components.d.ts (7e166e1)

🌼 1.7.3 (2019-10-18)

Bug Fixes

  • types: always copy stencil.core.d.ts when pkg json types exist (7832148)

☕️ 1.7.2 (2019-10-15)

Bug Fixes

  • compiler: disable eslint for components.d.ts (09ee00c)
  • event: add warns for events that start with "on" (1fa6636)
  • vdom: add dev check for unexpected vnode (#1950) (358e925)

🚐 1.7.1 (2019-10-11)

Bug Fixes

  • compiler: respect hashFileNames for rollup chunks (59d7a55)
  • compiler: warn about properties that look like events (25f60fe)
  • hydrate: fix hydrate platform (19f1614), closes #1940
  • vdom: render as attribute (73ea50e)
  • add dev mode debug log (28b50df)

Features

🍜 1.7.0 (2019-10-10)

Bug Fixes

  • profile: improve profiling (fdaa035)
  • remove error (e0cfdf2)
  • lifecycles: defer connectedCallback processing until all components are registered (#1930) (0f302eb)
  • profile: add st:app:start mark (fd6b508)
  • render: adds warning about mutations inside render() (0aca665)

Features

  • dev: add basic devtools API (c5ebbfe)
  • runtime: add performance profiling (f5817a0)

☀️ 1.6.1 (2019-10-08)

Bug Fixes

  • testing: more consistent screenshots (ad42326)

🚖 1.6.0 (2019-10-08)

Bug Fixes

  • docs: json docs match JsonDocs types (eaee62c)
  • loader: better resourceUrl resolution (f56eeb4)
  • fix chunk URL determination in IE11 (#1918) (0c933a4)
  • lazy: async methods resolve on instance load (#1919) (f1c5fd5)
  • vdom: fix onAnimationStart/End (#1907) (34c77bd), closes #1906
  • vdom: fix vdom static analysis (#1920) (eee6336), closes #1917
  • update lifecycles respect hierarchy (#1924) (29bdd8f)
  • compiler: fix static analysis for functional and vdom text (0901698), closes #1903
  • compiler: warn about deprecated attr option (22eb531)
  • lifecycles: async rendering in dist-module (515df03)
  • mock-doc: add html collections to document (0bf3877), closes #1925
  • runtime: add warning for non-mutable props (f960a3d), closes #1927
  • types: Build properties are readonly (5f16d81)

Features

Performance Improvements

  • vdom: class shape optimizations for v8 (#1910) (0a0d21e)
  • compiler: better treeshake vdom features (96eec74)
  • vdom: misc perf improvements (ee33d3d)

😜 1.5.4 (2019-10-01)

Bug Fixes

  • karma waiting (5bc76a7)
  • sys.node (68408f6)
  • compiler: only treat unused diagnostics as warnings (add1337)
  • vdom: boolean properties in native elements (ccce46e), closes #1899

🐊 1.5.3 (2019-09-27)

Bug Fixes

  • ie11: improved css vars polyfill (5e4a0f9)
  • polyfill: guard against undefined nodes in getRootNode (#1898) (94cf5b2)
  • safari10: fix safari 10 support (35d61a4)

1.5.2 (2019-09-26)

Bug Fixes

  • css-shim: replaced innerHTML with textContent (#1892) (613c797)
  • ie: add isConnected polyfill (6fbbcab)
  • ie: DOMTokenList polyfill (09ea5de)
  • ie: fixed isConnected polyfill (ef2df7c)

🐽 1.5.1 (2019-09-25)

Bug Fixes

Performance Improvements

  • unknown globals are side effect free (370636a)

🍬 1.5.0 (2019-09-24)

Bug Fixes

  • compiler: component constructors can not have arguments (8df8bf9), closes #1855
  • screenshot: works over file protocol (440fd9d)
  • system: fix leaking variables (#1788) (d9881d3)
  • loader uses data-stencil-namespace (21552c8)
  • css-shim: skip 'Data URLs' when fixing relative urls (#1861) (40d8e1e)
  • docs: CSS variables typo (513012e)
  • docs: Minify CSS and JS config swapped (1953c12)
  • mock-doc: type defaults to "submit" (a865439)
  • vdom: initial render of properties (#1858) (e0085cc)

Features

Performance Improvements

  • e2e: enable GPU for osx and linux (d34d0f8)

💥 1.4.0 (2019-09-09)

Bug Fixes

  • docs: emit vscode custom html data (1008ee7)

Features

  • typescript: update to typescript 3.6.2 (9983da0)

🍔 1.3.3 (2019-09-06)

Bug Fixes

  • docs: print dependencies paths in unix format (22d9c93)
  • types: fix AsyncIterableIterator type error (6065bab), closes #1839

Features

  • mock-doc: add MouseEvent (#1830) (ad871b8)
  • testing: add getDiagnostics() and failOnConsole option (645b5f9)
  • testing: add template rendering (#1838) (ae74a27)

🐎 1.3.2 (2019-08-26)

Bug Fixes

  • testing: properly wait until stencil load (897b659)

Features

  • testing: spyOnEvent returns async iterator (c9d543a)

🐦 1.3.1 (2019-08-23)

Bug Fixes

  • dont error about exported function in global (ab65ba6)

🌎 1.3.0 (2019-08-20)

Bug Fixes

  • compiler: stencil core runtime is side effects free (3a44def)
  • dist-module: apply plugins to dist-module imports (1392b0c)
  • e2e: improve error reporting (c53d91e)
  • global: fix global script output (9d9ee20)
  • global: require global scripts to be wrapped w/ default export fn (bdae144)
  • jest: ensure correct argv types (766ab26)
  • mock-doc: property append document fragments (84400b3)
  • testing: do not skip output targets in testing (691b8ad)
  • testing: improve serialization of console logs (d4d11f0)
  • testing: skip e2e by default (110d5e4)
  • testing: skip script and style in text search (9d55304)
  • testing: spec source maps works in node debugger (225f488)

Features

  • cli: add component generator (#1814) (9ab0637)
  • compiler: support paths in compiler options (#1584) (66bb0cd)
  • log: do not error for semantic ts diagnostics when in dev mode (9e64ddc)

🏸 1.2.5 (2019-08-13)

Bug Fixes

  • file: make es5 work using the file protocol (a5c01c6)
  • legacy: remove NodeList forEach usage + polyfill (5b2f000)
  • keep console.log in prod mode (a145c74), closes #1799
  • puppeteer types (237e38a)

Features

  • dist-module: generate single file component module (2ce6982)

Performance Improvements

  • better optimize esm build (66571d0)
  • bundler: don't leak build conditionals (4bcd107)
  • prerender: serialize modulepreload links when using mode (4102cd3)
  • www: create modulepreload for main entry-point (134ac50)
  • optimize isComplexType (a13f45d)

🐗 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)

🍏 1.2.3 (2019-07-30)

Bug Fixes

🎁 1.2.2 (2019-07-26)

Bug Fixes

Features

  • compiler: add component compiler metadata to results (b354444)
  • compiler: add import paths to compile results (adca6d0)
  • dev-server: ssl support (#1653) (e6cc6da)

🍅 1.2.1 (2019-07-25)

Bug Fixes

🚙 1.2.0 (2019-07-24)

Bug Fixes

  • bundler: properly bundle all used components (eda46f6)
  • hydrate: patch document.baseURI for domino dom implementation (31ee8ad)
  • runtime: simplify classlist.add/remove for IE11 (#1760) (f51cb8f), closes #1757
  • vdom: foreignObject rendering (08bf9e3), closes #1733
  • vdom: skip empty classes (7004a59)

Features

  • build: add excludeUnusedDependencies (368b72f)
  • compile: browser compile (33b11a4)

Performance Improvements

  • build: speed up www dev build (88d37a1)

🐕 1.1.9 (2019-07-22)

Bug Fixes

  • vdom: classes with consecutive spaces (f25b9eb)

📍 1.1.8 (2019-07-22)

Bug Fixes

Features

👒 1.1.7 (2019-07-16)

Bug Fixes

  • angular: property assignment happens after append (#1732) (4a3982d)
  • copy: emit copy www in appDir (d61e6a8)

Features

🍪 1.1.6 (2019-07-09)

Bug Fixes

  • polyfill: ensure window context w/ fetch polyfill (37c78f3)

Features

  • compiler: warn about event name conflicts (015ea32)
  • logger: expose logger config for custom logging (709454f)

🍸 1.1.5 (2019-07-05)

Bug Fixes

  • ie11: strict mode bug (bf27172), closes #1712
  • runtime: watch is enabled before connectedCallback (45e99f6)

Performance Improvements

  • expose api to bypass zone (d5ccef5)
  • angular: skip zone on method and prop set (d1bde58)
  • runtime: optimize dom write scheduling (8897c6f)

🍗 1.1.4 (2019-07-03)

Bug Fixes

  • copy: if dest is specified copy task is not relative (4292f74), closes #1697
  • hydrate: improve hydrate app builds (3267f66)
  • runtime: dispatch queue events before willLoad (2d1a0aa)
  • jsx: add slot attribute to DOMAttributes (3b2de4e), closes #1690
  • mock-doc: createElementNS follows spec better (9f83b54)
  • mock-doc: use document.baseURI has base URL (b05ae9c)
  • testing: goto options are optional (da73dda), closes #1689

Features

🎀 1.1.3 (2019-06-28)

Bug Fixes

  • copy: copy files on watch (3ea354a)
  • copy: glob copy (f39b376)
  • ie11: remove unnecessary polyfills (fb6606d), closes #1668
  • runtime: prevent call Watch before willLoad (91fb61d)
  • runtime: prevent forceUpdate before first render (67b4ae8)
  • vdom: relocation bug (e953e22)
  • back-compatibility with old stencil runtime (10a5704)
  • core-js only targeting ie11 (07a5296)
  • update ComponentInterface definition (e5bae1b)

Features

  • generate empty entry point for loader (144e966)

Performance Improvements

  • only inline <1KB entry-point (a2a8033)
  • use JSON.parse() when metadata is > 10KB (ab0e9d6)

🐏 1.1.2 (2019-06-25)

Bug Fixes

  • testing: ev is not defined (c6bd82d)
  • normalize default mode (b15c6a5)
  • e2e: consistent font rendering (3b2cc94)
  • prerendering: filter download links (2f664f0)
  • testing: close browser context and better error reporting (0a2fcf3)
  • testing: disable concurrency (e12993b)

Performance Improvements

  • don't cap max workers (82d8094)
  • generate modulepreload for mode (29d87c2)

🚨 1.1.1 (2019-06-25)

Bug Fixes

  • testing: better error reporting (8acf74e)
  • testing: respect user config (70e711f)
  • testing: Skip puppeteer install (01f0a93), closes #1529

🍻 1.1.0 (2019-06-24)

Bug Fixes

  • ie: cascadian css in :roor and html (28e99c3)
  • ie: global css variables (56c5f68)
  • fix timeout for screenshot (71ebdac)
  • testing: remove request listener after first load (f569ac8), closes #1567
  • disable hmr in testing mode (8f33df8)
  • compiler: warning regex for .ts(x) imports (#1583) (4f976dd)
  • testing: SpecPage is not exported (#1657) (dd88c56)
  • fix small typo (necesary -> necessary) (#1663) (75d89ec)
  • tests: let tests run unless build triggers error (#1678) (ee28980)
  • add runtime dev error for common issues (2ee6db0)
  • compiler: generate loader when es5 is disabled (0b4d814)
  • emit loader if es5 is disabled (0bbda39)

Features

  • e2e: devtools flag and page.debugger() (0b8fe24)
  • testing: expose waitFor option (62839d8)

Performance Improvements

  • testing: only wait for network0 during screenshot (1d8ece5)
  • testing: reduce memory usage by closing pages after each test (66ad23d)
  • property read does not have side effects (ac312b3)

Reverts

  • test: timeoutBeforeScreenshot values (a5f40c3)