v1.11.0
Full Changelog: v1.10.0...v1.11.0
Please note that this release was mostly performed thanks to gemini-cli (gemini-3-flash-preview).
I was really impressed with the quality of the proposed changes, espcially when replacing
moment with luxon!
Changes
- Upgrade eslint to the latest version.
- Fix eslint issues.
- Discovered that project node-jwt-validator was not properly running all the available unit tests!
This is because the src/**/*.test.ts pattern will ignore test files that right inside the src folder! - Upgrade all other dependencies to their latest version.
It means that our libs might start using some ESM only libs, but thanks to NodeJS 24 and more,
this should be transparent. - replace MomentJS with Luxon in node-jwt-validator
- move utils-oracle lib from Bitbucket to this Github monorepo.
You will have to replace your imports: @villemontreal/core-utils-oracle-nodejs-lib ==> @villedemontreal/utils-oracle
BREAKING
The following changes might break your code:
- upgrade mongodb from 6.20.0 to 7.0.0. See https://github.com/mongodb/node-mongodb-native/releases/tag/v7.0.0
- upgrade mongoose from 8.20.2 to 9.0.2. See https://github.com/Automattic/mongoose/releases/tag/9.0.0
- upgrade mongodb-memory-server-core from 10.4.1 to 11.0.1. See https://github.com/typegoose/mongodb-memory-server/releases/tag/v11.0.0
- replace MomentJS with Luxon in node-general-utils (if you still need moment, you'll have to import it in your project or better, replace it too)
- move @types/x imports from the dependencies to the devDependencies section. It should never have been there.
It might break your project but hopefully not.
Fixes
- Fix bug in node-general-utils/timer/getMillisecondsElapsed where the conversion mixed start and end segments, leading to wrong nanoseconds computation (found by gemini-cli).