[web-profiler-bundle] Remove deprecated collect_serializer_data option#1538
Merged
Conversation
nicolas-grekas
commented
May 29, 2026
Member
| Q | A |
|---|---|
| License | MIT |
| Doc issue/PR | - |
Collaborator
|
Thanks for the PR 😍 How to test these changes in your application
Diff between recipe versionsIn order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes. symfony/web-profiler-bundle3.3 vs 5.3diff --git a/symfony/web-profiler-bundle/3.3/config/packages/dev/web_profiler.yaml b/symfony/web-profiler-bundle/3.3/config/packages/dev/web_profiler.yaml
deleted file mode 100644
index e92166a7..00000000
--- a/symfony/web-profiler-bundle/3.3/config/packages/dev/web_profiler.yaml
+++ /dev/null
@@ -1,6 +0,0 @@
-web_profiler:
- toolbar: true
- intercept_redirects: false
-
-framework:
- profiler: { only_exceptions: false }
diff --git a/symfony/web-profiler-bundle/3.3/config/packages/test/web_profiler.yaml b/symfony/web-profiler-bundle/3.3/config/packages/test/web_profiler.yaml
deleted file mode 100644
index 03752de2..00000000
--- a/symfony/web-profiler-bundle/3.3/config/packages/test/web_profiler.yaml
+++ /dev/null
@@ -1,6 +0,0 @@
-web_profiler:
- toolbar: false
- intercept_redirects: false
-
-framework:
- profiler: { collect: false }
diff --git a/symfony/web-profiler-bundle/5.3/config/packages/web_profiler.yaml b/symfony/web-profiler-bundle/5.3/config/packages/web_profiler.yaml
new file mode 100644
index 00000000..17893da1
--- /dev/null
+++ b/symfony/web-profiler-bundle/5.3/config/packages/web_profiler.yaml
@@ -0,0 +1,15 @@
+when@dev:
+ web_profiler:
+ toolbar: true
+ intercept_redirects: false
+
+ framework:
+ profiler: { only_exceptions: false }
+
+when@test:
+ web_profiler:
+ toolbar: false
+ intercept_redirects: false
+
+ framework:
+ profiler: { collect: false }
diff --git a/symfony/web-profiler-bundle/3.3/config/routes/dev/web_profiler.yaml b/symfony/web-profiler-bundle/3.3/config/routes/dev/web_profiler.yaml
deleted file mode 100644
index c82beff2..00000000
--- a/symfony/web-profiler-bundle/3.3/config/routes/dev/web_profiler.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-web_profiler_wdt:
- resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
- prefix: /_wdt
-
-web_profiler_profiler:
- resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
- prefix: /_profiler
diff --git a/symfony/web-profiler-bundle/5.3/config/routes/web_profiler.yaml b/symfony/web-profiler-bundle/5.3/config/routes/web_profiler.yaml
new file mode 100644
index 00000000..8d85319f
--- /dev/null
+++ b/symfony/web-profiler-bundle/5.3/config/routes/web_profiler.yaml
@@ -0,0 +1,8 @@
+when@dev:
+ web_profiler_wdt:
+ resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
+ prefix: /_wdt
+
+ web_profiler_profiler:
+ resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
+ prefix: /_profiler
diff --git a/symfony/web-profiler-bundle/3.3/manifest.json b/symfony/web-profiler-bundle/5.3/manifest.json
index cb84a249..be741281 100644
--- a/symfony/web-profiler-bundle/3.3/manifest.json
+++ b/symfony/web-profiler-bundle/5.3/manifest.json
@@ -4,5 +4,8 @@
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
+ },
+ "conflict": {
+ "symfony/framework-bundle": "<5.3"
}
}5.3 vs 6.1diff --git a/symfony/web-profiler-bundle/5.3/config/packages/web_profiler.yaml b/symfony/web-profiler-bundle/6.1/config/packages/web_profiler.yaml
index 17893da1..1e039b76 100644
--- a/symfony/web-profiler-bundle/5.3/config/packages/web_profiler.yaml
+++ b/symfony/web-profiler-bundle/6.1/config/packages/web_profiler.yaml
@@ -1,15 +1,11 @@
when@dev:
web_profiler:
toolbar: true
- intercept_redirects: false
framework:
- profiler: { only_exceptions: false }
+ profiler:
+ collect_serializer_data: true
when@test:
- web_profiler:
- toolbar: false
- intercept_redirects: false
-
framework:
profiler: { collect: false }
diff --git a/symfony/web-profiler-bundle/5.3/manifest.json b/symfony/web-profiler-bundle/6.1/manifest.json
index be741281..fceb97f4 100644
--- a/symfony/web-profiler-bundle/5.3/manifest.json
+++ b/symfony/web-profiler-bundle/6.1/manifest.json
@@ -6,6 +6,6 @@
"config/": "%CONFIG_DIR%/"
},
"conflict": {
- "symfony/framework-bundle": "<5.3"
+ "symfony/framework-bundle": "<6.1"
}
}6.1 vs 7.3diff --git a/symfony/web-profiler-bundle/6.1/config/packages/web_profiler.yaml b/symfony/web-profiler-bundle/7.3/config/packages/web_profiler.yaml
index 1e039b76..0eac3c98 100644
--- a/symfony/web-profiler-bundle/6.1/config/packages/web_profiler.yaml
+++ b/symfony/web-profiler-bundle/7.3/config/packages/web_profiler.yaml
@@ -8,4 +8,6 @@ when@dev:
when@test:
framework:
- profiler: { collect: false }
+ profiler:
+ collect: false
+ collect_serializer_data: true
diff --git a/symfony/web-profiler-bundle/6.1/config/routes/web_profiler.yaml b/symfony/web-profiler-bundle/7.3/config/routes/web_profiler.yaml
index 8d85319f..b3b7b4b0 100644
--- a/symfony/web-profiler-bundle/6.1/config/routes/web_profiler.yaml
+++ b/symfony/web-profiler-bundle/7.3/config/routes/web_profiler.yaml
@@ -1,8 +1,8 @@
when@dev:
web_profiler_wdt:
- resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
+ resource: '@WebProfilerBundle/Resources/config/routing/wdt.php'
prefix: /_wdt
web_profiler_profiler:
- resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
+ resource: '@WebProfilerBundle/Resources/config/routing/profiler.php'
prefix: /_profiler7.3 vs 8.1diff --git a/symfony/web-profiler-bundle/7.3/config/packages/web_profiler.yaml b/symfony/web-profiler-bundle/8.1/config/packages/web_profiler.yaml
index 0eac3c98..456fc45b 100644
--- a/symfony/web-profiler-bundle/7.3/config/packages/web_profiler.yaml
+++ b/symfony/web-profiler-bundle/8.1/config/packages/web_profiler.yaml
@@ -3,11 +3,9 @@ when@dev:
toolbar: true
framework:
- profiler:
- collect_serializer_data: true
+ profiler: true
when@test:
framework:
profiler:
collect: false
- collect_serializer_data: true |
chalasr
approved these changes
May 30, 2026
yceruto
approved these changes
May 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.