Skip to content

Commit 47da56a

Browse files
committed
Merge branch 'main' into bib/remove-wrangler-generate
* main: Add pipeline binding to wrangler.toml (#6674) Fix Pages duplicating hash in redirects (#6680) Bradley/r2 event notification get (#6652) feat(wrangler): Add support for placement hints (#6625) fix(wrangler): Validate `routes` for Workers with assets (#6621) chore(deps): bump the workerd-and-workers-types group across 1 directory with 2 updates (#6673) chore(workers-shared): Configure GitHub Actions to deploy Asset Worker (#6542) feat: experimental workers assets can be ignored by adding a .assetsignore file (#6640)
2 parents 5fb82da + 831f892 commit 47da56a

File tree

78 files changed

+1192
-317
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1192
-317
lines changed

.changeset/angry-keys-dance.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"wrangler": minor
3+
---
4+
5+
Added new [[pipelines]] bindings. This creates a new binding that allows sending events to
6+
the specified pipeline.
7+
8+
Example:
9+
10+
[[pipelines]]
11+
binding = "MY_PIPELINE"
12+
pipeline = "my-pipeline"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"miniflare": patch
3+
---
4+
5+
chore: update dependencies of "miniflare" package
6+
7+
The following dependency versions have been updated:
8+
9+
| Dependency | From | To |
10+
| ------------------------- | ------------- | ------------- |
11+
| workerd | 1.20240821.1 | 1.20240909.0 |
12+
| @cloudflare/workers-types | ^4.20240821.1 | ^4.20240909.0 |

.changeset/eighty-birds-kiss.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cloudflare/pages-shared": patch
3+
---
4+
5+
fix: fix Pages redirects going to a hash location to be duped. This means if you have a rule like `/foo/bar /foo#bar` it will no longer result in `/foo#bar#bar` but the correct `/foo#bar`.

.changeset/hot-moons-walk.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cloudflare/vitest-pool-workers": patch
3+
---
4+
5+
fix: The `workerd` provided `node:url` module doesn't support everything Vitest needs. As a short-term fix, inject the `node:url` polyfill into the worker bundle.

.changeset/lazy-poems-mate.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
fix: Validate `routes` in `wrangler dev` and `wrangler deploy` for Workers with assets
6+
7+
We want wrangler to error if users are trying to deploy a Worker with assets, and routes with a path component.
8+
9+
All Workers with assets must have either:
10+
11+
- custom domain routes
12+
- pattern routes which have no path component (except for the wildcard splat) "some.domain.com/\*"

.changeset/nasty-hats-rhyme.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"wrangler": minor
3+
---
4+
5+
feat: experimental workers assets can be ignored by adding a .assetsignore file
6+
7+
This file can be added to the root of the assets directory that is to be uploaded alongside the Worker
8+
when using `experimental_assets`.
9+
10+
The file follows the `.gitignore` syntax, and any matching paths will not be included in the upload.

.changeset/nice-beds-raise.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": minor
3+
---
4+
5+
feat: Update R2 Get Event Notification response, display, and actions

.changeset/three-nails-bake.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"wrangler": minor
3+
---
4+
5+
feature: Add support for placement hints
6+
7+
Adds the `hint` field to smart placement configuration. When set, placement hints will be used to decide where smart-placement-enabled Workers are run.

.github/workflows/changesets.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
6565
WORKERS_NEW_CLOUDFLARE_ACCOUNT_ID: ${{ secrets.WORKERS_NEW_CLOUDFLARE_ACCOUNT_ID }}
6666
WORKERS_NEW_CLOUDFLARE_API_TOKEN: ${{ secrets.WORKERS_NEW_CLOUDFLARE_API_TOKEN }}
67+
WORKERS_DEPLOY_AND_CONFIG_CLOUDFLARE_API_TOKEN: ${{ secrets.WORKERS_DEPLOY_AND_CONFIG_CLOUDFLARE_API_TOKEN }}
6768

6869
- name: Create C3 Diffs PR
6970
if: contains(steps.changesets.outputs.publishedPackages, '"create-cloudflare"')

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ packages/create-cloudflare/templates/**/*.*
2424
# but still exclude the worker-configuration.d.ts file, since it's generated
2525
!packages/create-cloudflare/templates/hello-world/**/*.*
2626
packages/create-cloudflare/templates/hello-world/**/worker-configuration.d.ts
27+
# dist-functions are generated in the fixtures/vitest-pool-workers-examples/pages-functions-unit-integration-self folder
28+
dist-functions
2729

2830
vscode.d.ts
2931
vscode.*.d.ts

0 commit comments

Comments
 (0)