Skip to content

Commit b9fe809

Browse files
authored
Merge pull request #325 from appwrite/dev
feat: SDK update for version 22.1.0
2 parents 448f4bc + 71e6fdb commit b9fe809

56 files changed

Lines changed: 1878 additions & 1310 deletions

Some content is hidden

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

CHANGELOG.md

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

3+
## 22.1.0
4+
5+
* Fixed: `organization get-invoice-download` and `get-invoice-view` now save the invoice to disk via `--destination`
6+
* Fixed: File download commands now report a clear error when the download request fails
7+
* Added: `oauth2` command group (`authorize`, `create-token`, `create-grant`, `get-grant`, `approve`, `reject`, `revoke`, `logout`, `create-device-authorization`)
8+
* Added: `messaging create-ses-provider` and `update-ses-provider` commands for Amazon SES
9+
* Added: `project update-o-auth-2-server` command to configure the OIDC provider
10+
* Added: `project update-deny-corporate-email-policy` command
11+
* Added: `project update-password-strength-policy` command
12+
* Added: `--dedicated-database-id` option to `tables-db create`
13+
* Updated: Bumped `@appwrite.io/console` dependency to `^15.0.0`
14+
315
## 22.0.0
416

517
* Breaking: Renamed `project update-deny-canonical-email-policy` to `update-deny-aliased-email-policy`

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-
22.0.0
32+
22.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-
22.0.0
86+
22.1.0
8787
```
8888

8989
## Getting Started

bun.lock

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

bunfig.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ minimumReleaseAge = 604800 # 7d
66
# Exempt `tmp` from the release-age policy so the security fix for
77
# GHSA-ph9p-34f9-6g65 (landed in tmp@0.2.6) can be installed before the
88
# 7d window elapses. Remove this entry once 0.2.6+ ages out.
9-
minimumReleaseAgeExcludes = ["tmp"]
9+
# `@appwrite.io/console` is Appwrite's first-party SDK, released in lockstep
10+
# with this CLI, so it is exempt from the third-party release-age window.
11+
minimumReleaseAgeExcludes = ["tmp", "@appwrite.io/console"]

cli.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ import { health } from './lib/commands/services/health.js';
4444
import { locale } from './lib/commands/services/locale.js';
4545
import { messaging } from './lib/commands/services/messaging.js';
4646
import { migrations } from './lib/commands/services/migrations.js';
47+
import { oauth2 } from './lib/commands/services/oauth-2.js';
4748
import { organization } from './lib/commands/services/organization.js';
4849
import { organizations } from './lib/commands/services/organizations.js';
4950
import { presences } from './lib/commands/services/presences.js';
@@ -216,6 +217,7 @@ if (process.argv.includes('-v') || process.argv.includes('--version')) {
216217
.addCommand(locale)
217218
.addCommand(messaging)
218219
.addCommand(migrations)
220+
.addCommand(oauth2)
219221
.addCommand(organization)
220222
.addCommand(organizations)
221223
.addCommand(presences)

docs/examples/account/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
appwrite account create \
33
--user-id <USER_ID> \
44
--email email@example.com \
5-
--password ''
5+
--password password
66
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
```bash
22
appwrite account update-password \
3-
--password ''
3+
--password password
44
```

docs/examples/account/update-recovery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
appwrite account update-recovery \
33
--user-id <USER_ID> \
44
--secret <SECRET> \
5-
--password ''
5+
--password password
66
```
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
```bash
2+
appwrite messaging create-ses-provider \
3+
--provider-id <PROVIDER_ID> \
4+
--name <NAME>
5+
```
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
```bash
2+
appwrite messaging update-ses-provider \
3+
--provider-id <PROVIDER_ID>
4+
```

0 commit comments

Comments
 (0)