Skip to content

Commit d51bddd

Browse files
committed
chore: update Python SDK to 18.0.0
1 parent faaf0a1 commit d51bddd

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
# Change Log
22

3-
## 17.1.0
3+
## 18.0.0
44

5+
* [BREAKING] Renamed Webhook model fields: `security``tls`, `httpUser``authUsername`, `httpPass``authPassword`, `signatureKey``secret`
6+
* [BREAKING] Renamed Webhook service parameters to match: `security``tls`, `httpUser``authUsername`, `httpPass``authPassword`
7+
* Added `secret` parameter to Webhook create and update methods
58
* Added `x` OAuth provider to `OAuthProvider` enum
69
* Added `userType` field to `Log` model
10+
* Added `purge` parameter to `updateCollection` and `updateTable` for cache invalidation
711
* Added Project service: platform CRUD, key CRUD, label/email/protocol/service management
812
* Added new models: `Key`, `KeyList`, `PlatformAndroid`, `PlatformApple`, `PlatformLinux`, `PlatformList`, and others
913
* Added new enums: `PlatformType`, `ProtocolId`, `ServiceId`
10-
* Updated `BuildRuntime`, `Runtime`, `Scopes` enums
14+
* Updated `BuildRuntime`, `Runtime`, `Scopes` enums with new values
1115
* Updated `X-Appwrite-Response-Format` header to `1.9.1`
1216
* Updated TTL description for list caching in Databases and TablesDB
1317

appwrite/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ def __init__(self):
1515
self._endpoint = 'https://cloud.appwrite.io/v1'
1616
self._global_headers = {
1717
'content-type': '',
18-
'user-agent' : f'AppwritePythonSDK/17.1.0 ({platform.uname().system}; {platform.uname().version}; {platform.uname().machine})',
18+
'user-agent' : f'AppwritePythonSDK/18.0.0 ({platform.uname().system}; {platform.uname().version}; {platform.uname().machine})',
1919
'x-sdk-name': 'Python',
2020
'x-sdk-platform': 'server',
2121
'x-sdk-language': 'python',
22-
'x-sdk-version': '17.1.0',
22+
'x-sdk-version': '18.0.0',
2323
'X-Appwrite-Response-Format' : '1.9.1',
2424
}
2525

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "appwrite"
7-
version = "17.1.0"
7+
version = "18.0.0"
88
description = "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API"
99
readme = "README.md"
1010
requires-python = ">=3.9"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
setuptools.setup(
99
name = 'appwrite',
1010
packages = setuptools.find_packages(),
11-
version = '17.1.0',
11+
version = '18.0.0',
1212
license='BSD-3-Clause',
1313
description = 'Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API',
1414
long_description = long_description,
@@ -18,7 +18,7 @@
1818
maintainer = 'Appwrite Team',
1919
maintainer_email = 'team@appwrite.io',
2020
url = 'https://appwrite.io/support',
21-
download_url='https://github.com/appwrite/sdk-for-python/archive/17.1.0.tar.gz',
21+
download_url='https://github.com/appwrite/sdk-for-python/archive/18.0.0.tar.gz',
2222
install_requires=[
2323
'requests',
2424
'pydantic>=2,<3',

0 commit comments

Comments
 (0)