github topoteretes/cognee v1.1.1.dev0

4 hours ago

Release Notes - v1.1.1.dev0

Release Date: 2026-05-22
Changes: v1.1.1.dev0 → fix-varchar-size


Summary

This patch release fixes a database schema issue that could cause user text fields to be silently truncated. It includes a safe migration to enlarge varchar columns and adds validation so truncation is detected earlier. The result is more reliable storage of user memories and metadata without data loss.

Highlights

  • Fixed varchar size limits that could silently truncate user content
  • Safe database migration included to resize affected columns
  • Validation added to detect input that previously would be truncated
  • Improved reliability for search and indexing that depended on full text

Breaking Changes

  • Database schema migration is required: upgrade includes a migration that must be applied to existing databases before running the new code. Back up your database and run the provided migration (or your normal migration process) during deployment.
  • If you maintain a custom database schema or applied manual schema patches, you might need to reconcile those changes with the new column sizes to avoid conflicts.

New Features

  • Database migration that increases varchar sizes for fields used to store user memories and metadata, preventing silent truncation of long values
  • Input validation that warns or blocks values that would exceed column limits before they are saved

Improvements

  • More robust storage for user-generated content — longer texts are now preserved end-to-end
  • Search and indexing behavior improved because stored values are no longer truncated
  • Better error messages and logging when user input approaches storage limits

Bug Fixes

  • Fixed bug where long strings could be silently truncated when saved to the database
  • Resolved issues where truncated values caused unexpected search results or indexing errors

Technical Changes

  • Refactored schema definitions to centralize varchar size configuration and reduce future regressions
  • Added automated tests around maximum field lengths and migration behavior
  • Included a migration file to perform the column size changes (apply via your migration toolchain)

Generated by Cognee Release Notes Generator on 2026-05-22

Don't miss a new cognee release

NewReleases is sending notifications on new releases.