-
Notifications
You must be signed in to change notification settings - Fork 841
Comparing changes
Open a pull request
base repository: cloudflare/workers-sdk
base: miniflare@3.20250224.0
head repository: cloudflare/workers-sdk
compare: miniflare@3.20250310.0
Commits on Mar 6, 2025
-
feat(fixtures): Add new fixtures for Workers + Assets with service bi…
…ndings (#7980) * feat(fixtures): Add new fixtures Workers + Assets with service bindings * feedback fixes * fix tests
Configuration menu - View commit details
-
Copy full SHA for 187d887 - Browse repository at this point
Copy the full SHA 187d887View commit details -
Add type gen command to react + vite + assets template (#8349)
* rename to jsonc * add type gen * changeset * fix tsconfig
Configuration menu - View commit details
-
Copy full SHA for ca60010 - Browse repository at this point
Copy the full SHA ca60010View commit details -
graduate C3 React (Workers) template (#8371)
Resolves DEVX-1697
Configuration menu - View commit details
-
Copy full SHA for b24497d - Browse repository at this point
Copy the full SHA b24497dView commit details -
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2138fef - Browse repository at this point
Copy the full SHA 2138fefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8461f9b - Browse repository at this point
Copy the full SHA 8461f9bView commit details -
add vite + worker to vue experimental template (#8358)
* add worker to vue template * add flags * changeset * fix js template * Update tangy-parts-dig.md * fix tests * pr feedback * fix test
Configuration menu - View commit details
-
Copy full SHA for 5875adb - Browse repository at this point
Copy the full SHA 5875adbView commit details -
Change id parameter to name for both bucket lifecycle and r2 bucket l…
…ock commands (#8367) * Change id parameter to name for both bucket lifecycle and r2 bucket lock commands * Added tests for id alias * Apply suggestions from code review Co-authored-by: Edmund Hung <edmund@cloudflare.com> --------- Co-authored-by: Edmund Hung <edmund@cloudflare.com>
Configuration menu - View commit details
-
Copy full SHA for 7b6b0c2 - Browse repository at this point
Copy the full SHA 7b6b0c2View commit details -
chore: update changeset (#8381)
* chore: update changeset * Update .changeset/whole-dots-smile.md Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com> --------- Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
Configuration menu - View commit details
-
Copy full SHA for d96fd53 - Browse repository at this point
Copy the full SHA d96fd53View commit details -
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 56c4ba9 - Browse repository at this point
Copy the full SHA 56c4ba9View commit details -
Fix workers ai binding for cf vite plugin (#8273)
* @cloudflare/vite-plugin: Include external AI worker in miniflare options ## Context Hi there o/ At RedwoodJS, we're trying out @cloudflare/vite-plugin alongside Workers AI, but we've run into an issue where the two don't seem to work together. This is mainly to highlight the issue (its easier to explain with code). Feel free to use or disregard the solution as needed. ## Problem When using `@cloudflare/vite-plugin` for a worker with an `[ai]` binding in the `worker.toml`, we end up getting this error: ``` workerd/server/workerd-api.c++:753: error: wrapped binding module can't be resolved (internal modules only); moduleName = miniflare-internal:wrapped:__WRANGLER_EXTERNAL_AI_WORKER ``` This seems to be because the miniflare options include the wrapped bindings mapping to an internal AI worker script, but the corresponding worker options for this worker are not included in the miniflare options. ## Solution * In `wrangler`: Include `externalWorkers` in the results of [`unstable_getMiniflareWorkerOptions`](https://github.com/cloudflare/workers-sdk/blob/a7163b3a21f56c9bd839e34c9d5f31c3099a585a/packages/wrangler/src/api/integrations/platform/index.ts#L273) - it contains the worker options for the AI worker * In `@cloudflare/vite-plugin-cloudflare`: For the bindings in `wrappedBindings`, if their corresponding scripts are in `externalWorkers`, add these worker options to the miniflare options * Attempt to make PR diff less confusing * Skip e2e test for now until avoid cli interactivity with plugin can be avoided for auth for workers AI API * Update pnpm lockfile * Update after merging updates from main * Fix bad merge * Add E2E test * Ensure external workers are discriminated by user-worker name (fixing e.g. multiple workers in a multi-worker setup using an AI binding) * Remove no longer needed de-duping logic * Add images & vectorize to the playground * fix lockfile * Don't attach external worker for durable objects * Create green-ties-sit.md * Use workspace dep for Wrangler * Address comments * Support vite preview * work in preview * fix lokfile * Re-add peer dep * Update packages/vite-plugin-cloudflare/src/miniflare-options.ts Co-authored-by: James Opstad <13586373+jamesopstad@users.noreply.github.com> --------- Co-authored-by: Justin van der Merwe <justnvdm@gmail.com> Co-authored-by: Justin van der Merwe <justinvderm@gmail.com> Co-authored-by: James Opstad <13586373+jamesopstad@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e3efd68 - Browse repository at this point
Copy the full SHA e3efd68View commit details
Commits on Mar 7, 2025
-
chore: graduate nuxt, gatsby, angular, vue templates (#8372)
* graduate angular * graduate gatsby * graduate nuxt * changeset * remove brackets * graduate vue * update nitro config for nuxt * fix tests :( * update changeset * and pages too * add nuxt nitro changeset
Configuration menu - View commit details
-
Copy full SHA for 3536670 - Browse repository at this point
Copy the full SHA 3536670View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2044893 - Browse repository at this point
Copy the full SHA 2044893View commit details -
Workers Assets metafiles in asset-worker (#8279)
* Tidy up response status codes * Update tsconfig for workers-shared * Move rules engine to workers-shared * Run asset-worker tests in workerd * Refactor asset-worker in preparation of metafiles * Headers support in asset-worker * Redirects support in asset-worker * Add changeset for headers and redirects in asset-worker * PR feedback
Configuration menu - View commit details
-
Copy full SHA for aba0e9c - Browse repository at this point
Copy the full SHA aba0e9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 882b9c2 - Browse repository at this point
Copy the full SHA 882b9c2View commit details -
Workers Assets metafiles in
wrangler dev
(#8390)* Tidy up response status codes * Update tsconfig for workers-shared * Move rules engine to workers-shared * Run asset-worker tests in workerd * Refactor asset-worker in preparation of metafiles * Headers support in asset-worker * Redirects support in asset-worker * Add changeset for headers and redirects in asset-worker * PR feedback * Move headers and redirects parsers into workers-shared * Parse _headers and _redirects in wrangler dev * PR feedback
Configuration menu - View commit details
-
Copy full SHA for 53e6323 - Browse repository at this point
Copy the full SHA 53e6323View commit details -
fix: retry zone and route lookup API calls (#8392)
* fix: retry zone and route lookup API calls In rare cases, looking up Zone or Route API calls may fail due to transient errors. This change improves the reliability of `wrangler deploy` when these errors occur. Also fixes a rare issue where concurrent API requests may fail without correctly throwing an error which may cause a deployment to incorrectly appear successful. * Add comments to Promise.all() calls
Configuration menu - View commit details
-
Copy full SHA for 4d9d9e6 - Browse repository at this point
Copy the full SHA 4d9d9e6View commit details -
Add
CF-Cache-Status
to Workers Assets (#8373)* Move util final op methods to a more appropriate place * Add CF-Cache-Status header to Workers Assets
Configuration menu - View commit details
-
Copy full SHA for 08b8c46 - Browse repository at this point
Copy the full SHA 08b8c46View commit details
Commits on Mar 8, 2025
-
Make kv bulk put --local respect base64:true (#8383)
The bulk put api has an optional "base64" boolean property for each key. Before storing the key, the value should be decoded from base64. For real (remote) kv, this is handled by the rest api. For local kv, it seems the base64 field was ignored, meaning encoded base64 content was stored locally rather than the raw values. To fix, we need to decode each value before putting to the local miniflare namespace when base64 is true.
Configuration menu - View commit details
-
Copy full SHA for 8d6d722 - Browse repository at this point
Copy the full SHA 8d6d722View commit details
Commits on Mar 10, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 0dc4316 - Browse repository at this point
Copy the full SHA 0dc4316View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5fd045 - Browse repository at this point
Copy the full SHA e5fd045View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e8e633 - Browse repository at this point
Copy the full SHA 5e8e633View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fb582d - Browse repository at this point
Copy the full SHA 6fb582dView commit details -
test: add e2e tests of the build+preview use case (#8384)
* test: add e2e tests of the build+preview use case * fixups: refactor tests to avoid boilerplate and make it easier to test all the combinations * Apply suggestions from code review Co-authored-by: James Opstad <13586373+jamesopstad@users.noreply.github.com> --------- Co-authored-by: James Opstad <13586373+jamesopstad@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 54c8094 - Browse repository at this point
Copy the full SHA 54c8094View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73e2450 - Browse repository at this point
Copy the full SHA 73e2450View commit details -
Configuration menu - View commit details
-
Copy full SHA for 597255f - Browse repository at this point
Copy the full SHA 597255fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a352798 - Browse repository at this point
Copy the full SHA a352798View commit details
Commits on Mar 11, 2025
-
chore: update changeset (#8439)
Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 513504c - Browse repository at this point
Copy the full SHA 513504cView commit details -
* vite-plugin: add .gitignore update to README * c3: tighten up .gitignore processing
Configuration menu - View commit details
-
Copy full SHA for af1c5c3 - Browse repository at this point
Copy the full SHA af1c5c3View commit details -
chore(deps): bump the workerd-and-workers-types group with 2 updates (#…
…8423) * chore(deps): 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.20250224.0 to 4.20250303.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.20250224.0 to 1.20250303.0 - [Release notes](https://github.com/cloudflare/workerd/releases) - [Changelog](https://github.com/cloudflare/workerd/blob/main/Dockerfile.release) - [Commits](cloudflare/workerd@v1.20250224.0...v1.20250303.0) --- updated-dependencies: - dependency-name: "@cloudflare/workers-types" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: workerd-and-workers-types - dependency-name: workerd 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.20250224.0 | 1.20250310.0 | | @cloudflare/workers-types | ^4.20250224.0 | ^4.20250310.0 | --------- 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>
Configuration menu - View commit details
-
Copy full SHA for 8242e07 - Browse repository at this point
Copy the full SHA 8242e07View commit details -
Try and make unstable dev dev registry more stable (#8429)
Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 785c391 - Browse repository at this point
Copy the full SHA 785c391View 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 5109fdd - Browse repository at this point
Copy the full SHA 5109fddView commit details
There are no files selected for viewing