Skip to content

gt-i18n@1.0.0-odysseus.5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Jul 04:57
· 446 commits to main since this release
58c20d3

Patch Changes

  • 432fa49: Use Next.js caching semantics for Cache Components by disabling GT cache expiry and development hot reload runtime translation.

    Async translation and dictionary lookup boundaries now keep synchronous access to the loaded snapshot, so APIs like getGT and getTranslations can still resolve strings after cache expiry is delegated to Next.js.

    Global singleton setup now preserves the first initialized instance instead of replacing it on later initialization attempts.

  • 432fa49: Support dev hot reload lookups for server getGT strings.

    getGT can now receive compiler-injected message metadata and prefetch missing translations through the runtime cache in development. gt-next forwards the server request conditions into this path so App Router server strings can participate in hot reload translation updates.

    Compiler-injected getGT and useGT preload messages now emit the same sugar metadata keys used by runtime lookup options.

  • 933916e: Store the GT services enabled flag on the i18n config singleton.

  • 4a5f8e8: Remove unused internal exports and dead utility code.

  • 083d306: Remove deprecated i18n cache lifecycle hooks and unused cache events.

    The cache subscription surface now only exposes translations-cache-miss, which is used for runtime translation updates. Deprecated lifecycle constructor callbacks and unused locale/dictionary cache hit/miss events have been removed.