From d412d5bae85319ede43d4ba8eb60c3dc925077de Mon Sep 17 00:00:00 2001 From: Noboru Shiroiwa <14008307+nshiro@users.noreply.github.com> Date: Mon, 12 Dec 2022 23:51:57 +0900 Subject: [PATCH 01/11] Add ulid and ascii validation message (#6046) --- lang/en/validation.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/en/validation.php b/lang/en/validation.php index f3d8cc5f..ae23a76e 100644 --- a/lang/en/validation.php +++ b/lang/en/validation.php @@ -22,6 +22,7 @@ return [ 'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.', 'alpha_num' => 'The :attribute must only contain letters and numbers.', 'array' => 'The :attribute must be an array.', + 'ascii' => 'The :attribute must only contain single-byte alphanumeric characters and symbols.', 'before' => 'The :attribute must be a date before :date.', 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', 'between' => [ @@ -141,6 +142,7 @@ return [ 'uploaded' => 'The :attribute failed to upload.', 'uppercase' => 'The :attribute must be uppercase.', 'url' => 'The :attribute must be a valid URL.', + 'ulid' => 'The :attribute must be a valid ULID.', 'uuid' => 'The :attribute must be a valid UUID.', /* From bc420da074db4e88168ab22317ee9da94a283fbc Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Fri, 16 Dec 2022 01:55:53 +1100 Subject: [PATCH 02/11] vite 4 support (#6043) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a11c53af..4108c2e4 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,6 @@ "laravel-vite-plugin": "^0.7.0", "lodash": "^4.17.19", "postcss": "^8.1.14", - "vite": "^3.0.0" + "vite": "^4.0.0" } } From 1b0d33cd8d6885bc3d97825d2733375f770e8abd Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Thu, 15 Dec 2022 15:57:23 +0100 Subject: [PATCH 03/11] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4108c2e4..0b32ba69 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ }, "devDependencies": { "axios": "^1.1.2", - "laravel-vite-plugin": "^0.7.0", + "laravel-vite-plugin": "^0.7.2", "lodash": "^4.17.19", "postcss": "^8.1.14", "vite": "^4.0.0" From 52b741c79b6a8a4a6b900231203561f48af35b1c Mon Sep 17 00:00:00 2001 From: driesvints Date: Thu, 15 Dec 2022 14:58:31 +0000 Subject: [PATCH 04/11] Update CHANGELOG --- CHANGELOG.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a32e0b4c..a62b64a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,16 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v9.3.12...9.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v9.4.0...9.x) + +## [v9.4.0](https://github.com/laravel/laravel/compare/v9.3.12...v9.4.0) - 2022-12-15 + +### Added + +- Vite 4 support by @timacdonald in https://github.com/laravel/laravel/pull/6043 + +### Changed + +- Add ulid and ascii validation message by @nshiro in https://github.com/laravel/laravel/pull/6046 ## [v9.3.12](https://github.com/laravel/laravel/compare/v9.3.11...v9.3.12) - 2022-11-22 From 39f4830e92a7467b2a7fe6bc23d0ec14bc3b46a6 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 19 Dec 2022 11:35:07 -0600 Subject: [PATCH 05/11] add decimal translation --- lang/en/validation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/en/validation.php b/lang/en/validation.php index ae23a76e..af94bd42 100644 --- a/lang/en/validation.php +++ b/lang/en/validation.php @@ -37,6 +37,7 @@ return [ 'date' => 'The :attribute is not a valid date.', 'date_equals' => 'The :attribute must be a date equal to :date.', 'date_format' => 'The :attribute does not match the format :format.', + 'decimal' => 'The :attribute must have :decimal decimal places.', 'declined' => 'The :attribute must be declined.', 'declined_if' => 'The :attribute must be declined when :other is :value.', 'different' => 'The :attribute and :other must be different.', From 42f585783bb3970ee83ea6e46deef96a51d30573 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 20 Dec 2022 17:15:30 +0000 Subject: [PATCH 06/11] Update CHANGELOG --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a62b64a5..1d960141 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v9.4.0...9.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v9.4.1...9.x) + +## [v9.4.1](https://github.com/laravel/laravel/compare/v9.4.0...v9.4.1) - 2022-12-19 + +### Changed + +- Add decimal translation by @taylorotwell in https://github.com/laravel/laravel/commit/39f4830e92a7467b2a7fe6bc23d0ec14bc3b46a6 ## [v9.4.0](https://github.com/laravel/laravel/compare/v9.3.12...v9.4.0) - 2022-12-15 From f1f20728ab853d362b2820626ba6284f4aab81e7 Mon Sep 17 00:00:00 2001 From: Adrien Leloup Date: Wed, 21 Dec 2022 16:51:13 +0100 Subject: [PATCH 07/11] Updated tests badge (#6050) The old badge was still referencing Travis CI, last time it ran was 2 years ago. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bf0ddd92..3ed385a7 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

Laravel Logo

-Build Status +Build Status Total Downloads Latest Stable Version License From 1fd1e03fcc7070b172e0352648c87570f2f64661 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Thu, 22 Dec 2022 15:40:18 +0100 Subject: [PATCH 08/11] Update to Heroicons v2 (#6051) --- resources/views/welcome.blade.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index 0ad6097c..9faad4e8 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -49,7 +49,7 @@

@@ -62,7 +62,7 @@
- +
@@ -75,7 +75,7 @@
@@ -88,7 +88,7 @@
- +
Vibrant Ecosystem
@@ -104,16 +104,16 @@
- - + + Shop - - + + From ca01443b96e02ca79ef138d615d5a36b7484a03c Mon Sep 17 00:00:00 2001 From: Vytautas M Date: Tue, 27 Dec 2022 18:39:26 +0200 Subject: [PATCH 09/11] [9.x] Support pusher-js v8.0 (#6059) * Specify cluster for Pusher * Update bootstrap.js Co-authored-by: Taylor Otwell --- resources/js/bootstrap.js | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js index 366c49d0..a5b3eddc 100644 --- a/resources/js/bootstrap.js +++ b/resources/js/bootstrap.js @@ -26,6 +26,7 @@ window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; // window.Echo = new Echo({ // broadcaster: 'pusher', // key: import.meta.env.VITE_PUSHER_APP_KEY, +// cluster: import.meta.env.VITE_PUSHER_APP_CLUSTER ?? 'mt1', // wsHost: import.meta.env.VITE_PUSHER_HOST ? import.meta.env.VITE_PUSHER_HOST : `ws-${import.meta.env.VITE_PUSHER_APP_CLUSTER}.pusher.com`, // wsPort: import.meta.env.VITE_PUSHER_PORT ?? 80, // wssPort: import.meta.env.VITE_PUSHER_PORT ?? 443, From 091aa7d8823cfd2b81b32344ea273120e442192d Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Mon, 2 Jan 2023 08:45:35 -0600 Subject: [PATCH 10/11] switch email to a primary key (#6064) switching from a normal index here to a primary index works the same except for adding a `UNIQUE` constraint. The `DatabaseTokenRepository` deletes existing records with an email first, before creating a new one, so this additional constraint will be okay. https://github.com/laravel/framework/blob/9.x/src/Illuminate/Auth/Passwords/DatabaseTokenRepository.php#L88 --- .../2014_10_12_100000_create_password_resets_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php index fcacb80b..e5f1397c 100644 --- a/database/migrations/2014_10_12_100000_create_password_resets_table.php +++ b/database/migrations/2014_10_12_100000_create_password_resets_table.php @@ -14,7 +14,7 @@ return new class extends Migration public function up() { Schema::create('password_resets', function (Blueprint $table) { - $table->string('email')->index(); + $table->string('email')->primary(); $table->string('token'); $table->timestamp('created_at')->nullable(); }); From b4573d5cdefab25240f91a0348bfd86c0769aca7 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 3 Jan 2023 17:20:21 +0000 Subject: [PATCH 11/11] Update CHANGELOG --- CHANGELOG.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d960141..788f901a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v9.4.1...9.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v9.5.0...9.x) + +## [v9.5.0](https://github.com/laravel/laravel/compare/v9.4.1...v9.5.0) - 2023-01-02 + +### Changed + +- Update to Heroicons v2 by @driesvints in https://github.com/laravel/laravel/pull/6051 +- Support pusher-js v8.0 by @balu-lt in https://github.com/laravel/laravel/pull/6059 +- Switch password reset email to a primary key by @browner12 in https://github.com/laravel/laravel/pull/6064 ## [v9.4.1](https://github.com/laravel/laravel/compare/v9.4.0...v9.4.1) - 2022-12-19