File tree Expand file tree Collapse file tree 2 files changed +42
-7
lines changed Expand file tree Collapse file tree 2 files changed +42
-7
lines changed Original file line number Diff line number Diff line change @@ -514,20 +514,20 @@ FrameworkBundle
514
514
515
515
* The ` validator.mapping.cache.apc` service is deprecated, and will be removed in 3.0.
516
516
Use `validator.mapping.cache.doctrine.apc` instead.
517
-
518
- * The ability to pass `apc` as the `framework.validation.cache` configuration key value is deprecated,
517
+
518
+ * The ability to pass `apc` as the `framework.validation.cache` configuration key value is deprecated,
519
519
and will be removed in 3.0. Use `validator.mapping.cache.doctrine.apc` instead :
520
-
520
+
521
521
Before :
522
-
522
+
523
523
` ` ` yaml
524
524
framework:
525
525
validation:
526
526
cache: apc
527
527
` ` `
528
528
529
529
After :
530
-
530
+
531
531
` ` ` yaml
532
532
framework:
533
533
validation:
@@ -612,3 +612,21 @@ Yaml
612
612
` ` ` yml
613
613
class: "Foo\\ Var"
614
614
` ` `
615
+
616
+ HttpFoundation
617
+ --------------
618
+
619
+ * Deprecated finding deep items in `ParameterBag::get()`. This may affect you
620
+ when getting parameters from the `Request` class :
621
+
622
+ Before :
623
+
624
+ ` ` ` php
625
+ $request->query->get('foo[bar]', null, true);
626
+ ` ` `
627
+
628
+ After :
629
+
630
+ ` ` ` php
631
+ $request->query->get('foo')[bar];
632
+ ` ` `
Original file line number Diff line number Diff line change @@ -745,7 +745,7 @@ UPGRADE FROM 2.x to 3.0
745
745
The `security.csrf.token_manager` should be used instead.
746
746
747
747
* The `validator.mapping.cache.apc` service has been removed in favor of the `validator.mapping.cache.doctrine.apc` one.
748
-
748
+
749
749
* The ability to pass `apc` as the `framework.validation.cache` configuration key value has been removed.
750
750
Use `validator.mapping.cache.doctrine.apc` instead :
751
751
@@ -1022,7 +1022,7 @@ UPGRADE FROM 2.x to 3.0
1022
1022
1023
1023
` ` ` php
1024
1024
use Symfony\C omponent\S ecurity\C ore\A uthorization\V oter\V oter;
1025
-
1025
+
1026
1026
class MyVoter extends Voter
1027
1027
{
1028
1028
protected function supports($attribute, $object)
@@ -1624,3 +1624,20 @@ UPGRADE FROM 2.x to 3.0
1624
1624
* `Process::setStdin()` and `Process::getStdin()` have been removed. Use
1625
1625
` Process::setInput()` and `Process::getInput()` that works the same way.
1626
1626
* `Process::setInput()` and `ProcessBuilder::setInput()` do not accept non-scalar types.
1627
+
1628
+ # ## HttpFoundation
1629
+
1630
+ * Removed the feature that allowed finding deep items in `ParameterBag::get()`.
1631
+ This may affect you when getting parameters from the `Request` class :
1632
+
1633
+ Before :
1634
+
1635
+ ` ` ` php
1636
+ $request->query->get('foo[bar]', null, true);
1637
+ ` ` `
1638
+
1639
+ After :
1640
+
1641
+ ` ` ` php
1642
+ $request->query->get('foo')[bar];
1643
+ ` ` `
You can’t perform that action at this time.
0 commit comments