Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 27, 2023
1 parent 6b3fe5e commit 917ef2e
Show file tree
Hide file tree
Showing 10 changed files with 74 additions and 89 deletions.
10 changes: 0 additions & 10 deletions .changeset/chilly-donuts-fetch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/four-donuts-doubt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/khaki-suns-boil.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lovely-parents-ring.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/perfect-grapes-fold.md

This file was deleted.

47 changes: 0 additions & 47 deletions .changeset/rare-laws-sing.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/serious-cats-brake.md

This file was deleted.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 72 additions & 0 deletions packages/wrangler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,77 @@
# wrangler

## 2.9.0

### Minor Changes

- [#2629](https://github.com/cloudflare/wrangler2/pull/2629) [`151733e5`](https://github.com/cloudflare/wrangler2/commit/151733e5d98e95f363b548f9959c2baf418eb7b5) Thanks [@mrbbot](https://github.com/mrbbot)! - Prefer the `workerd` `exports` condition when bundling.

This can be used to build isomorphic libraries that have different implementations depending on the JavaScript runtime they're running in.
When bundling, Wrangler will try to load the [`workerd` key](https://runtime-keys.proposal.wintercg.org/#workerd).
This is the [standard key](https://runtime-keys.proposal.wintercg.org/#workerd) for the Cloudflare Workers runtime.
Learn more about the [conditional `exports` field here](https://nodejs.org/api/packages.html#conditional-exports).

### Patch Changes

- [#2409](https://github.com/cloudflare/wrangler2/pull/2409) [`89d78c0a`](https://github.com/cloudflare/wrangler2/commit/89d78c0ac444885298ac052b0b3de23b69fb029b) Thanks [@penalosa](https://github.com/penalosa)! - Wrangler now supports an `--experimental-json-config` flag which will read your configuration from a `wrangler.json` file, rather than `wrangler.toml`. The format of this file is exactly the same as the `wrangler.toml` configuration file, except that the syntax is `JSONC` (JSON with comments) rather than `TOML`. This is experimental, and is not recommended for production use.

* [#2623](https://github.com/cloudflare/wrangler2/pull/2623) [`04d8a312`](https://github.com/cloudflare/wrangler2/commit/04d8a3124fbcf20049b39a96654d7f3c850c032b) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix d1 directory not being created when running the `wrangler d1 execute` command with the `--yes`/`-y` flag

- [#2608](https://github.com/cloudflare/wrangler2/pull/2608) [`70daffeb`](https://github.com/cloudflare/wrangler2/commit/70daffebab4788322769350ab714959e3254c3b4) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix: Add support for D1 databases when bundling an `_worker.js` on `wrangler pages publish`

* [#2597](https://github.com/cloudflare/wrangler2/pull/2597) [`416babf0`](https://github.com/cloudflare/wrangler2/commit/416babf050ed3608e0fd747111561a4c7207185e) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: do not crash in wrangler dev when passing a request object to fetch

This reverts and fixes the changes in https://github.com/cloudflare/wrangler2/pull/1769
which does not support creating requests from requests whose bodies have already been consumed.

Fixes #2562

- [#2622](https://github.com/cloudflare/wrangler2/pull/2622) [`9778b33e`](https://github.com/cloudflare/wrangler2/commit/9778b33eb27f721fb743a970fb1520782ab0d573) Thanks [@rozenmd](https://github.com/rozenmd)! - fix: implement `d1 list --json` with clean output for piping into other commands

Before:

```bash
rozenmd@cflaptop test % npx wrangler d1 list
--------------------
🚧 D1 is currently in open alpha and is not recommended for production data and traffic
🚧 Please report any bugs to https://github.com/cloudflare/wrangler2/issues/new/choose
🚧 To request features, visit https://community.cloudflare.com/c/developers/d1
🚧 To give feedback, visit https://discord.gg/cloudflaredev
--------------------

┌──────────────────────────────┬─────────────────┐
│ uuid │ name │
├──────────────────────────────┼─────────────────┤
│ xxxxxx-xxxx-xxxx-xxxx-xxxxxx │ test
├──────────────────────────────┼─────────────────┤
│ xxxxxx-xxxx-xxxx-xxxx-xxxxxx │ test2 │
├──────────────────────────────┼─────────────────┤
│ xxxxxx-xxxx-xxxx-xxxx-xxxxxx │ test3 │
└──────────────────────────────┴─────────────────┘
```

After:

```bash
rozenmd@cflaptop test % npx wrangler d1 list --json
[
{
"uuid": "xxxxxx-xxxx-xxxx-xxxx-xxxxxx",
"name": "test"
},
{
"uuid": "xxxxxx-xxxx-xxxx-xxxx-xxxxxx",
"name": "test2"
},
{
"uuid": "xxxxxx-xxxx-xxxx-xxxx-xxxxxx",
"name": "test3"
},
]
```

* [#2631](https://github.com/cloudflare/wrangler2/pull/2631) [`6b3fe5ef`](https://github.com/cloudflare/wrangler2/commit/6b3fe5efc68c7a7afcd6666158a24d45033dd3db) Thanks [@thibmeu](https://github.com/thibmeu)! - Fix `wrangler publish --dry-run` to not require authentication when using Queues

## 2.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/wrangler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wrangler",
"version": "2.8.1",
"version": "2.9.0",
"description": "Command-line interface for all things Cloudflare Workers",
"keywords": [
"wrangler",
Expand Down

0 comments on commit 917ef2e

Please sign in to comment.