Skip to content

v4.0.0

Latest

Choose a tag to compare

@alikahwaji alikahwaji released this 03 Dec 23:12
· 3 commits to main since this release
1fdc8a5

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.0

If 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 .html or .htm files (rag-pipeline ingest, HTMLLoader), run npm install jsdom (any version from 20). Without it, loading HTML fails with code MISSING_DEPENDENCY and says what to install.
  • AuditLogger requires logDir. The constructor throws a TypeError without it. To keep the logs 3.x wrote, pass logDir: "./.rag-enterprise/audit-logs".
  • generateComplianceReport() requires a tenant. Pass tenantId, or allTenants: true to 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