Changelog

@ogygia/core

Every release of @ogygia/core, newest first.

Latest
0.15.1
Versions
13
  1. 0.15.1 patch

    Dependency updates only @ogygia/core

  2. 0.14.4 patch

    Patch Changes

    • Island code no longer waits up to 2.5 s for a critical preload that already arrived on a page whose browser resource timeline had filled (250 entries): the runtime keeps its own record of finished downloads.
  3. 0.14.3 patch

    Patch Changes

    • A region or page update whose markup carries an attribute name the HTML parser accepts but older browsers' setAttribute refuses (@click, :class, a name that starts with -) now applies in full instead of throwing partway through.
  4. 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 with closed_shadow_root_lost and 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_address and 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.
  5. 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.
  6. 0.12.3 patch

    Patch Changes

    • A component a markdown page imports is styled on a csr=false page: its scoped CSS (and any style file it imports) now ships in the page's content stylesheet beside the page's own <style>.
  7. 0.12.2 patch

    Patch Changes

    • ogygia.extensions() and ogygia.preprocess() from ogygia/vite are callable again and do nothing (['.svelte'] and []), so a svelte config written for 0.8 loads; the markdown ones come from @ogygia/content/vite.
  8. 0.12.1 patch

    Patch Changes

    • A render: 'deferred' hole timed with wake builds again: wake times it as fetch does, and the build warns with the fetch to write.
  9. 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.md route 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.
  10. 0.11.4 patch

    Patch Changes

    • The hook types type-check on SvelteKit 3 too: Handle is the library's own (Kit 3 moved Kit's to @sveltejs/kit/hooks), so a Kit 3 app no longer sees an untyped handle from ogygia, devtools or postrender.
  11. 0.11.3 patch

    Patch Changes

    • A web component around a hole is restored like one around an island, so its own runtime no longer adopts it and moves the hole it holds.
  12. 0.11.2 patch

    Patch Changes

    • The drop-in setContext now reaches islands inside a lake on a csr=true page; a csr=true page with no island ogygia wakes still ships no context.
  13. 0.11.1 patch

    Patch Changes

    • The "uses ogygia marks, but its package declares no ogygia.files" warning fires only for a real marked import, not for a dependency whose comments, strings or error messages merely mention with { wake } (the plugin packages tripped it).