ogygia
0.13.1 patch
ogygia
Updated dependencies: @ogygia/[email protected]
0.12.3 patch
ogygia
Updated dependencies: @ogygia/[email protected]
0.12.2 patch
ogygia
Updated dependencies: @ogygia/[email protected]
0.12.1 patch
ogygia
Updated dependencies: @ogygia/[email protected]
0.11.5 patch
ogygia
Updated dependencies: @ogygia/[email protected]
0.11.4 patch
ogygia
Updated dependencies: @ogygia/[email protected]
0.11.3 patch
ogygia
Updated dependencies: @ogygia/[email protected]
0.11.2 patch
ogygia
Updated dependencies: @ogygia/[email protected]
0.11.1 patch
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.