Skip to content

[sulu/redirect-bundle] Removing rest routing#1946

Merged
symfony-recipes-bot merged 1 commit intosymfony:mainfrom
mamazu:redirect_url_bundle
Feb 19, 2026
Merged

[sulu/redirect-bundle] Removing rest routing#1946
symfony-recipes-bot merged 1 commit intosymfony:mainfrom
mamazu:redirect_url_bundle

Conversation

@mamazu
Copy link
Contributor

@mamazu mamazu commented Feb 13, 2026

Q A
License MIT
Packagist https://packagist.org/packages/sulu/redirect-bundle

We don't need rest routing as we've migrated to Symfony routing

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) February 13, 2026 10:52
@github-actions
Copy link

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1946/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1946/index.json
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'sulu/redirect-bundle:^3.0'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes.
I'm going keep this comment up to date with any updates of the attached patch.

sulu/redirect-bundle

2.0 vs 3.0
diff --git a/sulu/redirect-bundle/2.0/config/routes/sulu_redirect_admin.yaml b/sulu/redirect-bundle/3.0/config/routes/sulu_redirect_admin.yaml
index f5629463..a944394b 100644
--- a/sulu/redirect-bundle/2.0/config/routes/sulu_redirect_admin.yaml
+++ b/sulu/redirect-bundle/3.0/config/routes/sulu_redirect_admin.yaml
@@ -1,7 +1,8 @@
 sulu_redirect_api:
-    resource: "@SuluRedirectBundle/Resources/config/routing_api.yml"
+    type: rest
+    resource: "@SuluRedirectBundle/Resources/config/routing_api.yaml"
     prefix: /admin/api
 
 sulu_redirect:
-    resource: "@SuluRedirectBundle/Resources/config/routing.yml"
+    resource: "@SuluRedirectBundle/Resources/config/routing.yaml"
     prefix: /admin/redirects
diff --git a/sulu/redirect-bundle/2.0/post-install.txt b/sulu/redirect-bundle/3.0/post-install.txt
index cf938b78..0d052af6 100644
--- a/sulu/redirect-bundle/2.0/post-install.txt
+++ b/sulu/redirect-bundle/3.0/post-install.txt
@@ -3,4 +3,4 @@
     2. If the statements look fine to you, run the same command using --force to execute them.
     3. Make sure your user has all the necessary permissions for the SuluRedirectBundle.
 
-  * Read the documentation at https://github.com/sulu/SuluRedirectBundle/blob/2.x/Resources/doc/README.md
+  * Read the documentation at https://github.com/sulu/SuluRedirectBundle/blob/3.0/Resources/doc/README.md

@diimpp diimpp changed the title [sulu/redirect_url_bundle] Removing rest routing [sulu/redirect-bundle] Removing rest routing Feb 19, 2026
@symfony-recipes-bot symfony-recipes-bot merged commit f3c8362 into symfony:main Feb 19, 2026
1 of 2 checks passed
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