Repository navigation
Releases
Releases · appwrite/sdk-for-python
27.2.0
What's Changed
- Updated:
project.list_environments,project.create_environment,project.get_environment,project.update_environmentreturnEnvironmentmodels instead ofProject - Added:
account.create_device,account.get_device,account.delete_deviceandaccount.update_device_session, and theDevicemodel - Added:
project.update_account_devices_policy,ProjectPolicyId.ACCOUNT_DEVICESand thePolicyAccountDevicesmodel - Added:
project.update_o_auth2_vipps,project.update_o_auth2_vipps_sandboxand theOAuth2Vippsmodel - Added:
OAuthProvider.VIPPSandOAuthProvider.VIPPSSANDBOX - Added:
proxy.update_function_rule,proxy.update_redirect_ruleandproxy.update_site_rule - Added: optional
scheduleonwafrule create and update methods and onWafRule*models - Added:
project.get_prefsandproject.update_prefsfor project preferences - Added:
Client.set_environmentto act in a project environment - Added:
AppwriteMigrationResource.PROJECT_PREFERENCESto migrate project preferences - Added:
monitors.read,monitors.write,alerts.read,alerts.write,reviews.readandreviews.writetoProjectKeyScopes - Added:
Organization.budgetnotify,budgetcriticalandeducationexpiresat - Added:
Project.environmentid,Session.usernameandActivityEvent.reason - Added:
ProxyRule.expireatandcertificatestatus - Updated: requests send response format
2.7.1; README targets Appwrite 2.7.x
Full Changelog: 27.1.0...27.2.0
27.1.0
What's Changed
- Added:
migrationsservice to run Appwrite, Firebase, NHost, Supabase, CSV and JSON migrations, plus retries and listing - Added:
Migration,MigrationListandMigrationReportmodels and theAppwriteMigrationResource,FirebaseMigrationResource,NHostMigrationResource,SupabaseMigrationResourceandOnDuplicateenums - Added:
project.update_deny_realtime_guests_policy, thePolicyDenyRealtimeGuestsmodel andProjectPolicyId.DENY_REALTIME_GUESTS - Added:
project.delete_sessionsto sign out every user in the project - Added:
BillingPlan.deploymentretention,deploymentretentionmaxanddeploymentsretentioncount - Added:
python-3.15,deno-2.9,go-1.27andrust-1.99toRuntimeandBuildRuntime - 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
AppwriteExceptionnaming theLocation - Fixed: path parameters are percent-encoded as one segment;
.and..raiseAppwriteException - Fixed: the chunked-upload resume lookup encodes the file ID
Full Changelog: 27.0.0...27.1.0
27.0.0
27.0.0
This release updates the HTTP dependency requirements and raises the minimum supported Python version.
- Breaking: Python 3.9 is no longer supported. Upgrade to Python 3.10 or later before installing this release.
- Security: required
requests>=2.34.2,<3andurllib3>=2.8.0,<3to exclude older dependency versions with known advisories. Update application dependency pins or constraints that prevent these versions from being installed. - Compatibility: service methods, models, and response format
2.5.0are unchanged from SDK 26.0.0. The SDK continues to target Appwrite 2.5.x.
To upgrade, activate a Python 3.10+ environment and run:
python -m pip install --upgrade "appwrite==27.0.0"Full Changelog: 26.0.0...27.0.0
26.0.0
What's Changed
- Breaking:
tables_db,documents_dbandvectors_dbcreateandupdatetakedescriptionbeforespecification - Breaking:
functions.updatetakesdescriptionbeforeemail_enabled - Added:
create_queryondatabases,documents_dbandtables_dbto send list queries in the request body - Added:
account.list_memberships - Added: optional
descriptionon create and update for databases, collections, tables, attributes, columns, indexes, buckets, functions, sites, variables, topics, webhooks and keys - Added:
descriptionon the matching models - Added:
totalon list methods inactivities,backups,domains,mongo,mysqlandpostgresql - Added:
emailsonmessaging.create_emailandmessaging.update_email - Added:
deny_listonproject.update_password_dictionary_policy,update_password_personal_data_policyand their policy models - Added:
BillingPlan.functions_allow_cron - Added:
strip_metadataonstorage.create_bucket,update_bucketand theBucketmodel - Updated: package classifiers list Python 3.13
Full Changelog: 25.0.0...26.0.0
25.0.0
What's Changed
- Breaking: requests send
X-Appwrite-Response-Format: 2.5.0; responses follow the 2.5 shapes - Breaking: removed
account.list_logs,users.list_logsand theLog/LogListmodels - Breaking: removed
organization.create_key,get_key,list_keys,update_keyanddelete_key, andOrganizationKeyScopes; useorganization.list_project_keys,get_project_key,update_project_keyanddelete_project_keyinstead - Breaking: removed
Client.set_dev_key, theDevKeymodel andProject.dev_keys - Breaking: removed
BillingPlanGroup.STARTER; useBillingPlanGroup.FREE - Breaking:
list_specificationsreturns each specification's prices and overage rates on the row itself. Removed the list-levelpricingfield and theDedicatedDatabaseSpecificationPricingmodel - Breaking: removed
Blockfieldsreason,project_name,region,organization_name,organization_idandbilling_plan - Breaking: OAuth2
resourceparams now takeList[str] - Breaking:
project.update_o_auth2_kakaotakesenabledbeforeprompt - Breaking:
BackupRestoration.optionsis now a dict - Breaking: some response fields became
Optional, such asBillingPlan.usageandDedicatedDatabase.engine - Added:
Topichelper to build MQTT topics for push messages - Added:
mongo,mysqlandpostgresqlpromote_restoration,restore_mode,target_nameandauto_promoteoncreate_restoration, andDedicatedDatabaseRestoration.restore_mode - Added:
proxy.create_smtp_rule, theProxyRuleProtocolenum andProxyRule.protocol - Added:
email_enabledonfunctions.updateandFunction, andExecutionTrigger.EMAIL - Added:
Queryaggregates (count,count_distinct,sum,avg,min,maxand more),group_by,having,distinct, joins,relationship,covers,spatial_equalsandpage - Added:
Query.builder()to chain queries;build()returns the query list - Updated: missing response fields fall back to their documented defaults
- Fixed: map fields missing from a response default to
{}instead of[]
24.4.0
What's Changed
- Added:
domainsservice to manage domains, DNS records, email presets, prices, transfer status and zones - Added:
wafservice with bypass, challenge, deny, rate-limit and redirect rules - Added:
account.createEmailVerificationOTP,updateEmailVerificationOTP,createRecoveryOTPandupdateRecoveryOTP - Added:
account.createIdTokenSessionandIdentity.providerIdToken - Added:
oauth2.introspect - Added: project environments with
project.createEnvironment,getEnvironment,listEnvironments,updateEnvironmentanddeleteEnvironment - Added:
organization.createEphemeralProjectKey,listProjectKeys,getProjectKey,updateProjectKeyanddeleteProjectKey - Added: Kakao, TikTok and Webflow OAuth2 providers with
project.updateOAuth2Kakao,updateOAuth2TikTokandupdateOAuth2Webflow - Added: optional
prompton the Auth0, Discord, GitHub, Microsoft, Okta, Salesforce and Zoho OAuth2 settings, and native client IDs on Apple and Google - Added:
project.updatePasswordPwnedPolicy,project.updatePasswordRotationPolicyandUser.passwordPwned - Added:
messaging.createAppwriteProviderandmessaging.updateAppwriteProvider - Added: optional
replyToEmailandreplyToNameon email messages,channelIdon push messages, andqosandexpiryon topics - Added:
avatars.updatePhotoandavatars.deletePhoto - Added: optional
durationonaccount.createEmailPasswordSession,currentonaccount.deleteSessions,membershipIdonteams.createMembershipandfingerprintson Android platforms - Added: optional
totalon the locale, transaction, runtime, specification and framework lists - Added:
dart-3.13andflutter-3.47runtimes, thejasprframework, thetrigramindex type,autoimage gravity, thededicatedDatabaseproxy rule resource type, OTP email templates and new key scopes - Added: optional fields on
BillingPlan,DedicatedDatabase,DedicatedDatabaseSpecification,ProjectandTopic, andfreeandstartinBillingPlanGroup
Full Changelog: 24.3.1...24.4.0
24.3.1
What's Changed
- Fixed: added
ProjectAuthMethodId.PASSKEY, soproject.updateAuthMethodcan enable passkeys - Fixed: added
ProjectPolicyId.PASSKEYand thePolicyPasskeymodel, sogetPolicyandlistPoliciesreturn the passkey policy
Full Changelog: 24.3.0...24.3.1
24.3.0
What's Changed
- Added:
accountpasskey methodslistPasskeys,createPasskey,getPasskey,updatePasskey,deletePasskeyandupdatePasskeyVerification - Added:
account.createPasskeyTokenandaccount.updatePasskeyTokenfor passkey sign-in - Added:
users.listPasskeys,users.getPasskey,users.updatePasskeyandusers.deletePasskey - Added:
project.updatePasskeyPolicyto configure passkey sign-in - Added:
Passkey,PasskeyList,PasskeyChallengeandTokenSecretmodels
Full Changelog: 24.2.0...24.3.0
24.2.0
What's Changed
- Added: optional
intervalparameter onfunctions.createandfunctions.updateto run a function every N minutes - Added:
intervalon theFunctionmodel andfunctionsIntervalMinimumon theBillingPlanmodel
Full Changelog: 24.1.0...24.2.0
24.1.0
What's Changed
- Added: optional
stateparameter oncreateOAuth2Token, returned unchanged on the success and failure URLs
Full Changelog: 24.0.0...24.1.0