Skip to content

Add support for better-sqlite3 v10 and 11 - #11096

Merged
michaelbromley merged 4 commits into
typeorm:masterfrom
JoshMarkF:better-sqlite3-more-versions
Jan 21, 2025
Merged

michaelbromley merged 4 commits into
typeorm:masterfrom
JoshMarkF:better-sqlite3-more-versions

Conversation

@JoshMarkF

@JoshMarkF JoshMarkF commented Oct 15, 2024 •

Copy link
Copy Markdown
Contributor

Description of change

better-sqlite3 has had versions 10 and 11 available for some time now. It would be useful for this repo to support the new versions in addition to the older ones.

This PR would fix issues such as #10894

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run format to apply prettier formatting
  • npm run test passes with this change
  • This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits follow conventions explained in CONTRIBUTING.md

@jorenvandeweyer jorenvandeweyer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should these version be added to the test matrix?

@mguida22 mguida22 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you been able to test TypeORM with better-sqlite3 versions 10 and 11?

@michaelbromley

Copy link
Copy Markdown
Member

Can anyone confirm this has been tested with the newer version of better-sqlite3 being added? If so we can merge.

Also - what's the reason for removing the v7 support?

@JoshMarkF

Copy link
Copy Markdown
Contributor Author

Tests ran fine locally when I tried to run them, so that should be ok.
Unfortunately, for v7, I dunno. That was removed before I made this PR.

@michaelbromley

Copy link
Copy Markdown
Member

OK I found it, v7 support was removed because it does not support node v20 #11183

@michaelbromley
michaelbromley merged commit 6c0c2ba into typeorm:master Jan 21, 2025
@JoshMarkF
JoshMarkF deleted the better-sqlite3-more-versions branch January 21, 2025 07:31
aberonni pushed a commit to global-121/typeorm that referenced this pull request Mar 5, 2025
ThbltLmr pushed a commit to ThbltLmr/typeorm that referenced this pull request Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants