-
Notifications
You must be signed in to change notification settings - Fork 838
Comparing changes
Open a pull request
base repository: cloudflare/workers-sdk
base: wrangler@4.7.2
head repository: cloudflare/workers-sdk
compare: wrangler@4.8.0
- 13 commits
- 173 files changed
- 17 contributors
Commits on Apr 5, 2025
-
Configuration menu - View commit details
-
Copy full SHA for a236115 - Browse repository at this point
Copy the full SHA a236115View commit details -
fix: make vitest-pool-workers not crash with scripts that have Workfl…
…ows (#8208) * fix: make vitest-pool-workers not crash with scripts that have Workflows Because `vitest-pool-workers` uses its runner worker as the entrypoint and not the user provided worker. The user provided worker is loaded AFAICT though eval (`vitest-pool-workers` enables eval) so we need, at startup time, to add the required entrypoints and make them dynamically call the user one. Not only that, if you try to create a workflow instance it would throw a `isolated storage` error - I suspect that is this caused by engine still being active at the end of the test (since workflows are async, not in the request path, and might take undefinite time to complete). In order to fix this, I've bypassed the isolated storage check for workflows internal DOs. I wonder if there might be collisions between test files if there are any concurrency regarding test files (aka `singleWorker` is false) - I think that this is fine to do, the point of this PR is not to make workflows really testable yet but to at least to make `vitest-pool-workers` **not** crash if a user includes a workflow in the worker definition. * chore: add proper readme * chore: remove isolatedStorage bypass and error out early if isolated storage is used * chore: add suggestions * chore: moar test * Apply suggestions from code review Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com> * Apply suggestions from code review Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com> * stream logs * no more hanging * Revert "stream logs" This reverts commit dfecf63. --------- Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com> Co-authored-by: Samuel Macleod <smacleod@cloudflare.com>
Configuration menu - View commit details
-
Copy full SHA for 9a3d43c - Browse repository at this point
Copy the full SHA 9a3d43cView commit details -
remove BETA label from Workers+Assets templates and hide Pages templa…
…tes (#8698) * remove BETA label from Workers+Assets templates and hide Pages templates * Skip the platform question if there is only one option * include hiding of next-on-pages * update snapshots
Configuration menu - View commit details
-
Copy full SHA for 1ba9e97 - Browse repository at this point
Copy the full SHA 1ba9e97View commit details -
Unhide 'wrangler pages functions build' (#8795)
* Unhide 'wrangler pages functions build' * Accept live docs URLs
Configuration menu - View commit details
-
Copy full SHA for d4c1171 - Browse repository at this point
Copy the full SHA d4c1171View commit details
Commits on Apr 7, 2025
-
Pipelines CLI Improvements (#8780)
* Rename `wrangler pipelines show` to `wrangler pipelines get` * Remove `--enable-http|worker-binding` in favor of `--source <sources...>` format Replace `--enable-worker-binding` and `--enable-http` with `--source worker` and `--source http` (or `--source http worker` for both). This also refactors how these bindings get added to the pipeline configuration, opting for a handler pattern instead of multiple if statements. * Remove `--file-template` and `--partition-template` flags from `wrangler pipelines create|update` * Prettify `wrangler pipelines get <pipeline>` output ✨ * Clarify defaults, minimums, and maximums for pipelines commands We specifically do not use yargs `default` field as these values are purely informational and the API is the ultimate decider of what the default value will be at a given time. * Show pipelines command in wrangler help * update snapshots * Fix updating CORS origins for pipelines * Fix upper limit on batch-max-rows --------- Co-authored-by: Peter Bacon Darwin <pbacondarwin@cloudflare.com>
Configuration menu - View commit details
-
Copy full SHA for 4e69fb6 - Browse repository at this point
Copy the full SHA 4e69fb6View commit details -
Fix
fromVitest
conditional (#7260)* Fix `fromVitest` conditional Checking for `/node_modules/vitest/` does not work with Yarn's pnpm linker, where the path is something like `node_modules/.store/vitest-virtual-ee893ec3ea/` * Use regex instead * Create lemon-deers-speak.md * fixup! Create lemon-deers-speak.md --------- Co-authored-by: Somhairle MacLeòid <samuel@macleod.space> Co-authored-by: Peter Bacon Darwin <pbacondarwin@cloudflare.com>
Configuration menu - View commit details
-
Copy full SHA for 30f7317 - Browse repository at this point
Copy the full SHA 30f7317View commit details -
[wrangler] add validation to redirected configs in regards to environ…
…ments (#8596) * [wrangler] add validation to redirected configs in regards to environments * error instead of warning on specified environments * Update packages/wrangler/src/config/validation.ts Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com> * Update packages/wrangler/src/config/validation.ts Co-authored-by: James Opstad <13586373+jamesopstad@users.noreply.github.com> * update lock file * update fixture tests --------- Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com> Co-authored-by: James Opstad <13586373+jamesopstad@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 75b454c - Browse repository at this point
Copy the full SHA 75b454cView commit details -
Secrets Store Secret binding local dev (#8394)
* feat(miniflare): secret store plugin * feat(wrangler): secret store setup * chore: add secret-store fixture * change name * generate docs * rebase on main * finalise * fix lint * unskip e2e * fix tests * Create calm-grapes-eat.md * lint * lint * fix tests * fix lint * Address comments * Apply suggestions from code review Co-authored-by: Carmen Popoviciu <cpopoviciu@cloudflare.com> * fix snapshots * fix lockfile --------- Co-authored-by: Samuel Macleod <smacleod@cloudflare.com> Co-authored-by: Carmen Popoviciu <cpopoviciu@cloudflare.com>
Configuration menu - View commit details
-
Copy full SHA for 93267cf - Browse repository at this point
Copy the full SHA 93267cfView commit details -
Replace assertion in node-js compat transform hook with early return (#…
…8806) * Replace assertion in node-js compat transform hook with early return * Added changeset
Configuration menu - View commit details
-
Copy full SHA for 2f47670 - Browse repository at this point
Copy the full SHA 2f47670View commit details -
Configuration menu - View commit details
-
Copy full SHA for 586df14 - Browse repository at this point
Copy the full SHA 586df14View commit details -
feat: add
waitForEvent
andsendEvent
support for local dev (#8775)* Bump the workerd-and-workers-types group with 2 updates Bumps the workerd-and-workers-types group with 2 updates: [@cloudflare/workers-types](https://github.com/cloudflare/workerd) and [workerd](https://github.com/cloudflare/workerd). Updates `@cloudflare/workers-types` from 4.20250404.0 to 4.20250405.0 - [Release notes](https://github.com/cloudflare/workerd/releases) - [Changelog](https://github.com/cloudflare/workerd/blob/main/Dockerfile.release) - [Commits](https://github.com/cloudflare/workerd/commits) Updates `workerd` from 1.20250404.0 to 1.20250405.0 - [Release notes](https://github.com/cloudflare/workerd/releases) - [Changelog](https://github.com/cloudflare/workerd/blob/main/Dockerfile.release) - [Commits](cloudflare/workerd@v1.20250404.0...v1.20250405.0) --- updated-dependencies: - dependency-name: "@cloudflare/workers-types" dependency-version: 4.20250405.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: workerd-and-workers-types - dependency-name: workerd dependency-version: 1.20250405.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: workerd-and-workers-types ... Signed-off-by: dependabot[bot] <support@github.com> * chore: update dependencies of "miniflare" package The following dependency versions have been updated: | Dependency | From | To | | ------------------------- | ------------- | ------------- | | workerd | 1.20250404.0 | 1.20250405.0 | | @cloudflare/workers-types | ^4.20250404.0 | ^4.20250405.0 | * feat: add `waitForEvent` and `sendEvent` support for local dev This uses some @ts-expect-errors since these are not in workers-types, yet. * feat: add `waitForEvent` and `sendEvent` support for local dev This uses some @ts-expect-errors since these are not in workers-types, yet. * remove redundeant tserror directives * update lockfile * remove more rendundant tserror directives * fix: change Context for new workers-types --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wrangler automated PR updater <wrangler@cloudflare.com> Co-authored-by: Peter Bacon Darwin <pbacondarwin@cloudflare.com>
Configuration menu - View commit details
-
Copy full SHA for ec7e621 - Browse repository at this point
Copy the full SHA ec7e621View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1c89dd - Browse repository at this point
Copy the full SHA b1c89ddView commit details -
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f6b84b7 - Browse repository at this point
Copy the full SHA f6b84b7View commit details
There are no files selected for viewing