-
Notifications
You must be signed in to change notification settings - Fork 3k
feat: adds new Cloudflare D1 SQLite adapter, R2 storage adapter and Cloudflare template #12537
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
Conversation
Is there any ETA for this? Would love to test a full deployment on Cloudflare with workers and D1 db |
What's needed to get this merged? Is there anything I can do to help speed up the process? |
@r1tsuu hi took a look at this for a sec and i think your missing something in the setup. |
Is there any update on this? Really keen to use this feature. If there's anything such as testing, etc that I could help with to get this live, please say! |
📦 esbuild Bundle Analysis for payloadThis analysis was generated by esbuild-bundle-analyzer. 🤖
Largest pathsThese visualization shows top 20 largest paths in the bundle.Meta file: packages/next/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_shared.json, Out file: esbuild/exports/shared.js
Meta file: packages/richtext-lexical/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_shared.json, Out file: esbuild/exports/shared_optimized/index.js
DetailsNext to the size is how much the size has increased or decreased compared with the base branch of this PR.
|
For everyone following this thread, thank you for your patience, we just released these adapters under the follow internal/canary versions - mostly for us to test but something anyone can install until we get the template PR rolling
|
I'm getting the following issue: ⨯ [Error: D1_TYPE_ERROR] {
payloadInitError: true,
digest: '2612924677',
[cause]: [Error: Type 'function' not supported for value 'function() {
return this[~~(Math.random() * this.length)];
}']
} I though this might be because the package is using an old version of drizzle-kit, however, I've patched that, and I'm still getting the same issue. |
Did you make it work? If yes, how did you configure this? |
This is the final piece to make Payload a complete no-brainer for Next projects. What needs to happen here to get it over the finish line? |
Guys, can you update on your plans pls? It seems like the PR stuck for a while and there is no communication from Payload team. Should we expect any progress at least in a month or two? @r1tsuu @paulpopus |
@ckhicks @BohdanK-W32 As soon as the ecommerce plugin is released (very soon) this is our next priority, no timeline right now as a result but we'll get on to this ASAP |
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.
I have a few docs notes to add.
Is it too early to add to add db-d1-sqlite to the int test matrix?
Still looking at other details.
🚀 This is included in version v3.58.0 |
This feat adds support for
Todo checklist:
Post merge checklist: