Skip to content

v0.6.7

Latest

Choose a tag to compare

@trusktr trusktr released this 09 Feb 23:28
· 2 commits to main since this release

What's Changed

  • Improve special interpolations available for source code passed into live-code by @trusktr in #5

Deprecations:

  • Deprecate the use of ${host} in source code that is provided to <live-code>, and instead support ${location.<prop>} (f.e. ${location.pathname}, ${location.href}, etc).
    • Migration: use ${location.origin} in place of ${host}.
  • Deprecate href="/" from being automatically converted to href="<url>" where <url> is the location.origin of the wrapping window.
    • Migration: use a <base href="..."> tag along with ${location.<prop>} if needed. If you previously had <base href="/"> in an example's source, instead use <base href="${location.origin}"> to opt into the same behavior.

Full Changelog: v0.6.6...v0.6.7