Releases: appwrite/sdk-for-cli
Releases · appwrite/sdk-for-cli
8.2.1
What's Changed
- Added
--with-variables
option to the Sites command for adding/updating environment variables - Fixed Functions environment variables not being pushed with
--with-variables
- Removed
awaitPools
when wiping old variables
Note: Storing environment variables in the
vars
attribute ofappwrite.json
is now deprecated due to security risks. Variables are now synced directly from the.env
file in the root directory of the function’s or site’s folder.
Full Changelog: 8.2.0...8.2.1
8.2.0
What's Changed
- Add
encrypt
attribute support - Add improved warnings on attribute recreation and deletion
- Fix
null
parsing error when using create attribute command - Type generation fixes and improvements:
- Add
--strict
/-s
flag toappwrite types
command to generate types in strict mode. This automatically converts the casing of attributes to match the language's naming conventions - Add automatic package import to
dart
language which uses package detection to import the correct package - Add
Document
class extension to generated types indart
andjs
language to support internal attributes like$id
and$collectionId
etc. - Add proper enum support to
js
language - Fix indentation in
java
,kotlin
andswift
to use 2 spaces instead of 4 for consistency across all languages - Fix doc comments to use correct syntax in various languages (for eg.
///
instead of/*
) - Update enums in
dart
to use lowerCamelCase instrict
mode as per constant_identifier_names
- Add
Full Changelog: 8.1.1...8.2.0
8.1.1
What's Changed
- Fix circular dependency issue due to usage of
success
method inutils.js
file fromparser.js
file - Type generation fixes:
- Add ability to generate types directly to a specific file by passing a file path to
appwrite types <output_path>
, instead of just a directory - Fix non-required attributes to not be null if default value is provided
- Fix
Models
import error - Improve formatting and add auto-generated comments
- Add ability to generate types directly to a specific file by passing a file path to
Full Changelog: 8.1.0...8.1.1
8.1.0
What's Changed
- Add multi-region support to
init
command - Update
init
command to clear previous configuration inappwrite.json
- Update localConfig to store multi-region endpoint
- Fix throw error when creating unknown attribute instead of timing out
- Fix equal comparison of large numbers and BigNumber instances using proper equality checks
- Fix duplication of reasons when comparing localConfig with remoteConfig
- Fix
firstOrNull()
tofirstOrNull
in types generation for dart - Fix unknown attribute
double
error during types generation - Refactor to use
isCloud()
method consistently
Full Changelog: 8.0.2...8.1.0
8.0.2
What's Changed
- Add Type generation fixes:
- Properly handle enum attributes in dart, java and kotlin
- Fix initialisation of null attributes in dart's
fromMap
method - Fix relationships and enums in swift
Full Changelog: 8.0.1...8.0.2
8.0.1
What's Changed
- Add
resourceId
andresourceType
attributes tocreateRedirectRule
- Add
providerReference
tovcs
command for getting repository contents - Add warning comment to bulk
updateDocuments
method - Fix type generation for enums in Typescript and PHP language
Full Changelog: 8.0.0...8.0.1
8.0.0
What's Changed
- Add
types
command to generate language specific typings for collections. Currently supports -php
,swift
,dart
,js
,ts
,kotlin
andjava
- Update bulk operation docs to include experiment feature warnings
- Breaking
⚠️ : Removeassistant
service and commands
Full Changelog: 7.0.0...8.0.0
7.0.0
What's Changed
- Add
sites
command - Add
tokens
command - Add
devKeys
support to projects command - Add
init site
,pull site
andpush site
commands - Add bulk operation methods like
createDocuments
,deleteDocuments
etc. - Add new upsert methods:
upsertDocument
andupsertDocuments
- Update GET requests to not include
content-type
header
Full Changelog: 6.2.3...7.0.0
6.2.3
What's Changed
- fix: hot swapping error in python ml function by @ChiragAgg5k in #163
Full Changelog: 6.2.2...6.2.3
6.2.2
What's Changed
Fixes
- Fix GitHub builds by adding qemu-system package by @ChiragAgg5k in appwrite/sdk-generator#1041
- Fix attribute creation timed out by @ChiragAgg5k in appwrite/sdk-generator#1042
Miscellaneous
- Regenerate sdks by @ChiragAgg5k in #162
Full Changelog: 6.2.1...6.2.2