Skip to content

fix(create): update Paraglide version to v3 and fix README message path - #590

Open
kevinwu98 wants to merge 1 commit into
TanStack:mainfrom
kevinwu98:fix/paraglide-addon-v3
Open

kevinwu98 wants to merge 1 commit into
TanStack:mainfrom
kevinwu98:fix/paraglide-addon-v3

Conversation

@kevinwu98

@kevinwu98 kevinwu98 commented Dec 3, 2026 •

Copy link
Copy Markdown

The Paraglide add-on currently pins @inlang/paraglide-js to ^2.13.1 and README says messages live in project.inlang/messages (but the add-on writes them to messages/).

This PR:

  • Bumps @inlang/paraglide-js to ^3.2.2
  • Fixes the message path in the add-on README

Tested by scaffolding an app with --add-ons paraglide from this branch: install, vite build and tsc --noEmit pass, and vite preview serves /demo/i18n in English and /de/demo/i18n in German. pnpm test in packages/create passes.

I help maintain Paraglide JS, feel free to ping with any Paraglide issues in the add-on

Summary by CodeRabbit

  • Documentation
    • Updated the Paraglide add-on setup guide to point to messages/ as the location for translation message files.
  • Updates
    • Updated the Paraglide add-on for React projects.

@changeset-bot

changeset-bot Bot commented Dec 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 218ed29

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@tanstack/create Patch
@tanstack/cli Patch
create-start-app Patch
create-tanstack-app Patch
create-tanstack Patch
create-tsrouter-app Patch
@tanstack/create-start Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Paraglide add-on updates its @inlang/paraglide-js dev dependency and documents messages/ as the message directory. A changeset declares patch releases for @tanstack/create and @tanstack/cli.

Changes: Paraglide add-on update

Layer / File(s) Summary
Update the Paraglide add-on
packages/create/src/frameworks/react/add-ons/paraglide/package.json, packages/create/src/frameworks/react/add-ons/paraglide/README.md, .changeset/paraglide-v3-addon.md
The dev dependency changes from ^2.13.1 to ^3.2.2. The README changes the documented message directory to messages/. The changeset declares patch bumps for @tanstack/create and @tanstack/cli.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Suggested reviewers: tannerlinsley, samuelstroschein

Merge Risk: Minimal · up to 218ed

The Paraglide add-on now requests paraglide-js ^3.2.2 and the README points to the messages/ directory. No actionable merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the two changes in the PR: the Paraglide dependency moves to v3, and the README message path is corrected. The raw summary confirms both changes (package.json bumps @inlang/paraglide-j…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the two changes in the PR: the Paraglide dependency moves to v3, and the README message path is corrected. The raw summary confirms both changes (package.json bumps @inlang/paraglide-js from ^2.13.1 to ^3.2.2, and the README now points to messages/ instead of project.inlang/messages). The title is specific and matches the main change. It uses the conventional commit prefix fix(create), which fits a patch release of @tanstack/create.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 47a048b4-bb10-4a0e-aa21-835078d8f480
Commits

Reviewing files that changed from the base of the PR and between 40e0043 and 218ed29.

Files selected for processing: 3

  • .changeset/paraglide-v3-addon.md
  • packages/create/src/frameworks/react/add-ons/paraglide/README.md
  • packages/create/src/frameworks/react/add-ons/paraglide/package.json

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​inlang/​paraglide-js@​2.29.3 ⏵ 3.2.299 +110010096 -1100

View full report

@tannerlinsley

Copy link
Copy Markdown
Member

Thanks for updating this and fixing the message path! The generated app checks pass with Paraglide 3.2.2.

AI review notes:
Reviewed all three files at 218ed29 against 40e0043. The only dependency change is the generated React app’s Paraglide range, with no workflow or lifecycle-hook changes. Checked the upstream v3 migration notes and the downloaded 3.2.2 archive, whose SHA-512 matches registry integrity metadata. The removed compiler options are not used by this add-on; the generated app already enables allowJs for the remaining declaration defaults.
Independent isolated checks on Node 24.15.0: all 10 builds, 570 unit tests including lint, and all 22 blocking browser tests pass. A fresh npm app generated outside the monorepo resolves Paraglide 3.2.2 and passes production build and TypeScript checks.
Chrome renders the English and German routes correctly and switches locales in both directions in production and development. Editing messages/de.json updates the development page, and the fixture restores the original translation. Browser requests were restricted to localhost, no translation or deployment provider was invoked. Early dev verifier attempts needed hydration-aware clicks; the corrected verifier passes without page errors.
The README now agrees with the generated messages/ directory. No applicable budget exception or extra Core-owned path review is needed for these changed files. Normal hosted PR and security workflows still need to run. This is not merged or released.

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.

2 participants