Skip to content

Commit 9253538

Browse files
authored
feat: Command Line SDK update for version 17.2.1 (#286)
* chore: update Command Line SDK to 17.2.1 * chore: update Command Line SDK to 17.2.1 * chore: update Command Line SDK to 17.2.1
1 parent 64d7279 commit 9253538

12 files changed

Lines changed: 808 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: npm pack
4444

4545
- name: Install dependencies
46-
run: bun install
46+
run: bun install --frozen-lockfile
4747

4848
- name: Build all platform binaries
4949
run: |

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
3333
- name: Install dependencies and build for Linux and Windows
3434
run: |
35-
bun install
35+
bun install --frozen-lockfile
3636
bun run linux-x64
3737
bun run linux-arm64
3838
bun run mac-x64

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
node_modules/
22
build/
33
.DS_Store
4-
bun.lock
5-
dist/
4+
dist/

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 17.2.1
4+
5+
* Fixed: Removed `bun.lock` from `.gitignore` so lockfile is tracked in version control
6+
37
## 17.2.0
48

59
* Added `--show-secrets` flag to control display of sensitive values in output

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using
2929

3030
```sh
3131
$ appwrite -v
32-
17.2.0
32+
17.2.1
3333
```
3434

3535
### Install using prebuilt binaries
@@ -60,7 +60,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
6060
Once the installation completes, you can verify your install using
6161
```
6262
$ appwrite -v
63-
17.2.0
63+
17.2.1
6464
```
6565

6666
## Getting Started

bun.lock

Lines changed: 783 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

install.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# You can use "View source" of this page to see the full script.
1414

1515
# REPO
16-
$GITHUB_x64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/17.2.0/appwrite-cli-win-x64.exe"
17-
$GITHUB_arm64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/17.2.0/appwrite-cli-win-arm64.exe"
16+
$GITHUB_x64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/17.2.1/appwrite-cli-win-x64.exe"
17+
$GITHUB_arm64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/17.2.1/appwrite-cli-win-arm64.exe"
1818

1919
$APPWRITE_BINARY_NAME = "appwrite.exe"
2020

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ printSuccess() {
9696
downloadBinary() {
9797
echo "[2/4] Downloading executable for $OS ($ARCH) ..."
9898

99-
GITHUB_LATEST_VERSION="17.2.0"
99+
GITHUB_LATEST_VERSION="17.2.1"
100100
GITHUB_FILE="appwrite-cli-${OS}-${ARCH}"
101101
GITHUB_URL="https://github.com/$GITHUB_REPOSITORY_NAME/releases/download/$GITHUB_LATEST_VERSION/$GITHUB_FILE"
102102

lib/client.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,14 @@ class Client {
156156
return this;
157157
}
158158

159+
/**
160+
* Get Headers
161+
*
162+
* Returns a copy of the current request headers, including any
163+
* authentication headers. Handle with care.
164+
*
165+
* @returns {Headers}
166+
*/
159167
getHeaders(): Headers {
160168
return { ...this.headers };
161169
}

lib/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SDK
22
export const SDK_TITLE = 'Appwrite';
33
export const SDK_TITLE_LOWER = 'appwrite';
4-
export const SDK_VERSION = '17.2.0';
4+
export const SDK_VERSION = '17.2.1';
55
export const SDK_NAME = 'Command Line';
66
export const SDK_PLATFORM = 'console';
77
export const SDK_LANGUAGE = 'cli';

0 commit comments

Comments
 (0)