Skip to content

chore: bump max-version to 33 (HDNEXT-1606)#165

Open
printminion-co wants to merge 4 commits intomainfrom
mk/dev/HDNEXT-1606-bump-max-version-33
Open

chore: bump max-version to 33 (HDNEXT-1606)#165
printminion-co wants to merge 4 commits intomainfrom
mk/dev/HDNEXT-1606-bump-max-version-33

Conversation

@printminion-co
Copy link
Copy Markdown
Contributor

@printminion-co printminion-co commented Apr 9, 2026

Summary

  • Bump max-version from 31 to 33 in appinfo/info.xml
  • Update nextcloud/ocp from ^v31.0.6 to ^v33.0.0 in composer.json
  • Require PHP ^8.2 (NC33 minimum)

Audit

NC32/33 API audit confirmed no blocking changes:

  • OC_Helper::humanFileSize etc. — already using OCP\Util
  • @nextcloud/files v4 breaking changes — not imported ✅
  • app.php, OC_Util::addScript — not used ✅

Jira: HDNEXT-1606

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates this Nextcloud app’s declared compatibility and development dependencies to support Nextcloud 33, along with a small unit-test adjustment for script registry reset.

Changes:

  • Bump Nextcloud max-version to 33 in appinfo/info.xml.
  • Update dev dependency nextcloud/ocp to the v33 line (and lockfile refresh).
  • Adjust unit test teardown/setup to reset OCP\Util script state without relying on \OC_Util globals.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

File Description
appinfo/info.xml Extends declared Nextcloud compatibility to max-version 33.
composer.json Bumps nextcloud/ocp dev requirement to v33.
composer.lock Refreshes locked dev dependency metadata for nextcloud/ocp v33.
tests/Controller/PageControllerTest.php Updates test isolation reset logic away from \OC_Util globals.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants