New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
D1 support #1687
D1 support #1687
Conversation
🦋 Changeset detectedLatest commit: 200c7f2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
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/3127583359/npm-package-wrangler-1687 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.developers.workers.dev/prs/1687/npm-package-wrangler-1687 Or you can use npx https://prerelease-registry.developers.workers.dev/runs/3127583359/npm-package-wrangler-1687 dev path/to/script.js |
Codecov Report
@@ Coverage Diff @@
## main #1687 +/- ##
==========================================
- Coverage 77.62% 75.58% -2.04%
==========================================
Files 105 116 +11
Lines 7480 7855 +375
Branches 1974 2044 +70
==========================================
+ Hits 5806 5937 +131
- Misses 1674 1918 +244
|
82f788f
to
1e6903b
Compare
We've found fixtures to be really great. Might be a bit of effort to set up with a sqlite file, but if there's going to be a chunky refactor for when it D1 GA's, it very well might be worth it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interim comments - haven't looked at the D1 folder yet.
57679ea
to
e69d00c
Compare
This adds
wrangler d1
subcommand, that's been being tested on thewrangler@d1
tag:At the moment it uses a prerelease version of miniflare,
"2.8.2-d1.0"
, but that will be released properly soon and I'll update this PR.