v0.4.0 — Node 22 is now required (and the npm gotcha on Node 20) #40
alexanderbering
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Since v0.4.0, all packages require Node.js 22 or newer. This is the project's first breaking change, so here is the full picture in one place.
What changed
engines.nodeis now>=22across@zensation/algorithms,@zensation/coreand both adapters@zensation/adapter-sqlitemoved tobetter-sqlite313 (the driver that forced the floor)The gotcha to know about
On Node 20 or older,
npm install @zensation/algorithmsdoes not fail. npm silently resolves to the last compatible release —@zensation/algorithms@0.3.4/@zensation/core@0.2.2. It looks like the package is outdated or broken; it is a platform mismatch.Check what you actually got:
If you are stuck on Node 20 for now:
0.3.4remains on npm and keeps working — you miss the 0.4.0 changes (CHANGELOG).Questions about migrating? Ask below.
All reactions