Skip to content

[sulu/redirect-bundle] Providing configuration for version 3.#1940

Merged
symfony-recipes-bot merged 2 commits intosymfony:mainfrom
mamazu:redirect_bundle
Feb 10, 2026
Merged

[sulu/redirect-bundle] Providing configuration for version 3.#1940
symfony-recipes-bot merged 2 commits intosymfony:mainfrom
mamazu:redirect_bundle

Conversation

@mamazu
Copy link
Contributor

@mamazu mamazu commented Feb 10, 2026

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

Since the path of the routing file location changed we need a different configuration for version 3 of the routing bundle.

/cc @alexander-schranz

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) February 10, 2026 16:20
@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-1940/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1940/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 8e0f542f..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,8 +1,8 @@
 sulu_redirect_api:
     type: rest
-    resource: "@SuluRedirectBundle/Resources/config/routing_api.yml"
+    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

@symfony-recipes-bot symfony-recipes-bot merged commit b67c220 into symfony:main Feb 10, 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.

3 participants