File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 28
28
* Allow using PHP constants in YAML resources files
29
29
* Upgrade to the latest version of the Hydra spec
30
30
31
+ ## 2.0.11
32
+
33
+ * Ensure PHP 7.2 compatibility
34
+ * Fix some bug regarding Doctrine joins
35
+ * Let the ` hydra_context ` option take precedence over operation metadata
36
+ * Fix relations handling by the non-hypermedia ` ItemNormalizer ` (raw JSON, XML)
37
+ * Fix a bug in the JSON-LD context: should not be prefixed by ` # `
38
+ * Fix a bug regarding serialization groups in Hydra docs
39
+
31
40
## 2.0.10
32
41
33
42
* Performance improvement
Original file line number Diff line number Diff line change @@ -160,7 +160,9 @@ private function getPropertyNameCollectionFactoryContext(ResourceMetadata $resou
160
160
161
161
if (isset ($ attributes ['denormalization_context ' ]['groups ' ])) {
162
162
if (isset ($ context ['serializer_groups ' ])) {
163
- $ context ['serializer_groups ' ] += $ attributes ['denormalization_context ' ]['groups ' ];
163
+ foreach ($ attributes ['denormalization_context ' ]['groups ' ] as $ groupName ) {
164
+ $ context ['serializer_groups ' ][] = $ groupName ;
165
+ }
164
166
} else {
165
167
$ context ['serializer_groups ' ] = $ attributes ['denormalization_context ' ]['groups ' ];
166
168
}
You can’t perform that action at this time.
0 commit comments