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
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,12 @@ version is reported as `unknown`), the header is omitted.
77
77
`league/container` implementation by setting `App.container` to `cake` inside your `config/app.php`.
78
78
See [Dependency Injection Container](../development/dependency-injection) for more details.
79
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
+
80
86
### Commands
81
87
82
88
- You can use `$this->io` and `$this->args` inside your commands to access input/output and argument objects
@@ -118,6 +124,12 @@ version is reported as `unknown`), the header is omitted.
118
124
`Index::BRIN`, `Index::HASH`) for these access methods.
119
125
See [Reading Indexes and Constraints](../orm/schema-system#reading-indexes-and-constraints).
120
126
127
+
### Http
128
+
129
+
- Added PSR-13 Link implementation with `Cake\Http\Link\Link` and `Cake\Http\Link\LinkProvider`
130
+
classes for hypermedia link support. Links added to responses are automatically emitted
131
+
as HTTP `Link` headers. See [Hypermedia Links](../controllers/request-response#hypermedia-links).
132
+
121
133
### I18n
122
134
123
135
-`Number::toReadableSize()` now uses decimal units (KB = 1000 bytes) by default.
@@ -129,11 +141,9 @@ version is reported as `unknown`), the header is omitted.
129
141
nested array format matching `contain()` syntax.
130
142
See [Converting Request Data into Entities](../orm/saving-data#converting-request-data-into-entities).
131
143
132
-
### Http
144
+
### Testsuite
133
145
134
-
- Added PSR-13 Link implementation with `Cake\Http\Link\Link` and `Cake\Http\Link\LinkProvider`
135
-
classes for hypermedia link support. Links added to responses are automatically emitted
136
-
as HTTP `Link` headers. See [Hypermedia Links](../controllers/request-response#hypermedia-links).
146
+
-`TestCase::mockModel()` has been added to allow mocking of model classes in tests using Mockery mocks.
137
147
138
148
### Utility
139
149
@@ -144,12 +154,6 @@ version is reported as `unknown`), the header is omitted.
144
154
You can set `Security.encryptWithRawKey` to enable this behavior. See [here](https://github.com/cakephp/cakephp/pull/19325) for more details.
145
155
- Added `Text::mask()` method which masks a portion of a string with a repeated character. See [Text Masking](../core-libraries/text.md#text-masking) for more details.
146
156
147
-
### Collection
148
-
149
-
- Added [`keys()`](../core-libraries/collections#keys) and [`values()`](../core-libraries/collections#values) methods for extracting keys or re-indexing values.
150
-
- Added [`implode()`](../core-libraries/collections#implode) method to concatenate elements into a string.
151
-
- Added [`when()`](../core-libraries/collections#when) and [`unless()`](../core-libraries/collections#unless) methods for conditional method chaining.
152
-
153
157
### View
154
158
155
159
- Added `{{inputId}}` template variable to `inputContainer` and `error` templates
0 commit comments