electric-sql / electric

Sync little subsets of your Postgres data into local apps and services.
https://electric-sql.com
Apache License 2.0
6.2k stars 146 forks source link

chore(client): Drop Node 16 support and add Node 22 support #1378

Closed msfstef closed 3 months ago

msfstef commented 3 months ago

Node 16 has been dead for a while and we are not testing more modern Node LTS versions.

Most prominently, the better-sqlite3 we were using in the client does not support Node v22 as raised by @robacourt and others (https://github.com/electric-sql/electric/issues/1301)

I've updated the CI workflows to use Node v22 and the matrices to test v18 v20 and v22