From f582a2fc770ee41ee794a2abfd279ba1f3f0c1a3 Mon Sep 17 00:00:00 2001 From: Colin Viebrock Date: Sat, 10 Feb 2024 13:38:31 -0600 Subject: [PATCH] prep for Laravel 11 --- .github/jetbrains.svg | 66 ------------------------------------- .github/workflows/tests.yml | 4 +-- .gitignore | 1 + CHANGELOG.md | 6 ++++ README.md | 32 +++++++++++++----- composer.json | 13 +++++--- 6 files changed, 40 insertions(+), 82 deletions(-) delete mode 100644 .github/jetbrains.svg diff --git a/.github/jetbrains.svg b/.github/jetbrains.svg deleted file mode 100644 index 75d4d21..0000000 --- a/.github/jetbrains.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1d13c6e..69d1f1b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: services: mysql: - image: mysql:5.7 + image: mysql:8.0 env: MYSQL_ALLOW_EMPTY_PASSWORD: yes MYSQL_DATABASE: testing @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - php: [8.1, 8.2] + php: [8.2, 8.3] stability: [prefer-lowest, prefer-stable] name: PHP ${{ matrix.php }} - ${{ matrix.stability }} diff --git a/.gitignore b/.gitignore index 0054be3..33c7c64 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /vendor/ composer.lock composer.phar +.phpunit.cache \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 28a77e1..1fcd99f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 11.0.0 - xx-xxx-xxxx + +- Added Laravel 11 support +- Changed the minimum PHP version to 8.2 to line up with Laravel 11 + + ## 10.0.3 - 02-Feb-2024 - fix for deprecated `preg_split` parameter value (#144, thanks @XternalSoft) diff --git a/README.md b/README.md index b866b7c..0fbac5b 100644 --- a/README.md +++ b/README.md @@ -14,15 +14,28 @@ Easily add the ability to tag your Eloquent models in Laravel. [![License](https://img.shields.io/packagist/l/cviebrock/eloquent-taggable)](LICENSE.md) -* [Installation](#installation) -* [Updating your Eloquent Models](#updating-your-eloquent-models) -* [Usage](#usage) -* [Query Scopes](#query-scopes) -* [The Tag Model](#the-tag-model) -* [The TagService Class](#the-tagservice-class) -* [Configuration](#configuration) -* [Bugs, Suggestions, Contributions and Support](#bugs-suggestions-contributions-and-support) -* [Copyright and License](#copyright-and-license) +- [Eloquent-Taggable](#eloquent-taggable) + - [Installation](#installation) + - [Updating your Eloquent Models](#updating-your-eloquent-models) + - [Usage](#usage) + - [Adding and Removing Tags from a Model](#adding-and-removing-tags-from-a-model) + - [Working with a Model's Tags](#working-with-a-models-tags) + - [Query Scopes](#query-scopes) + - [Events](#events) + - [Other Methods](#other-methods) + - [The Tag Model](#the-tag-model) + - [The TagService Class](#the-tagservice-class) + - [Configuration](#configuration) + - [delimiters](#delimiters) + - [glue](#glue) + - [normalizer](#normalizer) + - [connection](#connection) + - [throwEmptyExceptions](#throwemptyexceptions) + - [taggedModels](#taggedmodels) + - [model](#model) + - [tables](#tables) + - [Bugs, Suggestions, Contributions and Support](#bugs-suggestions-contributions-and-support) + - [Copyright and License](#copyright-and-license) --- @@ -35,6 +48,7 @@ version should match the Laravel version. | Laravel Version | Package Version | |:---------------:|:---------------:| +| ^11.0 | ^11.0 | | ^10.0 | ^10.0 | | 9.0 | ^9.0 | | 8.0 | ^8.0 | diff --git a/composer.json b/composer.json index 5c82633..8faa509 100644 --- a/composer.json +++ b/composer.json @@ -21,13 +21,13 @@ } ], "require": { - "php": "^8.1", - "illuminate/config": "^10.0", - "illuminate/database": "^10.0", - "illuminate/support": "^10.0" + "php": "^8.2", + "illuminate/config": "^11.0", + "illuminate/database": "^11.0", + "illuminate/support": "^11.0" }, "require-dev": { - "orchestra/testbench": "^8.0", + "orchestra/testbench": "^9.0", "pestphp/pest": "^2.28" }, "autoload": { @@ -58,6 +58,9 @@ "providers": [ "Cviebrock\\EloquentTaggable\\ServiceProvider" ] + }, + "branch-alias": { + "dev-master": "11.0.x-dev" } }, "minimum-stability": "dev",