Skip to content

v0.11.0

Choose a tag to compare

@aomarks aomarks released this 28 Jul 20:29
· 207 commits to main since this release
13e6bf9

Fixed

  • Playgrounds now ensure that the service worker they are connected to have a
    matching version. Fixes issues relating to playgrounds being broken for some
    time after an upgrade.

  • The --playground-tab-bar-font-size CSS custom property now behaves as
    documented, and defaults to 14px.

  • The --playground-floating-controls-color CSS custom property now behaves as
    documented.

  • Fix missing .js extension from import in build.js that may have broken
    Webpack and other builds.

  • The hover effect and touch area for tabs in the tab bar are no longer offset
    by the height of the active tab indicator.

  • Fix bug that caused failures to load d.ts files and "Could not resolve
    module specifier" console errors when using import maps.

Changed

  • BREAKING playground-base-url is now resolved relative to the
    import.meta.url of the module containing the definition of
    <playground-project>, instead of relative to document.location.href as
    before. This means that . can now be used to refer to the local playground
    installation directory.

  • The service worker now sets the Origin-Agent-Cluster: ?1 heading on all
    responses, to encourage browsers to allocate a separate process or thread for
    Playground preview iframe under certain conditions. See the Process
    isolation

    section of the README for more details.

  • It is now possible to change the font-family of the tab-bar using a
    ::part(tab-bar) selector.