|
1 | 1 | # CHANGELOG |
2 | 2 |
|
| 3 | +## v0.13.6 (2025-06-18) |
| 4 | + |
| 5 | +### Bug Fixes |
| 6 | + |
| 7 | +- **Custom Entity Types** - Support for custom entity types in write_note |
| 8 | + ([`7789864`](https://github.com/basicmachines-co/basic-memory/commit/77898644933589c2da9bdd60571d54137a5309ed)) |
| 9 | + - Fixed `entity_type` parameter for `write_note` MCP tool to respect value passed in |
| 10 | + - Frontmatter `type` field automatically respected when no explicit parameter provided |
| 11 | + - Maintains backward compatibility with default "note" type |
| 12 | + |
| 13 | +- **#139**: Fix "UNIQUE constraint failed: entity.permalink" database error |
| 14 | + ([`c6215fd`](https://github.com/basicmachines-co/basic-memory/commit/c6215fd819f9564ead91cf3a950f855241446096)) |
| 15 | + - Implement SQLAlchemy UPSERT strategy to handle permalink conflicts gracefully |
| 16 | + - Eliminates crashes when creating notes with existing titles in same folders |
| 17 | + - Seamlessly updates existing entities instead of failing with constraint errors |
| 18 | + |
| 19 | +- **Database Migration Performance** - Eliminate redundant migration initialization |
| 20 | + ([`84d2aaf`](https://github.com/basicmachines-co/basic-memory/commit/84d2aaf6414dd083af4b0df73f6c8139b63468f6)) |
| 21 | + - Fix duplicate migration calls that slowed system startup |
| 22 | + - Improve performance with multiple projects (tested with 28+ projects) |
| 23 | + - Add migration deduplication safeguards with comprehensive test coverage |
| 24 | + |
| 25 | +- **User Experience** - Correct spelling error in continue_conversation prompt |
| 26 | + ([`b4c26a6`](https://github.com/basicmachines-co/basic-memory/commit/b4c26a613379e6f2ba655efe3d7d8d40c27999e5)) |
| 27 | + - Fix "Chose a folder" → "Choose a folder" in MCP prompt instructions |
| 28 | + - Improve grammar and clarity in user-facing prompt text |
| 29 | + |
| 30 | +### Documentation |
| 31 | + |
| 32 | +- **Website Updates** - Add new website and community links to README |
| 33 | + ([`3fdce68`](https://github.com/basicmachines-co/basic-memory/commit/3fdce683d7ad8b6f4855d7138d5ff2136d4c07bc)) |
| 34 | + |
| 35 | +- **Project Documentation** - Update README.md and CLAUDE.md with latest project information |
| 36 | + ([`782cb2d`](https://github.com/basicmachines-co/basic-memory/commit/782cb2df28803482d209135a054e67cc32d7363e)) |
| 37 | + |
| 38 | +### Technical Improvements |
| 39 | + |
| 40 | +- **Comprehensive Test Coverage** - Add extensive test suites for new features |
| 41 | + - Custom entity type validation with 8 new test scenarios |
| 42 | + - UPSERT behavior testing with edge case coverage |
| 43 | + - Migration deduplication testing with 6 test scenarios |
| 44 | + - Database constraint handling validation |
| 45 | + |
| 46 | +- **Code Quality** - Enhanced error handling and validation |
| 47 | + - Improved SQLAlchemy patterns with modern UPSERT operations |
| 48 | + - Better conflict resolution strategies for entity management |
| 49 | + - Strengthened database consistency guarantees |
| 50 | + |
| 51 | +### Performance |
| 52 | + |
| 53 | +- **Database Operations** - Faster startup and improved scalability |
| 54 | + - Reduced migration overhead for multi-project setups |
| 55 | + - Optimized conflict resolution for entity creation |
| 56 | + - Enhanced performance with growing knowledge bases |
| 57 | + |
| 58 | +### Migration Guide |
| 59 | + |
| 60 | +This release includes automatic database improvements. No manual migration required: |
| 61 | + |
| 62 | +- Existing notes and entity types continue working unchanged |
| 63 | +- New `entity_type` parameter is optional and backward compatible |
| 64 | +- Database performance improvements apply automatically |
| 65 | +- All existing MCP tool behavior preserved |
| 66 | + |
| 67 | +### Installation |
| 68 | + |
| 69 | +```bash |
| 70 | +# Latest stable release |
| 71 | +uv tool install basic-memory |
| 72 | + |
| 73 | +# Update existing installation |
| 74 | +uv tool upgrade basic-memory |
| 75 | +``` |
| 76 | + |
3 | 77 | ## v0.13.5 (2025-06-11) |
4 | 78 |
|
5 | 79 | ### Bug Fixes |
|
0 commit comments