Skip to content

Conversation

@JoshMarkF
Copy link
Contributor

@JoshMarkF JoshMarkF commented Oct 15, 2024

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

Copy link
Contributor

@jorenvandeweyer jorenvandeweyer left a comment

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?

Copy link
Collaborator

@mguida22 mguida22 left a comment

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
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
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
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
28 checks passed
@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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants