Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# # Change Log

## 0.7.1
## 0.9.0

* Add `incrementDocumentAttribute` and `decrementDocumentAttribute` support to `Databases` service
* Add `upsertDocument` support to `Databases` service
* Update doc examples to use correct syntax

## 0.7.0
## 0.8.0

* Add `<REGION>` to doc examples due to the new multi region endpoints
* Add doc examples and methods for bulk api transactions: `createDocuments`, `deleteDocuments` etc.
Expand All @@ -18,6 +18,10 @@
* Add `queries` and `search` params to `listMemberships` method
* Remove `search` param from `listExecutions` method

## 0.7.0

* Version skipped

## 0.6.0

* Add bulk API methods: `createDocuments`, `deleteDocuments` etc.
Expand All @@ -26,6 +30,14 @@

* Fix requests failing by removing `Content-Type` header from `GET` and `HEAD` requests

## 0.4.0

* Fix pong response and chunked upload

## 0.3.0

* Add new push message parameters


## 0.7.1
## 0.9.0

4 changes: 2 additions & 2 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ type Client struct {
func New(optionalSetters ...ClientOption) Client {
headers := map[string]string{
"X-Appwrite-Response-Format" : "1.7.0",
"user-agent" : fmt.Sprintf("AppwriteGoSDK/0.7.1 (%s; %s)", runtime.GOOS, runtime.GOARCH),
"user-agent" : fmt.Sprintf("AppwriteGoSDK/0.9.0 (%s; %s)", runtime.GOOS, runtime.GOARCH),
"x-sdk-name": "Go",
"x-sdk-platform": "server",
"x-sdk-language": "go",
"x-sdk-version": "0.7.1",
"x-sdk-version": "0.9.0",
}
httpClient, err := GetDefaultClient(defaultTimeout)
if err != nil {
Expand Down