Releases: appwrite/sdk-for-python
Releases · appwrite/sdk-for-python
20.0.0
What's Changed
- Breaking: Removed
githubImagineandgoogleImaginefromProjectOAuthProviderId - Breaking: Removed
deno-1.21,deno-1.24, anddeno-1.35fromRuntimeandBuildRuntime - Breaking: Dropped numeric suffixes from
StatusCoderedirect members - Added:
Organizationservice for managing projects and API keys - Added:
PolicyDenyAliasedEmail,PolicyDenyDisposableEmail, andPolicyDenyFreeEmailpolicy models - Added:
deny-aliased-email,deny-disposable-email, anddeny-free-emailtoProjectPolicyId - Replaced:
BrowserTheme,HealthQueueName,OrganizationKeyScopes, andRegionenums - Added:
dart-3.12andflutter-3.44runtimes - Added:
ProjectListmodel and new attributes onFunction,Site, andUsageGauge - Updated:
functions,sites,usage,health, andavatarsservices - Updated: Renamed
updatePresencetoupdatein thepresencesservice
Full Changelog: 19.2.0...20.0.0
19.2.0
What's Changed
- feat: support concurrent chunk uploads by @TorstenDittmann in #145
- chore: bump SDK version to 19.2.0 by @TorstenDittmann in #146
Full Changelog: 19.1.0...19.2.0
19.1.0
What's Changed
- Added
DENO_1_21,DENO_1_24, andDENO_1_35runtime options - Added
sizeactualfield toFilemodel for compressed file size - Updated
BillingLimitsmodel fields to be optional - Updated
Projectmodelbillinglimitsfield to be optional - Updated authentication examples in advisor documentation
Full Changelog: 19.0.0...19.1.0
19.0.0
What's Changed
- Breaking: Renamed
AuthMethodenum toProjectAuthMethodId - Breaking: Renamed
EmailTemplateTypetoProjectEmailTemplateIdandEmailTemplateLocaletoProjectEmailTemplateLocale - Breaking: Renamed
ServiceIdtoProjectServiceId,ProtocolIdtoProjectProtocolId,SecuretoProjectSMTPSecure,ProjectPolicytoProjectPolicyId - Breaking: Replaced
Scopesenum withProjectKeyScopesfor project key endpoints - Breaking: Removed
update_deny_canonical_email_policy; replaced withupdate_deny_aliased_email_policy,update_deny_disposable_email_policy, andupdate_deny_free_email_policy - Breaking: Removed
AuthProvidermodel; use newProjectOAuthProviderIdenum instead - Added:
Project.getmethod to fetch current project details - Added:
Advisor,Presences, andUsageservices - Added:
Insight,Presence,Report,UsageEvent, andUsageGaugemodels with list variants - Added:
ProjectAuthMethod,ProjectProtocol, andProjectServicemodels - Added:
ProjectOAuthProviderIdandProjectOAuth2GooglePromptenums - Updated:
Project,Database, andOAuth2Googlemodel schemas - Updated:
X-Appwrite-Response-Formatheader to1.9.5
Full Changelog: 18.1.0...19.0.0
18.1.0
What's Changed
- Added: Introduced
bigintcreate/update APIs for legacy Databases attributes - Added: Introduced
bigintcreate/update APIs forTablesDBcolumns - Updated: Extended key-list query filters with
key,resourceType,resourceId, andsecret
Full Changelog: 18.0.0...18.1.0
18.0.0
What's Changed
- [BREAKING] Renamed Webhook model fields:
security→tls,httpUser→authUsername,httpPass→authPassword,signatureKey→secret - [BREAKING] Renamed Webhook service parameters to match:
security→tls,httpUser→authUsername,httpPass→authPassword - [BREAKING] Renamed
Webhooks.update_signature()toWebhooks.update_secret()with new optionalsecretparameter - Added
Client.get_headers()method to retrieve request headers - Added
secretparameter to Webhook create and update methods - Added
xOAuth provider toOAuthProviderenum - Added
userTypefield toLogmodel - Added
purgeparameter toupdate_collectionandupdate_tablefor cache invalidation - Added Project service: platform CRUD, key CRUD, protocol/service status management
- Added new models:
Key,KeyList,Project,DevKey,MockNumber,AuthProvider,PlatformAndroid,PlatformApple,PlatformLinux,PlatformList,PlatformWeb,PlatformWindows,BillingLimits,Block - Added new enums:
PlatformType,ProtocolId,ServiceId - Updated
BuildRuntime,Runtimeenums withdart-3.11andflutter-3.41 - Updated
Scopesenum withkeys_read,keys_write,platforms_read,platforms_write - Updated
X-Appwrite-Response-Formatheader to1.9.1 - Updated TTL description for list caching in Databases and TablesDB
- Simplified
_parse_response()by removingunion_modelsparameter
Full Changelog: 17.0.0...18.0.0
17.0.0
What's Changed
- [BREAKING] Changed
$sequencetype fromfloattostrforRowandDocumentmodels - [BREAKING] Renamed
IndexTypeenum: split intoDatabasesIndexType(with newSPATIALvalue) andTablesDBIndexType - [BREAKING] Replaced
specificationparameter withbuild_specificationandruntime_specificationinfunctions.create(),functions.update(),sites.create(),sites.update() - Added new
Projectservice with full CRUD for project-level environment variables - Added new
Webhooksservice with full CRUD for project webhooks (includingupdate_signature) - Added
WebhookandWebhookListmodels - Added
users.update_impersonator()method for enabling/disabling user impersonation - Added impersonation support:
set_impersonate_user_id(),set_impersonate_user_email(),set_impersonate_user_phone()onClient - Added
impersonatorandimpersonatoruseridoptional fields toUsermodel - Added
deployment_retentionparameter to Functions and Sites create/update - Added
start_commandparameter to Sites create/update - Added
Documentsdb,Vectorsdbvalues toBackupServicesandDatabaseTypeenums - Added
WebhooksRead,WebhooksWrite,ProjectRead,ProjectWritescopes - Removed
get_queue_billing_project_aggregation,get_queue_billing_team_aggregation,get_queue_priority_builds,get_queue_region_manager,get_queue_threatsfromHealthservice - Updated
Logmodel field descriptions to clarify impersonation behavior - Updated
X-Appwrite-Response-Formatheader to1.9.0
Full Changelog: 16.0.0...17.0.0
16.0.0
What's Changed
- Breaking change: All service methods now return typed Pydantic models instead of
Dict[str, Any] - Breaking change: Models with dynamic fields (e.g.,
Row,Document) now store user-defined data in a typed.dataproperty instead of direct attribute access - Breaking change: Added
pydantic>=2,<3as a required dependency - Breaking change: Minimum Python version raised from 3.5 to 3.9
- Added
AppwriteModelbase class (PydanticBaseModel) for all response models withfrom_dict()andto_dict()helpers - Added 130+ typed model classes under
appwrite/models/(e.g.,Database,Collection,Document,User,Session,File,Bucket, etc.) - Added Generic[T] support for models with dynamic fields (e.g.,
Row,Document) - passmodel_type=YourModelto methods likeget_row()orlist_rows()for type-safe access to user-defined data viaresult.data.field_name - Updated README with
uv add appwriteinstallation example - Updated all doc examples to use typed response models (e.g.,
result: TemplateFunctionList = functions.list_templates(...))
Full Changelog: 15.3.0...16.0.0
16.0.0rc1
What's Changed
- Breaking change: All service methods now return typed Pydantic models instead of
Dict[str, Any] - Breaking change: Models with dynamic fields (e.g.,
Row,Document) now store user-defined data in a typed.dataproperty instead of direct attribute access - Breaking change: Added
pydantic>=2,<3as a required dependency - Breaking change: Minimum Python version raised from 3.5 to 3.9
- Added
AppwriteModelbase class (PydanticBaseModel) for all response models withfrom_dict()andto_dict()helpers - Added 130+ typed model classes under
appwrite/models/(e.g.,Database,Collection,Document,User,Session,File,Bucket, etc.) - Added Generic[T] support for models with dynamic fields (e.g.,
Row,Document) - passmodel_type=YourModelto methods likeget_row()orlist_rows()for type-safe access to user-defined data viaresult.data.field_name - Updated README with
uv add appwriteinstallation example - Updated all doc examples to use typed response models (e.g.,
result: TemplateFunctionList = functions.list_templates(...))
Full Changelog: 15.3.0...16.0.0rc1
15.3.0
What's Changed
- Added get_console_pausing health endpoint
- Added ttl parameter to list_documents and list_rows for cached responses
- Added optional activate parameter to Sites.create_deployment
- Updated docs and examples to reflect TTL usage and activation
- Updated query filtering docs in Messaging service
Full Changelog: 15.2.0...15.3.0