3.10.0 is the last 3.x minor before 4.0, and it gives notice of the one 4.0 change that most installs can see: jsdom stops being installed with the package and becomes an optional peer dependency. Nothing changes in behaviour, so upgrading is safe today.
npm install @devilsdev/rag-pipeline-utils@^3.10.0
If you load .html or .htm files (with rag-pipeline ingest or HTMLLoader), add jsdom to your own project now, and 4.0 will keep working for you without a change:
npm install jsdom
Deprecated: jsdom installed with the package
jsdom is about 13 MB, and most projects never read HTML. In 4.0 it becomes an optional peer dependency, so installs that don't load HTML get smaller.
In 3.10, the first HTML file a process reads prints one warning with code RAG_DEP_JSDOM_PEER, unless your project's package.json already lists jsdom. Listing it in dependencies, devDependencies or optionalDependencies turns the warning off.
Security
Two dependency updates, both within the ranges the packages already allow:
-
ws8.23.1 (GHSA-37g9-w4hg-h9qr) -
cross-spawn7.1.2 (GHSA-ghv9-86vm-4v8m)
Coming in 4.0
4.0.0 removes what 3.x deprecated, and changes nothing else:
- jsdom becomes an optional peer dependency (
RAG_DEP_JSDOM_PEER). -
AuditLoggerrequireslogDir(RAG_DEP_AUDIT_LOG_DIR). -
generateComplianceReport()requirestenantId, orallTenants: true(RAG_DEP_AUDIT_REPORT_NO_TENANT).
A quick way to check: run your app or tests on 3.10 and look for those three codes in the output. If none appear, you're ready for 4.0. The migration guide covers each one.
A release candidate, 4.0.0-rc.1, is available for testing under the next tag (npm install @devilsdev/rag-pipeline-utils@next). A plain npm install keeps giving you 3.10.0.
The scoped packages, @devilsdev/rag-mcp-server and create-rag-pipeline are released at 3.10.0 too, unchanged apart from the version. Full details are in the CHANGELOG.
Originally published on the rag-pipeline-utils blog.
Top comments (0)