Skip to content

Releases: skymethod/denoflare

v0.7.0

19 Apr 17:37

Choose a tag to compare

v0.7.0 Pre-release
Pre-release

Installation

Follow the installation instructions on our docs page: https://denoflare.dev/cli

Denoflare is now compatible with Deno 2 🦕🦕

Under the hood, it uses esbuild + esbuild-deno-loader on Deno 2.x and deno bundle on Deno 1.x.

Notable changes and new features

  • cfapi: New get-script-settings subcommand.
  • deploy: Split out dash vs rest api.
  • deploy: More read-only deploy rest api calls.
  • cfapi: run-ai-model text-to-image.
  • push: New version-tag option to push version instead. Api for updating allocations.
  • tail: Update for email/overload events.
  • examples: Update webtail with new events.
  • push: Rewrite cloudflare:email to local stub. types: EmailMessage.
  • push: Add send-email bindings and config.
  • types: Hibernatable WebSockets api.
  • types: Split off DO-specific ws extensions.
  • tail: Support found getWebSocketEvent.
  • serve: Make .statusText available in DenoflareResponse and over rpc.
  • cfapi: New ai-related subcommands.
  • cfapi: list-zone-rulesets and create-custom-error-response.
  • site: Migrate to Deno.serve.
  • serve: Migrate to Deno.serve.
  • common: Bytes.formatSize now handles gb.
  • cfapi: New queues-related subcommands.
  • tail: Handle new scriptVersion property in payload.
  • push: New ratelimit binding.
  • types: Ratelimiter runtime interface.
  • push: Command-line arg for ratelimit binding.
  • push-lambda: Better error msg for no zip.
  • cfapi: Query KV request/storage analytics.
  • serve: Support requests with FormData over rpc.
  • bundle: New bundle backend using esbuild, supporting params wasm vs native, and for module version.
  • cli: New d1-related subcommands for data import/export and time-travel.
  • serve: Sqlite-based d1 backend. Only pay for imports if actually used.
  • tail: Handle new truncated property.
  • tail: Handle new exception stack property.
  • push: Observability.
  • cfapi: r2 sse options for get-object/put-object.
  • cli: d1 clear (drop all objects).
  • push: Support for sqlite-backed DOs.
  • serve: Support for sqlite-backed DOs in local development.
  • serve: Default to esbuild bundle on deno2.
  • push-lambda: Use official deno arm zips for layers when they exist.
  • tail: Support new executionModel prop.
  • cfapi: R2 event notification rule management.
  • cfapi: Pipelines.
  • serve: Support file:// urls for scripts.
  • serve: Allow sqlite inside worker isolate, only if dosql binding exists.
  • deploy: Expose upgradeWebSocket on deno deploy.
  • r2: Add signAwsCallV2.
  • bundle: Implement support for importText/etc with esbuild backend.
  • push: New cpu-limit flag and cpuLimit script config to set max-cpu millis.
  • tail: Handle cpu/wallTime keys. examples: Update webtail.
  • examples: Retest all examples on Deno2.

v0.6.0

22 Jan 19:11

Choose a tag to compare

v0.6.0 Pre-release
Pre-release
  • push-deploy: deploy worker to Deno Deploy
  • push-lambda: deploy worker to AWS Lambda + public function url
  • push-supabase: deploy worker to Supabase Edge Functions
  • examples: New multiplat worker example, same code deployed to all four supported platforms
  • supabase: Management API and eszip helpers
  • deno: Update to [email protected]
  • aws: SES-based emailer
  • d1: new denoflare d1 subcommand
  • cfapi: list-ai-models and run-ai-model
  • cfapi: Hyperdrive commands (and bindings)
  • examples: New keyspace example
  • deno: Migrate to non-deprecated asserts
  • deploy: Deno Deploy API + KV runtime bindings
  • cfapi: Get account details
  • config: Look for the new CLOUDFLARE_ACCOUNT_ID/CLOUDFLARE_API_TOKEN as well as the old vars
  • r2: Async iter over list-objects-v2. Handle ContinuationToken in response
  • cli: New denoflare ae-proxy subcommand (a proxy endpoint to Analytics Engine more compatible with Clickhouse Grafana plugins)
  • serve: Basic tcp socket support in local isolation
  • config: Add browser binding to support the new Browser Rendering beta.

Installation

Follow the installation instructions on our docs page: https://denoflare.dev/cli

v0.5.12

11 Jun 23:53

Choose a tag to compare

v0.5.12 Pre-release
Pre-release
  • serve: Bare ip address https workaround not needed as of 1.33.4.
  • config: Env var substitution in config binding and profile property resolution using ${env:VAR_NAME}
  • cfapi: list-kv-namespaces and list-keys.
  • deno: Update to latest [email protected].
  • deno: Event loop workaround in rpc fetch bodies to fix #56.
  • bundle: Unparsed bundle error output now returned as an error diagnostic.
  • serve: Implement KV put, list, delete when running locally (thanks to @thebergamo!)
  • push: Fix file import on Windows (thanks to @FaeyUmbrea!)
  • serve: KV get type text.
  • serve: Use profile from script config, if present.
  • types: Add queue.sendBatch.
  • types: Add new DO locationHint param.
  • xml: Expose xml validation.
  • tail: Support queue & alarm events properly.
  • serve: Add new --local-isolation option.
  • config: .denoflare config schema: Allow Trailing Commas (thanks to @JustinGrote!)
  • push: Optional compatibilityFlags option and script-level config property.

Installation

Follow the installation instructions on our docs page: https://denoflare.dev/cli

v0.5.11

29 Nov 17:56

Choose a tag to compare

v0.5.11 Pre-release
Pre-release
  • deno: Update spawn to use new Deno.Command on 1.28+.
  • config: Add serviceEnvironment to json schema and validation for configuring service bindings in config.
  • push: Add support for secret key (CryptoKey) worker env variables (found here).
  • serve: Add support for crypto key bindings.
  • cfapi: list-worker-deployments and get-worker-service-metadata.
  • xml: Ability to specify additional named entities when parsing xml.
  • serve: Start in-memory R2 bucket implementation. Syntax = local:memory:bucketName.
  • serve: Improve external fetch support for non-Request init with bodies.
  • r2: Support new r2 multipart upload worker bindings.
  • serve: Support these new r2 multipart upload worker bindings in local implementations.
  • cfapi: create/update/delete-logpush-job for configuring Workers Trace Events Logpush.
  • push: New logpush command-line flag and script config option to enable logpush for the given worker.

Installation

Follow the installation instructions on our docs page: https://denoflare.dev/cli

v0.5.10

05 Nov 20:50

Choose a tag to compare

v0.5.10 Pre-release
Pre-release
  • presigned-url: Example worker now supports custom domains.
  • cli: r2 presign supports custom domains and keypairs.
  • push/serve: Fix regression when there is no script-level profile configured.
  • cfapi: New list-user-billing-history subcommand.
  • deno: Update to [email protected], corresponds to latest Deno v1.27.1.
  • cleanup: Remove js-based md5, obsolete in Deno std (implemented in wasm crypto lib) and unused in Denoflare.
  • r2: Bucket binding now supports list startAfter.
  • types: Add DurableObjectStorage.sync().
  • types: R2Bucket.delete(multiple keys), put options onlyIf, R2Object.checksums, and new hashes.
  • push: Initial Queues support, bindings, config, and types.
  • cfapi: Queues management apis.
  • types: Migrate to a copy of IncomingRequestCfProperties from workers-types with minimal tweaks.
  • types: D1 bindings and local no-op stub.
  • types: KVNamespace.get should support no opts (defaults to text).

Installation

Follow the installation instructions on our docs page: https://denoflare.dev/cli

v0.5.9

07 Oct 17:12

Choose a tag to compare

v0.5.9 Pre-release
Pre-release
  • deno: Fix DedicatedWorkerGlobalScope caches error when running on Deno 1.26+.
  • deno: Update to latest [email protected], corresponding to Deno 1.26.1.
  • push: Actually use script-level profile in config, if present.
  • types: Update AE binding to match production.
  • serve: Update local r2-over-api bucket impl to latest etag requirements.
  • public-read: Workaround for R2 S3 api no longer returning content-length in getObject.

Installation

Follow the installation instructions on our docs page: https://denoflare.dev/cli

v0.5.8

15 Sep 20:50

Choose a tag to compare

v0.5.8 Pre-release
Pre-release
  • bundle: Workaround removal of Deno.Diagnostic in unstable Deno 1.25.
  • watch: Handle file url entry paths.
  • types: Add DurableObjectStorage.startAfter, recently added to production runtime, implement in local DO versions.
  • serve: DO alarms, in-memory only.
  • serve: Implement DurableObjectStorage.list prefix and other options in local web storage DOs.
  • push: Command-line option for Analytics Engine bindings.
  • push: Script module import rewriter should allow '../ to start relative paths.

Installation

Follow the installation instructions on our docs page: https://denoflare.dev/cli

v0.5.7

17 Aug 17:41

Choose a tag to compare

v0.5.7 Pre-release
Pre-release
  • public-read: Allow range computation for HEAD requests as well. (See #24)
  • cli: cfapi get-bucket-usage-summary.
  • analytics: Update known r2 class a and b operations.

Installation

Follow the installation instructions on our docs page: https://denoflare.dev/cli

v0.5.6

23 Jul 22:25

Choose a tag to compare

v0.5.6 Pre-release
Pre-release
  • compat: New spawn helper to paper over breaking result type changes to unstable Deno.spawn in Deno 1.24. denoflare should now support running even with --check on Deno 1.23 and Deno 1.24.

Installation

Follow the installation instructions on our docs page: https://denoflare.dev/cli

v0.5.5

23 Jul 21:43

Choose a tag to compare

v0.5.5 Pre-release
Pre-release
  • public-read: Bring back etag quote stripping to fix conditional requests.
  • r2: Remove xmlns expectation for Error responses to follow recent R2 production change.
  • serve: Fix permissionless webworker build with latest Deno lib decls, remove dep to localStorage.
  • public-read: New optional allowCorsOrigins and allowCorsTypes environment variable bindings to configure CORS.

Installation

Follow the installation instructions on our docs page: https://denoflare.dev/cli