Skip to content

Conversation

@mjauvin
Copy link
Member

@mjauvin mjauvin commented Apr 3, 2024

Depends on wintercms/storm#173

Need to update the following before merging:

diff --git a/composer.json b/composer.json
index fd63730f5..aa4405214 100644
--- a/composer.json
+++ b/composer.json
@@ -30,10 +30,10 @@
     },
     "require": {
         "php": "^8.2",
-        "winter/storm": "dev-wip-laravel-11",
-        "winter/wn-system-module": "dev-wip-laravel-11",
-        "winter/wn-backend-module": "dev-wip-laravel-11",
-        "winter/wn-cms-module": "dev-wip-laravel-11",
+        "winter/storm": "dev-develop as 1.3",
+        "winter/wn-system-module": "dev-develop",
+        "winter/wn-backend-module": "dev-develop",
+        "winter/wn-cms-module": "dev-develop",
         "laravel/framework": "^11.0",
         "wikimedia/composer-merge-plugin": "~2.1.0"
     },
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 39388bfb4..220ed42b0 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -58,7 +58,7 @@ jobs:
 
       - name: Switch library dependency (develop)
         if: github.ref == 'refs/heads/develop' || github.base_ref == 'develop'
-        run: php ./.github/workflows/utilities/library-switcher "dev-wip-laravel-11 as 1.2"
+        run: php ./.github/workflows/utilities/library-switcher "dev-develop as 1.3"
 
       - name: Switch library dependency (1.2)
         if: github.head_ref == '1.2' || github.ref == 'refs/heads/1.2' || github.base_ref == '1.2'
@@ -135,7 +135,7 @@ jobs:
 
       - name: Switch library dependency (develop)
         if: github.ref == 'refs/heads/develop' || github.base_ref == 'develop'
-        run: php ./.github/workflows/utilities/library-switcher "dev-wip-laravel-11 as 1.2"
+        run: php ./.github/workflows/utilities/library-switcher "dev-develop as 1.3"
 
       - name: Switch library dependency (1.0)
         if: github.head_ref == '1.0' || github.ref == 'refs/heads/1.0' || github.base_ref == '1.0'

@mjauvin mjauvin added this to the 1.3.0 milestone Apr 3, 2024
@mjauvin mjauvin self-assigned this Apr 3, 2024
@mjauvin mjauvin marked this pull request as draft April 3, 2024 20:56
@mjauvin mjauvin changed the title Wip laravel 11 Laravel 11 migration Apr 4, 2024
@mjauvin mjauvin marked this pull request as ready for review April 4, 2024 12:07
@mjauvin
Copy link
Member Author

mjauvin commented Apr 4, 2024

This one might cause trouble for some migrations:

https://laravel.com/docs/11.x/upgrade#modifying-columns

summary:

When modifying a column, you must now explicitly include all the modifiers you want to keep on the column definition after it is changed. Any missing attributes will be dropped. For example, to retain the unsigned, default, and comment attributes, you must call each modifier explicitly when changing the column, even if those attributes have been assigned to the column by a previous migration.

This has now been overriden in Winter\Storm\Database\Schema\Grammars to restore previous migration behavior.

@mjauvin
Copy link
Member Author

mjauvin commented Apr 4, 2024

I'm also concerned about this one:

https://laravel.com/docs/11.x/upgrade#publishing-service-providers

Looks like it's fine since we're forcing this in Winter\Storm\Foundation\Application::registerConfiguredProviders()

@bennothommo bennothommo added the enhancement PRs that implement a new feature or substantial change label Oct 11, 2024
@LukeTowers LukeTowers changed the base branch from develop to wip/1.3 June 12, 2025 22:52
@LukeTowers LukeTowers merged commit 471f73d into wip/1.3 Jun 12, 2025
3 of 11 checks passed
@LukeTowers LukeTowers deleted the wip-laravel-11 branch June 12, 2025 22:53
@LukeTowers LukeTowers mentioned this pull request Jun 12, 2025
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement PRs that implement a new feature or substantial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants