dart_appwrite 16.2.0
dart_appwrite: ^16.2.0 copied to clipboard
Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API
Change Log #
16.2.0 #
- Add
incrementDocumentAttributeanddecrementDocumentAttributesupport toDatabasesservice - Add
encryptsupport to string attribute model - Add
sequencesupport toDocumentmodel
16.1.0 #
- Add
gifsupport toImageFormatenum - Add support for
dart38andflutter332runtimes - Add
upsertDocument()method to Databases service - Fix
convertTo()method inDocumentandPreferencesmodels to correctly acceptMap<String, dynamic> - Fix
upsertDocuments()method to havedocumentsattribute as required parameter
16.0.0 #
- Add
<REGION>to doc examples due to the new multi region endpoints - Add doc examples and methods for bulk api transactions:
createDocuments,deleteDocumentsetc. - Add doc examples, class and methods for new
Sitesservice - Add doc examples, class and methods for new
Tokensservice - Add enums for
BuildRuntime,Adapter,Framework,DeploymentDownloadTypeandVCSDeploymentType - Add
tokenparam togetFilePreviewandgetFileViewfor File tokens usage - Add
queriesandsearchparams tolistMembershipsmethod - Update enum for
runtimeswith Pythonml312, Dart219, Flutter327 and Flutter329 - Remove
searchparam fromlistExecutionsmethod
14.0.0 #
- Breaking changes:
- Changed the typing of
AppwriteException's response parameter from adynamicobject to an optional string (?String).
- Changed the typing of
13.0.0 #
- Fixed realtime pong response.
- Fixed issues with
chunkedUploadmethod. - Fixed type mismatch bug where
List<dynamic>was incorrectly causing runtime type errors. - Updated return type of
updateMfaChallenge()from raw data to properly typedmodels.Sessionobject.
12.0.0 #
- Support for Appwrite 1.6
- Added
keyattribute toRuntimeresponse model. - Added
buildSizeattribute toDeploymentsresponse model. - Added
scheduledAtattribute toExecutionsresponse model. - Added
scopesattribute toFunctionsresponse model. - Added
specificationsattribute toFunctionsresponse model. - Added new response model for
Specifications. - Added new response model for
Builds. - Added
createJWT(): Enables creating a JWT using theuserId. - Added
listSpecifications(): Enables listing available runtime specifications. - Added
deleteExecution(): Enables deleting executions. - Added
updateDeploymentBuild(): Enables cancelling a deployment. - Added
scheduledAtparameter tocreateExecution(): Enables creating a delayed execution - Breaking changes:
- Removed
otpparameter fromdeleteMFAAuthenticator. - Added
scopesparameter for create/update function. - Renamed
templateBranchtotemplateVersionincreateFunction(). - Renamed
downloadDeployment()togetDeploymentDownload()
- Removed
You can find the new syntax for breaking changes in the Appwrite API references. Select version 1.6.x.
Please note: This version is compatible with Appwrite 1.6 and later only. If you do not update your Appwrite SDK, old SDKs will not break your app. Appwrite APIs are backwards compatible.
11.0.3 #
- Minor bugfixes
11.0.2 #
- Fixed MSG91 missing template ID
11.0.1 #
- Fixed parameters using enum types
11.0.0 #
- Added enum support
- Added SSR support
- Added messaging service support
- Added contains query support
- Added or query support
10.1.0 #
- Add new queue health endpoints
- Fix between queries
10.0.0 #
- Parameter
urlis now optional in thecreateMembershipendpoint - Parameter
runtimeis now optional in theupdateendpoint of theFunctionsclass
9.0.1 #
- Added a new
labelfunction to theRolehelper class - Update internal variable names to prevent name collision
- Fix: content range header inconsistency in chunked uploads #648
9.0.0 #
- Support for Appwrite 1.4.0
- New endpoints for fetching user identities
- New endpoints for listing locale codes
- New endpoint for downloading a function deployment
- Updated documentation
- Breaking changes:
- The
createFunctionmethod has a new signature. - The
createExecutionmethod has a new signature. - The
updateFunctionmethod has a new signature. - The
createDeploymentmethod no longer requires an entrypoint. - The
updateFilemethod now includes the ability to update the file name. - The
updateMembershipRolesmethod has been renamed toupdateMembership.
- The
8.0.1 #
- Added documentation comments
- Added unit tests
- Upgraded dependencies
8.0.0 #
- Added relationships support
- Added support for new queries:
isNull,isNotNull,startsWith,notStartsWith,endsWith,betweenandselect. - Added update attribute support
- Added team prefs support
- Changed function create/update
executeparameter to optional - Changed team
updatetoupdateName - Changed
Accountservice to use theUsermodel instead ofAccount
7.3.0 #
- Improve helper classes
- Deprecated
InputFiledefault constructor and introducedInputFile.fromPathandInputFile.fromBytesfor consistency with other SDKs
7.2.0 #
- Support for GraphQL
7.1.0 #
- Role helper update
7.0.0 #
NEW #
- Support for Appwrite 1.0.0
- More verbose headers have been included in the Clients -
x-sdk-name,x-sdk-platform,x-sdk-language,x-sdk-version - Helper classes and methods for Permissions, Roles and IDs
- Helper methods to suport new queries
- All Dates and times are now returned in the ISO 8601 format
- Execution Model now has an additional
stdoutattribute - Endpoint for creating DateTime attribute
- User imports API with support for multiple hashing algorithms
- CRUD API for functions environment variables
createBucketnow supports different compression algorithms
BREAKING CHANGES #
databaseIdis no longer part of theDatabaseService constructor.databaseIdwill be part of the respective methods of the database service.- The
Users.create()method signature has now been updated to include aphoneparameter colorattribute is no longer supported in the Avatars Service- The
numberargument in phone endpoints have been renamed tophone - List endpoints no longer support
limit,offset,cursor,cursorDirection,orderAttributes,orderTypesas they have been moved to thequeriesarray readandwritepermission have been deprecated and they are now included in thepermissionsarray- Parameter
permissionfor collections and buckets are now renamed todocumentSecurity&fileSecurityrespectively - Renamed methods of the Query helper
lesserrenamed tolessThanlesserEqualrenamed tolessThanEqualgreaterrenamed togreaterThangreaterEqualrenamed togreaterThanEqual
Full Changelog for Appwrite 1.0.0 can be found here: https://github.com/appwrite/appwrite/blob/master/CHANGES.md
6.0.1 #
- Dependency upgrades
- Doc comments updates
- Cleanup code
6.0.0 #
- Support for Appwrite 0.15
- BREAKING
Database->Databases - BREAKING
account.createSession()->account.createEmailSession() - BREAKING
dateCreatedattribute removed fromTeam,Execution,Filemodels - BREAKING
dateCreatedanddateUpdatedattribute removed fromFunc,Deployment,Bucketmodels - BREAKING Realtime channels
- collections.[COLLECTION_ID] is now databases.[DATABASE_ID].collections.[COLLECTION_ID]
- collections.[COLLECTION_ID].documents is now databases.[DATABASE_ID].collections.[COLLECTION_ID].documents
Full Changelog for Appwrite 0.15 can be found here: https://github.com/appwrite/appwrite/blob/master/CHANGES.md#version-0150
5.0.1 #
- Code formatting fix
5.0.0 #
- Support for Appwrite 0.14
- BREAKING
account.delete()->account.updateStatus() - BREAKING Execution model
stdoutrenamed toresponse - BREAKING Membership model
namerenamed touserNameandemailrenamed touserEmail - Added
teamNameto Membership model - New
users.getMembershipsfunction
4.0.2 #
- Fix null issues with float attributes (https://github.com/appwrite/sdk-for-dart/issues/17 and https://github.com/appwrite/sdk-for-dart/issues/16)
4.0.1 #
- Fix InputFile filename param
- Fix examples
4.0.0 #
- Support for Appwrite 0.13
- BREAKING Tags have been renamed to Deployments
- BREAKING
createFilefunction expects Bucket ID as the first parameter - BREAKING
createDeploymentandcreateFilefunctions expect an instance InputFile rather than the instance of MultipartFile - BREAKING
list<Entity>endpoints now contain atotalattribute instead ofsum onProgress()callback function for endpoints supporting file uploads- Support for synchronous function executions
- Bug fixes and Improvements
Full Changelog for Appwrite 0.13 can be found here: https://github.com/appwrite/appwrite/blob/master/CHANGES.md#version-0130
3.0.2 #
- String Attribute Type got fixed
3.0.1 #
- Export Query Builder
3.0.0 #
- Support for Appwrite 0.12
- BREAKING Updated database service to adapt 0.12 API
- BREAKING Custom ID support while creating resources
- View all the changes
2.0.0 #
- BREAKING All services and methods now return structured response objects instead of
Responseobject
1.0.2 #
- Support for Appwrite 0.11
1.0.1 #
- Export, separate IO and Browser clients for Flutter (Client and Realtime as well) and Dart (Client)
1.0.0 #
- Support for Appwrite 0.10
- Refactored for better cross platform support
- Exception implements
toString()to get proper error message for unhandled exceptions - Breaking - Signature for
MultipartFilehas changed as we have dropped Dio in favor of http package. Here is the new signature for MultipartFile - Breaking - Signature for
Responsehas changed, now it only exposes the data.
0.7.0 #
- Support for Appwrite 0.9
- Breaking - removed order type enum, now you should pass string 'ASC' or 'DESC'
- Breaking - changed param name from
envtoruntimein the Functions API - Image Crop Gravity support in image preview service
- New endpoint in Account getSession to get session by ID
- New endpoint in the Users API to update user verification status
- Fix - issues with User-Agent when app name consisted of non-ASCII characters
0.6.2 #
- Removed default values, nothing should change in usage as default values are already allocated in server
0.6.1 #
- Fix for image preview param types
0.6.0 #
- Upgraded to Null-safety, minimum Dart SDK required 2.12.0
- Upgraded all underlying dependencies to null safe version
- BREAKING Renamed users.deleteUser to users.delete
- BREAKING Renamed parameter inviteId to membershipId on teams.updateMembershipStatus, teams.deleteMembership
- JWT Support client.setJWT('JWT_GENERATED_IN_CLIENT')
- Update membership roles
- New awesome image preview features, supports borderRadius, borderColor, borderWidth
0.5.0-dev.1 #
- Upgraded to Null-safety, minimum Dart SDK required 2.12.0
- Upgraded all underlying dependencies to null safe version
0.3.1 #
- Minor fixes for custom exceptions
0.3.0 #
- Improved code quality
- Added a custom Appwrite exception
- Enabled access to private storage file
0.2.0 #
- Upgraded to work with Appwrite 0.7
0.1.0 #
- First release