Repository navigation
Support only maintained Nextcloud (33–35) and PHP (8.2+) versions - #350
Merged
Merged
Conversation
This was referenced Nov 19, 2026
Merged
Nextcloud 31 and 32 are end-of-life; Nextcloud only maintains 33, 34 and 35. PHP 8.1 is end-of-life, and Nextcloud 33/34 still run on PHP 8.2 (supported until 2026-12-31), so the minimum is 8.2 for now. - info.xml: <nextcloud min-version="33" max-version="35"/> and <php min-version="8.2"/> - CI: integration tests on stable33/stable35, phpstan stubs dev-stable33/dev-stable35; lint and unit tests already cover 8.2–8.5 - nextcloud/ocp dev dependency 34 -> 35 - RELEASING.md: policy for supported Nextcloud and PHP versions The release workflow signs with the minimum supported server, now stable33, automatically. Fixes #329 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 8.2 nextcloud/ocp 35 requires PHP 8.3, so the lock file didn't install on PHP 8.2 (lint and unit tests on 8.2 failed). Use the stubs of the oldest supported Nextcloud (33) instead, which also makes local phpstan runs catch APIs newer than that version; CI's phpstan swaps the stubs per matrix job (33 and 35) anyway. config.platform.php 8.2.0 makes composer update resolve for the minimum supported PHP, so this can't happen again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
composer.json pins the platform to PHP 8.2 (the minimum), which blocked installing nextcloud/ocp:dev-stable35 (needs PHP 8.3) in the phpstan job. Remove the pin in that job only; it runs on PHP 8.3, and phpstan still checks the code for PHP 8.2 (phpVersion). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Martin-1997
force-pushed
the
build/329-platform-support
branch
from
November 22, 2026 19:37
aa41809 to
a6ab9da
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #329
Changes
appinfo/info.xml:<nextcloud min-version="33" max-version="35"/>(was 31–35), new<php min-version="8.2"/>. Validates against the App Store schema.stable33andstable35(wasstable31/stable35), on all four databases;dev-stable33anddev-stable35;lint-php.ymlis updated.nextcloud/ocp(dev dependency for local phpstan runs): 34 → 33, the oldest supported version, so local phpstan runs catch APIs that are newer than the minimum. CI's phpstan swaps the stubs per job (33 and 35). The first attempt used 35, butnextcloud/ocp35 requires PHP 8.3, so lint and unit tests on PHP 8.2 failed.config.platform.php: 8.2.0incomposer.json, socomposer updateresolves for the minimum supported PHP and can't lock packages that need a newer one. Checked in aphp:8.2-clicontainer:composer install, lint and unit tests pass.RELEASING.md: a short policy. The app supports the Nextcloud versions Nextcloud maintains, and the min version goes up in the next minor release after an end of life. Plus which CI matrices to keep in sync.min-version, nowstable33, automatically.Why PHP 8.2 and not 8.3 yet
Nextcloud 33 and 34 run on PHP 8.2–8.5, and PHP 8.2 is supported until 2026-12-31. Requiring 8.3 now would cut off Nextcloud 33/34 instances on a still-supported PHP. Per the new policy, 8.3 follows in the first release after the end of 2026.
Legacy code
None to remove: the app has no code that depends on the Nextcloud or PHP version (no
version_compare,method_exists,class_existsetc. inlib/). Baseline entries that only applied to the Nextcloud 31 stubs get cleaned up with the phpstan 2 upgrade (#330), which regenerates the baseline anyway.Testing
composer validateis clean.Versioning
A minor release (next: 1.1.0), as described in #329 and
RELEASING.md. Instances on Nextcloud 31/32 stay on 1.0.2, which belongs in the release notes.🤖 Generated with Claude Code