Releases: appwrite/sdk-for-console
Releases · appwrite/sdk-for-console
12.1.0
What's Changed
- Added:
setSessionmethod onClientforX-Appwrite-Sessionauthentication - Added:
setDevKeymethod onClientforX-Appwrite-Dev-Keyauthentication - Added:
suggestQueriesmethod onConsoleservice - Added:
QuerySuggestionResourceenum for supported list resource types - Added:
project.policies.read,project.policies.write,backups.policies.read,backups.policies.writescopes - Updated:
setCookiedocumentation clarified for server-side runtimes
Full Changelog: 12.0.0...12.1.0
12.0.0
What's Changed
- Breaking: Renamed
AuthMethodenum toMethodId - Breaking: Replaced
Projects.updateAuthStatuswithProject.updateAuthMethod - Breaking: Replaced
Projects.updateOAuth2with per-provider methods onProjectservice (e.g.updateOAuth2Google,updateOAuth2GitHub) - Breaking: Replaced
Projects.updateMockNumberswithlistMockPhones,createMockPhone,getMockPhone,updateMockPhone,deleteMockPhoneonProjectservice - Breaking: Replaced
Projects.createJWTwithProject.createEphemeralKey - Breaking: Moved
deletefromProjectstoProjectservice - Breaking: Renamed
execution.read/execution.writescopes toexecutions.read/executions.write - Breaking: Renamed
domainIdparameter toinvoiceIdindomains.updatePurchaseanddomains.updateTransferIn - Added:
Managerservice withcreateBlock,deleteBlock,listBlocksmethods - Added:
listEmailTemplates,listOAuth2Providers,getOAuth2Provider,listPolicies,getPolicymethods onProjectservice - Added:
createPlanEstimationmethod onOrganizationsservice - Added:
listOAuth2ProvidersandlistProjectScopesmethods onConsoleservice - Added:
fusionauth,keycloak,kicktoOAuthProviderenum - Added:
MethodId,PolicyIdenums - Added:
mocks.read,mocks.write,sessions.readscopes - Added:
rust-1.83runtime - Added:
backup-policytoAppwriteMigrationResourceenum - Added: Plural
ResourceTypevalues (projects,functions,sites,databases,buckets,providers,topics,subscribers,messages) - Added: Models for ephemeral keys, mock numbers, email templates, policies, and per-provider OAuth2 settings
- Updated:
X-Appwrite-Response-Formatheader to1.9.3
Full Changelog: 11.0.0...12.0.0
11.0.0
What's Changed
- Breaking: Moved SMTP, email template, and all policy methods from
ProjectstoProjectservice - Breaking: Renamed policy methods with
*Policysuffix (e.g.updateAuthPasswordDictionary→updatePasswordDictionaryPolicy,updateSessionAlerts→updateSessionAlertPolicy,updateAuthSessionsLimit→updateSessionLimitPolicy) - Breaking: Replaced
updateProtocolStatus/updateServiceStatuswithupdateProtocol/updateService - Breaking: Removed all SMS template support —
SmsTemplatemodel, related enums, andget/update/deletemethods - Breaking: Removed
deleteEmailTemplatemethod - Breaking: Renamed
SMTPSecureenum toSecure - Breaking: Renamed SMTP/email-template fields —
smtpReplyTo→smtpReplyToEmail,EmailTemplate.type→templateId,EmailTemplate.replyTo→replyToEmail; addedsmtpReplyToNameandreplyToName - Breaking:
Project.smtpPasswordis now write-only and always returned empty - Breaking: Removed deprecated Deno runtimes (
deno-1.21,deno-1.24,deno-1.35) - Breaking: Rewrote Realtime protocol — slot-based mapping replaced with server-negotiated
subscribe/unsubscribelifecycle - Added:
RealtimeSubscription.unsubscribe()andRealtimeSubscription.update()for per-subscription teardown and in-place channel/query changes - Added: New session and user policy methods (
updatePasswordPersonalDataPolicy,updateSessionDurationPolicy,updateSessionInvalidationPolicy,updateUserLimitPolicy) - Added:
DetectionRuntimeTypeandDetectionFrameworkTypeenums, plustypefield on detection and provider-repository-list models - Added:
authMembershipsUserId,authMembershipsUserPhonefields onProjectmodel anduserPhoneonMembership - Added:
templates.readandtemplates.writescopes - Updated:
X-Appwrite-Response-Formatheader to1.9.2
Full Changelog: 10.0.0...11.0.0
10.0.0
What's Changed
- feat: Console SDK update for version 10.0.0 by @premtsd-code in #84
Full Changelog: 9.1.0...10.0.0
9.1.0
What's Changed
- Added optional
secretparameter towebhooks.create()andwebhooks.updateSecret()methods - Updated
Webhook.secretfield description to clarify it is only returned on creation and secret rotation - Updated
taxIdparameter to optional insetBillingTaxIdmethod
Full Changelog: 9.0.0...9.1.0
9.0.0
What's Changed
- Breaking: Moved
keys,labels, andplatformsmethods fromProjectstoProjectservice - Breaking: Replaced generic
Platformmodel andPlatformTypeenum with typed models:PlatformWeb,PlatformApple,PlatformAndroid,PlatformWindows,PlatformLinux - Breaking: Replaced generic
createPlatform/updatePlatformwith platform-specific methods:createAndroidPlatform,createApplePlatform,createLinuxPlatform,createWebPlatform,createWindowsPlatform(and corresponding update variants). Thekeyparameter was renamed to platform-specific terminology, such asbundleIdentifierorpackageName - Breaking: Removed
PlatformListmodel fromProjectsservice (now returned byProjectservice) - Breaking: Removed
updateApiStatus,updateApiStatusAll,updateAPIStatus,updateAPIStatusAllmethods andApi,ApiServiceenums fromProjectsservice - Breaking: Renamed webhook parameters
securitytotls,httpUsertoauthUsername,httpPasstoauthPassword,signatureKeytosecret - Breaking: Renamed
updateSignaturetoupdateSecretinWebhooksservice - Added
updateCanonicalEmails,updateDisposableEmails,updateFreeEmailsmethods toProjectservice - Added
updateProtocolStatus,updateServiceStatusmethods toProjectservice with newProtocolIdandServiceIdenums - Added
purgeparameter todatabases.updateCollectionandtablesDb.updateTable - Added
x(Twitter/X) toOAuthProviderenum - Added
keys.read,keys.write,platforms.read,platforms.writetoScopesenum - Added
userTypefield to audit log model - Added service and protocol status fields to
Projectmodel - Added
supportsDisposableEmailValidation,supportsCanonicalEmailValidation,supportsFreeEmailValidationfields to plan model - Updated
ttlparameter description fordatabases.listDocumentsandtablesDb.listRowswith detailed caching behaviour
Full Changelog: 8.3.0...9.0.0
8.3.0
What's Changed
- Added addon management methods to Organizations service:
listAddons,createBaaAddon,getAddon,deleteAddon,confirmAddonPayment,getAddonPrice - Added
Addonenum andBillingPlanSupportedAddonsmodel - Added
templateRepository,templateOwner,templateRootDirectory,templateVersionoptional parameters tofunctions.create - Added
authDisposableEmails,authCanonicalEmails,authFreeEmailsfields to Project model - Added
supportForIntegerIdsfield to database adapter model - Added descriptions to
createJSONExportandcreateJSONImportmigration methods - Updated
ProxyRulefield descriptions for clarity
Full Changelog: 8.2.0...8.3.0
8.2.0
What's Changed
- Added:
createJSONExport()andcreateJSONImport()methods to Migrations service - Added:
Dart311andFlutter341runtime variants - Updated:
reasonandexpiredAtfields onBlockmodel are now optional - Updated: Improved
ProxyRulefield descriptions - Updated: Rollup upgraded to v4 with ESM config, Node >= 18 engine requirement
Full Changelog: 8.1.1...8.2.0
8.1.1
- Fixed: Added
filesfield topackage.jsonto publish only built artifacts to npm
8.1.0
What's Changed
- Added: Added
getHeaders()method toClientto expose current request headers - Added: Added
ProviderRepositoryRuntimeandProviderRepositoryRuntimeListmodels - Updated:
createRepositoryDetection()return type now includesDetectionRuntime - Updated:
listRepositories()return type now includesProviderRepositoryRuntimeList - Added: Added
package-lock.jsonto track dependency lockfile in version control
Full Changelog: 8.0.0...8.1.0