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 8, 2025
1 parent 3f685e4 commit c52d984
Show file tree
Hide file tree
Showing 12 changed files with 121 additions and 118 deletions.
5 changes: 0 additions & 5 deletions .changeset/bright-keys-march.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fuzzy-nails-invent.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/green-socks-trade.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/proud-rules-try.md

This file was deleted.

84 changes: 0 additions & 84 deletions .changeset/thin-pots-camp.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/twelve-fireants-hunt.md

This file was deleted.

12 changes: 12 additions & 0 deletions packages/pages-shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @cloudflare/pages-shared

## 0.13.0

### Minor Changes

- [#7561](https://github.com/cloudflare/workers-sdk/pull/7561) [`8b48ca6`](https://github.com/cloudflare/workers-sdk/commit/8b48ca6f18160d350cdde7f21a2a9fbb6add45d5) Thanks [@GregBrimble](https://github.com/GregBrimble)! - feat: Return a 304 Not Modified response when matching an asset preservation cache request if appropriate

### Patch Changes

- [#7561](https://github.com/cloudflare/workers-sdk/pull/7561) [`8b48ca6`](https://github.com/cloudflare/workers-sdk/commit/8b48ca6f18160d350cdde7f21a2a9fbb6add45d5) Thanks [@GregBrimble](https://github.com/GregBrimble)! - chore: Remove now-unused asset preservation cache (v1)

- [#7561](https://github.com/cloudflare/workers-sdk/pull/7561) [`8b48ca6`](https://github.com/cloudflare/workers-sdk/commit/8b48ca6f18160d350cdde7f21a2a9fbb6add45d5) Thanks [@GregBrimble](https://github.com/GregBrimble)! - fix: Store an empty result when Early Hints parsing returns nothing or errors. Previously, we weren't storing anything which resulted in Early Hints being parsed on every request.

## 0.12.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/pages-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/pages-shared",
"version": "0.12.1",
"version": "0.13.0",
"repository": {
"type": "git",
"url": "https://github.com/cloudflare/workers-sdk.git",
Expand Down
7 changes: 7 additions & 0 deletions packages/vitest-pool-workers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @cloudflare/vitest-pool-workers

## 0.5.42

### Patch Changes

- Updated dependencies [[`ff4e77e`](https://github.com/cloudflare/workers-sdk/commit/ff4e77e5ad7f9e259c5ff443284f3bf07c80cb0e), [`e4716cc`](https://github.com/cloudflare/workers-sdk/commit/e4716cc87893a0633bd2d00543b351e83e228970), [`9d2740a`](https://github.com/cloudflare/workers-sdk/commit/9d2740aa582c76040baf8aded1ac73d8bb2edeeb)]:
- [email protected]

## 0.5.41

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vitest-pool-workers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/vitest-pool-workers",
"version": "0.5.41",
"version": "0.5.42",
"description": "Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime",
"keywords": [
"cloudflare",
Expand Down
99 changes: 99 additions & 0 deletions packages/wrangler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,104 @@
# wrangler

## 3.101.0

### Minor Changes

- [#7442](https://github.com/cloudflare/workers-sdk/pull/7442) [`e4716cc`](https://github.com/cloudflare/workers-sdk/commit/e4716cc87893a0633bd2d00543b351e83e228970) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - feat: add support for redirecting Wrangler to a generated config when running deploy-related commands

This new feature is designed for build tools and frameworks to provide a deploy-specific configuration,
which Wrangler can use instead of user configuration when running deploy-related commands.
It is not expected that developers of Workers will need to use this feature directly.

### Affected commands

The commands that use this feature are:

- `wrangler deploy`
- `wrangler dev`
- `wrangler versions upload`
- `wrangler versions deploy`
- `wrangler pages deploy`
- `wrangler pages build`
- `wrangler pages build-env`

### Config redirect file

When running these commands, Wrangler will look up the directory tree from the current working directory for a file at the path `.wrangler/deploy/config.json`. This file must contain only a single JSON object of the form:

```json
{ "configPath": "../../path/to/wrangler.json" }
```

When this file exists Wrangler will follow the `configPath` (relative to the `.wrangler/deploy/config.json` file) to find an alternative Wrangler configuration file to load and use as part of this command.

When this happens Wrangler will display a warning to the user to indicate that the configuration has been redirected to a different file than the user's configuration file.

### Custom build tool example

A common approach that a build tool might choose to implement.

- The user writes code that uses Cloudflare Workers resources, configured via a user `wrangler.toml` file.

```toml
name = "my-worker"
main = "src/index.ts"
[[kv_namespaces]]
binding = "<BINDING_NAME1>"
id = "<NAMESPACE_ID1>"
```

Note that this configuration points `main` at user code entry-point.

- The user runs a custom build, which might read the `wrangler.toml` to find the entry-point:

```bash
> my-tool build
```

- This tool generates a `dist` directory that contains both compiled code and a new deployment configuration file, but also a `.wrangler/deploy/config.json` file that redirects Wrangler to this new deployment configuration file:

```plain
- dist
- index.js
- wrangler.json
- .wrangler
- deploy
- config.json
```

The `dist/wrangler.json` will contain:

```json
{
"name": "my-worker",
"main": "./index.js",
"kv_namespaces": [
{ "binding": "<BINDING_NAME1>", "id": "<NAMESPACE_ID1>" }
]
}
```

And the `.wrangler/deploy/config.json` will contain:

```json
{
"configPath": "../../dist/wrangler.json"
}
```

### Patch Changes

- [#7456](https://github.com/cloudflare/workers-sdk/pull/7456) [`ff4e77e`](https://github.com/cloudflare/workers-sdk/commit/ff4e77e5ad7f9e259c5ff443284f3bf07c80cb0e) Thanks [@andyjessop](https://github.com/andyjessop)! - chore: removes --experimental-versions flag, as versions is now GA.

- [#7685](https://github.com/cloudflare/workers-sdk/pull/7685) [`9d2740a`](https://github.com/cloudflare/workers-sdk/commit/9d2740aa582c76040baf8aded1ac73d8bb2edeeb) Thanks [@vicb](https://github.com/vicb)! - allow overriding the unenv preset.

By default wrangler uses the bundled unenv preset.

Setting `WRANGLER_UNENV_RESOLVE_PATHS` allow to use another version of the preset.
Those paths are used when resolving the unenv module identifiers to absolute paths.
This can be used to test a development version.

## 3.100.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.100.0",
"version": "3.101.0",
"description": "Command-line interface for all things Cloudflare Workers",
"keywords": [
"wrangler",
Expand Down

0 comments on commit c52d984

Please sign in to comment.