Changelog

@ogygia/compiler

Every release of @ogygia/compiler, newest first.

Latest
0.15.1
Versions
3
  1. 0.15.1 patch

    Dependency updates only @ogygia/compiler

  2. 0.14.2 patch

    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
  3. 0.14.1 patch

    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