发布

  • Release v0.5.7 (#2542)

    frostbyte_neo 发布于 2026-04-03 18:57:50 +00:00

    Summary

    • Bump version from 0.5.6 to 0.5.7
    • Updated uv.lock
    • Synced main → dev before branching

    Changes included in this release (since v0.5.6)

    • API Key authentication — new auth method with X-Api-Key header,
      management endpoints, optional hashing
    • Importance-weighted ingestionimportance_weight parameter on
      add()
    • Log rotation & safe defaults — RotatingFileHandler (50MB/5
      backups), default dir moved from site-packages to ~/.cognee/logs,
      COGNEE_LOG_FILE=false to disable
    • JWT configuration — configurable secret and lifetime via env vars
    • Swagger UI auth improvements (bearer + API key, removed cookie)
    • Discord notification fix in release workflow

    Test plan

    • CI passes on this PR
    • Trigger release workflow on main after merge
    • Verify PyPI and Docker Hub artifacts

    🤖 Generated with Claude Code

    Summary by CodeRabbit

    • New Features

      • Added API key authentication as an alternative to bearer tokens
    • API key management endpoints for creating, listing, and deleting keys

    • Importance weight support propagated through ingestion, chunking,
      graph, and summarization

    • Configuration

      • New env vars for JWT settings and API key hashing control
    • Optional logging configuration including console/file toggles and
      rotating file logs

    • Documentation

      • Example guide demonstrating importance weight usage
    • Tests

      • End-to-end and unit tests covering JWT and API key flows
    下载附件