Skip to content

gt-react@11.0.0-odysseus.14

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Jul 06:38
· 446 commits to main since this release
363cea9

Patch Changes

  • 0cd7813: Store cookie names in I18nConfig so custom cookie names work before the condition store is initialized.

    • gt-i18n: Removed the unused React locale cookie name from the shared GT config type.
    • @generaltranslation/react-core: ReactI18nConfig now accepts localeCookieName, regionCookieName, and enableI18nCookieName, exposes getters that fall back to the default names, and exports the default storage names from the pure entrypoint.
    • gt-next: Imports default cookie names from the React Core pure entrypoint instead of the removed React Core cookie constants subpath.
    • gt-react: The browser condition store now resolves cookie names from I18nConfig instead of hardcoding the defaults, so custom cookie names passed to initializeGT() are honored for both reads and writes.
    • gt-react-native: Native condition storage now resolves its store keys from I18nConfig, matching gt-react behavior.
    • gt-tanstack-start: parseLocale() reads and writes the locale cookie using the configured cookie name instead of the default.
  • Updated dependencies [ab61565]

  • Updated dependencies [0cd7813]

    • gt-i18n@1.0.0-odysseus.7
    • @generaltranslation/react-core@11.0.0-odysseus.14