Skip to content

30.0.0

Choose a tag to compare

@ChiragAgg5k ChiragAgg5k released this 15 Oct 12:54
90d15f2

What's Changed

  • Breaking: removed account.listLogs and users.listLogs
  • Breaking: removed organization.createKey, getKey, listKeys, updateKey and deleteKey, and OrganizationKeyScopes; use organization.listProjectKeys, getProjectKey, updateProjectKey and deleteProjectKey instead
  • Breaking: removed the Log, LogList and DevKey models
  • Breaking: removed Project.devKeys and the unsent Block fields
  • Breaking: listSpecifications returns each specification's prices and overage rates on the row itself. Removed the list-level pricing field and the DedicatedDatabaseSpecificationPricing model
  • Breaking: removed Client.setDevKey
  • Breaking: removed BillingPlanGroup.starter; use BillingPlanGroup.free
  • Breaking: requests send response format 2.5.0
  • Breaking: resource on the oauth2 authorize, PAR, device and token methods is now List<String>
  • Breaking: BackupRestoration.options is now a Map<String, dynamic>
  • Breaking: billing, backup and dedicated database fields the server can omit are now nullable
  • Breaking: providerIdToken, fingerprints, OAuth2 prompt and native fields are now non-nullable
  • Breaking: Client.chunkedUpload takes a responseType parameter and Client adds flatten; custom Client implementations must add both
  • Added: Topic helper to build MQTT topics for push messages
  • Added: mongo, mysql and postgresql promoteRestoration, restoreMode, targetName and autoPromote on createRestoration, and DedicatedDatabaseRestoration.restoreMode
  • Added: proxy.createSMTPRule, the ProxyRuleProtocol enum and ProxyRule.protocol
  • Added: emailEnabled on functions.update and Func, and ExecutionTrigger.email
  • Added: Query aggregates (count, countDistinct, sum, avg, min, max and more), groupBy, having, distinct, joins, relationship, covers, spatialEquals and page
  • Added: Query.builder() to chain queries; build() returns the query list
  • Updated: models fill documented defaults for fields missing from a response
  • Updated: empty required path parameters now throw AppwriteException before sending the request
  • Updated: examples import models.dart and use models. types
  • Fixed: required map fields missing from a response, such as prefs, default to an empty map
  • Fixed: OAuth2 models wrap a single prompt value in a list