Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

feat: bump naar league/glide v3 voor OC 4.1+ compatibiliteit (v5.0.0) - #5

Merged
mrmaarek merged 1 commit into
developfrom
feature/oc-4.1.x
May 29, 2026
Merged

feat: bump naar league/glide v3 voor OC 4.1+ compatibiliteit (v5.0.0)#5
mrmaarek merged 1 commit into
developfrom
feature/oc-4.1.x

Conversation

@JoshuaTerra

@JoshuaTerra JoshuaTerra commented May 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Bumps vdlp/oc-glide-plugin to 5.0.0 to make it composer-resolvable against OctoberCMS 4.1+. Without this bump, every project that depends on this plugin (directly or transitively via vdlp/sections) hits a hard composer resolve-fail when bumping to OC 4.1+, because OC 4.1+ requires intervention/image ^3.10 while league/glide ^2.0 clamps to intervention/image ^2.x.

Changes

Dependency bumps (composer.json)

  • php: ^8.0.2^8.2 (Glide v3 requirement)
  • league/glide: ^2.0^3.0
  • league/glide-symfony: ^2.0^2.1 (first stable release that allows Glide v3)
  • october/rain: range extended with ^4.1 and ^4.2

Release metadata

  • updates/version.yaml: new v5.0.0 entry
  • CHANGELOG.md: new ## [5.0.0] block

Documentation & CI

  • README.md: requirements updated to PHP 8.2+ and OC 3.x through 4.2.x; Glide doc-link bumped from /2.0/ to /3.0/.
  • .github/workflows/php.yml: PHP matrix moved from 8.0–8.3 to 8.2–8.5; removed deprecated --no-suggest composer flag.

No code changes

Glide v3's public API is identical to v2 for the keys this plugin uses: ServerFactory::create, SymfonyResponseFactory, SignatureFactory, UrlBuilderFactory, Server::makeImage, Server::setResponseFactory, Server::getImageResponse. Verified by reading classes/GlideManager.php, classes/GlideHelper.php, and controllers/Image.php.

Test plan

Verified locally against a real OctoberCMS 4.2.22 project using a composer path-repository pointing to this branch:

  • composer update --with-all-dependencies resolves to league/glide 3.2.0, league/glide-symfony 2.1.0, intervention/image 3.11.8
  • php artisan october:migrate runs without fatals (Vdlp.Glide registered as v5.0.0)
  • GlideManager::server() returns League\Glide\Server
  • Server::makeImage('media/test.jpg', ['w' => 200, 'h' => 200, 'fit' => 'crop']) produces a valid 200×200 image/jpeg response

- composer.json:
  - php: ^8.0.2 -> ^8.2 (Glide v3 requirement)
  - league/glide: ^2.0 -> ^3.0
  - league/glide-symfony: ^2.0 -> ^2.1 (eerste stable die Glide v3 toestaat)
  - october/rain: ^3.0 || ^4.0 -> ^3.0 || ^4.0 || ^4.1 || ^4.2
- updates/version.yaml + CHANGELOG.md: v5.0.0 entry
- README.md: requirements bijgewerkt (PHP 8.2+, OC 3.x t/m 4.2.x),
  Glide-doc-link naar 3.0
- .github/workflows/php.yml: PHP-matrix 8.0-8.3 -> 8.2-8.5, deprecated
  composer flag --no-suggest verwijderd

Geen PHP-code wijzigingen: Glide v3 publieke API is identiek aan v2 voor
de keys die deze plugin gebruikt (geverifieerd in classes/GlideManager,
classes/GlideHelper, controllers/Image).
@JoshuaTerra
JoshuaTerra requested a review from mrmaarek May 27, 2026 09:56
@mrmaarek
mrmaarek merged commit 226db9c into develop May 29, 2026
8 checks passed
@mrmaarek
mrmaarek deleted the feature/oc-4.1.x branch June 4, 2026 04:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants