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 May 2, 2022
1 parent 7a1eb41 commit e80bc03
Show file tree
Hide file tree
Showing 12 changed files with 58 additions and 73 deletions.
7 changes: 0 additions & 7 deletions .changeset/dirty-knives-exercise.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/early-timers-camp.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/fifty-drinks-hear.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hungry-pandas-report.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/many-numbers-cheer.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/mean-owls-own.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/nasty-teachers-drop.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.

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

## 0.0.28

## 0.0.27

## 0.0.26
Expand Down
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.27",
"version": "0.0.28",
"description": "A jest environment for Cloudflare Workers, powered by wrangler.",
"main": "dist/index.js",
"scripts": {
Expand Down
52 changes: 52 additions & 0 deletions packages/wrangler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,57 @@
# wrangler

## 0.0.28

### Patch Changes

- [#848](https://github.com/cloudflare/wrangler2/pull/848) [`0a79d75`](https://github.com/cloudflare/wrangler2/commit/0a79d75e6aba11a3f0d5a7490f1b75c9f3e80ea8) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - polish: improve consistency of warnings and errors

Related to #377

* [#851](https://github.com/cloudflare/wrangler2/pull/851) [`277b254`](https://github.com/cloudflare/wrangler2/commit/277b25421175b4efc803cd68ef543cb55b07c114) Thanks [@threepointone](https://github.com/threepointone)! - polish: do not log the error object when refreshing a token fails

We handle the error anyway (by doing a fresh login) which has its own logging and messaging. In the future we should add a DEBUG mode that logs all requests/errors/warnings, but that's for later.

- [#869](https://github.com/cloudflare/wrangler2/pull/869) [`f1423bf`](https://github.com/cloudflare/wrangler2/commit/f1423bf6399655d5c186c4849f23bb2196e4fcec) Thanks [@threepointone](https://github.com/threepointone)! - feat: experimental `--node-compat` / `config.node_compat`

This adds an experimental node.js compatibility mode. It can be enabled by adding `node_compat = true` in `wrangler.toml`, or by passing `--node-compat` as a command line arg for `dev`/`publish` commands. This is currently powered by `@esbuild-plugins/node-globals-polyfill` (which in itself is powered by `rollup-plugin-node-polyfills`).

We'd previously added this, and then removed it because the quality of the polyfills isn't great. We're reintroducing it regardless so we can start getting feedback on its usage, and it sets up a foundation for replacing it with our own, hopefully better maintained polyfills.

Of particular note, this means that what we promised in https://blog.cloudflare.com/announcing-stripe-support-in-workers/ now actually works.

This patch also addresses some dependency issues, specifically leftover entries in package-lock.json.

* [#790](https://github.com/cloudflare/wrangler2/pull/790) [`331c659`](https://github.com/cloudflare/wrangler2/commit/331c65979295320b37cbf1f995f4acfc28630702) Thanks [@sidharthachatterjee](https://github.com/sidharthachatterjee)! - feature: Adds 'wrangler pages publish' (alias 'wrangler pages deployment create') command.

- [#866](https://github.com/cloudflare/wrangler2/pull/866) [`8b227fc`](https://github.com/cloudflare/wrangler2/commit/8b227fc97e50abe36651b4a6c029b9ada404dc1f) Thanks [@caass](https://github.com/caass)! - Add a runtime check for `wrangler dev` local mode to avoid erroring in environments with no `AsyncLocalStorage` class

Certain runtime APIs are only available to workers during the "request context",
which is any code that returns after receiving a request and before returning
a response.

Miniflare emulates this behavior by using an [`AsyncLocalStorage`](https://nodejs.org/api/async_context.html#class-asynclocalstorage) and
[checking at runtime](https://github.com/cloudflare/miniflare/blob/master/packages/shared/src/context.ts#L21-L36)
to see if you're using those APIs during the request context.

In certain environments `AsyncLocalStorage` is unavailable, such as in a
[webcontainer](https://github.com/stackblitz/webcontainer-core).
This function figures out if we're able to run those "request context" checks
and returns [a set of options](https://miniflare.dev/core/standards#global-functionality-limits)
that indicate to miniflare whether to run the checks or not.

* [#829](https://github.com/cloudflare/wrangler2/pull/829) [`f08aac5`](https://github.com/cloudflare/wrangler2/commit/f08aac5dc1894ceaa84fc8b1a0c3d898dbbbe028) Thanks [@JacobMGEvans](https://github.com/JacobMGEvans)! - feat: Add validation to the `name` field in configuration.
The validation will warn users that the field can only be "type string,
alphanumeric, underscores, and lowercase with dashes only" using the same RegEx as the backend

resolves #795 #775

- [#868](https://github.com/cloudflare/wrangler2/pull/868) [`6ecb1c1`](https://github.com/cloudflare/wrangler2/commit/6ecb1c128bde5c8f8d7403278f07cc0e991c16a0) Thanks [@threepointone](https://github.com/threepointone)! - feat: implement service environments + durable objects

Now that the APIs for getting migrations tags of services works as expected, this lands support for publishing durable objects to service environments, including migrations. It also removes the error we used to throw when attempting to use service envs + durable objects.

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

## 0.0.27

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

0 comments on commit e80bc03

Please sign in to comment.