Bump sabre dav to 4.7.1 - #62405
Open
CarlSchwan wants to merge 3 commits into
Open
Conversation
CarlSchwan
requested review from
Altahrim,
icewind1991,
leftybournes and
salmart-dev
and removed request for
a team
July 22, 2026 11:31
CarlSchwan
force-pushed
the
3rdparty/dependabot/composer/master/sabre/dav-4.7.1
branch
4 times, most recently
from
July 22, 2026 16:04
1a5d001 to
4f22769
Compare
kesselb
approved these changes
Jul 24, 2026
Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Assisted-by: ClaudeCode:claude-sonnet-5 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
kesselb
force-pushed
the
3rdparty/dependabot/composer/master/sabre/dav-4.7.1
branch
from
July 24, 2026 17:15
4f22769 to
f8c7b3d
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Nextcloud’s DAV integration and test fixtures to align with the newer Sabre DAV/VObject behavior expected after the dependency bump referenced in nextcloud/3rdparty.
Changes:
- Update multiple ICS/VCF fixtures and calendar test XML payloads to the new Sabre VObject
PRODIDversion string. - Adjust Sabre connector method signatures (
ObjectTree::copy,Directory::copyInto) to match the updated Sabre DAV APIs that include adepthargument.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/lib/Calendar/ManagerTest.php | Updates expected VCALENDAR PRODID in free/busy responses. |
| tests/data/ics/free-busy-request.ics | Updates fixture PRODID string. |
| tests/data/ics/event-builder-without-attendees.ics | Updates fixture PRODID string. |
| tests/data/ics/event-builder-complete.ics | Updates fixture PRODID string. |
| apps/dav/tests/unit/test_fixtures/example-event-default-expected.ics | Updates fixture PRODID string used by DAV unit tests. |
| apps/dav/lib/ExampleContentFiles/exampleContact.vcf | Updates example VCF PRODID string. |
| apps/dav/lib/Connector/Sabre/ObjectTree.php | Updates copy() signature to accept depth (but currently does not use it). |
| apps/dav/lib/Connector/Sabre/Directory.php | Updates copyInto() signature to accept depth (but currently does not use it). |
Comments suppressed due to low confidence (1)
apps/dav/lib/Connector/Sabre/ObjectTree.php:162
- The new $depth argument is currently ignored. For WebDAV COPY on collections, Depth: 0 vs infinity changes semantics; always performing a recursive copy can violate the request and Sabre\DAV's expectations after the signature change.
public function copy($sourcePath, $destinationPath, int $depth = Server::DEPTH_INFINITY): void {
if (!$this->fileView) {
throw new \Sabre\DAV\Exception\ServiceUnavailable('filesystem not setup');
}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| #[\Override] | ||
| public function copyInto($targetName, $sourcePath, INode $sourceNode) { | ||
| public function copyInto($targetName, $sourcePath, INode $sourceNode, int $depth): bool { |
Contributor
|
Should we update the existing beforeCopy / afterCopy listeners for the new depth argument? |
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.
Summary
See nextcloud/3rdparty#2526
TODO
Checklist
3. to review, feature component)stable32)AI (if applicable)