From 76ccdc77b641a11fa90e6572dfd9fa29776ee357 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Wed, 17 Jan 2024 00:51:11 +0000 Subject: [PATCH 1/9] Update CHANGELOG --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35c859ed0..20148680f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Release Notes -## [Unreleased](https://github.com/laravel/jetstream/compare/v4.2.1...4.x) +## [Unreleased](https://github.com/laravel/jetstream/compare/v4.2.2...4.x) + +## [v4.2.2](https://github.com/laravel/jetstream/compare/v4.2.1...v4.2.2) - 2024-01-17 + +* [4.x] Fix home route by [@jessarcher](https://github.com/jessarcher) in https://github.com/laravel/jetstream/pull/1432 ## [v4.2.1](https://github.com/laravel/jetstream/compare/v4.2.0...v4.2.1) - 2023-12-27 From c0e9c8e349651667d2cc85670f1820fc3fbf4c47 Mon Sep 17 00:00:00 2001 From: Julius Kiekbusch Date: Fri, 26 Jan 2024 12:41:03 +0100 Subject: [PATCH 2/9] Use new static analysis workflow (#1438) --- .github/workflows/static-analysis.yml | 28 +-------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index efea805e1..368c18587 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -12,30 +12,4 @@ permissions: jobs: tests: - runs-on: ubuntu-22.04 - - strategy: - fail-fast: true - - name: Static Analysis - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: 8.2 - tools: composer:v2 - coverage: none - - - name: Install dependencies - uses: nick-fields/retry@v2 - with: - timeout_minutes: 5 - max_attempts: 5 - command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress - - - name: Execute type checking - run: vendor/bin/phpstan + uses: laravel/.github/.github/workflows/static-analysis.yml@main From 5bbb533e58f492e73b9e8893ec7c038a6c231035 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 26 Jan 2024 16:21:30 +0100 Subject: [PATCH 3/9] Update 1_Bug_report.yml --- .github/ISSUE_TEMPLATE/1_Bug_report.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.yml b/.github/ISSUE_TEMPLATE/1_Bug_report.yml index d654eaf54..8e18685fb 100644 --- a/.github/ISSUE_TEMPLATE/1_Bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1_Bug_report.yml @@ -1,10 +1,10 @@ name: Bug Report -description: "Report a general library issue." +description: "Report something that's broken." body: - type: markdown attributes: - value: "Before submitting your report, [please ensure your Laravel version is still supported](https://laravel.com/docs/releases#support-policy)." - - type: input + + value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports. If you notice improper DocBlock, PHPStan, or IDE warnings while using Laravel, do not create a GitHub issue. Instead, please submit a pull request to fix the problem." - type: input attributes: label: Jetstream Version description: Provide the Jetstream version that you are using. @@ -22,7 +22,7 @@ body: - type: input attributes: label: Laravel Version - description: Provide the Laravel version that you are using. + description: Provide the Laravel version that you are using. [Please ensure it is still supported.](https://laravel.com/docs/releases#support-policy) placeholder: 10.4.1 validations: required: true From e17dd96a747cd0c172ae949a2d14cd4a1a84df26 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 26 Jan 2024 16:22:09 +0100 Subject: [PATCH 4/9] Update 1_Bug_report.yml --- .github/ISSUE_TEMPLATE/1_Bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.yml b/.github/ISSUE_TEMPLATE/1_Bug_report.yml index 8e18685fb..a105d4e81 100644 --- a/.github/ISSUE_TEMPLATE/1_Bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1_Bug_report.yml @@ -3,8 +3,8 @@ description: "Report something that's broken." body: - type: markdown attributes: - value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports. If you notice improper DocBlock, PHPStan, or IDE warnings while using Laravel, do not create a GitHub issue. Instead, please submit a pull request to fix the problem." - type: input + - type: input attributes: label: Jetstream Version description: Provide the Jetstream version that you are using. From 7aeafb3304eb5d68291c91f1da38141469a85e2a Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 26 Jan 2024 16:22:35 +0100 Subject: [PATCH 5/9] Update 1_Bug_report.yml --- .github/ISSUE_TEMPLATE/1_Bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.yml b/.github/ISSUE_TEMPLATE/1_Bug_report.yml index a105d4e81..820f33f61 100644 --- a/.github/ISSUE_TEMPLATE/1_Bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1_Bug_report.yml @@ -3,7 +3,7 @@ description: "Report something that's broken." body: - type: markdown attributes: - value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports. If you notice improper DocBlock, PHPStan, or IDE warnings while using Laravel, do not create a GitHub issue. Instead, please submit a pull request to fix the problem." - type: input + value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports. If you notice improper DocBlock, PHPStan, or IDE warnings while using Laravel, do not create a GitHub issue. Instead, please submit a pull request to fix the problem." - type: input attributes: label: Jetstream Version From 9f0db25f1d917f818614a79a457063e5e37e3a42 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 26 Jan 2024 16:22:52 +0100 Subject: [PATCH 6/9] Update 1_Bug_report.yml --- .github/ISSUE_TEMPLATE/1_Bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.yml b/.github/ISSUE_TEMPLATE/1_Bug_report.yml index 820f33f61..e10c5d4ad 100644 --- a/.github/ISSUE_TEMPLATE/1_Bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1_Bug_report.yml @@ -4,7 +4,7 @@ body: - type: markdown attributes: value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports. If you notice improper DocBlock, PHPStan, or IDE warnings while using Laravel, do not create a GitHub issue. Instead, please submit a pull request to fix the problem." - - type: input + - type: input attributes: label: Jetstream Version description: Provide the Jetstream version that you are using. From 4121a25796061a2cd54d47d7a2478a1a0e8e9546 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 12 Feb 2024 20:26:44 -0600 Subject: [PATCH 7/9] remove sponsor link --- stubs/inertia/resources/js/Pages/Welcome.vue | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/stubs/inertia/resources/js/Pages/Welcome.vue b/stubs/inertia/resources/js/Pages/Welcome.vue index 7357d4640..35da5bac4 100644 --- a/stubs/inertia/resources/js/Pages/Welcome.vue +++ b/stubs/inertia/resources/js/Pages/Welcome.vue @@ -111,18 +111,11 @@ defineProps({
-
- +
+  
-
+
Laravel v{{ laravelVersion }} (PHP v{{ phpVersion }})
From e8335d09bf39049b51270ec2b2090e9cc4d6d0f6 Mon Sep 17 00:00:00 2001 From: Jacob Baker-Kretzmar Date: Wed, 21 Feb 2024 09:14:32 -0500 Subject: [PATCH 8/9] Update to Ziggy v2 (#1442) * Update to Ziggy v2 * Fix paths --- src/Console/InstallCommand.php | 2 +- stubs/inertia/app/Http/Middleware/HandleInertiaRequests.php | 2 +- stubs/inertia/resources/js/app.js | 2 +- stubs/inertia/resources/js/ssr.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index 883d1f235..5260d6991 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -345,7 +345,7 @@ protected function livewireRouteDefinition() protected function installInertiaStack() { // Install Inertia... - if (! $this->requireComposerPackages('inertiajs/inertia-laravel:^0.6.8', 'tightenco/ziggy:^1.0')) { + if (! $this->requireComposerPackages('inertiajs/inertia-laravel:^0.6.8', 'tightenco/ziggy:^2.0')) { return false; } diff --git a/stubs/inertia/app/Http/Middleware/HandleInertiaRequests.php b/stubs/inertia/app/Http/Middleware/HandleInertiaRequests.php index dc9b4f577..51a9b0507 100644 --- a/stubs/inertia/app/Http/Middleware/HandleInertiaRequests.php +++ b/stubs/inertia/app/Http/Middleware/HandleInertiaRequests.php @@ -4,7 +4,7 @@ use Illuminate\Http\Request; use Inertia\Middleware; -use Tightenco\Ziggy\Ziggy; +use Tighten\Ziggy\Ziggy; class HandleInertiaRequests extends Middleware { diff --git a/stubs/inertia/resources/js/app.js b/stubs/inertia/resources/js/app.js index 643d1a537..b6f9fb04d 100644 --- a/stubs/inertia/resources/js/app.js +++ b/stubs/inertia/resources/js/app.js @@ -4,7 +4,7 @@ import '../css/app.css'; import { createApp, h } from 'vue'; import { createInertiaApp } from '@inertiajs/vue3'; import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers'; -import { ZiggyVue } from '../../vendor/tightenco/ziggy/dist/vue.m'; +import { ZiggyVue } from '../../vendor/tightenco/ziggy'; const appName = import.meta.env.VITE_APP_NAME || 'Laravel'; diff --git a/stubs/inertia/resources/js/ssr.js b/stubs/inertia/resources/js/ssr.js index 5ca5e6997..2168a8c82 100644 --- a/stubs/inertia/resources/js/ssr.js +++ b/stubs/inertia/resources/js/ssr.js @@ -3,7 +3,7 @@ import { renderToString } from '@vue/server-renderer'; import { createInertiaApp } from '@inertiajs/vue3'; import createServer from '@inertiajs/vue3/server'; import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers'; -import { ZiggyVue } from '../../vendor/tightenco/ziggy/dist/vue.m'; +import { ZiggyVue } from '../../vendor/tightenco/ziggy'; const appName = import.meta.env.VITE_APP_NAME || 'Laravel'; From c0e19cad88ec5e014746f860bb1559d50474f590 Mon Sep 17 00:00:00 2001 From: Smef Date: Fri, 23 Feb 2024 10:35:22 -0500 Subject: [PATCH 9/9] [4.x] Change Inertia Modal.vue component to use a native (#1431) * Change Modal to use native instead of Vue Teleport and div * changed overflow to happen earlier, to more closely match existing behavior and seem more responsive * updated livewire modal to use * added preventDefault to allow the regular close animation to fire nicely * reverted implementation * added second ref for showing the slot to stop content from appearing and disappearing, preventing modal size shifting --- .../inertia/resources/js/Components/Modal.vue | 69 ++++++++++--------- 1 file changed, 38 insertions(+), 31 deletions(-) diff --git a/stubs/inertia/resources/js/Components/Modal.vue b/stubs/inertia/resources/js/Components/Modal.vue index b1c9414ae..6e4a5385e 100644 --- a/stubs/inertia/resources/js/Components/Modal.vue +++ b/stubs/inertia/resources/js/Components/Modal.vue @@ -1,5 +1,5 @@