Changelog

Releases

Every release of every ogygia package, newest first.

Latest
0.15.1
Versions
37
Packages
19
  1. 0.15.1 patch

    @ogygia/machine

    Patch Changes

    • Published with the functions @ogygia/core 0.15.0 imports (runDef, trustedFlights and the rest). 0.15.0 of the other packages was released while npm still had @ogygia/machine 0.14.0, so installing it failed to load; every package now releases at one version.

    Dependency updates only @ogygia/bake,@ogygia/barrels,@ogygia/cli,@ogygia/compiler,@ogygia/content,@ogygia/core,@ogygia/data-shake,@ogygia/devtools,@ogygia/federation,@ogygia/flags,@ogygia/insights,@ogygia/jumpstart,@ogygia/postrender,@ogygia/rewrite,@ogygia/router,@ogygia/testing,ogygia

  2. 0.14.4 patch

    @ogygia/content

    Patch Changes

    • The markdown and code block build cache is keyed by the code that made each entry, not only the package version, so a build with a changed reader no longer serves pages parsed by the old one.

    Dependencies: @ogygia/core@0.14.4, @ogygia/compiler@0.14.2

    @ogygia/core

    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.

    Dependency updates only ogygia

  3. 0.14.3 patch

    @ogygia/core

    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.

    Dependency updates only ogygia

  4. 0.14.2 patch

    @ogygia/compiler

    Patch Changes

    • fix(compiler): a content page's own styles compile with the app's Svelte options, so a custom cssHash scopes them like its markup

    Dependency updates only ogygia

  5. 0.14.1 patch

    @ogygia/compiler

    Patch Changes

    • In dev, a route option file (such as a +page.ts with csr) saved by an editor that empties the file before writing it is now read again once the write lands. Before, the dev server could keep the empty read, and a page kept the wrong csr until the next save or a restart.
    • Server HTML now carries a small <!--@html--> marker at the start of each non-empty {@html} that sits beside other children in an element, so the runtime can tell its content from the template's own elements.
    • A server region whose tree reads page.data is now always marked as reading it. Before, the answer could follow the folder the app was built in: when the bundle listed a component's style module after the component, the region was marked as reading nothing and rendered without the page's data.
    • 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.
    • Region stylesheets are now compiled with the app's own Svelte compiler options (as vite-plugin-svelte resolved them), so an app with a custom cssHash (or rootDir) gets server region and router page CSS whose class names match the markup instead of rules that style nothing.
    • The virtual_wrong_realm build error now names the files that imported the module, nearest first, back to the entry ( through src/lib/panel.ts ← src/routes/+page.svelte ), so the import that broke the build no longer takes a bisect to find.

    Dependencies: @ogygia/core@0.14.1

    @ogygia/core

    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.

    @ogygia/data-shake

    Patch Changes

    • A page.data read under import.meta.env?.SSR ?? typeof window === 'undefined' now counts as server-only, as a read under either test alone already did, so it no longer makes every region need the whole page.

    Dependencies: @ogygia/compiler@0.14.1

    @ogygia/devtools

    Patch Changes

    • A click on the devtools launcher made just as the dock finished loading now opens the dock. Before, a press that began on the placeholder button and ended after the dock replaced it was lost, and the dock stayed closed.

    Dependencies: @ogygia/core@0.14.1, @ogygia/compiler@0.14.1

    Dependency updates only ogygia

  6. 0.13.1 patch

    @ogygia/core

    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.

    Dependency updates only ogygia

  7. 0.12.3 patch

    @ogygia/content

    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>.

    Dependencies: @ogygia/core@0.12.3

    @ogygia/core

    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>.

    Dependency updates only ogygia

  8. 0.12.2 patch

    @ogygia/core

    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.

    Dependency updates only ogygia

  9. 0.12.1 patch

    @ogygia/core

    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.

    Dependency updates only ogygia

  10. 0.11.5 patch

    @ogygia/cli

    Patch Changes

    • The AI skill links the plugin docs at their new address, /docs/core/plugins.

    Dependencies: @ogygia/core@0.11.5

    @ogygia/content

    Patch Changes

    • DocsShell's side snippet (the top of the sidebar) now also renders at the top of the mobile nav sheet, pinned above the nav tree, since on a phone that sheet is the sidebar.

    Dependencies: @ogygia/core@0.11.5

    @ogygia/core

    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.

    Dependency updates only ogygia

  11. 0.11.4 patch

    @ogygia/core

    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.

    @ogygia/devtools

    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.

    Dependencies: @ogygia/core@0.11.4

    @ogygia/postrender

    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.

    Dependencies: @ogygia/core@0.11.4

    Dependency updates only ogygia

  12. 0.11.3 patch

    @ogygia/core

    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.

    Dependency updates only ogygia

  13. 0.11.2 patch

    @ogygia/core

    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.

    Dependency updates only ogygia

  14. 0.11.1 patch

    @ogygia/core

    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).

    @ogygia/devtools

    Patch Changes

    • @ogygia/router is a dependency of @ogygia/devtools, not an optional peer: the profiler's UI is rendered through it, so turning the profiler on no longer needs it installed by hand.

    Dependencies: @ogygia/core@0.11.1

    Dependency updates only ogygia

  15. 0.10.2 patch

    ogygia

    Patch Changes

    • The repository now lives at github.com/ogygiajs/ogygia; package links point there.
  16. 0.10.1 patch

    ogygia

    Patch Changes

    • A regions.presets entry takes fetch (a deferred hole's timing): 0.10.0 rejected the key, so no deferred preset with a timing could be written.
  17. 0.8.8 patch

    ogygia

    Fixed

    • A hole on a page cached across a deploy keeps rendering when its component is unchanged: its URL signs the component it renders (&r=), so a new preset, wake or build-time OGYGIA_SECRET no longer turns it into unknown-id.
  18. 0.8.7 patch

    ogygia

    Added

    • regions.maxPageAge sets the oldest a cached copy of a page can be and still renew its holes (default 8 days, the old fixed window), for a CDN that keeps pages longer without saying so in cache-control.

    Fixed

    • A refused hole request says why: its 403 carries x-ogygia-deny (foreign-key, sig, unknown-id, …) and x-ogygia-key, the answering server's key fingerprint, which every hole URL now also carries as &k=.
    • The runtime never retries a 403 from the islands endpoint: the fallback stands, and devtools and the profiler show the reason (or that a proxy, CDN or firewall in front answered).
    • The signing key is read at first use, so an OGYGIA_SECRET the host loads after the server's modules still counts; a production server signing with the build's random key logs it once.
  19. 0.8.6 patch

    ogygia

    Fixed

    • A hole created fresh in the browser (Kit remounting a page whose hydration failed, or an island re-creating a snippet) renders its fallback again, so an on-demand hole whose fallback is its trigger can still be woken (it came back empty in 0.8.5).
    • A hole in a live snippet that an island re-creates fetches again by its identity on any page, not only on a Kit-hydrated one.
  20. 0.8.5 patch

    ogygia

    Changed

    • An island inside a live snippet an island renders follows the nested rule: it renders inline and hydrates with that island.
    • An island sets data-hydrated and fires ogygia:hydrated once the live snippets it renders have hydrated too.
    • A hole nested in an island renders inline as static HTML, like a lake: its component never ships to the browser, and an island inside it wakes on its own.

    Fixed

    • A hole inside a live snippet an island renders stays deferred: it ships its fallback, loads on its schedule and is never bundled into the island (it never loaded before).
    • A live snippet that renders a template-root snippet, or reads a <script module> import or value, an exported declaration or a $: declaration, no longer throws ReferenceError at render.
    • A lake inside a live snippet an island renders keeps its frozen region, so the island inside it wakes and the lake's HTML is no longer discarded beside other snippet content.
    • A live snippet an island renders reads the page's contexts on the server and in the browser, as the island does.
    • An island inside a frozen snippet wakes on its own.
    • A snippet passed to an island on a Kit-hydrated page no longer causes a hydration mismatch.
    • A hole on a Kit-hydrated page keeps its address and its landed HTML through Kit's hydration (a hole inside an island could go empty).
    • With an app transform, a router navigation no longer leaves a web component's server tree in the light DOM of a live host its own runtime already unpacked (a site nav collapsed to one unstyled item): a page the router fetches is rendered as an answer, every host restored before the swap.
    • A first-load copy of a transformed page that reaches the router (a frozen page, a prerender, a cache that ignores Vary) is loaded instead of swapped in; transformed documents vary on x-ogygia-spa.
    • A link inside a web component's shadow tree honors the data-sveltekit-reload around the component.
  21. 0.8.4 patch

    ogygia

    Fixed

    • ogygia always uses the app's SvelteKit: a second copy resolved from ogygia's own location (a linked ogygia whose peer resolved another Kit) left the devtools' server events, the freeze verdict and the page seed without their request.
    • A hole's answer morphed into a custom element with a shadow root keeps the answer's order: a reordered or newly shown child no longer stays in or lands at the wrong place.
    • A baked held region on a Kit-hydrated page no longer throws a hydration mismatch that emptied it: the region element is adopted as it stands, like a lake's.
    • Islands inside a baked held region on a Kit-hydrated page wake on the runtime instead of being left to Kit, which never hydrates them.
    • Custom elements inside a baked held region keep what the server's transform wrote (a closed dropdown no longer loses hidden and shifts the page).
  22. 0.8.3 patch

    ogygia

    Added

    • ogygia/testing: record(actions, { blockNavigation: true }) holds back any document load the actions cause, keeps the page and lists each in navigations with what started it, seen as it began (the link, form or input being handled; approx where the browser cannot say).
    • ogygia/testing: compare() and toMarkdown() also report hydration per island instance, session counts (errors, shifts, slow interactions, blocked navigations, CLS) and vitals past a noise threshold (compare(base, head, { noise })), and take several runs a side ({ test, runs }): load signals by median, session signals only when every head run has them and no base run does.
    • ogygia/testing: each hydration() island has a key per instance (Name#n in page order, or the islandKey attribute on it or its nearest ancestor, across shadow roots) and its wake times (t0, done); session findings carry names; a session's counts.cls is a number, and toMeetBudget({ cls }) reads it.
    • ogygia/testing: playwrightDriver(page, { onNavigationHeld }) and turnOnDevtools(page, baseURL), the fixture's own pieces, for a test that holds its pages itself.
    • ogygia/testing: every report names the page's testing engine (engine.version, engine.lean); against a site on an older ogygia, record() fills in navigations from the loads it held, and one warning per site is logged for the whole run.
    • ogygia/testing: a changed island says whether only attributes differ (attributesOnly, with each in attributes) and whether input landed on it while it hydrated (inputDuringHydration); ignoreAttributes leaves chosen attribute changes out, and toHydrateCleanly({ allowAttributeChanges, allowInput }) lets them through.
    • ogygia/testing: page().self says what measuring cost the page (script_ms, the testing engine's bytes), and lean testing (lean: true, the og_testing=lean cookie) runs the testing API and nothing else of devtools, so the page loads what a visitor's does.
    • ogygia/testing: page().route (the SvelteKit route id), cpuFunctions for more than 15 of page().cpu.fns, and a session's failed requests and slowest interaction per element (by_element).
    • Profiler: record(…, { server: true }) works across the instances of a serverless deployment: the window's signed id rides each of the session's requests, every instance writes them to the profiler store, and stop on any instance gathers them (window.instances); a window that fails leaves the session whole with server: { error }.
    • Profiler: the JSON report names its engine.version; ?fields= (profile(path, { fields })) answers only the sections asked for; ?weigh=full weighs every file with no time budget, and each file it could not weigh says why (assets.missed_why).
    • A page with devtools switched on is sent Document-Policy: js-profiling, so the browser's CPU sampler can run on it.

    Changed

    • OgygiaDriver.evaluate is loosely typed, so a driver's page.evaluate fits without a cast.
    • A pkg.pr.new preview is versioned <next patch>-next.<commit>, never the release it was built after.

    Fixed

    • record() whose page left for another document now says so, with the actions' own error as cause, instead of "serve with devtools".
    • withOgygia turns devtools on for the first page a test opens when there is no baseURL; before, it was silently left off.
    • A page with devtools switched on is sent private, no-store with Vary: Cookie and is never frozen, so a shared cache cannot hand its events to other visitors; a profiler beacon page too.
    • A hole's Server-Timing reaches a browser that switched devtools on (it checked an old cookie value).
    • A profiler window whose stop never came frees its instance at its 60 s cap; before, that instance refused every later window.
    • A file the profiler failed to weigh by a timeout is weighed again on the next profile; before, it stayed a miss for the life of the instance.
    • Devtools' Page and Timeline tabs, and page(), stay on the page after a router navigation that never swapped it (handed to the browser and held back, or overtaken); before, they reported no islands.
    • On Windows, ogygia knows its own files again: builds no longer register its devtools and profiler components as app modules or warn that its own marks are ignored.
    • The dev dependency scan no longer fails when the profiler is on, so dependencies pre-bundle again; devalue is now named through ogygia, so pnpm apps stop warning that it can't be resolved.
    • A click on a load, idle, visible or media island before it is live is no longer lost: the island wakes at once and the click is replayed when it is live, as on an interaction island; hydratedBy() then says 'interaction'.
    • A Ctrl/Cmd/Shift- or middle-click on a link in an island that is not live yet opens the link as the browser would; before, it was canceled and replayed, and the replay could not open it.
  23. 0.8.2 patch

    ogygia

    Changed

    • In a build with devtools, the launcher stays hidden until a browser turns devtools on (?og-devtools=on, or ogygia.devtools.on() in the console); ?og-devtools=off, ogygia.devtools.off() or hide in the dock turn it off. The dev server is unchanged.

    Fixed

    • A hole's CSS now carries components taken through a package (its exports, a TypeScript entry included) or a barrel — only the names imported — and an island inside a hole brings its own CSS, so what it renders after a click is styled.
  24. 0.8.1 patch

    ogygia

    Fixed

    • handle({ endpoint }) now moves every hole and live-region URL a page mints, not only the handler; before, every hole asked the old /__ogygia__ path and stayed empty.
  25. 0.6.6 patch

    ogygia

    Fixed

    • A {#snippet} forwarded into an island no longer emits duplicate imports.
  26. 0.6.5 patch

    ogygia

    Removed

    • The profiler dashboard's live-server recording mode.

    Fixed

    • ogygia/profiler is in the published export map.
  27. 0.6.4 patch

    ogygia

    Added

    • Profiler: ×N call counts and a per-call column, waiting by function, per-caller network attribution, and a serverless dump / upload.

    Fixed

    • Profiler: native runtime frames are named instead of rendering as "—".
  28. 0.6.3 patch

    ogygia

    Fixed

    • A DocsShell sidebar no longer drowns its own page cross-fade.
  29. 0.6.2 patch

    ogygia

    Fixed

    • A content body's scoped <style> no longer vanishes on a csr = false page.
    • A static server island no longer 404s a bare region id on navigation.
    • A page transition between different shells no longer stutters.
  30. 0.6.1 patch

    ogygia

    Fixed

    • Placed client-island CSS no longer vanishes in a production build.
  31. 0.5.1 patch

    ogygia

    Fixed

    • Published exports resolve to dist, not src.
    • The browser runtime no longer disappears to tree-shaking.
  32. 0.4.3 patch

    ogygia

    Fixed

    • invalidateAll is a soft seed refresh, not a body swap and view transition.
    • csr = false FOUC CSS no longer double-owns island component JS, and client stubs keep the entry import that carries island CSS.
  33. 0.3.5 patch

    ogygia

    Fixed

    • Nested server and deferred-client islands keep their authored attributes.
  34. 0.3.4 patch

    ogygia

    Added

    • Deferred client islands: with { defer, hydrate } fetch signed HTML on one schedule and hydrate it on another (matching schedules coalesce).

    Changed

    • defer + hydrate is no longer a build error; hydrate: 'none' + defer warns in dev and is treated as defer-only.
  35. 0.3.3 patch

    ogygia

    Changed

    • hydrate: 'load' also modulepreloads the island's dependency chunks.
  36. 0.3.2 patch

    ogygia

    Changed

    • One runtime bootstrap per page, and load preload hints hoisted to the head.

    Fixed

    • Relative island entries on nested routes resolve against the document, not the runtime module.
  37. 0.3.1 patch

    ogygia

    Fixed

    • The client build no longer emits thin island entry facades.