Repository navigation
v0.8.0
New in 0.8.0
Paginated resource lists
The REST list endpoints for projects, plans, tasks, documents, code artifacts, files and skills
now return one page at a time. limit defaults to 20 (range 1 to 100) and offset defaults to 0.
Each response includes total, limit and offset. Invalid values return HTTP 400, as on the
Memories list. See the
API reference.
This changes the default response of existing endpoints. A client that needs every record must
page through the results using total. The current Forgetful UI does not page these lists yet,
so until it is updated it shows at most 20 items per list, for example 20 tasks on a plan board.
Memory list sorting and filtering
GET /api/v1/memories can now sort by title and project, match text literally with ASCII
folding, cap importance, and filter by an inclusive UTC updated_at range (#214). Reading or
searching a memory no longer changes its updated_at; only edits do (#222).
Compact query_memory responses
query_memory accepts response_format: "compact". It returns the memory text and the main
fields (id, title, content, context, importance, tags, project_ids), with linked
memories and scores flattened. The default "full" format is unchanged. In the PR's measurement
the compact payload was 65% smaller.
Memory Link and Entity Relationship plugins
Two new optional write-plugin registrations follow the Entity and Plan plugins from 0.7.0:
MEMORY_LINK_PLUGINadds before-save and after-save hooks for manual link and unlink,
automatic links after memory creation, and targeted embedding rebuilds.ENTITY_RELATIONSHIP_PLUGINadds hooks for relationship create, update and delete. Entity
delete cascades do not call the relationship hooks.
Each has its own _MODE (default enforce) and _TIMEOUT_SECONDS (default 5.0) setting.
With no plugin configured, responses are unchanged. See docker/.env.example and the
configuration guide.
Fixes and dependency updates
- REST routes return HTTP 400 instead of 500 for a non-integer path ID.
- SQLite memory lists now apply pagination and the tag filter in the database query.
- The Entity Plugin timeout tests now fail if the plugin deadline is removed.
- GitHub Actions and Nix inputs have been updated, and the Nix comments are easier to follow
outside the author's toolchain.
Upgrading from 0.7.0
This release adds no database migrations. Back up your database before upgrading, as usual.
Check these behaviour changes before you upgrade:
- Clients of the seven REST list endpoints above must page with
limitandoffset. The first
response is no longer the full collection. - A non-integer REST path ID now returns HTTP 400 with a JSON error, not HTTP 500.
- Memory
updated_atnow changes only when the memory is edited, not when it is read.
What's Changed
- fix(sqlite): push memories list pagination and tag filter into SQL by @ScottRBK in
#217 - chore(deps): bump cachix/install-nix-action from 31.11.3 to 31.11.5 in /.github/workflows by
@dependabot[bot] in #218 - chore(deps): bump docker/setup-buildx-action from 3 to 4 in /.github/workflows by
@dependabot[bot] in #219 - chore(deps): bump the flake-inputs group with 2 updates by @dependabot[bot] in
#220 - Add Memory Link Plugin hooks by @leninworld in #212
- feat(memories): extend list filters and preserve update timestamps on reads by @ScottRBK in
443f379 - feat(mcp): add opt-in compact response_format to query_memory by @bertheto in
#213 - docs(nix): write comments for readers outside the author's toolchain by @twstagg in
#227 - fix(api): return 400 for non-integer REST path IDs by @ScottRBK in
#233 - Add pagination to resource list endpoints by @leninworld in
#226 - chore(deps): bump astral-sh/setup-uv from 10.3.3 to 10.4.0 in /.github/workflows by
@dependabot[bot] in #230 - chore(deps): bump nixpkgs from
177d054to0490633in the flake-inputs group by
@dependabot[bot] in #231 - feat: add before-save and after-save Entity Relationship Plugin hooks by @comedianhhh in
#228 - test: make entity plugin timeout tests depend on the plugin deadline by @leninworld in
#235
New Contributors
- @comedianhhh made their first contribution in #228
Full Changelog: v0.7.0...v0.8.0