Releases: appwrite/sdk-for-python
Releases · appwrite/sdk-for-python
Release list
22.0.0
What's Changed
- Breaking: removed
Healthservice and all health models and enums - Breaking: removed
Usageservice andUsageMetric,UsageDataPoint,UsageEventList,UsageGaugeListmodels - Breaking: removed messaging
list_message_logs,list_provider_logs,list_subscriber_logs,list_topic_logsmethods - Breaking: renamed
tables_db.createparameterdedicated_database_idtospecification - Breaking: removed
countryCodeandcountryNamefromActivityEventmodel - Added:
Client.set_bearerfor OAuth access token authentication - Added:
organizationserviceget,update,deleteand membership CRUD methods - Added:
oauth2servicecreate_par,list_organizations,list_projectsmethods - Added:
resource,audience,request_uriOAuth2 parameters;scopeonapprove - Added:
appwriteOAuth provider,OAuth2Appwritemodel,update_o_auth2_appwritemethod - Added:
Query.vector_dot,Query.vector_cosine,Query.vector_euclideanmethods - Added:
apps.update_labelsmethod andlabelsfield onAppmodel - Added:
new_specificationparameter tobackups.create_restoration - Added:
typeparameter tofunctionsandsiteslist_specifications - Added:
tokenparameter tofunctions.get_deployment_download - Added:
promptandmax_ageparameters toupdate_o_auth2_oidc;default_scopestoupdate_o_auth2_server - Added:
BillingPlan,Organization,Program,Oauth2PAR,DatabaseStatus,BillingPlanGroupmodels and enums - Added:
statusonDatabase,modeonBlock,onboardingonProject, geolocation fields onLocale - Added: organization,
project.oauth2, andstageskey scope enum values - Fixed: booleans now serialized as
true/falsein flattened query parameters - Fixed:
model_dumponDocument,Row,Preferencesnow includes dynamicdata
Full Changelog: 21.0.0...22.0.0
21.0.0
What's Changed
- Added:
appsservice for managing apps and app secrets - Added:
oauth2service for the OAuth2 authorization, device, and token flows - Added: device authorization grant parameters (
verificationUrl,userCodeLength,userCodeFormat,deviceCodeDuration) toupdateOAuth2Server - Added:
emailCanonical,emailIsFree,emailIsDisposable,emailIsCorporate, andemailIsCanonicalto theUsermodel - Added:
userAccessedAtto theMembershipmodel - Added:
PolicyDenyCorporateEmailanddeny-corporate-emailtoProjectPolicyId - Added:
dedicatedDatabases.executetoProjectKeyScopes - Breaking:
usage.listEventsnow takes a requiredmetricsarray withresource,interval, anddimensionsinstead ofqueriesandtotal - Breaking: Replaced
UsageEventandUsageGaugemodels withUsageDataPointandUsageMetric - Updated: Send an
Accept: application/jsonheader on all requests
Full Changelog: 20.1.0...21.0.0
20.1.0
What's Changed
- Added:
createSesProviderandupdateSesProvidertomessaging - Added:
updateOAuth2Servertoprojectfor OAuth2 server settings - Added:
updatePasswordStrengthPolicyandPolicyPasswordStrengthtoproject - Added:
getAuditsDBhealth check tohealth - Added:
password-strengthtoProjectPolicyId - Added:
apps.readandapps.writetoProjectKeyScopes
Full Changelog: 20.0.0...20.1.0
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