Skip to content

feat: SDK update for version 28.5.0 - #187

Merged
shimonewman merged 1 commit into
mainfrom
release-28.5.0
Dec 1, 2026
Merged

shimonewman merged 1 commit into
mainfrom
release-28.5.0

Conversation

@shimonewman

Copy link
Copy Markdown
Contributor

This PR contains updates to the SDK for version 28.5.0.

What's Changed

  • Removed: ProjectKeyScopes.VIDEOS_PLAY; video playback is covered by the videos.read scope
  • Added: renditions to the Video model, listing the video's ready renditions
  • Updated: videos method docs to describe guest playback under videos.read

Released as a minor: the videos.play scope this member names no longer exists.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@appwrite

appwrite Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Code review

Commit Status Tier Verdict Details
3b23ebc Reviewed Reviewed 🔵 A · Mergeable after minor fixes ✅ Approved View review

The new nested Video rendition behavior lacks coverage for non-empty responses.

Updates the Python SDK metadata and project-key scope enum for version 28.5.0. The Video model now exposes ready renditions, and the video service documentation reflects playback using videos.read for guests.

Findings (1)
Finding Where
🟡 Cover populated renditions in Video responses appwrite/models/video.py:94
Fix with agent prompt
### Issue 1
appwrite/models/video.py:94
**Cover populated renditions in Video responses**

The updated Video response fixtures only exercise `renditions: []`. Please add a populated Video response case too; separate tests for the rendition endpoints do not verify nested rendition parsing or enum aliases in this new field.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Walkthrough (8)
File Change
CHANGELOG.md Documents the 28.5.0 scope, Video model, and video documentation updates.
appwrite/client.py Updates the SDK version in request headers.
appwrite/enums/project_key_scopes.py Removes the obsolete VIDEOS_PLAY scope.
appwrite/models/video.py Adds a list of rendition models to Video, defaulting to an empty list.
appwrite/services/videos.py Updates video and playback endpoint documentation for renditions and guest scopes.
pyproject.toml Bumps the package version to 28.5.0.
setup.py Bumps the package version and archive URL to 28.5.0.
test/services/test_videos.py Adds empty rendition lists to video response fixtures.

Reviewed 3b23ebc

Tip

Comment @appwrite review to re-run, or mention @appwrite with a question.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Tier A · Looks good to merge. Summary

Comment thread appwrite/models/video.py Resolved
@shimonewman
shimonewman merged commit 32c0ab4 into main Dec 1, 2026
3 checks passed
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.

1 participant