Skip to content
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

feat(db): use experimental node:sqlite if available #3230

Merged
merged 5 commits into from
Mar 18, 2025
Merged

Conversation

farnabaz
Copy link
Member

@farnabaz farnabaz commented Mar 7, 2025

πŸ”— Linked issue

resolves #3225

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Node 22.5+ provides an experimental native Sqlite adapter. This PR uses db0/connector/node-sqlite connector to use node:sqlite when it's available.

By using node:sqlite users will see Node.js experimental warning.

 ERROR  (node:18915) ExperimentalWarning: SQLite is an experimental feature and might change at any time                                                11:56:06 AM
(Use node --trace-warnings ... to show where the warning was created)

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Sorry, something went wrong.

Copy link

pkg-pr-new bot commented Mar 7, 2025 β€’

npm i https://pkg.pr.new/@nuxt/content@3230

commit: fc0a239

Copy link

cloudflare-workers-and-pages bot commented Mar 18, 2025 β€’

Deploying content with  Cloudflare Pages  Cloudflare Pages

Latest commit: fc0a239
Status: βœ…  Deploy successful!
Preview URL: https://bf304483.content-f0q.pages.dev
Branch Preview URL: https://feat-node-sqlite.content-f0q.pages.dev

View logs

up
up
@farnabaz farnabaz merged commit e97d579 into main Mar 18, 2025
5 checks passed
@farnabaz farnabaz deleted the feat/node-sqlite branch March 18, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use native node:sqlite with Node.js 22+
1 participant