generaltranslation@9.0.0
Major Changes
- #1439
e12fb17Thanks @ErnestM1234! - Prepare Odysseus major releases for core runtime packages.
Patch Changes
-
#1818
b72c30bThanks @bgub! - Clean up thegeneraltranslationpublic API surface for the next major.Removes the unused
generaltranslation/coresubpath, stale endpoint types, duplicateApiErroraccessors, and dead/internalexports. MovesAPI_VERSIONtogeneraltranslation/internal, exports the derivation helpers from the public root, and pointsgt-i18nat that public entry. -
#1439
72e9e16Thanks @ErnestM1234! - Split the runtime surface of the GT class (locale management, formatting, runtime translation) into a GTRuntime base class exported from the newgeneraltranslation/runtimeentry point. The SDK runtime (gt-i18n's I18nConfig, gt-next middleware) now constructs GTRuntime, so production browser bundles no longer ship the project/file management API client (enqueueFiles, uploads, downloads, etc.). The GT class extends GTRuntime and keeps its full API for the CLI and other tooling. Also import getLocaleProperties from @generaltranslation/format directly in react-core so client bundles don't reach the full core entry. -
#1809
5adeedeThanks @ErnestM1234! - Trigger an odysseus prerelease patch for generaltranslation. -
#1439
d48604eThanks @ErnestM1234! - Trigger an odysseus prerelease patch for all publishable packages. -
#1439
5752fe8Thanks @ErnestM1234! - Organize package entrypoint exports and replace re-export-only imports with direct export declarations. -
#1439
97dc7f4Thanks @ErnestM1234! - Remove default exports from package entrypoints and internal source modules.Use named imports for affected public entrypoints, including
import { plugin } from 'gt-react-native/plugin'. Thegt-next/linkentrypoint keeps its default export to matchnext/link. -
#1439
693288dThanks @ErnestM1234! - Remove internal source barrel exports and update imports to reference defining files directly. -
#1439
2e85ebdThanks @ErnestM1234! - Import the FormatJSTYPEruntime enum from the parser entrypoint so Vite dev does not request the CommonJStypes.jssubpath as a browser ESM module. -
#1814
d5cf2d3Thanks @ErnestM1234! - Vendor the FormatJS ICU AST printer so the ESM internal build no longer imports the CommonJSprinter.jssubpath, which Vite-based dev servers (e.g. TanStack Start) cannot load. Serialized output is byte-identical, so hashes are unchanged. -
#1439
4986567Thanks @ErnestM1234! - Remove the v8-era backwards-compatibility shim fromgeneraltranslation.Deletes
src/backwards-compatability/(dataConversion,oldTypes,typeChecking,oldHashJsxChildren) and its 26 re-exports fromgeneraltranslation/internal— the old↔new JSX/variable-format converters, legacy type guards, and the legacy hashers. These had no consumers anywhere in the libraries; the old format they bridged is no longer produced. Safe to drop in the next major. ~477 LOC removed from the/internalentry. -
#1439
795edc8Thanks @ErnestM1234! - Remove the unusedhashTemplateexport fromgeneraltranslation/id. It had no consumers anywhere in the libraries.hashSource/hashStringare unchanged. -
Updated dependencies [
d48604e,88f3a2e,5752fe8]:- @generaltranslation/format@0.1.2