You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/appendices/5-4-migration-guide.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,11 @@ The default eager loading strategy for `HasMany` and `BelongsToMany` association
27
27
has changed from `select` to `subquery`. If you need the previous behavior,
28
28
explicitly set `'strategy' => 'select'` when defining associations.
29
29
30
+
### Controller
31
+
32
+
Loading a component with the same alias as the controller's default table now
33
+
triggers a warning. See [Component Alias Conflicts](../controllers/components#component-alias-conflicts).
34
+
30
35
## Deprecations
31
36
32
37
- WIP
@@ -60,12 +65,24 @@ explicitly set `'strategy' => 'select'` when defining associations.
60
65
nested array format matching `contain()` syntax.
61
66
See [Converting Request Data into Entities](../orm/saving-data#converting-request-data-into-entities).
62
67
68
+
### Http
69
+
70
+
- Added PSR-13 Link implementation with `Cake\Http\Link\Link` and `Cake\Http\Link\LinkProvider`
71
+
classes for hypermedia link support. Links added to responses are automatically emitted
72
+
as HTTP `Link` headers. See [Hypermedia Links](../controllers/request-response#hypermedia-links).
73
+
63
74
### Utility
64
75
65
76
- Added `Cake\Utility\Fs\Finder` class for fluent file discovery with pattern matching,
66
77
depth control, and custom filters. Added `Cake\Utility\Fs\Path` for cross-platform
67
78
path manipulation.
68
79
80
+
### Collection
81
+
82
+
- Added [`keys()`](../core-libraries/collections#keys) and [`values()`](../core-libraries/collections#values) methods for extracting keys or re-indexing values.
83
+
- Added [`implode()`](../core-libraries/collections#implode) method to concatenate elements into a string.
84
+
- Added [`when()`](../core-libraries/collections#when) and [`unless()`](../core-libraries/collections#unless) methods for conditional method chaining.
85
+
69
86
### View
70
87
71
88
- Added `{{inputId}}` template variable to `inputContainer` and `error` templates
0 commit comments