v3.2.0
thedevs-network/kuttv3.2.0Jan 22, 2025by poeti8
AI Summary
This major release includes significant breaking changes by switching the default SQLite driver and removes multiple unused dependencies while refactoring to use Node.js built-in features.
Key Highlights
- Breaking: Default SQLite driver changed from `sqlite3` to `better-sqlite3`
- Removed `cross-env`, `node-cron`, `uuid`, and `node-mailer` dependencies
- Replaced external dependencies with Node.js built-ins (`setInterval()`, `crypto.randomUUID()`)
- Standardized to use `node:` prefix for built-in modules
- Fixed error when requesting password reset for non-existing users
Breaking Changes
- Default SQLite driver changed from `sqlite3` to `better-sqlite3` - users who manually set `DB_CLIENT` to `sqlite3` must change to `better-sqlite3` or install `sqlite3` package
New Features
- Uses Node.js built-in `crypto.randomUUID()` instead of `uuid` package
- Uses `setInterval()` instead of `node-cron`
- Uses `--production` argument instead of `cross-env`
Full Release Notes
- **Breaking**: Default SQLite driver is changed from `sqlite3` to `better-sqlite3`. This is only breaking if you have set `DB_CLIENT` manually to `sqlite3`. If so, you can change it to `better-sqlite3` or install the driver—`npm install sqlite3`—if you want to keep using sqlite3. (Pull request #796) - Removed `cross-env` dependency and used `--production` argument instead. (Pull request #796) - Removed `node-cron` dependency and used `setInterval()` global function instead. (Pull request #796) - Removed `uuid` dependency and used Node.js built-in function `crypto.randomUUID()` instead. (Pull request #796) - Removed unused dependency `node-mailer` (not `nodmailer`, that one is still used.) (Pull request #796) - Require all built-in modules using `node:` prefix. (Pull request #796) - Standardize to double quotes everywhere (no linting or autoformatting added.) (Pull request #796) - Remove some unused imports. (Pull request #796) - Fixed error when request reset password for a non-existing user. (4a34cfe)