From 7d42766f1db5269afa151bbbae8ff1df135f20cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Thu, 29 Aug 2024 16:09:20 +0200 Subject: [PATCH] Remove support for Laravel 10 --- .github/workflows/build-ci.yml | 11 ++++------- .github/workflows/static-analysis.yml | 2 +- CHANGELOG.md | 1 + composer.json | 19 ++++++++----------- 4 files changed, 14 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 45833d579..60d96f34f 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -20,15 +20,15 @@ jobs: - "6.0" - "7.0" php: - - "8.1" - "8.2" - "8.3" laravel: - - "10.*" - "11.*" + mode: + - "" include: - - php: "8.1" - laravel: "10.*" + - php: "8.2" + laravel: "11.*" mongodb: "5.0" mode: "low-deps" os: "ubuntu-latest" @@ -37,9 +37,6 @@ jobs: mongodb: "7.0" mode: "ignore-php-req" os: "ubuntu-latest" - exclude: - - php: "8.1" - laravel: "11.*" steps: - uses: "actions/checkout@v4" diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 18ea2014e..331fe22d8 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -21,8 +21,8 @@ jobs: strategy: matrix: php: - - '8.1' - '8.2' + - '8.3' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index c34e9640f..297959410 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. ## [5.0.0] - next +* Remove support for Laravel 10 by @GromNaN in [#3123](https://github.com/mongodb/laravel-mongodb/pull/3123) * **BREAKING CHANGE** Use `id` as an alias for `_id` in commands and queries for compatibility with Eloquent packages by @GromNaN in [#3040](https://github.com/mongodb/laravel-mongodb/pull/3040) * **BREAKING CHANGE** Make Query\Builder return objects instead of array to match Laravel behavior by @GromNaN in [#3107](https://github.com/mongodb/laravel-mongodb/pull/3107) * Remove `MongoFailedJobProvider`, replaced by Laravel `DatabaseFailedJobProvider` by @GromNaN in [#3122](https://github.com/mongodb/laravel-mongodb/pull/3122) diff --git a/composer.json b/composer.json index 251f3ad3c..e7d2f09cd 100644 --- a/composer.json +++ b/composer.json @@ -22,30 +22,27 @@ ], "license": "MIT", "require": { - "php": "^8.1", + "php": "^8.2", "ext-mongodb": "^1.15", "composer-runtime-api": "^2.0.0", - "illuminate/cache": "^10.36|^11", - "illuminate/container": "^10.0|^11", - "illuminate/database": "^10.30|^11", - "illuminate/events": "^10.0|^11", - "illuminate/support": "^10.0|^11", + "illuminate/cache": "^11", + "illuminate/container": "^11", + "illuminate/database": "^11", + "illuminate/events": "^11", + "illuminate/support": "^11", "mongodb/mongodb": "^1.15" }, "require-dev": { "mongodb/builder": "^0.2", "league/flysystem-gridfs": "^3.28", "league/flysystem-read-only": "^3.0", - "phpunit/phpunit": "^10.3", - "orchestra/testbench": "^8.0|^9.0", + "phpunit/phpunit": "^10.5", + "orchestra/testbench": "^9.0", "mockery/mockery": "^1.4.4", "doctrine/coding-standard": "12.0.x-dev", "spatie/laravel-query-builder": "^5.6", "phpstan/phpstan": "^1.10" }, - "conflict": { - "illuminate/bus": "< 10.37.2" - }, "suggest": { "league/flysystem-gridfs": "Filesystem storage in MongoDB with GridFS", "mongodb/builder": "Provides a fluent aggregation builder for MongoDB pipelines"