Changelog¶
The Emergent Go SDK follows Semantic Versioning and Keep a Changelog.
Source: apps/server/pkg/sdk/CHANGELOG.md
[0.8.0] — Unreleased¶
Added¶
Graph ID Model Reform (Issues #43–#47):
graphutilpackage — Newpkg/sdk/graph/graphutil/withIDSet,ObjectIndex, andUniqueByEntityhelpers for canonical-aware ID comparison, O(1) lookup by either ID variant, and query result deduplicationGetByAnyIDmethod — Semantic alias forGetObjectthat makes caller intent explicit when the ID could be either version-specific or entity-stableHasRelationshipmethod — Boolean check for relationship existence by type, src, and dst (accepts either ID form)VersionID/EntityIDfields — Added toGraphObjectandGraphRelationshipSDK types alongside deprecatedID/CanonicalID; customUnmarshalJSONcross-populates all four fields regardless of which names the server sends- Dual JSON field names — Server DTOs now emit both
id/canonical_idandversion_id/entity_idvia customMarshalJSON
Deprecated¶
GraphObject.ID— UseVersionIDinsteadGraphObject.CanonicalID— UseEntityIDinsteadGraphRelationship.ID— UseVersionIDinsteadGraphRelationship.CanonicalID— UseEntityIDinstead
[0.7.0] — 2026-02-12¶
Added¶
Capability Gaps:
- Template Pack Creation — Full CRUD for template packs via
TemplatePacksclient - Type Schema Registration — Register and retrieve type schemas via
TypeRegistryclient - Property-level Filtering — JSONB
PropertyFilterwith 9 operators (eq,neq,gt,gte,lt,lte,contains,startsWith,exists) forListObjects - Inverse Relationship Auto-creation —
InverseTypefield on relationships; server auto-creates inverse when set - Bulk Object/Relationship Creation —
BulkCreateObjectsandBulkCreateRelationships(max 100 items, partial-success semantics)
SDK Enhancements:
- ListTags filtering —
ListTagsOptionswithType,Prefix,Limitfields - Custom HTTP client —
Config.HTTPClientfield for custom*http.Client
Fixed¶
- SetContext race condition — Added
sync.RWMutexto parentClientand all 19 sub-clients - ListTags response wrapping — Server now returns
{"tags": [...]}instead of bare array - Search pagination offset — Added
Offsetsupport to FTS, Vector, and Hybrid search - SearchWithNeighbors score loss —
PrimaryResultsnow returnsSearchWithNeighborsResultItemwith both Object and Score
Changed¶
ListTagssignature changed fromListTags(ctx)toListTags(ctx, *ListTagsOptions)— passnilfor previous behaviorSearchWithNeighborsResponse.PrimaryResultstype changed to[]*SearchWithNeighborsResultItemMCP.SetContextsignature changed toSetContext(projectID string)(orgID removed)
[0.4.12] — 2026-02-11¶
First public release. 11 service clients, dual authentication, 43 test cases, 4 example programs.
- Module path corrected to
github.com/emergent-company/emergent.memory/apps/server/pkg/sdk - Documents, Chunks, Search, Graph, Chat, Projects, Orgs, Users, APITokens, Health, MCP clients
- OAuth device flow authentication
- SSE streaming for chat