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)