Merge branch '8.x'

# Conflicts:
#	CHANGELOG.md
This commit is contained in:
Dries Vints 2021-08-24 18:00:23 +02:00
commit ec9ff4cd68
No known key found for this signature in database
GPG Key ID: E1529B3ACC4A5A76
4 changed files with 24 additions and 5 deletions

View File

@ -1,6 +1,12 @@
# Release Notes # Release Notes
## [Unreleased](https://github.com/laravel/laravel/compare/v8.6.0...master) ## [Unreleased](https://github.com/laravel/laravel/compare/v8.6.1...master)
## [v8.6.1 (2021-08-24)](https://github.com/laravel/laravel/compare/v8.6.0...v8.6.1)
### Changed
- Add failover driver to default mail config file ([#5672](https://github.com/laravel/laravel/pull/5672))
## [v8.6.0 (2021-08-17)](https://github.com/laravel/laravel/compare/v8.5.24...v8.6.0) ## [v8.6.0 (2021-08-17)](https://github.com/laravel/laravel/compare/v8.5.24...v8.6.0)

View File

@ -19,5 +19,10 @@ class TrustProxies extends Middleware
* *
* @var int * @var int
*/ */
protected $headers = Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO | Request::HEADER_X_FORWARDED_AWS_ELB; protected $headers =
Request::HEADER_X_FORWARDED_FOR |
Request::HEADER_X_FORWARDED_HOST |
Request::HEADER_X_FORWARDED_PORT |
Request::HEADER_X_FORWARDED_PROTO |
Request::HEADER_X_FORWARDED_AWS_ELB;
} }

View File

@ -15,7 +15,7 @@ class User extends Authenticatable
/** /**
* The attributes that are mass assignable. * The attributes that are mass assignable.
* *
* @var array * @var string[]
*/ */
protected $fillable = [ protected $fillable = [
'name', 'name',
@ -24,7 +24,7 @@ class User extends Authenticatable
]; ];
/** /**
* The attributes that should be hidden for arrays. * The attributes that should be hidden for serialization.
* *
* @var array * @var array
*/ */
@ -34,7 +34,7 @@ class User extends Authenticatable
]; ];
/** /**
* The attributes that should be cast to native types. * The attributes that should be cast.
* *
* @var array * @var array
*/ */

View File

@ -70,6 +70,14 @@
'array' => [ 'array' => [
'transport' => 'array', 'transport' => 'array',
], ],
'failover' => [
'transport' => 'failover',
'mailers' => [
'smtp',
'log',
],
],
], ],
/* /*