workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

Make Durable Objects and Pages work with D1

Open GregBrimble opened this issue 3 years ago • 2 comments
trafficstars

  • Pins the Miniflare version
  • Makes DOs and Pages work with D1
  • And then applies https://github.com/cloudflare/wrangler2/pull/1529 so we can get persistence too.

To merge this PR:

  1. Merge https://github.com/cloudflare/wrangler2/pull/1529
  2. Rebase the d1 branch
  3. Remove the last commit of this PR (https://github.com/cloudflare/wrangler2/pull/1511/commits/a959c308248b8197777a45fc63a8f61300abdfdd)
  4. Merge into the d1 branch

GregBrimble avatar Jul 20 '22 22:07 GregBrimble

🦋 Changeset detected

Latest commit: 6f784bc42839f21e2428fbf58cd58887122d3c5d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wrangler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Jul 20 '22 22:07 changeset-bot[bot]

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.developers.workers.dev/runs/2738484808/npm-package-wrangler-1511

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.developers.workers.dev/prs/1511/npm-package-wrangler-1511

Or you can use npx with this latest build directly:

npx https://prerelease-registry.developers.workers.dev/runs/2738484808/npm-package-wrangler-1511 dev path/to/script.js

github-actions[bot] avatar Jul 20 '22 22:07 github-actions[bot]