Bug Fixes
- compiler: minify dist-custom-elements and hydrate-script (#6482) (ec043cd)
- compiler: resolve node_modules css imports (#6493) (84ac5b8)
- css: css imports with functions and media queries (#6474) (249f84a)
- css: enable parsing of native, nested css selectors (#6480) (3506686)
- css: pseudo-element selectors in nested media queries (#6486) (20ce1ce)
- css: strip comments before adding css to js (#6487) (2892b4f)
- css: vanilla css live-reload & added globalStyles to dev
<style>(#6488) (34cb672) - dist-custom-elements: index / default entry types (#6489) (7b89b5c)
- runtime: malformed
<template>elements (#6492) (8608bd9) - runtime: respect slotted element initial 'hidden' property (non-shadow) (#6499) (d3b8b7a)
- runtime: stop patching non-shadow components without
<slot>(#6483) (44fb8de) - sourcemaps: generate entry sourcemaps during a dev build (#6476) (e678159)
- ssr: stop removing slotted whitespace (#6477) (b4c5886)
- styles: support rendering across documents (#6481) (b73a44b), closes #6479
- testing: always render
shadowrootdelegatesfocusas a boolean (#6490) (8f266de) - testing: puppeteer <= 22 executable path (#6478) (ecb279a)
- types: correctly expand and resolve
type | generic<type>(#6495) (d43e29b)
Features
- api: manual slot assignment - Read the docs - (#6497) (92097e4)
- compiler:
sourceMap: "dev"- Read the docs - (#6498) (0be1ea1) - compiler: new
excludeComponentsconfig option - Read the docs - (#6491) (f60693e) - types: add Invoker Commands API attributes to button (#6494) (792acf5)
- watch decorator: new handler option
immediate- Read the docs - (#6484) (7cc22f6)
New Contributors
- @AmmarGillani95 made their first contribution in #6494
- @emandirola made their first contribution in #6481
Full Changelog: v4.39.0...v4.40.0