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 Apr 2, 2022
1 parent adbdbf5 commit b3a8f67
Show file tree
Hide file tree
Showing 18 changed files with 81 additions and 110 deletions.
7 changes: 0 additions & 7 deletions .changeset/chilly-bears-invent.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forty-kiwis-explode.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/forty-poets-invite.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/hungry-ways-boil.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/itchy-cheetahs-sit.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/nasty-papayas-happen.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/polite-lemons-shop.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/poor-hotels-drum.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/sharp-owls-dance.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/short-cougars-approve.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/slow-pumas-sleep.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/thin-buckets-cross.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/tricky-crabs-search.md

This file was deleted.

4 changes: 2 additions & 2 deletions package-lock.json

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

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

## 0.0.24
### Patch Changes



- [#715](https://github.com/cloudflare/wrangler2/pull/715) [`9857fbf`](https://github.com/cloudflare/wrangler2/commit/9857fbf98da6073d8e8deb3764f7ad5d724924aa) Thanks [@threepointone](https://github.com/threepointone)! - feat: `jest-environment-wrangler`

A starting point for a jest environment powered by wrangler. This is just a proxy for `jest-environment-miniflare` right now, but we'll add features as we go along.
2 changes: 1 addition & 1 deletion packages/jest-environment-wrangler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jest-environment-wrangler",
"version": "0.0.23",
"version": "0.0.24",
"description": "A jest environment for Cloudflare Workers, powered by wrangler.",
"main": "dist/index.js",
"scripts": {
Expand Down
67 changes: 67 additions & 0 deletions packages/wrangler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,72 @@
# wrangler

## 0.0.25

### Patch Changes

- [#723](https://github.com/cloudflare/wrangler2/pull/723) [`7942936`](https://github.com/cloudflare/wrangler2/commit/79429367f451d53a74413fd942053c3f732fe998) Thanks [@threepointone](https://github.com/threepointone)! - fix: spread tail messages when logging

Logged messages (via console, etc) would previously be logged as an array of values. This spreads it when logging to match what is expected.

* [#699](https://github.com/cloudflare/wrangler2/pull/699) [`ea8e701`](https://github.com/cloudflare/wrangler2/commit/ea8e7015776b7ac1e15cd14d436d57403a8c5127) Thanks [@JacobMGEvans](https://github.com/JacobMGEvans)! - polish: added logout and login to helpstring message.

- [#728](https://github.com/cloudflare/wrangler2/pull/728) [`0873049`](https://github.com/cloudflare/wrangler2/commit/087304941d69b7bbabb40cfabcb553c631f1a23d) Thanks [@threepointone](https://github.com/threepointone)! - fix: only send durable object migrations when required

We had a bug where even if you'd published a script with migrations, we would still send a blank set of migrations on the next round. The api doesn't accept this, so the fix is to not do so. I also expanded test coverage for migrations.

Fixes https://github.com/cloudflare/wrangler2/issues/705

* [#695](https://github.com/cloudflare/wrangler2/pull/695) [`48fa89b`](https://github.com/cloudflare/wrangler2/commit/48fa89b86d5b76b43cfd25035e914c32778eb80e) Thanks [@caass](https://github.com/caass)! - fix: stop wrangler spamming console after login

If a user hasn't logged in and then they run a command that needs a login they'll get bounced to the login flow.
The login flow (if completed) would write their shiny new OAuth2 credentials to disk, but wouldn't reload the
in-memory state. This led to issues like #693, where even though the user was logged in on-disk, wrangler
wouldn't be aware of it.

We now update the in-memory login state each time new credentials are written to disk.

- [#734](https://github.com/cloudflare/wrangler2/pull/734) [`a1dadac`](https://github.com/cloudflare/wrangler2/commit/a1dadacbc2a994fb6cddd1cf8613a0dc3c69a49d) Thanks [@threepointone](https://github.com/threepointone)! - fix: exit dev if build fails on first run

Because of https://github.com/evanw/esbuild/issues/1037, we can't recover dev if esbuild fails on first run. The workaround is to end the process if it does so, until we have a better fix.

Reported in https://github.com/cloudflare/wrangler2/issues/731

* [#745](https://github.com/cloudflare/wrangler2/pull/745) [`6bc3e85`](https://github.com/cloudflare/wrangler2/commit/6bc3e859346dda825eb58fd684260840f70a6259) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - feat: add hotkey to clear the console in `wrangler dev`

Closes #388

- [#747](https://github.com/cloudflare/wrangler2/pull/747) [`db6b830`](https://github.com/cloudflare/wrangler2/commit/db6b830f217ce0ff7e12bbaee851688ee39d8734) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - refactor: remove `process.exit()` from the pages code

This enables simpler testing, as we do not have to spawn new child processes
to avoid the `process.exit()` from killing the jest process.

As part of the refactor, some of the `Error` classes have been moved to a
shared `errors.ts` file.

* [#726](https://github.com/cloudflare/wrangler2/pull/726) [`c4e5dc3`](https://github.com/cloudflare/wrangler2/commit/c4e5dc332e8a31ea7e6d74861597d17b446eb68f) Thanks [@threepointone](https://github.com/threepointone)! - fix: assume a worker is a module worker only if it has a `default` export

This tweaks the logic that guesses worker formats to check whether a `default` export is defined on an entry point before assuming it's a module worker.

- [#735](https://github.com/cloudflare/wrangler2/pull/735) [`c38ae3d`](https://github.com/cloudflare/wrangler2/commit/c38ae3dd36464522e13f32813123fd7b4deb6be3) Thanks [@threepointone](https://github.com/threepointone)! - `text_blobs`/Text module support for service worker format in local mode

This adds support for `text_blobs`/Text module support in local mode. Now that https://github.com/cloudflare/miniflare/pull/228 has landed in miniflare (thanks @caass!), we can use that in wrangler as well.

* [#743](https://github.com/cloudflare/wrangler2/pull/743) [`ac5c48b`](https://github.com/cloudflare/wrangler2/commit/ac5c48b90f05b5464bb6bd3affdad3beba0c26a2) Thanks [@threepointone](https://github.com/threepointone)! - feat: implement `[data_blobs]`

This implements `[data_blobs]` support for service-worker workers, as well as enabling Data module support for service-worker workers. `data_blob` is a supported binding type, but we never implemented support for it in v1. This implements support, and utilises it for supporting Data modules in service worker format. Implementation wise, it's incredibly similar to how we implemented `text_blobs`, with relevant changes.

Partial fix for https://github.com/cloudflare/wrangler2/issues/740 pending local mode support.

- [#746](https://github.com/cloudflare/wrangler2/pull/746) [`3e25dcb`](https://github.com/cloudflare/wrangler2/commit/3e25dcb377b29181ae0bf2210180f1b17c34f971) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: remove superfluous debugger log messages from local dev

Closes #387

* [#738](https://github.com/cloudflare/wrangler2/pull/738) [`c04791c`](https://github.com/cloudflare/wrangler2/commit/c04791c0214601d6b1e767484c961a343f6c034a) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: add support for cron triggers in `dev --local` mode

Currently, I don't know if there is support for doing this in "remote" dev mode.

Resolves #737

## 0.0.24

### 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": "0.0.24",
"version": "0.0.25",
"author": "[email protected]",
"description": "Command-line interface for all things Cloudflare Workers",
"bin": {
Expand Down

0 comments on commit b3a8f67

Please sign in to comment.