github topoteretes/cognee v1.5.2
v1.5.2 — Stability & Search Improvements

one hour ago

v1.5.2 — Stability & Search Improvements

Release Date: 2026-08-22
Changes: v1.5.2 → main


Summary

This patch release focuses on making Cognee more reliable and improving search relevance for everyday queries. It includes targeted bug fixes, clearer error messages, ingestion and search performance improvements, and internal hardening for safer API behavior.

Highlights

  • Improved search relevance for short and ambiguous queries so answers are more useful.
  • Faster and more reliable data ingestion for large uploads and bulk imports.
  • Clearer error messages and logs to make debugging and integration easier.
  • Multiple bug fixes and internal hardening to reduce sync failures and crashes.

Breaking Changes

  • No breaking changes in v1.5.2. Upgrades should be safe for all users, but we recommend testing ingestion and search workflows in staging before deploying to production.

New Features

  • No major new feature modules were added in v1.5.2. This release focuses on user-facing refinements: search now better interprets short queries (so you’ll get more relevant results when you search with brief phrases), and ingestion paths were hardened to complete large imports more reliably.

Improvements

  • Search relevance: Tuning of the search ranking logic improves results for short or ambiguous queries, meaning you’ll see more directly relevant documents and fewer noisy matches.
  • Ingestion reliability: The upload and bulk-import processes are more robust against interruptions and transient errors, reducing the chance of partial or failed dataset imports.
  • Developer experience: Error messages returned by the API and SDK have been clarified to include actionable hints (what went wrong and common next steps), making integration issues faster to diagnose.
  • Logging and observability: Internal logs provide clearer markers for dataset sync and query lifecycle events so support and debugging are easier.

Performance

  • Reduced latency for search queries in common scenarios (notable improvement for short/phrase queries), so interactive searches return answers faster.
  • Improved memory handling during large file ingestion to avoid spikes that previously could cause timeouts or retries.

Security

  • Input validation and error handling around public API endpoints were tightened to reduce the chance of malformed requests causing inconsistent states. This improves overall robustness when integrating third-party data sources.

Bug Fixes

  • Fixed a condition that could cause dataset sync to stall after intermittent network interruptions.
  • Resolved rare crashes during high-concurrency ingestion jobs.
  • Corrected misleading API error messages that made some transient failures appear permanent.
  • Fixed an issue where small/short queries sometimes returned lower-relevance results.

Technical Changes

  • Internal refactors to dataset sync and ingestion code to simplify retry behavior and improve maintainability.
  • Dependency updates and minor SDK polishing for more robust client behavior during network failures.
  • Improved unit and integration tests around search ranking and dataset synchronization.

Compatibility

Component Supported / Required
Python >=3.10,<3.15
pydantic >=2.10.5
litellm >=1.83.7
fastapi >=0.116.2,<1.0.0
sqlalchemy >=2.0.39,<3.0.0
lancedb >=0.24.3,<1.0.0
ladybug ==0.19.0

— The Cognee Team · 2026-08-22

Don't miss a new cognee release

NewReleases is sending notifications on new releases.