Skip to content

Commit 5dd4341

Browse files
Update to latest release.
1 parent 4879def commit 5dd4341

26 files changed

+140
-133
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
DENO_VERSION="v1.27.1"
3-
DENOFLARE_VERSION="v0.5.10"
2+
DENO_VERSION="v1.28.2"
3+
DENOFLARE_VERSION="v0.5.11"
44
curl -fsSL https://deno.land/x/install/install.sh | DENO_INSTALL=./deno-$DENO_VERSION sh -s $DENO_VERSION
55
NO_COLOR=1 DENO_VERSION=$DENO_VERSION DENOFLARE_VERSION=${DENOFLARE_VERSION} ./deno-$DENO_VERSION/bin/deno run --unstable --allow-all https://raw.githubusercontent.com/skymethod/denoflare/$DENOFLARE_VERSION/cli/cli.ts site generate . ./output --verbose

cli/analytics/durable-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Dump durable objects stats via the Cloudflare GraphQL Analytics API
1111
## --help
1212
```
1313
$ denoflare analytics durable-objects --help
14-
denoflare-analytics-durable-objects 0.5.10
14+
denoflare-analytics-durable-objects 0.5.11
1515
1616
Dump durable objects stats via the Cloudflare GraphQL Analytics API
1717

cli/analytics/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Dump stats via the Cloudflare GraphQL Analytics API
1010
## --help
1111
```
1212
$ denoflare analytics --help
13-
denoflare-analytics 0.5.10
13+
denoflare-analytics 0.5.11
1414
1515
Dump stats via the Cloudflare GraphQL Analytics API
1616

cli/analytics/r2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Dump R2 stats via the Cloudflare GraphQL Analytics API
1111
## --help
1212
```
1313
$ denoflare analytics r2 --help
14-
denoflare-analytics-r2 0.5.10
14+
denoflare-analytics-r2 0.5.11
1515
1616
Dump R2 stats via the Cloudflare GraphQL Analytics API
1717

cli/cfapi.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Call the Cloudflare REST API
1010
## --help
1111
```
1212
$ denoflare cfapi --help
13-
denoflare-cfapi 0.5.10
13+
denoflare-cfapi 0.5.11
1414
1515
Call the Cloudflare REST API
1616
@@ -61,6 +61,10 @@ SUBCOMMANDS:
6161
revoke-pubsub-credentials Revoke credentials for a Pub/Sub broker
6262
list-pubsub-revocations List revocations for a Pub/Sub broker
6363
delete-pubsub-revocations Delete revocations for a Pub/Sub broker
64+
65+
create-logpush-job Create a Logpush job
66+
update-logpush-job Update a Logpush job
67+
delete-logpush-job Delete a Logpush job
6468
6569
For subcommand-specific help: denoflare cfapi <subcommand> --help
6670
```

cli/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ There are two ways to use the Denoflare CLI with a configuration file:
2424
// This jsonc file supports comments and trailing commas!
2525

2626
// Optional schema to get auto-completions when editing this file in vscode, etc
27-
"$schema": "https://raw.githubusercontent.com/skymethod/denoflare/v0.5.10/common/config.schema.json",
27+
"$schema": "https://raw.githubusercontent.com/skymethod/denoflare/v0.5.11/common/config.schema.json",
2828

2929
// Define script configurations by name, and their associated bindings and options.
3030
// You can then simply refer to them by name in your denoflare commands.

cli/d1.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Manage and query your Cloudflare D1 databases
1010
## --help
1111
```
1212
$ denoflare d1 --help
13-
denoflare-d1 0.5.10
13+
denoflare-d1 0.5.11
1414
1515
Manage and query your Cloudflare D1 databases
1616
@@ -40,7 +40,7 @@ For subcommand-specific help: denoflare d1 <subcommand> --help
4040
## list
4141
```
4242
$ denoflare d1 list --help
43-
denoflare-d1-list 0.5.10
43+
denoflare-d1-list 0.5.11
4444
4545
List databases
4646
@@ -60,7 +60,7 @@ OPTIONS:
6060
## drop
6161
```
6262
$ denoflare d1 drop --help
63-
denoflare-d1-drop 0.5.10
63+
denoflare-d1-drop 0.5.11
6464
6565
Drop a database
6666
@@ -83,7 +83,7 @@ OPTIONS:
8383
## create
8484
```
8585
$ denoflare d1 create --help
86-
denoflare-d1-create 0.5.10
86+
denoflare-d1-create 0.5.11
8787
8888
Create a database
8989
@@ -106,7 +106,7 @@ OPTIONS:
106106
## query
107107
```
108108
$ denoflare d1 query --help
109-
denoflare-d1-query 0.5.10
109+
denoflare-d1-query 0.5.11
110110
111111
Query a database
112112
@@ -138,7 +138,7 @@ OPTIONS:
138138
## backup
139139
```
140140
$ denoflare d1 backup --help
141-
denoflare-d1-backup 0.5.10
141+
denoflare-d1-backup 0.5.11
142142
143143
Backup a database
144144
@@ -161,7 +161,7 @@ OPTIONS:
161161
## restore
162162
```
163163
$ denoflare d1 restore --help
164-
denoflare-d1-restore 0.5.10
164+
denoflare-d1-restore 0.5.11
165165
166166
Restore a database from a previous backup
167167
@@ -186,7 +186,7 @@ OPTIONS:
186186
## download
187187
```
188188
$ denoflare d1 download --help
189-
denoflare-d1-download 0.5.10
189+
denoflare-d1-download 0.5.11
190190
191191
Download a database as a sqlite3 db file
192192
@@ -221,7 +221,7 @@ Saved to /Users/me/path/to/cwd/my-database.db
221221
## list-backups
222222
```
223223
$ denoflare d1 list-backups --help
224-
denoflare-d1-list-backups 0.5.10
224+
denoflare-d1-list-backups 0.5.11
225225
226226
List all backups for a database
227227

cli/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Install `denoflare` via standard [deno install](https://deno.land/manual@v1.27.1
1616

1717
```
1818
deno install --unstable --allow-read --allow-net --allow-env --allow-run --name denoflare --force \
19-
https://raw.githubusercontent.com/skymethod/denoflare/v0.5.10/cli/cli.ts
19+
https://raw.githubusercontent.com/skymethod/denoflare/v0.5.11/cli/cli.ts
2020
```
2121

2222
<details>
@@ -30,7 +30,7 @@ This allows you to create multiple aliases with different permissions.
3030
# in ~/.bash_profile
3131
function denoflare {
3232
deno run --unstable --allow-read --allow-net --allow-env --allow-run \
33-
https://raw.githubusercontent.com/skymethod/denoflare/v0.5.10/cli/cli.ts "$@"
33+
https://raw.githubusercontent.com/skymethod/denoflare/v0.5.11/cli/cli.ts "$@"
3434
}
3535
```
3636

@@ -40,7 +40,7 @@ e.g. instead of `denoflare serve x`
4040

4141
```
4242
deno run --unstable --allow-read --allow-net --allow-env --allow-run \
43-
https://raw.githubusercontent.com/skymethod/denoflare/v0.5.10/cli/cli.ts serve x
43+
https://raw.githubusercontent.com/skymethod/denoflare/v0.5.11/cli/cli.ts serve x
4444
```
4545

4646
</div>
@@ -65,7 +65,7 @@ Each subcommand below also links to its own dedicated help page, if available.
6565

6666
```
6767
$ denoflare --help
68-
denoflare 0.5.10
68+
denoflare 0.5.11
6969
7070
USAGE:
7171
denoflare <command> <args> <options>

cli/pubsub.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Interact with your [Cloudflare Pub/Sub](https://developers.cloudflare.com/pub-su
1010
## --help
1111
```
1212
$ denoflare pubsub --help
13-
denoflare-pubsub 0.5.10
13+
denoflare-pubsub 0.5.11
1414
1515
Interact with your Cloudflare Pub/Sub broker
1616
@@ -28,7 +28,7 @@ For subcommand-specific help: denoflare pubsub <subcommand> --help
2828
## publish
2929
```
3030
$ denoflare pubsub publish --help
31-
denoflare-pubsub-publish 0.5.10
31+
denoflare-pubsub-publish 0.5.11
3232
3333
Publish a message to a Pub/Sub broker
3434
@@ -62,7 +62,7 @@ OPTIONS:
6262
## subscribe
6363
```
6464
$ denoflare pubsub subscribe --help
65-
denoflare-pubsub-subscribe 0.5.10
65+
denoflare-pubsub-subscribe 0.5.11
6666
6767
Subscribe to a Pub/Sub broker
6868
@@ -92,7 +92,7 @@ OPTIONS:
9292
## jwt
9393
```
9494
$ denoflare pubsub jwt --help
95-
denoflare-pubsub-jwt 0.5.10
95+
denoflare-pubsub-jwt 0.5.11
9696
9797
Parse a JWT token, and output its claims
9898

cli/push.md

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -20,43 +20,45 @@ Learn how to use `denoflare push` in the [Publish a Worker Guide](/guides/push).
2020

2121
```
2222
$ denoflare push --help
23-
denoflare-push 0.5.10
23+
denoflare-push 0.5.11
2424
2525
Upload a Cloudflare worker script to Cloudflare
2626
2727
USAGE:
2828
denoflare push <script-spec> [OPTIONS]
2929
3030
ARGS:
31-
<script-spec> Name of script defined in .denoflare config, file path to bundled js worker, or an https url to a module-based worker .ts, e.g. https://path/to/worker.ts
31+
<script-spec> Name of script defined in .denoflare config, file path to bundled js worker, or an https url to a module-based worker .ts, e.g. https://path/to/worker.ts
3232
3333
OPTIONS:
34-
--name <string> Name to use for Cloudflare Worker script [default: Name of script defined in .denoflare config, or https url basename sans extension]
35-
--watch If set, watch the local file system and automatically re-upload on script changes
36-
--watch-include <path>... If watching, watch this additional path as well (e.g. for dynamically-imported static resources)
37-
--custom-domain <domain-or-subdomain-name>... Bind worker to one or more Custom Domains for Workers
38-
--workers-dev Enable or disable the worker workers.dev route
39-
--delete-class <class-name>... Delete an obsolete Durable Object (and all data!) by class name as part of the update
40-
41-
--text-binding <name:plain-text>... Plain text environment variable binding, overrides config
42-
--secret-binding <name:secret-text>... Secret text environment variable binding, overrides config
43-
--kv-namespace-binding <name:namespace-id>... KV namespace environment variable binding, overrides config
44-
--do-namespace-binding <name:namespace-name:class-name>... DO namespace environment variable binding, overrides config
45-
--wasm-module-binding <name:path-to-local-wasm-file>... Wasm module environment variable binding, overrides config
46-
--service-binding <name:service:environment>... Service environment variable binding, overrides config
47-
--r2-bucket-binding <name:bucket-name>... R2 bucket environment variable binding, overrides config
48-
--ae-dataset-binding <name:dataset-name>... Analytics Engine dataset environment variable binding, overrides config
49-
--queue-binding <name:queue-name>... Queue environment variable binding, overrides config
50-
51-
--config <path> Path to config file (default: .denoflare in cwd or parents)
52-
--profile <name> Explicit profile to use from config file
53-
--account-id <string> Explicit Cloudflare account id to use for authentication
54-
--api-token <string> Explicit Cloudflare API token to use for authentication
55-
56-
--bundle <name=value>... Advanced options used when emitting javascript bundles: backend=(process|module), check=(all|local|none)
57-
58-
--help Print help information
59-
--verbose Toggle verbose output (when applicable)
34+
--name <string> Name to use for Cloudflare Worker script [default: Name of script defined in .denoflare config, or https url basename sans extension]
35+
--watch If set, watch the local file system and automatically re-upload on script changes
36+
--watch-include <path>... If watching, watch this additional path as well (e.g. for dynamically-imported static resources)
37+
--custom-domain <domain-or-subdomain-name>... Bind worker to one or more Custom Domains for Workers
38+
--workers-dev Enable or disable the worker workers.dev route
39+
--logpush Enable or disable logpush for the worker
40+
--delete-class <class-name>... Delete an obsolete Durable Object (and all data!) by class name as part of the update
41+
42+
--text-binding <name:plain-text>... Plain text environment variable binding, overrides config
43+
--secret-binding <name:secret-text>... Secret text environment variable binding, overrides config
44+
--kv-namespace-binding <name:namespace-id>... KV namespace environment variable binding, overrides config
45+
--do-namespace-binding <name:namespace-name:class-name>... DO namespace environment variable binding, overrides config
46+
--wasm-module-binding <name:path-to-local-wasm-file>... Wasm module environment variable binding, overrides config
47+
--service-binding <name:service:environment>... Service environment variable binding, overrides config
48+
--r2-bucket-binding <name:bucket-name>... R2 bucket environment variable binding, overrides config
49+
--ae-dataset-binding <name:dataset-name>... Analytics Engine dataset environment variable binding, overrides config
50+
--queue-binding <name:queue-name>... Queue environment variable binding, overrides config
51+
--secret-key-binding <name:{"algorithm":{"name":"HMAC"...>... Secret key environment variable binding, overrides config
52+
53+
--config <path> Path to config file (default: .denoflare in cwd or parents)
54+
--profile <name> Explicit profile to use from config file
55+
--account-id <string> Explicit Cloudflare account id to use for authentication
56+
--api-token <string> Explicit Cloudflare API token to use for authentication
57+
58+
--bundle <name=value>... Advanced options used when emitting javascript bundles: backend=(process|module), check=(all|local|none)
59+
60+
--help Print help information
61+
--verbose Toggle verbose output (when applicable)
6062
```
6163

6264

0 commit comments

Comments
 (0)