From 8f0bb1a5c6048dc7ede1f6eb6a352bdbcc78b9c4 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 | 9 ++------- CHANGELOG.md | 1 + composer.json | 19 ++++++++----------- 3 files changed, 11 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 45833d579..d5c26e61d 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -20,15 +20,13 @@ jobs: - "6.0" - "7.0" php: - - "8.1" - "8.2" - "8.3" laravel: - - "10.*" - "11.*" include: - - php: "8.1" - laravel: "10.*" + - php: "8.2" + laravel: "11.*" mongodb: "5.0" mode: "low-deps" os: "ubuntu-latest" @@ -37,9 +35,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/CHANGELOG.md b/CHANGELOG.md index 2b9b491eb..9fc91b9bf 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) diff --git a/composer.json b/composer.json index af060bb3c..bc8c8adc3 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"