Skip to content

Instantly share code, notes, and snippets.

View screeny05's full-sized avatar

Sebastian Langer screeny05

View GitHub Profile
@screeny05
screeny05 / CHANGELOG.md
Created August 3, 2026 14:15
Frontend-Core 0.38.3 & UI 2.10.0 & GTM 1.2.0

Release notes

Core 0.38.3

Patch Changes

  • Stop the reflect endpoint from serving a previous deployment's section and block catalog. Its cached reflection is now keyed by build id, so a redeploy is a cache miss instead of inheriting whatever the last build left behind, and two frontends sharing one Redis no longer overwrite each other's entry. Cached entries expire
@screeny05
screeny05 / CHANGELOG.md
Created August 1, 2026 08:38
Frontend-Core 0.38.2

Release notes

Core 0.38.1

Patch Changes

  • Add aiDisclosure to Media, recording whether an asset was fully AI-generated ('generated') or altered by generative AI ('modified'). Available on images, videos and audio; a video's poster and an audio's cover carry their own value independently of the parent.
@screeny05
screeny05 / CHANGELOG.md
Created July 30, 2026 12:42
Frontend-Core 0.38.0

Release notes

Core 0.38.0

Minor Changes

  • Fill hreflang alternates, og:locale:alternate, x-default and the locale switcher with each locale's own route params instead of the current locale's.

    On a page whose slug is translated per locale, the alternate URLs and the locale-switch target previously reused the current locale's params — pointing at URLs that do not exist in the target locale. Where the page type's pageIndex registration implements locate and reports a complete per-locale map, each locale now gets its own slug, and locales the page does not exist in are omitted from the alternates rather than guessed at.

@screeny05
screeny05 / CHANGELOG.md
Created July 14, 2026 02:44
Frontend-Core 0.35.0

Release notes

Core 0.34.0

Minor Changes

  • Add a configurable trailing-slash policy via RcProject.config.trailingSlash (default false). Routes, canonical/hreflang links, switch-locale/market URLs, and the useMarketPath helper are generated in the configured shape, and a Nitro server middleware issues a 301 normalizing the opposite shape. The policy is also applied to Nuxt's <NuxtLink> default so client-side navigation hrefs match, and the active value is readable at runtime via runtimeConfig.public.laioutr.trailingSlash. Domain path prefixes are normalized, so single- and multi-segment prefixes (/fr, /en/us) — including ones written with a stray trailing slash — compose correctly. Fixes homepage alternate/canonical links carrying a trailing slash on path-prefixed domains (/fr//fr). The root path / is unaffected.

On path-prefixed domains the homepage now resolves correctly instead of falling through to the 404 page (the core/404 catch-all is no longer market-prefixed, so

@screeny05
screeny05 / CHANGELOG.md
Created July 13, 2026 15:51
Frontend-Core 0.34.0

Release notes

Core 0.34.0

Minor Changes

  • Add a configurable trailing-slash policy via RcProject.config.trailingSlash (default false). Routes, canonical/hreflang links, switch-locale/market URLs, and the useMarketPath helper are generated in the configured shape, and a Nitro server middleware issues a 301 normalizing the opposite shape. The policy is also applied to Nuxt's <NuxtLink> default so client-side navigation hrefs match, and the active value is readable at runtime via runtimeConfig.public.laioutr.trailingSlash. Domain path prefixes are normalized, so single- and multi-segment prefixes (/fr, /en/us) — including ones written with a stray trailing slash — compose correctly. Fixes homepage alternate/canonical links carrying a trailing slash on path-prefixed domains (/fr//fr). The root path / is unaffected.

On path-prefixed domains the homepage now resolves correctly instead of falling through to the 404 page (the core/404 catch-all is no longer market-prefixed, so

@screeny05
screeny05 / CHANGELOG.md
Created July 7, 2026 16:42
Canonical-Types 0.25.0 & UI 2.6.0

Release notes

UI 2.6.0

Minor Changes

  • openDialog and addToast now accept a ref or getter for their content (MaybeRefOrGetter<…>), so a dialog's or toast's title, description, and other fields can stay reactive after it opens — e.g. openDialog(() => ({ title: t('...'), ... })) re-renders on locale or prop changes. Passing a plain object works exactly as before.

    addToast additionally returns the new toast's id (matching openDialog), and the toaster store's toasts is now a resolved computed rather than a writable ref (it was already only read internally).

@screeny05
screeny05 / CHANGELOG.md
Created July 6, 2026 10:26
Frontend-Core 0.33.0 & Laioutr UI 2.5.0

Release notes

Core 0.33.0

Minor Changes

  • Emit SEO and locale head tags automatically on every page. Each page now renders a self-referential <link rel="canonical">, <link rel="alternate" hreflang> alternates for every market domain plus x-default, og:locale / og:locale:alternate, and <html lang> — with no per-page or per-layout call required. Alternates are scoped to a page's marketIds, so a market-restricted page never advertises (or links to a 404 for) markets it does not belong to. MetaPage gains an optional marketIds field that carries this scope onto the route.

    Customize the emitted head with one new filter hook, registered in a Nuxt plugin: frontend-core:page-head:resolve. Its result.value carries frontend-core's computed head in two slots — seo (title, description, robots, and any og/twitter field) and locale (canonical, hreflang, og:locale, html lang) — so a handler can add, override, or remove any tag.

@screeny05
screeny05 / CHANGELOG.md
Created June 19, 2026 14:58
Laioutr UI 2.4.0

Release notes

UI 2.4.0

Minor Changes

  • Un-mirror alignment under "Greedy First" sizing

    GridFill now accepts justify and align props ('start' | 'center' | 'end') for main- and cross-axis item alignment. Alignment is honored consistently across

@screeny05
screeny05 / CHANGELOG.md
Created June 9, 2026 07:29
Frontend-Core 0.31.0 & Laioutr UI 2.3.0

Release notes

Core 0.31.0

Minor Changes

  • Render referenced global sections on pages (dereference + query merge + config wiring).

  • Add new Energy Label Model

@screeny05
screeny05 / CHANGELOG.md
Created June 1, 2026 18:05
Frontend-Core 0.30.3 & Laioutr UI 2.2.3

@laioutr-core/core-types@0.30.3

Patch Changes

  • dc8610b: Add support for setting Media fields from query entities.

    Add RcPropValueEntityProperty for query-bound prop values — a new variant on the RcPropValue union that lets a single prop read its value from a property of a query-result entity (e.g. { type: 'entity-property', queryId: 'q1', path: ['components', 'base', 'image'] }). The composite path uses the same components.* / links.* form as string-template references.

    Lifted RenderQueryReference.queryPath from string to string[] and added an entity-property variant to the RenderQueryReference and RenderQueryLoadSpecSeed unions (internal render-pipeline types, consumed only by @laioutr-core/frontend-core).