Skip to content

Deprecate Swup for 2.x, remove it for 3.x #2733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Kocal opened this issue May 13, 2025 · 2 comments
Open

Deprecate Swup for 2.x, remove it for 3.x #2733

Kocal opened this issue May 13, 2025 · 2 comments
Milestone

Comments

@Kocal
Copy link
Member

Kocal commented May 13, 2025

Symfony UX Swup is the kind of package we do not want anymore on UX:

  • ~20 lines of PHP (an empty Bundle and some configuration for the AssetMapper)
  • and a small glue of JavaScript to the library

This kind of package does not bring any value, unlike UX Turbo, UX Map, etc... and can easily be re-created in the user's application:

  1. install some dependencies through npm or importmap:require
  2. either import swup library in their main entry (or create a stimulus controller)
  3. and that's all

I suggest we deprecate it in 2.x, and remove it for 3.x.

@Kocal Kocal added this to the 3.x milestone May 13, 2025
@weaverryan
Copy link
Member

Agreed: swup is easy to set up & UX prefers Turbo

@smnandre
Copy link
Member

100%

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

No branches or pull requests

3 participants