|
1 | 1 | # Release Notes for 10.x
|
2 | 2 |
|
3 |
| -## [Unreleased](https://github.com/laravel/framework/compare/v10.8.0...10.x) |
| 3 | +## [Unreleased](https://github.com/laravel/framework/compare/v9.52.7...10.x) |
4 | 4 |
|
| 5 | +## [v9.52.7](https://github.com/laravel/framework/compare/v10.8.0...v9.52.7) - 2023-04-25 |
| 6 | + |
| 7 | +### Changed |
| 8 | + |
| 9 | +- Make rules method in FormRequest optional ([#46846](https://github.com/laravel/framework/pull/46846)) |
5 | 10 |
|
6 | 11 | ## [v10.8.0 (2023-04-18)](https://github.com/laravel/framework/compare/v10.7.1...v10.8.0)
|
7 | 12 |
|
8 | 13 | ### Added
|
| 14 | + |
9 | 15 | - Added syntax sugar to the Process::pipe method ([#46745](https://github.com/laravel/framework/pull/46745))
|
10 | 16 | - Allow specifying index name when calling ForeignIdColumnDefinition@constrained() ([#46746](https://github.com/laravel/framework/pull/46746))
|
11 | 17 | - Allow to customise redirect URL in AuthenticateSession Middleware ([#46752](https://github.com/laravel/framework/pull/46752))
|
12 | 18 | - Added Class based after validation rules ([#46757](https://github.com/laravel/framework/pull/46757))
|
13 | 19 | - Added max exceptions to broadcast event ([#46800](https://github.com/laravel/framework/pull/46800))
|
14 | 20 |
|
15 | 21 | ### Fixed
|
| 22 | + |
16 | 23 | - Fixed compiled view file ends with .php ([#46755](https://github.com/laravel/framework/pull/46755))
|
17 | 24 | - Fix validation rule names ([#46768](https://github.com/laravel/framework/pull/46768))
|
18 | 25 | - Fixed validateDecimal() ([#46809](https://github.com/laravel/framework/pull/46809))
|
19 | 26 |
|
20 | 27 | ### Changed
|
| 28 | + |
21 | 29 | - Add headers to exception in `Illuminate/Foundation/Application::abourd()` ([#46780](https://github.com/laravel/framework/pull/46780))
|
22 | 30 | - Minor skeleton slimming (framework edition) ([#46786](https://github.com/laravel/framework/pull/46786))
|
23 | 31 | - Release lock for job implementing ShouldBeUnique that is dispatched afterResponse() ([#46806](https://github.com/laravel/framework/pull/46806))
|
24 | 32 |
|
25 |
| - |
26 | 33 | ## [v10.7.1 (2023-04-11)](https://github.com/laravel/framework/compare/v10.7.0...v10.7.1)
|
27 | 34 |
|
28 | 35 | ### Changed
|
| 36 | + |
29 | 37 | - Changed `Illuminate/Process/Factory::pipe()` method. It will be run pipes immediately ([e34ab39](https://github.com/laravel/framework/commit/e34ab392800bfc175334c90e9321caa7261c2d65))
|
30 | 38 |
|
31 | 39 | ## [v10.7.0 (2023-04-11)](https://github.com/laravel/framework/compare/v10.6.2...v10.7.0)
|
32 | 40 |
|
33 | 41 | ### Added
|
| 42 | + |
34 | 43 | - Allow `Illuminate/Foundation/Testing/WithFaker` to be used when app is not bound ([#46529](https://github.com/laravel/framework/pull/46529))
|
35 | 44 | - Allow Event::assertListening to check for invokable event listeners ([#46683](https://github.com/laravel/framework/pull/46683))
|
36 | 45 | - Added `Illuminate/Process/Factory::pipe()` ([#46527](https://github.com/laravel/framework/pull/46527))
|
37 | 46 | - Added `Illuminate/Validation/Validator::setValue` ([#46716](https://github.com/laravel/framework/pull/46716))
|
38 | 47 |
|
39 | 48 | ### Fixed
|
| 49 | + |
40 | 50 | - PHP 8.0 fix for Closure jobs ([#46505](https://github.com/laravel/framework/pull/46505))
|
41 | 51 | - Fix preg_split error when there is a slash in the attribute in `Illuminate/Validation/ValidationData` ([#46549](https://github.com/laravel/framework/pull/46549))
|
42 | 52 | - Fixed Cache::spy incompatibility with Cache::get ([#46689](https://github.com/laravel/framework/pull/46689))
|
|
45 | 55 | - Fix query builder whereBetween method with carbon date period ([#46720](https://github.com/laravel/framework/pull/46720))
|
46 | 56 |
|
47 | 57 | ### Changed
|
| 58 | + |
48 | 59 | - Removes unnecessary parameters in `creatable()` / `destroyable()` methods in `Illuminate/Routing/PendingSingletonResourceRegistration` ([#46677](https://github.com/laravel/framework/pull/46677))
|
49 | 60 | - Return non-zero exit code for uncaught exceptions ([#46541](https://github.com/laravel/framework/pull/46541))
|
50 | 61 |
|
51 | 62 | ## [v10.6.2 (2023-04-05)](https://github.com/laravel/framework/compare/v10.6.1...v10.6.2)
|
52 | 63 |
|
53 | 64 | ### Added
|
| 65 | + |
54 | 66 | - Added trait `Illuminate/Foundation/Testing/WithConsoleEvents` ([#46694](https://github.com/laravel/framework/pull/46694))
|
55 | 67 |
|
56 | 68 | ### Changed
|
| 69 | + |
57 | 70 | - Added missing ignored methods to `Illuminate/View/Component` ([#46692](https://github.com/laravel/framework/pull/46692))
|
58 | 71 | - console.stub: remove void return type from handle ([#46697](https://github.com/laravel/framework/pull/46697))
|
59 | 72 |
|
60 | 73 | ## [v10.6.1 (2023-04-04)](https://github.com/laravel/framework/compare/v10.6.0...v10.6.1)
|
61 | 74 |
|
62 | 75 | ### Reverted
|
| 76 | + |
63 | 77 | - Reverted ["Set container instance on session manager"Set container instance on session manager](https://github.com/laravel/framework/pull/46621) ([#46691](https://github.com/laravel/framework/pull/46691))
|
64 | 78 |
|
65 | 79 | ## [v10.6.0 (2023-04-04)](https://github.com/laravel/framework/compare/v10.5.1...v10.6.0)
|
66 | 80 |
|
67 | 81 | ### Added
|
| 82 | + |
68 | 83 | - Added ability to set a custom class for the AsCollection and AsEncryptedCollection casts ([#46619](https://github.com/laravel/framework/pull/46619))
|
69 | 84 |
|
70 | 85 | ### Changed
|
| 86 | + |
71 | 87 | - Set container instance on session manager ([#46621](https://github.com/laravel/framework/pull/46621))
|
72 | 88 | - Added empty string definition to Str::squish function ([#46660](https://github.com/laravel/framework/pull/46660))
|
73 | 89 | - Allow $sleepMilliseconds parameter receive a Closure in retry method from PendingRequest ([#46653](https://github.com/laravel/framework/pull/46653))
|
|
76 | 92 | ## [v10.5.1 (2023-03-29)](https://github.com/laravel/framework/compare/v10.5.0...v10.5.1)
|
77 | 93 |
|
78 | 94 | ### Added
|
| 95 | + |
79 | 96 | - Added methods to determine if API resource has pivot loaded ([#46555](https://github.com/laravel/framework/pull/46555))
|
80 | 97 | - Added caseSensitive flag to Stringable replace function ([#46578](https://github.com/laravel/framework/pull/46578))
|
81 | 98 | - Allow insert..select (insertUsing()) to have empty $columns ([#46605](https://github.com/laravel/framework/pull/46605), [399bff9](https://github.com/laravel/framework/commit/399bff9331252e64a3439ea43e05f87f901dad55))
|
82 | 99 | - Added `Illuminate/Database/Connection::selectResultSets()` ([#46592](https://github.com/laravel/framework/pull/46592))
|
83 | 100 |
|
84 | 101 | ### Changed
|
| 102 | + |
85 | 103 | - Make sure pivot model has previously defined values ([#46559](https://github.com/laravel/framework/pull/46559))
|
86 | 104 | - Move SetUniqueIds to run before the creating event ([#46622](https://github.com/laravel/framework/pull/46622))
|
87 | 105 |
|
88 | 106 | ## [v10.5.0 (2023-03-28)](https://github.com/laravel/framework/compare/v10.4.1...v10.5.0)
|
89 | 107 |
|
90 | 108 | ### Added
|
| 109 | + |
91 | 110 | - Added `Illuminate/Cache/CacheManager::setApplication()` ([#46594](https://github.com/laravel/framework/pull/46594))
|
92 | 111 |
|
93 | 112 | ### Fixed
|
| 113 | + |
94 | 114 | - Fix infinite loading on batches list on Horizon ([#46536](https://github.com/laravel/framework/pull/46536))
|
95 | 115 | - Fix whereNull queries with raw expressions for the MySql grammar ([#46538](https://github.com/laravel/framework/pull/46538))
|
96 | 116 | - Fix getDirty method when using AsEnumArrayObject / AsEnumCollection ([#46561](https://github.com/laravel/framework/pull/46561))
|
97 | 117 |
|
98 | 118 | ### Changed
|
| 119 | + |
99 | 120 | - Skip `Illuminate/Support/Reflector::isParameterBackedEnumWithStringBackingType` for non ReflectionNamedType ([#46511](https://github.com/laravel/framework/pull/46511))
|
100 | 121 | - Replace Deprecated DBAL Comparator creation with schema aware Comparator ([#46517](https://github.com/laravel/framework/pull/46517))
|
101 | 122 | - Added Storage::json() method to read and decode a json file ([#46548](https://github.com/laravel/framework/pull/46548))
|
|
108 | 129 | ## [v10.4.1 (2023-03-18)](https://github.com/laravel/framework/compare/v10.4.0...v10.4.1)
|
109 | 130 |
|
110 | 131 | ### Changed
|
| 132 | + |
111 | 133 | - Move Symfony events dispatcher registration to Console\Kernel ([#46508](https://github.com/laravel/framework/pull/46508))
|
112 | 134 |
|
113 | 135 | ## [v10.4.0 (2023-03-17)](https://github.com/laravel/framework/compare/v10.3.3...v10.4.0)
|
114 | 136 |
|
115 | 137 | ### Added
|
| 138 | + |
116 | 139 | - Added `Illuminate/Testing/Concerns/AssertsStatusCodes::assertUnsupportedMediaType()` ([#46426](https://github.com/laravel/framework/pull/46426))
|
117 | 140 | - Added curl_error_code: 77 to DetectsLostConnections ([#46429](https://github.com/laravel/framework/pull/46429))
|
118 | 141 | - Allow for converting a HasMany to HasOne && MorphMany to MorphOne ([#46443](https://github.com/laravel/framework/pull/46443))
|
119 | 142 | - Add option to create macroable method for paginationInformation ([#46461](https://github.com/laravel/framework/pull/46461))
|
120 | 143 | - Added `Illuminate/Filesystem/Filesystem::json()` ([#46481](https://github.com/laravel/framework/pull/46481))
|
121 | 144 |
|
122 | 145 | ### Fixed
|
| 146 | + |
123 | 147 | - Fix parsed input arguments for command events using dispatcher rerouting ([#46442](https://github.com/laravel/framework/pull/46442))
|
124 | 148 | - Fix enums uses with optional implicit parameters ([#46483](https://github.com/laravel/framework/pull/46483))
|
125 | 149 | - Fix deprecations for embedded images in symfony mailer ([#46488](https://github.com/laravel/framework/pull/46488))
|
126 | 150 |
|
127 | 151 | ### Changed
|
| 152 | + |
128 | 153 | - Added alternative database port in Postgres DSN ([#46403](https://github.com/laravel/framework/pull/46403))
|
129 | 154 | - Allow calling getControllerClass on closure-based routes ([#46411](https://github.com/laravel/framework/pull/46411))
|
130 | 155 | - Remove obsolete method_exists(ReflectionClass::class, 'isEnum') call ([#46445](https://github.com/laravel/framework/pull/46445))
|
|
134 | 159 | ## [v10.3.3 (2023-03-09)](https://github.com/laravel/framework/compare/v10.3.2...v10.3.3)
|
135 | 160 |
|
136 | 161 | ### Reverted
|
| 162 | + |
137 | 163 | - Reverted ["Allow override of the Builder paginate() total"](https://github.com/laravel/framework/pull/46336) ([#46406](https://github.com/laravel/framework/pull/46406))
|
138 | 164 |
|
139 | 165 | ## [v10.3.2 (2023-03-08)](https://github.com/laravel/framework/compare/v10.3.1...v10.3.2)
|
140 | 166 |
|
141 | 167 | ### Reverted
|
| 168 | + |
142 | 169 | - Reverted ["FIX on CanBeOneOfMany trait giving erroneous results"](https://github.com/laravel/framework/pull/46309) ([#46402](https://github.com/laravel/framework/pull/46402))
|
143 | 170 |
|
144 | 171 | ### Fixed
|
| 172 | + |
145 | 173 | - Fixes Expression no longer implements Stringable ([#46395](https://github.com/laravel/framework/pull/46395))
|
146 | 174 |
|
147 | 175 | ## [v10.3.1 (2023-03-08)](https://github.com/laravel/framework/compare/v10.3.0...v10.3.1)
|
148 | 176 |
|
149 | 177 | ### Reverted
|
| 178 | + |
150 | 179 | - Reverted ["Use fallback when previous URL is the same as the current in `Illuminate/Routing/UrlGenerator::previous()`"](https://github.com/laravel/framework/pull/46234) ([#46392](https://github.com/laravel/framework/pull/46392))
|
151 | 180 |
|
152 | 181 | ## [v10.3.0 (2023-03-07)](https://github.com/laravel/framework/compare/v10.2.0...v10.3.0)
|
153 | 182 |
|
154 | 183 | ### Added
|
| 184 | + |
155 | 185 | - Adding Pipeline Facade ([#46271](https://github.com/laravel/framework/pull/46271))
|
156 | 186 | - Add Support for SaveQuietly and Upsert with UUID/ULID Primary Keys ([#46161](https://github.com/laravel/framework/pull/46161))
|
157 | 187 | - Add charAt method to both Str and Stringable ([#46349](https://github.com/laravel/framework/pull/46349), [dfb59bc2](https://github.com/laravel/framework/commit/dfb59bc263a4e28ac8992deeabd2ccd9392d1681))
|
158 | 188 | - Adds Countable to the InvokedProcessPool class ([#46346](https://github.com/laravel/framework/pull/46346))
|
159 | 189 | - Add processors to logging (placeholders) ([#46344](https://github.com/laravel/framework/pull/46344))
|
160 | 190 |
|
161 | 191 | ### Fixed
|
| 192 | + |
162 | 193 | - Fixed `Illuminate/Mail/Mailable::buildMarkdownView()` ([791f8ea7](https://github.com/laravel/framework/commit/791f8ea70b5872ae4483a32f6aeb28dd2ed4b8d7))
|
163 | 194 | - FIX on CanBeOneOfMany trait giving erroneous results ([#46309](https://github.com/laravel/framework/pull/46309))
|
164 | 195 |
|
165 | 196 | ### Changed
|
| 197 | + |
166 | 198 | - Use fallback when previous URL is the same as the current in `Illuminate/Routing/UrlGenerator::previous()` ([#46234](https://github.com/laravel/framework/pull/46234))
|
167 | 199 | - Allow override of the Builder paginate() total ([#46336](https://github.com/laravel/framework/pull/46336))
|
168 | 200 |
|
169 | 201 | ## [v10.2.0 (2023-03-02)](https://github.com/laravel/framework/compare/v10.1.5...v10.2.0)
|
170 | 202 |
|
171 | 203 | ### Added
|
| 204 | + |
172 | 205 | - Adding `Conditionable` train to Logger ([#46259](https://github.com/laravel/framework/pull/46259))
|
173 | 206 | - Added "dot" method to Illuminate\Support\Collection class ([#46265](https://github.com/laravel/framework/pull/46265))
|
174 | 207 | - Added a "channel:list" command ([#46248](https://github.com/laravel/framework/pull/46248))
|
|
177 | 210 | - Add ArrayAccess to Stringable ([#46279](https://github.com/laravel/framework/pull/46279))
|
178 | 211 |
|
179 | 212 | ### Reverted
|
| 213 | + |
180 | 214 | - Revert "[10.x] Fix custom themes not reseting on Markdown renderer" ([#46328](https://github.com/laravel/framework/pull/46328))
|
181 | 215 |
|
182 | 216 | ### Fixed
|
| 217 | + |
183 | 218 | - Fix typo in function `createMissingSqliteDatbase` name in `src/Illuminate/Database/Console/Migrations/MigrateCommand.php` ([#46326](https://github.com/laravel/framework/pull/46326))
|
184 | 219 |
|
185 | 220 | ### Changed
|
| 221 | + |
186 | 222 | - Generate default command name based on class name in `ConsoleMakeCommand` ([#46256](https://github.com/laravel/framework/pull/46256))
|
187 | 223 | - Do not mutate underlying values on redirect ([#46281](https://github.com/laravel/framework/pull/46281))
|
188 | 224 | - Do not use null to initialise $lastExecutionStartedAt in `ScheduleWorkCommand` ([#46285](https://github.com/laravel/framework/pull/46285))
|
|
192 | 228 | ## [v10.1.5 (2023-02-24)](https://github.com/laravel/framework/compare/v10.1.4...v10.1.5)
|
193 | 229 |
|
194 | 230 | ### Fixed
|
| 231 | + |
195 | 232 | - Fixed `Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase::expectsDatabaseQueryCount()` $connection parameter ([#46228](https://github.com/laravel/framework/pull/46228))
|
196 | 233 | - Fixed Facade Fake ([#46257](https://github.com/laravel/framework/pull/46257))
|
197 | 234 |
|
198 | 235 | ### Changed
|
| 236 | + |
199 | 237 | - Remove autoload dumping from make:migration ([#46215](https://github.com/laravel/framework/pull/46215))
|
200 | 238 |
|
201 | 239 | ## [v10.1.4 (2023-02-23)](https://github.com/laravel/framework/compare/v10.1.3...v10.1.4)
|
202 | 240 |
|
203 | 241 | ### Changed
|
| 242 | + |
204 | 243 | - Improve Facade Fake Awareness ([#46188](https://github.com/laravel/framework/pull/46188), [#46232](https://github.com/laravel/framework/pull/46232))
|
205 | 244 |
|
206 | 245 | ## [v10.1.3 (2023-02-22)](https://github.com/laravel/framework/compare/v10.1.2...v10.1.3)
|
207 | 246 |
|
208 | 247 | ### Added
|
| 248 | + |
209 | 249 | - Added protected method `Illuminate/Http/Resources/Json/JsonResource::newCollection()` for simplifies collection customisation ([#46217](https://github.com/laravel/framework/pull/46217))
|
210 | 250 |
|
211 | 251 | ### Fixed
|
| 252 | + |
212 | 253 | - Fixes constructable migrations ([#46223](https://github.com/laravel/framework/pull/46223))
|
213 | 254 |
|
214 | 255 | ### Changes
|
| 256 | + |
215 | 257 | - Accept time when generating ULID in `Str::ulid()` ([#46201](https://github.com/laravel/framework/pull/46201))
|
216 | 258 |
|
217 | 259 | ## [v10.1.2 (2023-02-22)](https://github.com/laravel/framework/compare/v10.1.1...v10.1.2)
|
218 | 260 |
|
219 | 261 | ### Reverted
|
| 262 | + |
220 | 263 | - Revert changes from `Arr::random()` ([cf3eb90](https://github.com/laravel/framework/commit/cf3eb90a6473444bb7a78d1a3af1e9312a62020d))
|
221 | 264 |
|
222 | 265 | ## [v10.1.1 (2023-02-21)](https://github.com/laravel/framework/compare/v10.1.0...v10.1.1)
|
223 | 266 |
|
224 | 267 | ### Added
|
| 268 | + |
225 | 269 | - Add the ability to re-resolve cache drivers ([#46203](https://github.com/laravel/framework/pull/46203))
|
226 | 270 |
|
227 | 271 | ### Fixed
|
| 272 | + |
228 | 273 | - Fixed `Illuminate/Collections/Arr::shuffle()` for empty array ([0c6cae0](https://github.com/laravel/framework/commit/0c6cae0ef647158b9554cad05ff39db7e7ad0d33))
|
229 | 274 |
|
230 | 275 | ## [v10.1.0 (2023-02-21)](https://github.com/laravel/framework/compare/v10.0.3...v10.1.0)
|
231 | 276 |
|
232 | 277 | ### Fixed
|
| 278 | + |
233 | 279 | - Fixing issue where 0 is discarded as a valid timestamp ([#46158](https://github.com/laravel/framework/pull/46158))
|
234 | 280 | - Fix custom themes not reseting on Markdown renderer ([#46200](https://github.com/laravel/framework/pull/46200))
|
235 | 281 |
|
236 | 282 | ### Changed
|
| 283 | + |
237 | 284 | - Use secure randomness in Arr:random and Arr:shuffle ([#46105](https://github.com/laravel/framework/pull/46105))
|
238 | 285 | - Use mixed return type on controller stubs ([#46166](https://github.com/laravel/framework/pull/46166))
|
239 | 286 | - Use InteractsWithDictionary in Eloquent collection ([#46196](https://github.com/laravel/framework/pull/46196))
|
240 | 287 |
|
241 | 288 | ## [v10.0.3 (2023-02-17)](https://github.com/laravel/framework/compare/v10.0.2...v10.0.3)
|
242 | 289 |
|
243 | 290 | ### Added
|
| 291 | + |
244 | 292 | - Added missing expression support for pluck in Builder ([#46146](https://github.com/laravel/framework/pull/46146))
|
245 | 293 |
|
246 | 294 | ## [v10.0.2 (2023-02-16)](https://github.com/laravel/framework/compare/v10.0.1...v10.0.2)
|
247 | 295 |
|
248 | 296 | ### Added
|
| 297 | + |
249 | 298 | - Register policies automatically to the gate ([#46132](https://github.com/laravel/framework/pull/46132))
|
250 | 299 |
|
251 | 300 | ## [v10.0.1 (2023-02-16)](https://github.com/laravel/framework/compare/v10.0.0...v10.0.1)
|
252 | 301 |
|
253 | 302 | ### Added
|
| 303 | + |
254 | 304 | - Standard Input can be applied to PendingProcess ([#46119](https://github.com/laravel/framework/pull/46119))
|
255 | 305 |
|
256 | 306 | ### Fixed
|
| 307 | + |
257 | 308 | - Fix Expression string casting ([#46137](https://github.com/laravel/framework/pull/46137))
|
258 | 309 |
|
259 | 310 | ### Changed
|
| 311 | + |
260 | 312 | - Add AddQueuedCookiesToResponse to middlewarePriority so it is handled in the right place ([#46130](https://github.com/laravel/framework/pull/46130))
|
261 | 313 | - Show queue connection in MonitorCommand ([#46122](https://github.com/laravel/framework/pull/46122))
|
262 | 314 |
|
|
0 commit comments