Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #4245

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/bright-boxes-admire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/c3-frameworks-update-4243.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/c3-frameworks-update-4244.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/c3-frameworks-update-4246.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/c3-frameworks-update-4259.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/c3-frameworks-update-4268.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/cold-parrots-deliver.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/five-suits-rest.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/good-beers-design.md

This file was deleted.

34 changes: 0 additions & 34 deletions .changeset/honest-tips-tie.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/itchy-ducks-listen.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/long-starfishes-mate.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/rich-schools-fry.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/serious-beans-trade.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tasty-teachers-lick.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/three-doors-tickle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tiny-icons-breathe.md

This file was deleted.

11 changes: 11 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# @cloudflare/cli

## 1.0.0

### Major Changes

- [#4189](https://github.com/cloudflare/workers-sdk/pull/4189) [`05798038`](https://github.com/cloudflare/workers-sdk/commit/05798038c85a83afb2c0e8ea9533c31a6fbe3e91) Thanks [@gabivlj](https://github.com/gabivlj)! - Move helper cli files of C3 into @cloudflare/cli and make Wrangler and C3 depend on it

### Patch Changes

- [#4271](https://github.com/cloudflare/workers-sdk/pull/4271) [`70016b2b`](https://github.com/cloudflare/workers-sdk/commit/70016b2bb514ea95f1ce0db3582e194c31df4c14) Thanks [@gabivlj](https://github.com/gabivlj)! - change backgrounds of statuses from red to more appropriate ones
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/cli",
"version": "0.1.0",
"version": "1.0.0",
"description": "An SDK to build workers-sdk CLIs",
"private": true,
"keywords": [
Expand Down
20 changes: 20 additions & 0 deletions packages/create-cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# create-cloudflare

## 2.6.2

### Patch Changes

- [#4243](https://github.com/cloudflare/workers-sdk/pull/4243) [`bfb66aa0`](https://github.com/cloudflare/workers-sdk/commit/bfb66aa06c4075bb3f12ba702a555f51653a5199) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-vue` from `3.7.5` to `3.8.0`

* [#4244](https://github.com/cloudflare/workers-sdk/pull/4244) [`5c81d34d`](https://github.com/cloudflare/workers-sdk/commit/5c81d34d01454e129ca6587b6b99d6ea4ec9c870) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-qwik` from `1.2.13` to `1.2.14`

- [#4246](https://github.com/cloudflare/workers-sdk/pull/4246) [`67c4c2c0`](https://github.com/cloudflare/workers-sdk/commit/67c4c2c0f581047fece5401d5ccfff5f2476412e) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `gatsby` from `5.12.7` to `5.12.8`

* [#4259](https://github.com/cloudflare/workers-sdk/pull/4259) [`b5e62b93`](https://github.com/cloudflare/workers-sdk/commit/b5e62b931ad6671e4dce9444a279bb3ec8f63991) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-hono` from `0.3.1` to `0.3.2`

- [#4268](https://github.com/cloudflare/workers-sdk/pull/4268) [`77820a22`](https://github.com/cloudflare/workers-sdk/commit/77820a22ce8c41870877387ff4012fa24a14fad8) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-solid` from `0.3.7` to `0.3.8`

* [#4215](https://github.com/cloudflare/workers-sdk/pull/4215) [`950bc401`](https://github.com/cloudflare/workers-sdk/commit/950bc4015fa408bfcd4fbf771cf1c3a062783d96) Thanks [@RamIdeas](https://github.com/RamIdeas)! - fix various logging of shell commands to correctly quote args when needed

- [#4189](https://github.com/cloudflare/workers-sdk/pull/4189) [`05798038`](https://github.com/cloudflare/workers-sdk/commit/05798038c85a83afb2c0e8ea9533c31a6fbe3e91) Thanks [@gabivlj](https://github.com/gabivlj)! - Move helper cli files of C3 into @cloudflare/cli and make Wrangler and C3 depend on it

* [#4200](https://github.com/cloudflare/workers-sdk/pull/4200) [`773e2a8c`](https://github.com/cloudflare/workers-sdk/commit/773e2a8cc07a6ff55a5a12edd103751eafcc9468) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix the generation of invalid/incorrect scripts for Next.js applications

## 2.6.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-cloudflare",
"version": "2.6.1",
"version": "2.6.2",
"description": "A CLI for creating and deploying new applications to Cloudflare.",
"keywords": [
"cloudflare",
Expand Down
97 changes: 97 additions & 0 deletions packages/wrangler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,102 @@
# wrangler

## 3.15.0

### Minor Changes

- [#4201](https://github.com/cloudflare/workers-sdk/pull/4201) [`0cac2c46`](https://github.com/cloudflare/workers-sdk/commit/0cac2c4681852709883ea91f5b73c5af1f70088a) Thanks [@penalosa](https://github.com/penalosa)! - Callout `--minify` when script size is too large

* [#4209](https://github.com/cloudflare/workers-sdk/pull/4209) [`24d1c5cf`](https://github.com/cloudflare/workers-sdk/commit/24d1c5cf3b810e780df865a0f76f1c3ae8ed5fbe) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: suppress compatibility date fallback warnings if no `wrangler` update is available

If a compatibility date greater than the installed version of `workerd` was
configured, a warning would be logged. This warning was only actionable if a new
version of `wrangler` was available. The intent here was to warn if a user set
a new compatibility date, but forgot to update `wrangler` meaning changes
enabled by the new date wouldn't take effect. This change hides the warning if
no update is available.

It also changes the default compatibility date for `wrangler dev` sessions
without a configured compatibility date to the installed version of `workerd`.
This previously defaulted to the current date, which may have been unsupported
by the installed runtime.

- [#4135](https://github.com/cloudflare/workers-sdk/pull/4135) [`53218261`](https://github.com/cloudflare/workers-sdk/commit/532182610087dffda04cc2091baeceb96e7fdb26) Thanks [@Cherry](https://github.com/Cherry)! - feat: resolve npm exports for file imports

Previously, when using wasm (or other static files) from an npm package, you would have to import the file like so:

```js
import wasm from "../../node_modules/svg2png-wasm/svg2png_wasm_bg.wasm";
```

This update now allows you to import the file like so, assuming it's exposed and available in the package's `exports` field:

```js
import wasm from "svg2png-wasm/svg2png_wasm_bg.wasm";
```

This will look at the package's `exports` field in `package.json` and resolve the file using [`resolve.exports`](https://www.npmjs.com/package/resolve.exports).

* [#4232](https://github.com/cloudflare/workers-sdk/pull/4232) [`69b43030`](https://github.com/cloudflare/workers-sdk/commit/69b43030b99a21a3e4cad5285aa8253ebee8a392) Thanks [@romeupalos](https://github.com/romeupalos)! - fix: use `zone_name` to determine a zone when the pattern is a custom hostname

In Cloudflare for SaaS, custom hostnames of third party domain owners can be used in Cloudflare.
Workers are allowed to intercept these requests based on the routes configuration.
Before this change, the same logic used by `wrangler dev` was used in `wrangler deploy`, which caused wrangler to fail with:

✘ [ERROR] Could not find zone for [partner-saas-domain.com]

- [#4198](https://github.com/cloudflare/workers-sdk/pull/4198) [`b404ab70`](https://github.com/cloudflare/workers-sdk/commit/b404ab707b324685235b522ee66bd6e8351f62be) Thanks [@penalosa](https://github.com/penalosa)! - When uploading additional modules with your worker, Wrangler will now report the (uncompressed) size of each individual module, as well as the aggregate size of your Worker

### Patch Changes

- [#4215](https://github.com/cloudflare/workers-sdk/pull/4215) [`950bc401`](https://github.com/cloudflare/workers-sdk/commit/950bc4015fa408bfcd4fbf771cf1c3a062783d96) Thanks [@RamIdeas](https://github.com/RamIdeas)! - fix various logging of shell commands to correctly quote args when needed

* [#4274](https://github.com/cloudflare/workers-sdk/pull/4274) [`be0c6283`](https://github.com/cloudflare/workers-sdk/commit/be0c62834af0692785785cec8a0d7bc9dcfaa61a) Thanks [@jspspike](https://github.com/jspspike)! - chore: bump `miniflare` to [`3.20231025.0`](https://github.com/cloudflare/miniflare/releases/tag/v3.20231025.0)

This change enables Node-like `console.log()`ing in local mode. Objects with
lots of properties, and instances of internal classes like `Request`, `Headers`,
`ReadableStream`, etc will now be logged with much more detail.

- [#4127](https://github.com/cloudflare/workers-sdk/pull/4127) [`3d55f965`](https://github.com/cloudflare/workers-sdk/commit/3d55f9656ddb28c7cbe1c03a9409be7af30d6f7d) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: store temporary files in `.wrangler`

As Wrangler builds your code, it writes intermediate files to a temporary
directory that gets cleaned up on exit. Previously, Wrangler used the OS's
default temporary directory. On Windows, this is usually on the `C:` drive.
If your source code was on a different drive, our bundling tool would generate
invalid source maps, breaking breakpoint debugging. This change ensures
intermediate files are always written to the same drive as sources. It also
ensures unused build outputs are cleaned up when running `wrangler pages dev`.

This change also means you no longer need to set `cwd` and
`resolveSourceMapLocations` in `.vscode/launch.json` when creating an `attach`
configuration for breakpoint debugging. Your `.vscode/launch.json` should now
look something like...

```jsonc
{
"configurations": [
{
"name": "Wrangler",
"type": "node",
"request": "attach",
"port": 9229,
// These can be omitted, but doing so causes silent errors in the runtime
"attachExistingChildren": false,
"autoAttachChildProcesses": false
}
]
}
```

* [#4189](https://github.com/cloudflare/workers-sdk/pull/4189) [`05798038`](https://github.com/cloudflare/workers-sdk/commit/05798038c85a83afb2c0e8ea9533c31a6fbe3e91) Thanks [@gabivlj](https://github.com/gabivlj)! - Move helper cli files of C3 into @cloudflare/cli and make Wrangler and C3 depend on it

- [#4235](https://github.com/cloudflare/workers-sdk/pull/4235) [`46cd2df5`](https://github.com/cloudflare/workers-sdk/commit/46cd2df5745ef90f4d9577504f203d2753ca56e9) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: ensure `console.log()`s during startup are displayed

Previously, `console.log()` calls before the Workers runtime was ready to
receive requests wouldn't be shown. This meant any logs in the global scope
likely weren't visible. This change ensures startup logs are shown. In particular,
this should [fix Remix's HMR](https://github.com/remix-run/remix/issues/7616),
which relies on startup logs to know when the Worker is ready.

## 3.14.0

### Minor 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": "3.14.0",
"version": "3.15.0",
"description": "Command-line interface for all things Cloudflare Workers",
"keywords": [
"wrangler",
Expand Down
Loading