Changelog

@ogygia/core

Every release of @ogygia/core, newest first.

Latest
0.17.1
Versions
19
  1. 0.17.1 patch

    Patch Changes

    • A transportable class in the page seed or a provided context whose module fails to load is now tried again by the page (on its backoff, waiting for the network while offline) and, once given up, said once by each page that reads it while every region wakes with that value missing, instead of the value being quietly lost for the whole page.
    • transportable_class_missing now says, for any decode that meets a class whose module did not load, that the module did not load and its value was not read (and for a page's give-up, whether the download got no response, got an answer, or failed in a way its loader cannot tell), instead of asking to import the class as a value.

    Dependencies: @ogygia/machine@0.17.1

  2. 0.16.5 patch

    Patch Changes

    • A region whose transportable class module fails to download while the browser is online now tries again after 0.5 s and 1 s, as its island code does, instead of staying asleep until a reload; a class module the server answered for (a 404) still gives up at once, and once its tries run out the region says transportable_class_missing once, as before, with the failed download as its cause.

    Dependencies: @ogygia/machine@0.16.5

  3. 0.16.4 patch

    Patch Changes

    • A region whose island code fails to download while the browser is online (for example just after Wi-Fi comes back and online fires) now tries again after 0.5 s and 1 s, as a hole's fetch does, instead of staying asleep until a reload; once its tries run out it says island_load_failed as before.

    Dependencies: @ogygia/machine@0.16.4

  4. 0.16.3 patch

    Dependency updates only @ogygia/core

  5. 0.16.2 patch

    Dependency updates only @ogygia/core

  6. 0.16.1 patch

    Patch Changes

    • On SvelteKit 3, a region on a csr = false page that imports $app/env/public now hydrates and reads its dynamic public variables (static: false), in a build and in vite dev, in vite dev also when every variable is static (#2177), on streamed pages and on server-router pages, where it threw on import before. An island the server renders later (a defer hole, a remote call's region) or one a prefetch loads ahead of its page (a hover preload, on by default in Kit's app.html, or the router's) reads an empty env and warns kit_env_missing instead of throwing; carrying the env there is #2219. A federated peer's region on the host's page reads an empty env and warns kit_env_missing, never the host app's values, unless the peer has the host's package name, paths.base and app dir and either pins the same version.name or is built in the same process (#2221). Apps are told apart only by those values, never by their source; the identity each page carries is a short digest of them, so a guess at the package name can be checked against it; an app whose version.name ogygia cannot read (no sveltekit() plugin in its Vite config) warns kit_env_version_unread.
    • The SPA router no longer keeps the last page's marked side channel in the head (a server-router page's page seed or Kit env) when the next page carries one with the same text, so the next page's islands read their own page's channel.

    Dependencies: @ogygia/machine@0.16.1

  7. 0.15.1 patch

    Dependency updates only @ogygia/core

  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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>.
  13. 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.
  14. 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.
  15. 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.
  16. 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.
  17. 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.
  18. 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.
  19. 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).