Repository navigation
feat: target the published ReRune SDK 1.9.0 - #2
Merged
Merged
Conversation
Every example moves from @rerune/* 1.8.0 to 1.9.0. React and Expo call the synchronous ReRune.setup at module scope with the default cache store and render ReRuneProvider at once; Angular registers ReRune.setup (renamed from ReRune.provide) and imports no type from the internal @rerune/core, which angular-shared no longer declares. The Angular apps drop the variant save and staging error alerts that 1.9.0 made unreachable. Expo adds the @formatjs/intl-pluralrules polyfill that the 1.9.0 notes ask for on Hermes, and its first screen waits for the remembered-language read. Partial refresh feedback shows no empty language list, the consumer and browser tests follow 1.9.0 behavior, and the READMEs and CONTRIBUTING describe the 1.9.0 API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves every example from the published
@rerune/*1.8.0 to 1.9.0, following the 1.9.0 migration notes.The remembered language from #1 keeps its behavior. Returning visitors download translations once more, because the React and Expo apps now use the SDK's default cache keys; the READMEs say so.
Evidence
pnpm typecheck(createReRuneBrowserCacheStorenot exported,thenon the client) and all four consumer tests (createReRuneBrowserCacheStore is not a function).After:
pnpm check:dependencies(public SDK 1.9.0, registry integrity, aligned pins),pnpm lint,pnpm typecheck,pnpm test(13/13),CI=true pnpm build,pnpm test:browser(32 passed),pnpm test:parity(2 passed),pnpm export:android, andpnpm export:iospass.tests/browser/ota.spec.tsnow expects 1.9.0 language loading: a check downloads only the shown language and its fallback, so the partial-update step shows French first. The newscripts/refresh.test.mjscase failed before therefresh.tschange ('Partially updated: ' with an empty list).Merge Danger
Door: two-way
Example code, tests, docs, and dependencies. Revert the commit to undo.
Blast Radius: examples
Visitors of earlier builds download translations once more and start at the Main edition, because the cache keys changed.
🤖 Generated with Claude Code