Changelog
@ogygia/core
Every release of @ogygia/core, newest first.
- Latest
- 0.15.1
- Versions
- 13
0.15.1 patch
Dependency updates only @ogygia/core
0.14.1 patch
Patch Changes
- In dev, a new element the router or a region update copies in that loses its closed declarative shadow root (
<template shadowrootmode="closed">) now warns withclosed_shadow_root_lostand the ways around it, instead of losing the root without a word. - A client navigation now puts the next page's own inline
<style>or inline<script>in the head when it differs from the last page's only after its first 48 characters; before, the last page's node was kept, so the page could show with the wrong styles. - A hole given a snippet prop and rebuilt in the browser (after Kit gives up hydrating) keeps the address the server gave it, instead of warning
hole_without_addressand never loading. Both legs now freeze a snippet to the same HTML: Svelte's server HTML without its hydration markers, which also makes a frozen snippet a little smaller in the page. - A template element beside an
{@html}that a third-party script edits before the island wakes is now put back from the server markup, instead of the island throwing its hydration away; server HTML now carries a small<!--@html-->marker at the start of such{@html}content. - A remote query made outside any island (a click handler, a module's top level) right after the island that used the same query left the page now gets fresh data, not an empty answer.
- When a third party puts an element into a sleeping island, the click that wakes it now still counts: the wake keeps every element after the inserted one (custom elements are no longer connected twice), and the replayed click, typed values and focus go to the element itself instead of to whatever now sits at its old position.
0.13.1 patch
Patch Changes
- A shared chunk that fails to download on a large page (one whose resource timing buffer is already full) is asked for again once and then said once with
chunk_reload_needed, instead of being retried on every wake without the message. - An island clicked before it wakes no longer waits for the click-replay code to download: that small chunk is fetched as background work once an island is armed (after the page's critical resources), instead of at the click.
- Back and Forward land exactly where the page was left when a region above that position gets its height after the page is swapped in: the scroll is held there while the page lays out, until the visitor scrolls or interacts.
- A router navigation between pages at different URL depths asks for the next page's stylesheets (and every other head URL) at the next page's address, not resolved against the page being left.
0.11.5 patch
Patch Changes
- An app with no deferred, live or lake region no longer ships the region element's fetch, apply and morph code.
- An island page no longer downloads runtime code for features its app does not use.
- A
+page.mdroute counts as a page like+page.svelte, so a csr=false markdown page no longer makes every island page ship extra Svelte and runtime code. - An app whose islands never read their page no longer ships the page seed runtime or the MPA navigation handle.