What's Changed
- Migrate to @duckdb/node-api by @nimrossum in #769
We migrated our database API, which has mitigtaed unstable and slow installs, as well as address deprecation warnings. Install benchmark of previous version vs. latest with npm:
┌─────────┬──────────┬──────────────────────────┬─────────────────────────────────────┐
│ (index) │ version │ npx average time (in ms) │ global install average time (in ms) │
├─────────┼──────────┼──────────────────────────┼─────────────────────────────────────┤
│ 0 │ '2.0.2' │ 16852 │ 10892 │
│ 1 │ '2.0.3' │ 9721 │ 2919. │
└─────────┴──────────┴──────────────────────────┴─────────────────────────────────────┘
The new database API is also compatible with Bun, which is a new and efficient JavaScript runtime.
To run the latest version of git-truck with Bun, run:
bunx --bun git-truck@latest
Full Changelog: v2.0.2...v2.0.3