diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 107c9d8..6bf76df 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: true matrix: - php: [ 8.0, 8.1, 8.2, 8.3 ] + php: [ 8.2, 8.3, 8.4, 8.5 ] stability: [ prefer-lowest, prefer-stable ] name: PHP ${{ matrix.php }} - ${{ matrix.stability }} @@ -45,7 +45,7 @@ jobs: - name: Install dependencies if: steps.composer-cache.outputs.cache-hit != 'true' - run: composer install --prefer-dist --no-progress --no-suggest + run: composer install --prefer-dist --no-progress # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" # Docs: https://getcomposer.org/doc/articles/scripts.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 63f6e8b..6814fa9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.0.0] - 2026-05-27 + +- Add support for October CMS 4.1 and 4.2 +- Bump `league/glide` to `^3.0` (Glide v3, intervention/image v3) +- Bump `league/glide-symfony` to `^2.1` (first stable release allowing Glide v3) +- Minimum required PHP version is now 8.2 (Glide v3 requirement) + ## [4.0.0] - 2025-08-20 - Add support for October CMS 4.x diff --git a/README.md b/README.md index 9f0a412..89fd15c 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,10 @@ Glide leverages powerful libraries like Intervention Image (for image handling a ## Requirements -* PHP 8.0.2 or higher +* PHP 8.2 or higher * PHP extensions: * ext-exif -* October CMS 3.x or higher +* October CMS 3.x, 4.x, 4.1.x or 4.2.x ## Installation @@ -36,7 +36,7 @@ GLIDE_SIGN_KEY="[YOUR SIGN KEY HERE]" > We recommend using a 128 character (or larger) signing key to prevent trivial key attacks. Consider using a package like [CryptoKey](https://github.com/AndrewCarterUK/CryptoKey) to generate a secure key. -For more details about the security and why a sign key is used, check [glide.thephpleague.com](https://glide.thephpleague.com/2.0/config/security/). +For more details about the security and why a sign key is used, check [glide.thephpleague.com](https://glide.thephpleague.com/3.0/config/security/). Add an url to your disk in the `config/filesystem.php` to display the images properly, for example: diff --git a/composer.json b/composer.json index 3f8bb03..58ebd96 100644 --- a/composer.json +++ b/composer.json @@ -10,12 +10,12 @@ } ], "require": { - "php": "^8.0.2", + "php": "^8.2", "ext-exif": "*", "composer/installers": "^1.0 || ^2.0", - "league/glide": "^2.0", - "league/glide-symfony": "^2.0", - "october/rain": "^3.0 || ^4.0" + "league/glide": "^3.0", + "league/glide-symfony": "^2.1", + "october/rain": "^3.0 || ^4.0 || ^4.1 || ^4.2" }, "require-dev": { "ergebnis/composer-normalize": "^2.42" diff --git a/updates/version.yaml b/updates/version.yaml index 90db67a..ddbdab3 100644 --- a/updates/version.yaml +++ b/updates/version.yaml @@ -8,3 +8,4 @@ v3.0.1: Add missing CHANGELOG file v3.1.0: Maintenance release v3.2.0: Add support for October CMS 3.0 v4.0.0: See CHANGELOG.md for details +v5.0.0: See CHANGELOG.md for details