Skip to content

Commit 6900d74

Browse files
feat: SDK update for version 23.1.0 (#343)
* feat: support for 0.13.0 * chore: update Command Line SDK to 23.0.0 * chore: update Command Line SDK to 23.0.0 * chore: update Command Line SDK to 23.0.0 * chore: update Command Line SDK to 23.1.0 * chore: update Command Line SDK to 23.1.0 * chore: update Command Line SDK to 23.1.0 --------- Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
1 parent 8c29fb0 commit 6900d74

68 files changed

Lines changed: 835 additions & 200 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2929

3030
- name: Setup Node.js
31-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
31+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3232
with:
3333
node-version: "20"
3434

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
WINDOWS_SIGNING_POLICY_SLUG: ${{ vars.WINDOWS_SIGNING_POLICY_SLUG || 'release-signing' }}
2424
WINDOWS_SIGNING_ARTIFACT_CONFIGURATION_SLUG: ${{ vars.WINDOWS_SIGNING_ARTIFACT_CONFIGURATION_SLUG || 'initial' }}
2525
steps:
26-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2727
with:
2828
token: ${{ secrets.GH_TOKEN }}
2929
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
@@ -67,7 +67,7 @@ jobs:
6767
6868
- name: Upload unsigned Windows binaries
6969
id: upload-windows-unsigned
70-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
70+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7171
with:
7272
name: windows-unsigned
7373
path: |
@@ -125,7 +125,7 @@ jobs:
125125
verify_signature build/appwrite-cli-win-arm64.exe
126126
127127
- name: Setup Node.js
128-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
128+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
129129
with:
130130
node-version: '24.14.1'
131131
registry-url: 'https://registry.npmjs.org'
@@ -148,14 +148,14 @@ jobs:
148148
- name: Publish
149149
run: npm publish --provenance --access public --tag ${{ steps.release_tag.outputs.tag }}
150150

151-
- uses: fnkr/github-action-ghr@2fcb5ab637a49c14f4b3e7d81d0389d059171d35 # v1
151+
- uses: fnkr/github-action-ghr@96b1448dc6162f370067e1de51e856e733a76b4f # v1.3
152152
env:
153153
GHR_PATH: build/
154154
GHR_REPLACE: false
155155
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
156156

157157
- name: Check out Homebrew tap
158-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
158+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
159159
with:
160160
repository: ${{ env.HOMEBREW_TAP_REPO }}
161161
token: ${{ secrets.HOMEBREW_TAP_GH_TOKEN }}

CHANGELOG.md

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

3+
## 23.1.0
4+
5+
* Added: `apps` service commands for managing OAuth2 applications, keys, secrets, and installations
6+
* Added: `organization` app installation commands: `list-installations`, `create-installation`, `get-installation`, `update-installation`, `delete-installation`
7+
* Added: `teams` app installation commands: `list-installations`, `create-installation`, `get-installation`, `update-installation`, `delete-installation`
8+
* Added: `--installation-access-token-duration` option to `project update-o-auth2-server`
9+
310
## 23.0.0
411

512
* Breaking: removed `projects` service commands

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-
23.0.0
32+
23.1.0
3333
```
3434

3535
### Install using prebuilt binaries
@@ -83,7 +83,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
8383
Once the installation completes, you can verify your install using
8484
```
8585
$ appwrite -v
86-
23.0.0
86+
23.1.0
8787
```
8888

8989
## Getting Started

bun.lock

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

cli.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ import { generate } from './lib/commands/generate.js';
3636

3737
import { account } from './lib/commands/services/account.js';
3838
import { activities } from './lib/commands/services/activities.js';
39+
import { apps } from './lib/commands/services/apps.js';
3940
import { backups } from './lib/commands/services/backups.js';
4041
import { databases } from './lib/commands/services/databases.js';
4142
import { functions } from './lib/commands/services/functions.js';
@@ -208,6 +209,7 @@ if (process.argv.includes('-v') || process.argv.includes('--version')) {
208209
.addCommand(logout)
209210
.addCommand(account)
210211
.addCommand(activities)
212+
.addCommand(apps)
211213
.addCommand(backups)
212214
.addCommand(databases)
213215
.addCommand(functions)

docs/examples/apps/create-key.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
```bash
2+
appwrite apps create-key \
3+
--app-id <APP_ID>
4+
```
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
```bash
2+
appwrite apps create-secret \
3+
--app-id <APP_ID>
4+
```

docs/examples/apps/create.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
```bash
2+
appwrite apps create \
3+
--app-id <APP_ID> \
4+
--name <NAME> \
5+
--redirect-uris one two three
6+
```

docs/examples/apps/delete-key.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
```bash
2+
appwrite apps delete-key \
3+
--app-id <APP_ID> \
4+
--key-id <KEY_ID>
5+
```

0 commit comments

Comments
 (0)