v0.11.0
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-sizeCSS custom property now behaves as
documented, and defaults to14px. -
The
--playground-floating-controls-colorCSS custom property now behaves as
documented. -
Fix missing
.jsextension from import inbuild.jsthat 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.tsfiles and "Could not resolve
module specifier" console errors when using import maps.
Changed
-
BREAKING
playground-base-urlis now resolved relative to the
import.meta.urlof the module containing the definition of
<playground-project>, instead of relative todocument.location.hrefas
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: ?1heading 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-familyof the tab-bar using a
::part(tab-bar)selector.