Skip to content

v0.25.2

Choose a tag to compare

@github-actions github-actions released this 31 Jan 05:08
· 507 commits to master since this release

✨ Major Features

  • Added comprehensive PostgreSQL database support as an alternative to SQLite
  • Enhanced search capabilities with advanced indexing and filtering
  • Improved Chinese language support with jieba tokenization
  • Implemented caching and hashing for embedding generation

💻 Installation

For basic installation:

pip install memos

For PostgreSQL support:

pip install memos[postgresql]

📝 Detailed Changes

💾 Database Enhancements

  • Added full PostgreSQL database support with migration tools
  • Implemented SQLite to PostgreSQL database migration command
  • Added persistent volume support for PostgreSQL data storage
  • Enhanced database queries with sorting and eager loading optimizations
  • Improved timestamp filtering for cross-database compatibility

🔍 Search Improvements

  • Implemented advanced PostgreSQL full-text search with jieba tokenization
  • Enhanced vector search capabilities with advanced indexing and filtering
  • Optimized full-text search with improved prefix matching
  • Added caching and hashing mechanisms for embedding generation

✨ 主要特性

  • 新增了全面的 PostgreSQL 数据库支持,作为 SQLite 的替代方案
  • 通过高级索引和过滤功能增强了搜索能力
  • 使用 jieba 分词改进了中文语言支持
  • 实现了嵌入生成的缓存和哈希机制

💻 安装

基本安装:

pip install memos

支持 PostgreSQL 的安装:

pip install memos[postgresql]

📝 详细变更

💾 数据库增强

  • 新增了完整的 PostgreSQL 数据库支持,并提供了迁移工具
  • 实现了 SQLite 到 PostgreSQL 数据库的迁移命令
  • 新增了对 PostgreSQL 数据存储的持久卷支持
  • 通过排序和预加载优化增强了数据库查询
  • 改进了时间戳过滤功能,确保跨数据库兼容性

🔍 搜索改进

  • 使用 jieba 分词实现了高级的 PostgreSQL 全文搜索
  • 通过高级索引和过滤功能增强了向量搜索能力
  • 优化了全文搜索的前缀匹配功能
  • 新增了嵌入生成的缓存和哈希机制