neos / neos-development-collection

The unified repository containing the Neos core packages, used for Neos development.
https://www.neos.io/
GNU General Public License v3.0
260 stars 220 forks source link

!!! TASK: Remove concepts `addQueryString` and `argumentsToBeExcludedFromQueryString` in Neos #5079

Closed mhsdesign closed 1 month ago

mhsdesign commented 1 month ago

Resolves: #5076

Upgrade instructions

The options addQueryString and argumentsToBeExcludedFromQueryString have been removed from Fluid and Fusions Node Uri-Building API. Please consider using Flows actual routing or reimplement this feature yourself:

- root = Neos.Fusion:NodeUri {
-    addQueryString = true
-    argumentsToBeExcludedFromQueryString = ${['bar']}
- }
+ root = Neos.Fusion:NodeUri {
+    additionalParams = ${request.arguments.filter((value, key) => key != 'bar')}
+ }

Affected Fusion prototypes:

Fluid view helpers with now removed addQueryString

Fluid view helpers with now deprecated addQueryString

Affected PHP APIs:

Review instructions

Checklist