v1.4.12
HKUDS/LightRAGv1.4.12Mar 27, 2026by danielaskdd
AI Summary
This release optimizes Postgres Vector DB upsert performance and adds bcrypt password hashing support. It also resolves issues with PDF files and introduces HALFVEC index support.
Key Highlights
- Optimized Postgres Vector DB upsert performance (batch size 200)
- Added bcrypt-prefixed password hashing support
- Fixed PDF files with permission-only restrictions
- Support for HALFVEC index type in Postgres
New Features
- Vector database performance tuning
- Password hashing security
- PDF permission handling
- HALFVEC index support
Full Release Notes
## Hot Fixes - Optimize Postgres Vector DB upsert performance by increasing the batch size to 200 records per operation. - Resolved issue with opening PDF files protected by permission-only restrictions - Fixed pipeline cancellation causing filenames to be incorrectly changed to 'unknown_source' ## What's Changed * feat(auth): add bcrypt-prefixed password hashing support by @danielaskdd in https://github.com/HKUDS/LightRAG/pull/2813 * ⚡ Bolt: Optimize text sanitization in utils.py by @danielaskdd in https://github.com/HKUDS/LightRAG/pull/2814 * Fix loginToServer content type and missing grant_type by @danielaskdd in https://github.com/HKUDS/LightRAG/pull/2821 * Postgress/pgvector backend now allows index large embeddings with HALFVEC by @Daggle24 in https://github.com/HKUDS/LightRAG/pull/2663 * fix: make document deletion retry-safe by @danielaskdd in https://github.com/HKUDS/LightRAG/pull/2826 * fix(pdf): handle permission-only encrypted PDFs without password by @danielaskdd in https://github.com/HKUDS/LightRAG/pull/2827 * Add driver info to AsyncMongoClient instantiation by @alexbevi in https://github.com/HKUDS/LightRAG/pull/2834 ## New Contributors * @Daggle24 made their first contribution in https://github.com/HKUDS/LightRAG/pull/2663 * @alexbevi made their first contribution in https://github.com/HKUDS/LightRAG/pull/2834 **Full Changelog**: https://github.com/HKUDS/LightRAG/compare/v1.4.11...v1.4.12rc1