Skip to content

Commit 0ee4cec

Browse files
committed
Merge branch 'develop' of github.com:laravel/laravel into develop
2 parents 64b16c2 + b681370 commit 0ee4cec

File tree

12 files changed

+49
-20
lines changed

12 files changed

+49
-20
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Release Notes
22

3+
## [Unreleased](https://github.com/laravel/laravel/compare/v5.7.19...master)
4+
5+
### Added
6+
- Hint for lenient log stacks ([#4918](https://github.com/laravel/laravel/pull/4918))
7+
- Attribute casting for `email_verified_at` on `User` model stub ([#4930](https://github.com/laravel/laravel/pull/4930))
8+
9+
### Changed
10+
- Remove unused Bootstrap class ([#4917](https://github.com/laravel/laravel/pull/4917))
11+
- Change order of boot and register methods in service providers ([#4921](https://github.com/laravel/laravel/pull/4921))
12+
- `web.config` comment to help debug issues ([#4924](https://github.com/laravel/laravel/pull/4924))
13+
- Use `Str::random()` instead of `str_random()` ([#4926](https://github.com/laravel/laravel/pull/4926))
14+
- Remove unnecessary link type on "welcome" view ([#4935](https://github.com/laravel/laravel/pull/4935))
15+
16+
317
## [v5.7.19 (2018-12-15)](https://github.com/laravel/laravel/compare/v5.7.15...v5.7.19)
418

519
### Added

app/Http/Middleware/RedirectIfAuthenticated.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ class RedirectIfAuthenticated
1212
*
1313
* @param \Illuminate\Http\Request $request
1414
* @param \Closure $next
15-
* @param string[] ...$guards
15+
* @param string|null $guard
1616
* @return mixed
1717
*/
18-
public function handle($request, Closure $next, ...$guards)
18+
public function handle($request, Closure $next, $guard = null)
1919
{
20-
foreach ($guards as $guard) {
21-
if (Auth::guard($guard)->check()) {
22-
return redirect('/home');
23-
}
20+
if (Auth::guard($guard)->check()) {
21+
return redirect('/home');
2422
}
2523

2624
return $next($request);

app/Providers/AppServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@
77
class AppServiceProvider extends ServiceProvider
88
{
99
/**
10-
* Bootstrap any application services.
10+
* Register any application services.
1111
*
1212
* @return void
1313
*/
14-
public function boot()
14+
public function register()
1515
{
1616
//
1717
}
1818

1919
/**
20-
* Register any application services.
20+
* Bootstrap any application services.
2121
*
2222
* @return void
2323
*/
24-
public function register()
24+
public function boot()
2525
{
2626
//
2727
}

app/User.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,13 @@ class User extends Authenticatable
2727
protected $hidden = [
2828
'password', 'remember_token',
2929
];
30+
31+
/**
32+
* The attributes that should be cast to native types.
33+
*
34+
* @var array
35+
*/
36+
protected $casts = [
37+
'email_verified_at' => 'datetime',
38+
];
3039
}

config/auth.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
'api' => [
4545
'driver' => 'token',
4646
'provider' => 'users',
47+
'hash' => false,
4748
],
4849
],
4950

config/logging.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
'stack' => [
3838
'driver' => 'stack',
3939
'channels' => ['daily'],
40+
'ignore_exceptions' => false,
4041
],
4142

4243
'single' => [

database/migrations/2014_10_12_000000_create_users_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CreateUsersTable extends Migration
1414
public function up()
1515
{
1616
Schema::create('users', function (Blueprint $table) {
17-
$table->increments('id');
17+
$table->bigIncrements('id');
1818
$table->string('name');
1919
$table->string('email')->unique();
2020
$table->timestamp('email_verified_at')->nullable();

public/js/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/web.config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
Rewrites requires Microsoft URL Rewrite Module for IIS
3+
Download: https://www.microsoft.com/en-us/download/details.aspx?id=47337
4+
Debug Help: https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/using-failed-request-tracing-to-trace-rewrite-rules
5+
-->
16
<configuration>
27
<system.webServer>
38
<rewrite>

readme.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
## About Laravel
1111

12-
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:
12+
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
1313

1414
- [Simple, fast routing engine](https://laravel.com/docs/routing).
1515
- [Powerful dependency injection container](https://laravel.com/docs/container).
@@ -19,17 +19,17 @@ Laravel is a web application framework with expressive, elegant syntax. We belie
1919
- [Robust background job processing](https://laravel.com/docs/queues).
2020
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
2121

22-
Laravel is accessible, yet powerful, providing tools needed for large, robust applications.
22+
Laravel is accessible, powerful, and provides tools required for large, robust applications.
2323

2424
## Learning Laravel
2525

26-
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of any modern web application framework, making it a breeze to get started learning the framework.
26+
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
2727

28-
If you're not in the mood to read, [Laracasts](https://laracasts.com) contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.
28+
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost you and your team's skills by digging into our comprehensive video library.
2929

3030
## Laravel Sponsors
3131

32-
We would like to extend our thanks to the following sponsors for helping fund on-going Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell):
32+
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell).
3333

3434
- **[Vehikl](https://vehikl.com/)**
3535
- **[Tighten Co.](https://tighten.co)**
@@ -56,6 +56,7 @@ We would like to extend our thanks to the following sponsors for helping fund on
5656
- [Steadfast Collective](https://steadfastcollective.com/)
5757
- [We Are The Robots Inc.](https://watr.mx/)
5858
- [Understand.io](https://www.understand.io/)
59+
- [Abdel Elrafa](https://abdelelrafa.com)
5960

6061
## Contributing
6162

@@ -67,4 +68,4 @@ If you discover a security vulnerability within Laravel, please send an e-mail t
6768

6869
## License
6970

70-
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
71+
The Laravel framework is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

resources/js/components/ExampleComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="container">
33
<div class="row justify-content-center">
44
<div class="col-md-8">
5-
<div class="card card-default">
5+
<div class="card">
66
<div class="card-header">Example Component</div>
77

88
<div class="card-body">

resources/views/welcome.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Laravel</title>
88

99
<!-- Fonts -->
10-
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet" type="text/css">
10+
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet">
1111

1212
<!-- Styles -->
1313
<style>

0 commit comments

Comments
 (0)