Skip to content

Commit ac9b6e4

Browse files
committed
Merge branch '8.x' of github.com:laravel/framework into 8.x
2 parents a61b24c + b1d9365 commit ac9b6e4

File tree

10 files changed

+117
-15
lines changed

10 files changed

+117
-15
lines changed

CHANGELOG-6.x.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
# Release Notes for 6.x
22

3-
## [Unreleased](https://github.com/laravel/framework/compare/v6.20.30...6.x)
3+
## [Unreleased](https://github.com/laravel/framework/compare/v6.20.32...6.x)
4+
5+
6+
## [v6.20.32 (2021-08-10)](https://github.com/laravel/framework/compare/v6.20.31...v6.20.32)
7+
8+
### Fixed
9+
- Bump AWS PHP SDK ([#38297](https://github.com/laravel/framework/pull/38297))
10+
11+
12+
## [v6.20.31 (2021-08-03)](https://github.com/laravel/framework/compare/v6.20.30...v6.20.31)
13+
14+
### Fixed
15+
- Fixed signed routes with expires parameter ([#38111](https://github.com/laravel/framework/pull/38111), [732c0e0](https://github.com/laravel/framework/commit/732c0e0f64b222e7fc7daef6553f8e99007bb32c))
16+
17+
### Refactoring
18+
- Remove hardcoded Carbon reference from scheduler event ([#38063](https://github.com/laravel/framework/pull/38063))
419

520

621
## [v6.20.30 (2021-07-07)](https://github.com/laravel/framework/compare/v6.20.29...v6.20.30)

CHANGELOG-8.x.md

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,95 @@
11
# Release Notes for 8.x
22

3-
## [Unreleased](https://github.com/laravel/framework/compare/v8.52.0...8.x)
3+
## [Unreleased](https://github.com/laravel/framework/compare/v8.55.0...8.x)
4+
5+
6+
## [v8.55.0 (2021-08-17)](https://github.com/laravel/framework/compare/v8.54.0...v8.55.0)
7+
8+
### Added
9+
- Added stringable support for isUuid ([#38330](https://github.com/laravel/framework/pull/38330))
10+
- Allow for closure reflection on all MailFake assertions ([#38328](https://github.com/laravel/framework/pull/38328))
11+
- Added `Illuminate/Support/Testing/Fakes/MailFake::assertNothingOutgoing()` ([363af47](https://github.com/laravel/framework/commit/363af4793bfac97f2d846f5fa6bb985ce6a5642e))
12+
- Added `Illuminate/Support/Testing/Fakes/MailFake::assertNotOutgoing()` ([a3658c9](https://github.com/laravel/framework/commit/a3658c93695b79b3f9a8fc72c04c6d928dcc51a9))
13+
- Added Support withTrashed on routes ([#38348](https://github.com/laravel/framework/pull/38348))
14+
- Added Failover Swift Transport driver ([#38344](https://github.com/laravel/framework/pull/38344))
15+
- Added Conditional rules ([#38361](https://github.com/laravel/framework/pull/38361))
16+
- Added assertRedirectToSignedRoute() method for testing responses ([#38349](https://github.com/laravel/framework/pull/38349))
17+
- Added Validated subsets ([#38366](https://github.com/laravel/framework/pull/38366))
18+
- Share handler instead of client between requests in pool to ensure ResponseReceived events are dispatched in async HTTP Request ([#38380](https://github.com/laravel/framework/pull/38380))
19+
- Support union types on event discovery ([#38383](https://github.com/laravel/framework/pull/38383))
20+
- Added Assert invalid in testResponse ([#38384](https://github.com/laravel/framework/pull/38384))
21+
- Add qualifyColumns method to Model class ([#38403](https://github.com/laravel/framework/pull/38403))
22+
- Added ability to throw a custom validation exception ([#38406](https://github.com/laravel/framework/pull/38406))
23+
- Support shorter subscription syntax ([#38408](https://github.com/laravel/framework/pull/38408))
24+
25+
### Fixed
26+
- Handle exceptions in batch callbacks ([#38327](https://github.com/laravel/framework/pull/38327))
27+
- Bump AWS PHP SDK ([#38297](https://github.com/laravel/framework/pull/38297))
28+
- Fixed firstOrCreate and firstOrNew should merge attributes correctly ([#38346](https://github.com/laravel/framework/pull/38346))
29+
- Check for incomplete class to prevent unexpected error when class cannot be loaded in retry command ([#38379](https://github.com/laravel/framework/pull/38379))
30+
31+
### Changed
32+
- Update the ParallelRunner to allow for a custom Runner to be resolved ([#38374](https://github.com/laravel/framework/pull/38374))
33+
- Use Fluent instead of array on Rule::when() ([#38397](https://github.com/laravel/framework/pull/38397))
34+
35+
36+
## [v8.54.0 (2021-08-10)](https://github.com/laravel/framework/compare/v8.53.1...v8.54.0)
37+
38+
### Added
39+
- Added support for GCM encryption ([#38190](https://github.com/laravel/framework/pull/38190), [827bc1d](https://github.com/laravel/framework/commit/827bc1de8b400fd7cc3edd3391124dc9003f1ddc))
40+
- Added exception as parameter to the missing() callbacks in `Illuminate/Routing/Middleware/SubstituteBindings.php` ([#38289](https://github.com/laravel/framework/pull/38289))
41+
- Implement TrustProxies middleware ([#38295](https://github.com/laravel/framework/pull/38295))
42+
- Added bitwise not operator to `Illuminate/Database/Query/Builder.php` ([#38316](https://github.com/laravel/framework/pull/38316))
43+
- Adds attempt method to RateLimiter ([#38313](https://github.com/laravel/framework/pull/38313))
44+
- Added withoutTrashed on Exists rule ([#38314](https://github.com/laravel/framework/pull/38314))
45+
46+
### Changed
47+
- Wraps column name inside subQuery of hasOneOfMany-relationship ([#38263](https://github.com/laravel/framework/pull/38263))
48+
- Change Visibility of the Markdown property in Mailable ([#38320](https://github.com/laravel/framework/pull/38320))
49+
- Swap multiple logical OR for in_array when checking date casting ([#38307](https://github.com/laravel/framework/pull/38307))
50+
51+
### Fixed
52+
- Fixed out of bounds shift and pop behavior in Collection ([bd89575](https://github.com/laravel/framework/commit/bd89575218afd14cbc12fde4be56607e40aeded9))
53+
- Fixed schedule timezone when using CarbonImmutable ([#38297](https://github.com/laravel/framework/pull/38297))
54+
- Fixed isDateCastable for the new immutable_date and immutable_datetime casts ([#38294](https://github.com/laravel/framework/pull/38294))
55+
- Fixed Factory hasMany method ([#38319](https://github.com/laravel/framework/pull/38319))
56+
57+
58+
## [v8.53.1 (2021-08-05)](https://github.com/laravel/framework/compare/v8.53.0...v8.53.1)
59+
60+
### Added
61+
- Added placeholders replace for accepted_if validation message ([#38240](https://github.com/laravel/framework/pull/38240))
62+
63+
### Fixed
64+
- Use type hints in cast.stub to match interface ([#38234](https://github.com/laravel/framework/pull/38234))
65+
- Some PHP 8.1 fixes ([#38245](https://github.com/laravel/framework/pull/38245))
66+
- Fixed aliasing with cursor pagination ([#38251](https://github.com/laravel/framework/pull/38251))
67+
- Fixed signed routes ([#38249](https://github.com/laravel/framework/pull/38249))
68+
69+
70+
## [v8.53.0 (2021-08-03)](https://github.com/laravel/framework/compare/v8.52.0...v8.53.0)
71+
72+
### Added
73+
- Added cache_locks table to cache stub ([#38152](https://github.com/laravel/framework/pull/38152))
74+
- Added queue:monitor command ([#38168](https://github.com/laravel/framework/pull/38168))
75+
- Added twiceDailyAt schedule frequency ([#38174](https://github.com/laravel/framework/pull/38174))
76+
- Added immutable date and datetime casting ([#38199](https://github.com/laravel/framework/pull/38199))
77+
- Allow the php web server to run multiple workers ([#38208](https://github.com/laravel/framework/pull/38208))
78+
- Added accepted_if validation rule ([#38210](https://github.com/laravel/framework/pull/38210))
79+
80+
### Fixed
81+
- Fixed signed routes with expires parameter ([#38111](https://github.com/laravel/framework/pull/38111), [732c0e0](https://github.com/laravel/framework/commit/732c0e0f64b222e7fc7daef6553f8e99007bb32c))
82+
- Remove call to deleted method in `Illuminate/Testing/TestResponse::statusMessageWithException()` ([cde3662](https://github.com/laravel/framework/commit/cde36626376e014390713ab03a01eb4dfe6488ce))
83+
- Fixed previous column for cursor pagination ([#38203](https://github.com/laravel/framework/pull/38203))
84+
85+
### Changed
86+
- Prevent assertStatus() invalid JSON exception for valid JSON response content ([#38192](https://github.com/laravel/framework/pull/38192))
87+
- Bump AWS SDK to `^3.186.4` ([#38216](https://github.com/laravel/framework/pull/38216))
88+
- Implement `ReturnTypeWillChange` for some place ([#38221](https://github.com/laravel/framework/pull/38221), [#38212](https://github.com/laravel/framework/pull/38212), [#38226](https://github.com/laravel/framework/pull/38226))
89+
- Use actual countable interface on MessageBag ([#38227](https://github.com/laravel/framework/pull/38227))
90+
91+
### Refactoring
92+
- Remove hardcoded Carbon reference from scheduler event ([#38063](https://github.com/laravel/framework/pull/38063))
493

594

695
## [v8.52.0 (2021-07-27)](https://github.com/laravel/framework/compare/v8.51.0...v8.52.0)

src/Illuminate/Collections/Collection.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
use ArrayAccess;
66
use ArrayIterator;
7-
use Illuminate\Collections\ItemNotFoundException;
8-
use Illuminate\Collections\MultipleItemsFoundException;
97
use Illuminate\Support\Traits\EnumeratesValues;
108
use Illuminate\Support\Traits\Macroable;
119
use stdClass;
@@ -1110,8 +1108,8 @@ public function splitIn($numberOfGroups)
11101108
* @param mixed $value
11111109
* @return mixed
11121110
*
1113-
* @throws \Illuminate\Collections\ItemNotFoundException
1114-
* @throws \Illuminate\Collections\MultipleItemsFoundException
1111+
* @throws \Illuminate\Support\ItemNotFoundException
1112+
* @throws \Illuminate\Support\MultipleItemsFoundException
11151113
*/
11161114
public function sole($key = null, $operator = null, $value = null)
11171115
{

src/Illuminate/Collections/ItemNotFoundException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Illuminate\Collections;
3+
namespace Illuminate\Support;
44

55
use RuntimeException;
66

src/Illuminate/Collections/LazyCollection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,8 +1057,8 @@ public function split($numberOfGroups)
10571057
* @param mixed $value
10581058
* @return mixed
10591059
*
1060-
* @throws \Illuminate\Collections\ItemNotFoundException
1061-
* @throws \Illuminate\Collections\MultipleItemsFoundException
1060+
* @throws \Illuminate\Support\ItemNotFoundException
1061+
* @throws \Illuminate\Support\MultipleItemsFoundException
10621062
*/
10631063
public function sole($key = null, $operator = null, $value = null)
10641064
{

src/Illuminate/Collections/MultipleItemsFoundException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Illuminate\Collections;
3+
namespace Illuminate\Support;
44

55
use RuntimeException;
66

src/Illuminate/Contracts/Broadcasting/ShouldBroadcast.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interface ShouldBroadcast
77
/**
88
* Get the channels the event should broadcast on.
99
*
10-
* @return \Illuminate\Broadcasting\Channel|\Illuminate\Broadcasting\Channel[]
10+
* @return \Illuminate\Broadcasting\Channel|\Illuminate\Broadcasting\Channel[]|string[]|string
1111
*/
1212
public function broadcastOn();
1313
}

src/Illuminate/Validation/ConditionalRules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ConditionalRules
1616
/**
1717
* The rules to be added to the attribute.
1818
*
19-
* @var array
19+
* @var array|string
2020
*/
2121
protected $rules;
2222

tests/Support/SupportCollectionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
use ArrayObject;
88
use CachingIterator;
99
use Exception;
10-
use Illuminate\Collections\ItemNotFoundException;
11-
use Illuminate\Collections\MultipleItemsFoundException;
1210
use Illuminate\Contracts\Support\Arrayable;
1311
use Illuminate\Contracts\Support\Jsonable;
1412
use Illuminate\Support\Collection;
1513
use Illuminate\Support\HtmlString;
14+
use Illuminate\Support\ItemNotFoundException;
1615
use Illuminate\Support\LazyCollection;
16+
use Illuminate\Support\MultipleItemsFoundException;
1717
use Illuminate\Support\Str;
1818
use InvalidArgumentException;
1919
use JsonSerializable;

tests/Support/SupportLazyCollectionIsLazyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Illuminate\Tests\Support;
44

5-
use Illuminate\Collections\MultipleItemsFoundException;
65
use Illuminate\Support\LazyCollection;
6+
use Illuminate\Support\MultipleItemsFoundException;
77
use PHPUnit\Framework\TestCase;
88
use stdClass;
99

0 commit comments

Comments
 (0)