Skip to content

Instantly share code, notes, and snippets.

@screeny05
Created July 13, 2026 15:51
Show Gist options
  • Select an option

  • Save screeny05/79aede9bc64376401387a63ebaea0041 to your computer and use it in GitHub Desktop.

Select an option

Save screeny05/79aede9bc64376401387a63ebaea0041 to your computer and use it in GitHub Desktop.
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 it can no longer shadow the prefixed homepage such as /fr). Unknown paths under a market prefix (/fr/unknown) still resolve to the 404 page and the project-redirects lookup as before, without triggering a redirect loop.

  • Breaking: The @laioutr/logger nuxt module has been removed. It is no longer installed by frontend-core or orchestr, and the package itself is no longer published. Internal logging now goes through consola (Nuxt's standard logger). This removes the pino dependency chain and prepares for an OpenTelemetry-based observability setup.

    What this means for your project:

    • The auto-imported useLogger() composable and server util are gone. Use consola instead:

      // Before
      const logger = useLogger('my-scope');
      
      // After
      import { consola } from 'consola';
      const logger = consola.withTag('my-scope');
    • The $logger global (globalThis.$logger, event.node.req.log) is no longer provided.

    • The ltrLogger config key (logLevelServer, logLevelClient, logForDevelopment, logNitroRequestsVerbose, logNitroResponsesVerbose) is no longer read — remove it from your nuxt.config.ts.

    • Request-id middleware (pino-http request logging, x-request-id response header, Sentry request-id tagging) is no longer included.

Patch Changes

  • Storefronts now emit a <meta name="generator" content="Laioutr"> tag in the document head for platform attribution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment