Skip to content

Version Packages - #192

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages#192
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@better-i18n/core@0.14.0

Minor Changes

  • 36e67fa: Stop re-downloading every namespace on the client when SSR already delivered the messages.

    BetterI18nProvider used to call getMessages(locale) on every mount, with no namespace scope, even when the SSR/prop payload already matched the active locale. On a prerendered site each new document starts with an empty in-memory cache, so that was a full re-fetch of the data the user was already looking at — and because no namespaces were passed, it asked for every namespace the manifest declares.

    Two changes:

    • The provider now fetches only when the active locale has no payload on screen. Freshness is kept by a manifest version check (revalidate, ETag-aware, typically a single 304) scheduled at idle, instead of a payload download.
    • The provider accepts and honours the namespaces prop it already declared in its type, passing it to getMessages and revalidate so client fetches stay as narrow as the server load.

    I18nCore.revalidate takes an optional { namespaces } argument so the refetch after a version change matches the scope of the original load. Existing calls are unaffected — it defaults to the namespaces given to createI18nCore.

Patch Changes

  • a4c1bc6: Fix getMessages silently returning a partial namespace set when the CDN batch endpoint truncates its response (e.g. when the combined payload is large, dropping alphabetically-later namespaces). The batch response is now required to contain every requested namespace; on any shortfall the SDK rejects it and falls back to individual per-namespace fetches (one request each, no aggregate size cap), so pages never render with missing translations.

@better-i18n/use-intl@0.10.0

Minor Changes

  • 36e67fa: Stop re-downloading every namespace on the client when SSR already delivered the messages.

    BetterI18nProvider used to call getMessages(locale) on every mount, with no namespace scope, even when the SSR/prop payload already matched the active locale. On a prerendered site each new document starts with an empty in-memory cache, so that was a full re-fetch of the data the user was already looking at — and because no namespaces were passed, it asked for every namespace the manifest declares.

    Two changes:

    • The provider now fetches only when the active locale has no payload on screen. Freshness is kept by a manifest version check (revalidate, ETag-aware, typically a single 304) scheduled at idle, instead of a payload download.
    • The provider accepts and honours the namespaces prop it already declared in its type, passing it to getMessages and revalidate so client fetches stay as narrow as the server load.

    I18nCore.revalidate takes an optional { namespaces } argument so the refetch after a version change matches the scope of the original load. Existing calls are unaffected — it defaults to the namespaces given to createI18nCore.

Patch Changes

  • Updated dependencies [a4c1bc6]
  • Updated dependencies [36e67fa]
    • @better-i18n/core@0.14.0

@better-i18n/expo@0.9.1

Patch Changes

  • Updated dependencies [a4c1bc6]
  • Updated dependencies [36e67fa]
    • @better-i18n/core@0.14.0

@better-i18n/next@0.9.1

Patch Changes

  • Updated dependencies [a4c1bc6]
  • Updated dependencies [36e67fa]
    • @better-i18n/core@0.14.0

@better-i18n/remix@0.6.9

Patch Changes

  • Updated dependencies [a4c1bc6]
  • Updated dependencies [36e67fa]
    • @better-i18n/core@0.14.0

@better-i18n/server@0.4.8

Patch Changes

  • Updated dependencies [a4c1bc6]
  • Updated dependencies [36e67fa]
    • @better-i18n/core@0.14.0

@better-i18n/vite@0.2.13

Patch Changes

  • Updated dependencies [a4c1bc6]
  • Updated dependencies [36e67fa]
    • @better-i18n/core@0.14.0

docs@0.0.12

Patch Changes

  • Updated dependencies [a4c1bc6]
  • Updated dependencies [36e67fa]
    • @better-i18n/core@0.14.0

hono-example@0.0.23

Patch Changes

  • @better-i18n/server@0.4.8

hydrogen-demo@0.0.19

Patch Changes

  • @better-i18n/remix@0.6.9

expo-native@1.0.34

Patch Changes

  • @better-i18n/expo@0.9.1

@github-actions
github-actions Bot requested a review from aliosmandev as a code owner July 29, 2026 10:35
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 29 times, most recently from 1448caf to 29cf1c0 Compare August 4, 2026 08:41
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 5 times, most recently from 1b46d1d to 371473c Compare August 4, 2026 13:13
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 371473c to 729c0d5 Compare August 9, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants