Skip to content

fix: add reactivity to paraglide#1168

Merged
manuel3108 merged 11 commits into
sveltejs:mainfrom
sacrosanctic:total-nightingale
Jul 12, 2026
Merged

fix: add reactivity to paraglide#1168
manuel3108 merged 11 commits into
sveltejs:mainfrom
sacrosanctic:total-nightingale

Conversation

@sacrosanctic

Copy link
Copy Markdown
Contributor

Closes #

Description

  • add reactivity to paraglide
  • fails without unrun
  • remove .gitignore, the generated folder had a .gitignore

Checklist

  • Update snapshots (if applicable)
  • Add a changeset (if applicable)
  • Allow maintainers to edit this PR
  • I care about what I'm doing, no matter the tool I use (Notepad, Sublime, VSCode, AI...)

Co-authored-by: cofl 366548+cofl@users.noreply.github.com

@pkg-svelte-dev

pkg-svelte-dev Bot commented Jul 11, 2026

Copy link
Copy Markdown

Install the latest version of sv from 2a798ca:

pnpm add https://pkg.svelte.dev/sv/c/2a798ca7d53b5654914554b2f986932dba601b05

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/cli/pr/1168

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

changeset-bot Bot commented Jul 11, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2a798ca

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

This PR includes changesets to release 1 package
Name Type
sv 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

Comment thread packages/sv/src/addons/paraglide.ts Outdated
@zsh

zsh commented Jul 11, 2026

Copy link
Copy Markdown

what's the migration plan to existing project?

@sacrosanctic

sacrosanctic commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

what's the migration plan to existing project?

Don't need one, it overrides the behaviour without needing to adjust any APIs. It is a breaking change in the sense that it is now reactive, but I think that's more of a fix than anything.

@svelte-docs-bot

Copy link
Copy Markdown

@manuel3108 manuel3108 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is way cleaner than what i implemented in my private project and works flawlessly!

Thank you!

@manuel3108 manuel3108 merged commit 477097e into sveltejs:main Jul 12, 2026
6 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 12, 2026
@zsh

zsh commented Jul 12, 2026

Copy link
Copy Markdown

what's the migration plan to existing project?

Don't need one, it overrides the behaviour without needing to adjust any APIs. It is a breaking change in the sense that it is now reactive, but I think that's more of a fix than anything.

thank you for the follow up. i assume i have to rerun npx sv add paraglide once to get new helper code injected into project, right?

@manuel3108

Copy link
Copy Markdown
Member

Exactly, and you will have to wait for the next release, it's only merged but not yet published.

@manuel3108

Copy link
Copy Markdown
Member

Actually, i triggered the release right now, so you should be able to use this new version in about 5 minutes or so

@sacrosanctic sacrosanctic deleted the total-nightingale branch July 12, 2026 12:23
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.

4 participants