gt-i18n@1.0.0-odysseus.4
Pre-releasePatch Changes
-
270b821: Remove the unused
condition-store/localeResolvermodule fromgt-i18n/internal.determineSupportedLocale,resolveSupportedLocale, andcreateLocaleResolverwere thin wrappers overgetI18nConfig().<method>(). They had no consumers — callers (e.g. tanstack-start) use theI18nConfigmethods directly viagetI18nConfig(). Removing the module trims dead indirection from the/internalentry; theLocaleCandidatestype re-export is unaffected (re-exported from its real source). -
bffaa67: Remove the unused
validateLocalesconfig validator fromgt-i18n.validateLocaleswas defined but never called (config validation runsvalidateLoadTranslations,validateTranslationApi, andvalidateDictionary) and had no consumers anywhere. Dead code removed. -
d602065: Remove deprecated methods from
gt-i18n'sI18nCache.Dropped the long-
@deprecatedcache methods that duplicatedI18nConfig/loader APIs:getDefaultLocale,getLocales,getCustomMapping,getGTClass,getTranslationLoader,resolveTranslationSync,getTranslations, andgetTranslationResolver. None were called anywhere (consumers usegetI18nConfig()/lookupTranslation/loadTranslations). Removes the methods, their now-unused imports, and the tests that covered them. -
Updated dependencies [26faa87]
- generaltranslation@9.0.0-odysseus.4
- @generaltranslation/supported-locales@2.1.2-odysseus.4