Skip to content

gt-i18n@1.0.4

Choose a tag to compare

@github-actions github-actions released this 15 Jul 04:35
· 96 commits to main since this release
7880dad

Patch Changes

  • #1856 b742df9 Thanks @ErnestM1234! - Flatten the internal i18n cache structure: the locale-cache layer is inlined into I18nCache, the in-flight promise dedupe shared by the caches is extracted into one helper, and the dev-only prefetch machinery is statically gated behind process.env.NODE_ENV !== 'production' so production bundles drop it. No public API changes; gt-i18n/internal and gt-i18n/internal/types exports are unchanged.

  • #1855 a148737 Thanks @ErnestM1234! - Collapse the I18nCache constructor-time validation layer into a single helper. Observable behavior is unchanged: the same warnings are logged when a custom runtimeUrl is configured without GT credentials, and providing loadDictionary without a source dictionary still throws. The unreachable validation branches are removed, slightly shrinking browser bundles.