Skip to content

Update dependency @inlang/paraglide-js to v3 - #41

Merged
firsttris merged 1 commit into
mainfrom
renovate/inlang-paraglide-js-3.x
Nov 4, 2026
Merged

firsttris merged 1 commit into
mainfrom
renovate/inlang-paraglide-js-3.x

Conversation

@firsttris

Copy link
Copy Markdown
Owner

Updates @inlang/paraglide-js from v2 to v3.1.0. (changelog)

Breaking changes in v3 and how they affect this repo

  • outputStructure: "virtual-modules" is the new default of the Vite plugin. The generated messages.js then re-exports virtual:paraglide/..., which only Vite can resolve. Anything importing the generated output outside of Vite (the paraglide-js compile output for typecheck/tests, Bun/Node code) breaks. → The plugin now sets outputStructure: "message-modules" explicitly, the layout v2 used, so plugin and CLI keep generating the same files.
  • The inlang SDK 4 writes a cache to project.inlang/cache/. → Added to .gitignore (**/ so it also matches nested projects and Biome skips it).
  • additionalFiles and experimentalMiddlewareLocaleSplitting were removed. → Not used here.
  • The CLI now emits .d.ts declarations by default. → No change needed.

Checked locally

  • bun run lint ✅
  • bun run typecheck ✅
  • bun run test ✅
  • bun run build ✅
  • Biome on the changed files ✅

Generated by Claude Code

Paraglide JS 3 makes `outputStructure: "virtual-modules"` the default of
the Vite plugin: the generated messages.js then imports
`virtual:paraglide/...`, which only Vite can resolve, so anything importing
the generated output outside of Vite (the `paraglide-js compile` output
used for typecheck and tests, Bun/Node code) would break. The plugin now
sets `outputStructure: "message-modules"` explicitly, the layout Paraglide
2 used, so the plugin and the CLI keep generating the same files.

Neither `additionalFiles` nor `experimentalMiddlewareLocaleSplitting`,
both removed in v3, were used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y3rdfanxjpLranVFzXfytu
@firsttris
firsttris merged commit 9a2d1a5 into main Nov 4, 2026
7 checks passed
@firsttris
firsttris deleted the renovate/inlang-paraglide-js-3.x branch November 4, 2026 13:22
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