Replies: 5 comments 4 replies
-
You can skim the releases, but for as long as I’ve been involved with this project (4+ years), I can’t remember a breaking API change. I update the major version number when versions of Node.js are dropped from support, and when SQLite changes seem substantial enough to warrant caution (but again, the changes they make are overwhelmingly forward compatible). |
Beta Was this translation helpful? Give feedback.
-
Would there be support for adding a section to the README or other docs, e.g. UpgradingUpgrading your
|
Beta Was this translation helpful? Give feedback.
-
I think I found one change, between The following SQL produces different results with each of those versions: SELECT value
, value->>'a'
, value->>'a.b'
, value->>'a'->>'b'
, value->'a'
, value->'a.b'
, value->'a'->'b'
, value->>'$.a.b'
FROM JSON_EACH('[ {"a":{"b":1}}, {"a":{"b":7} }]') I suspect this is a change in SQLite due to rewriting their JSON handling. Mentioned in the changelog for v3.45.0:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Nice research, thank you! |
Beta Was this translation helpful? Give feedback.
-
Hi, I've searched the docs & discussions and I can't find any notes on upgrading better-sqlite3 versions. Are there any specific guidelines? Should there ever be issues, e.g. going from v8 -> v11?
Beta Was this translation helpful? Give feedback.
All reactions