|
1 | 1 | # CHANGELOG |
2 | 2 |
|
| 3 | +## v0.16.3 (2025-12-20) |
| 4 | + |
| 5 | +### Features |
| 6 | + |
| 7 | +- **#439**: Add PostgreSQL database backend support |
| 8 | + ([`fb5e9e1`](https://github.com/basicmachines-co/basic-memory/commit/fb5e9e1)) |
| 9 | + - Full PostgreSQL/Neon database support as alternative to SQLite |
| 10 | + - Async connection pooling with asyncpg |
| 11 | + - Alembic migrations support for both backends |
| 12 | + - Configurable via `BASIC_MEMORY_DATABASE_BACKEND` environment variable |
| 13 | + |
| 14 | +- **#441**: Implement API v2 with ID-based endpoints (Phase 1) |
| 15 | + ([`28cc522`](https://github.com/basicmachines-co/basic-memory/commit/28cc522)) |
| 16 | + - New ID-based API endpoints for improved performance |
| 17 | + - Foundation for future API enhancements |
| 18 | + - Backward compatible with existing endpoints |
| 19 | + |
| 20 | +- Add project_id to Relation and Observation for efficient project-scoped queries |
| 21 | + ([`a920a9f`](https://github.com/basicmachines-co/basic-memory/commit/a920a9f)) |
| 22 | + - Enables faster queries in multi-project environments |
| 23 | + - Improved database schema for cloud deployments |
| 24 | + |
| 25 | +- Add bulk insert with ON CONFLICT handling for relations |
| 26 | + ([`0818bda`](https://github.com/basicmachines-co/basic-memory/commit/0818bda)) |
| 27 | + - Faster relation creation during sync operations |
| 28 | + - Handles duplicate relations gracefully |
| 29 | + |
| 30 | +### Performance |
| 31 | + |
| 32 | +- Lightweight permalink resolution to avoid eager loading |
| 33 | + ([`6f99d2e`](https://github.com/basicmachines-co/basic-memory/commit/6f99d2e)) |
| 34 | + - Reduces database queries during entity lookups |
| 35 | + - Improved response times for read operations |
| 36 | + |
| 37 | +### Bug Fixes |
| 38 | + |
| 39 | +- **#464**: Pin FastMCP to 2.12.3 to fix MCP tools visibility |
| 40 | + ([`f227ef6`](https://github.com/basicmachines-co/basic-memory/commit/f227ef6)) |
| 41 | + - Fixes issue where MCP tools were not visible to Claude |
| 42 | + - Reverts to last known working FastMCP version |
| 43 | + |
| 44 | +- **#458**: Reduce watch service CPU usage by increasing reload interval |
| 45 | + ([`897b1ed`](https://github.com/basicmachines-co/basic-memory/commit/897b1ed)) |
| 46 | + - Lowers CPU usage during file watching |
| 47 | + - More efficient resource utilization |
| 48 | + |
| 49 | +- **#456**: Await background sync task cancellation in lifespan shutdown |
| 50 | + ([`efbc758`](https://github.com/basicmachines-co/basic-memory/commit/efbc758)) |
| 51 | + - Prevents hanging on shutdown |
| 52 | + - Clean async task cleanup |
| 53 | + |
| 54 | +- **#434**: Respect --project flag in background sync |
| 55 | + ([`70bb10b`](https://github.com/basicmachines-co/basic-memory/commit/70bb10b)) |
| 56 | + - Background sync now correctly uses specified project |
| 57 | + - Fixes multi-project sync issues |
| 58 | + |
| 59 | +- **#446**: Fix observation parsing and permalink limits |
| 60 | + ([`73d940e`](https://github.com/basicmachines-co/basic-memory/commit/73d940e)) |
| 61 | + - Handles edge cases in observation content |
| 62 | + - Prevents permalink truncation issues |
| 63 | + |
| 64 | +- **#424**: Handle periods in kebab_filenames mode |
| 65 | + ([`b004565`](https://github.com/basicmachines-co/basic-memory/commit/b004565)) |
| 66 | + - Fixes filename handling for files with multiple periods |
| 67 | + - Improved kebab-case conversion |
| 68 | + |
| 69 | +- Fix Postgres/Neon connection settings and search index dedupe |
| 70 | + ([`b5d4fb5`](https://github.com/basicmachines-co/basic-memory/commit/b5d4fb5)) |
| 71 | + - Optimized connection pooling for Postgres |
| 72 | + - Prevents duplicate search index entries |
| 73 | + |
| 74 | +### Testing & CI |
| 75 | + |
| 76 | +- Replace py-pglite with testcontainers for Postgres testing |
| 77 | + ([`c462faf`](https://github.com/basicmachines-co/basic-memory/commit/c462faf)) |
| 78 | + - More reliable Postgres testing infrastructure |
| 79 | + - Uses Docker-based test containers |
| 80 | + |
| 81 | +- Add PostgreSQL testing to GitHub Actions workflow |
| 82 | + ([`66b91b2`](https://github.com/basicmachines-co/basic-memory/commit/66b91b2)) |
| 83 | + - CI now tests both SQLite and PostgreSQL backends |
| 84 | + - Ensures cross-database compatibility |
| 85 | + |
| 86 | +- **#416**: Add integration test for read_note with underscored folders |
| 87 | + ([`0c12a39`](https://github.com/basicmachines-co/basic-memory/commit/0c12a39)) |
| 88 | + - Verifies folder name handling edge cases |
| 89 | + |
| 90 | +### Internal |
| 91 | + |
| 92 | +- Cloud compatibility fixes and performance improvements (#454) |
| 93 | +- Remove logfire instrumentation for cleaner production deployments |
| 94 | +- Truncate content_stems to fix Postgres 8KB index row limit |
| 95 | + |
3 | 96 | ## v0.16.2 (2025-11-16) |
4 | 97 |
|
5 | 98 | ### Bug Fixes |
|
0 commit comments