Releases
1.1.1 patch
@ogygia/tsdown-plugin-svelte
Patch Changes
1.0.1 patch
@ogygia/tsdown-plugin-svelte
Patch Changes
0.13.1 patch
@ogygia/core
Patch Changes
- #454
b954d0aThanks @PuruVJ! - 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 withchunk_reload_needed, instead of being retried on every wake without the message. - #455
00f367dThanks @PuruVJ! - 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. - #456
2edf97eThanks @PuruVJ! - 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. - #453
16302daThanks @PuruVJ! - 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.
ogygia
Updated dependencies: @ogygia/[email protected]
0.12.3 patch
@ogygia/content
Patch Changes
- #166
a2eade9Thanks @PuruVJ! - 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>.
Updated dependencies: @ogygia/[email protected]
@ogygia/core
Patch Changes
ogygia
Updated dependencies: @ogygia/[email protected]
0.11.5 patch
@ogygia/cli
Patch Changes
- #146
16bb8bbThanks @PuruVJ! - The AI skill links the plugin docs at their new address,/docs/core/plugins.
Updated dependencies: @ogygia/[email protected]
@ogygia/content
Patch Changes
- #146
16bb8bbThanks @PuruVJ! -DocsShell'ssidesnippet (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.
Updated dependencies: @ogygia/[email protected]
@ogygia/core
Patch Changes
- #144
cdd2ec0Thanks @PuruVJ! - An app with no deferred, live or lake region no longer ships the region element's fetch, apply and morph code. - #144
cdd2ec0Thanks @PuruVJ! - An island page no longer downloads runtime code for features its app does not use. - #144
cdd2ec0Thanks @PuruVJ! - 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. - #144
cdd2ec0Thanks @PuruVJ! - An app whose islands never read their page no longer ships the page seed runtime or the MPA navigation handle.
ogygia
Updated dependencies: @ogygia/[email protected]
0.11.4 patch
@ogygia/core
Patch Changes
@ogygia/devtools
Patch Changes
- #130
fede66aThanks @PuruVJ! - The hook types type-check on SvelteKit 3 too:Handleis the library's own (Kit 3 moved Kit's to@sveltejs/kit/hooks), so a Kit 3 app no longer sees an untypedhandlefrom ogygia, devtools or postrender.
Updated dependencies: @ogygia/[email protected]
@ogygia/postrender
Patch Changes
- #130
fede66aThanks @PuruVJ! - The hook types type-check on SvelteKit 3 too:Handleis the library's own (Kit 3 moved Kit's to@sveltejs/kit/hooks), so a Kit 3 app no longer sees an untypedhandlefrom ogygia, devtools or postrender.
Updated dependencies: @ogygia/[email protected]
ogygia
Updated dependencies: @ogygia/[email protected]
0.11.1 patch
@ogygia/core
Patch Changes
@ogygia/devtools
Patch Changes
- #92
cd78e78Thanks @PuruVJ! -@ogygia/routeris 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.
Updated dependencies: @ogygia/[email protected]
ogygia
Updated dependencies: @ogygia/[email protected]
0.10.2 patch
ogygia
Patch Changes
0.10.1 patch
ogygia
Patch Changes
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,wakeor build-timeOGYGIA_SECRETno longer turns it intounknown-id.
0.8.7 patch
ogygia
Added
regions.maxPageAgesets 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 incache-control.
Fixed
- A refused hole request says why: its 403 carries
x-ogygia-deny(foreign-key,sig,unknown-id, …) andx-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_SECRETthe host loads after the server's modules still counts; a production server signing with the build's random key logs it once.
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.
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-hydratedand firesogygia:hydratedonce 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 throwsReferenceErrorat 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 onx-ogygia-spa. - A link inside a web component's shadow tree honors the
data-sveltekit-reloadaround the component.
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
hiddenand shifts the page).
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 innavigationswith what started it, seen as it began (the link, form or input being handled;approxwhere the browser cannot say).ogygia/testing:compare()andtoMarkdown()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: eachhydration()island has akeyper instance (Name#nin page order, or theislandKeyattribute on it or its nearest ancestor, across shadow roots) and its wake times (t0,done); session findings carrynames; a session'scounts.clsis a number, andtoMeetBudget({ cls })reads it.ogygia/testing:playwrightDriver(page, { onNavigationHeld })andturnOnDevtools(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 innavigationsfrom the loads it held, and one warning per site is logged for the whole run.ogygia/testing: achangedisland says whether only attributes differ (attributesOnly, with each inattributes) and whether input landed on it while it hydrated (inputDuringHydration);ignoreAttributesleaves chosen attribute changes out, andtoHydrateCleanly({ allowAttributeChanges, allowInput })lets them through.ogygia/testing:page().selfsays what measuring cost the page (script_ms, the testing engine'sbytes), and lean testing (lean: true, theog_testing=leancookie) 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),cpuFunctionsfor more than 15 ofpage().cpu.fns, and a session'sfailedrequests 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 withserver: { error }. - Profiler: the JSON report names its
engine.version;?fields=(profile(path, { fields })) answers only the sections asked for;?weigh=fullweighs 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.evaluateis loosely typed, so a driver'spage.evaluatefits 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 ascause, instead of "serve with devtools".withOgygiaturns devtools on for the first page a test opens when there is nobaseURL; before, it was silently left off.- A page with devtools switched on is sent
private, no-storewithVary: Cookieand is never frozen, so a shared cache cannot hand its events to other visitors; a profiler beacon page too. - A hole's
Server-Timingreaches 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;
devalueis now named through ogygia, so pnpm apps stop warning that it can't be resolved. - A click on a
load,idle,visibleor 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 aninteractionisland;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.
0.8.2 patch
ogygia
Changed
- In a build with devtools, the launcher stays hidden until a browser turns devtools on (
?og-devtools=on, orogygia.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.
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.
0.6.6 patch
ogygia
Fixed
- A
{#snippet}forwarded into an island no longer emits duplicate imports.
0.6.5 patch
ogygia
Removed
- The profiler dashboard's live-server recording mode.
Fixed
ogygia/profileris in the published export map.
0.6.4 patch
ogygia
Added
- Profiler:
×Ncall 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 "—".
0.6.3 patch
ogygia
Fixed
- A
DocsShellsidebar no longer drowns its own page cross-fade.
0.6.2 patch
ogygia
Fixed
- A content body's scoped
<style>no longer vanishes on acsr = falsepage. - A static server island no longer 404s a bare region id on navigation.
- A page transition between different shells no longer stutters.
0.6.1 patch
ogygia
Fixed
- Placed client-island CSS no longer vanishes in a production build.
0.5.1 patch
ogygia
Fixed
- Published
exportsresolve todist, notsrc. - The browser runtime no longer disappears to tree-shaking.
0.4.3 patch
ogygia
Fixed
invalidateAllis a soft seed refresh, not a body swap and view transition.csr = falseFOUC CSS no longer double-owns island component JS, and client stubs keep the entry import that carries island CSS.
0.3.5 patch
ogygia
Fixed
- Nested server and deferred-client islands keep their authored attributes.
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+hydrateis no longer a build error;hydrate: 'none'+deferwarns in dev and is treated as defer-only.
0.3.3 patch
ogygia
Changed
hydrate: 'load'also modulepreloads the island's dependency chunks.
0.3.2 patch
ogygia
Changed
- One runtime bootstrap per page, and
loadpreload hints hoisted to the head.
Fixed
- Relative island entries on nested routes resolve against the document, not the runtime module.
0.3.1 patch
ogygia
Fixed
- The client build no longer emits thin island entry facades.