Repository navigation
4.0.0 removes what 3.x deprecated and changes nothing else. The pipeline API, answer checks, plugin contracts, configuration files, CLI commands and Node.js requirement (22 or later) are the same as in 3.x.
npm install @devilsdev/rag-pipeline-utils@^4.0.0If 3.10 printed none of RAG_DEP_JSDOM_PEER, RAG_DEP_AUDIT_LOG_DIR or RAG_DEP_AUDIT_REPORT_NO_TENANT, you can upgrade without changing anything. Run your app or tests on 3.10 with --trace-deprecation to check.
Breaking changes
- jsdom is an optional peer dependency. Installs that don't load HTML are about 13 MB smaller. If you load
.htmlor.htmfiles (rag-pipeline ingest,HTMLLoader), runnpm install jsdom(any version from 20). Without it, loading HTML fails with codeMISSING_DEPENDENCYand says what to install. AuditLoggerrequireslogDir. The constructor throws aTypeErrorwithout it. To keep the logs 3.x wrote, passlogDir: "./.rag-enterprise/audit-logs".generateComplianceReport()requires a tenant. PasstenantId, orallTenants: trueto cover every tenant as 3.x did silently.
The migration guide has each step with examples.
Support
3.10.x gets security fixes until 2027-01-02, 30 days after this release. To roll back, run npm install @devilsdev/rag-pipeline-utils@^3.
The scoped packages, @devilsdev/rag-mcp-server and create-rag-pipeline are released at 4.0.0 too, unchanged apart from the version. Full details: CHANGELOG