Skip to content

feat: SDK update for version 27.1.0 - #175

Merged
ChiragAgg5k merged 8 commits into
mainfrom
dev
Oct 28, 2026
Merged

ChiragAgg5k merged 8 commits into
mainfrom
dev

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 27.1.0.

What's Changed

  • Added: migrations service to run Appwrite, Firebase, NHost, Supabase, CSV and JSON migrations, plus retries and listing
  • Added: Migration, MigrationList and MigrationReport models and the AppwriteMigrationResource, FirebaseMigrationResource, NHostMigrationResource, SupabaseMigrationResource and OnDuplicate enums
  • Added: project.update_deny_realtime_guests_policy, the PolicyDenyRealtimeGuests model and ProjectPolicyId.DENY_REALTIME_GUESTS
  • Added: project.delete_sessions to sign out every user in the project
  • Added: BillingPlan.deploymentretention, deploymentretentionmax and deploymentsretentioncount
  • Added: python-3.15, deno-2.9, go-1.27 and rust-1.99 to Runtime and BuildRuntime
  • Updated: requests send X-Appwrite-Response-Format: 2.6.2; README targets Appwrite 2.6.x
  • Updated: redirects are no longer followed; a 3xx raises AppwriteException naming the Location
  • Fixed: path parameters are percent-encoded as one segment; . and .. raise AppwriteException
  • Fixed: the chunked-upload resume lookup encodes the file ID

@hansi-codes

hansi-codes Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

🔵 Tier A · Mergeable after minor fixes

The unresolved release note still advertises MigrationReport, which is absent from the exported models.

This update adds migration APIs and models, project environment/session/policy operations, new runtime and billing fields, and Appwrite 2.6.2 request metadata. It also adds path-segment encoding and changes redirect handling, alongside updated examples and tests.

81 of 115 changed files were too large to include in full.

Verdict New comments Fixed Still open
💬 Commented 0 0 1

Note

Part of the diff was too large to review, so Hansi did not approve.

Fix with agent prompt
### Issue 1
CHANGELOG.md:6
**Remove the stale MigrationReport release-note entry**

These commits remove the `MigrationReport` module and its public export, but this bullet still says the model is added in 27.1.0. Users following the release notes will try to import `MigrationReport` from `appwrite.models` and fail.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
📂 Walkthrough · 9
File Change
CHANGELOG.md, README.md Document the 27.1.0 changes, updated server compatibility, and installation requirements.
appwrite/client.py, appwrite/service.py Update SDK/request metadata, stop automatic redirect following, and encode path parameters.
appwrite/services/*.py Apply encoded path-segment substitution across service methods and add migration and project APIs.
appwrite/enums/*.py Add migration, environment, policy, and runtime enum values.
appwrite/models/*.py Add migration and realtime-guest policy models, exports, and deployment-retention billing fields.
appwrite/encoders/value_class_encoder.py Add serialization handling for the new enums.
test/services/*.py Add coverage for migration and project API behavior.
docs/examples/**/*.md Add migration and project examples and update backup-policy examples.
pyproject.toml, setup.py Update SDK package version and dependency requirements.
⏳ Still open from earlier reviews · 1
  • 🟡 Remove the stale MigrationReport release-note entry · CHANGELOG.md:6

Reviewed 773765b · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ChiragAgg5k ChiragAgg5k changed the title feat: Python SDK update for version 27.1.0 feat: SDK update for version 27.1.0 Oct 27, 2026

@hansi-codes hansi-codes 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 · See the inline comments. Summary

Comment thread appwrite/client.py
Comment thread appwrite/models/policy_list.py
Comment thread appwrite/service.py
@ChiragAgg5k ChiragAgg5k changed the title feat: SDK update for version 27.1.0 feat: Python SDK update for version 27.1.0 Oct 27, 2026

@hansi-codes hansi-codes 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 CHANGELOG.md
## 27.1.0

* Added: `migrations` service to run Appwrite, Firebase, NHost, Supabase, CSV and JSON migrations, plus retries and listing
* Added: `Migration`, `MigrationList` and `MigrationReport` models and the `AppwriteMigrationResource`, `FirebaseMigrationResource`, `NHostMigrationResource`, `SupabaseMigrationResource` and `OnDuplicate` enums

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Remove the stale MigrationReport release-note entry

These commits remove the MigrationReport module and its public export, but this bullet still says the model is added in 27.1.0. Users following the release notes will try to import MigrationReport from appwrite.models and fail.

Prompt To Fix With AI
This is a comment left during a code review.
Path: CHANGELOG.md
Line: 6

Comment:
**Remove the stale MigrationReport release-note entry**

These commits remove the `MigrationReport` module and its public export, but this bullet still says the model is added in 27.1.0. Users following the release notes will try to import `MigrationReport` from `appwrite.models` and fail.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

🟡 Minor · documentation · Reply if this doesn't apply.

@ChiragAgg5k ChiragAgg5k changed the title feat: Python SDK update for version 27.1.0 feat: SDK update for version 27.1.0 Oct 27, 2026
@ChiragAgg5k

Copy link
Copy Markdown
Member Author

@hansi-codes review

@hansi-codes hansi-codes 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 · See the inline comments. Summary

@ChiragAgg5k
ChiragAgg5k merged commit fcbd97c into main Oct 28, 2026
1 check 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.

2 participants