This release includes 1 breaking change for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
+8 more
Affected surfaces
ReleasePort's take
Light signalThe remote write path in @contentrain/[email protected] no longer commits `.contentrain/context.json` to feature branches, eliminating permanent merge conflicts and preventing silent content loss.
Why it matters: Fixes a bug that caused irreversible merge conflicts when committing `.contentrain/context.json`, ensuring reliable remote write operations.
Summary
AI summaryRemote write path no longer commits .contentrain/context.json to feature branches, eliminating permanent merge conflicts.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Bugfix | Medium |
Remote write path no longer commits `.contentrain/context.json` to feature branches, preventing permanent merge conflicts and silent content loss. Remote write path no longer commits `.contentrain/context.json` to feature branches, preventing permanent merge conflicts and silent content loss. Source: llm_adapter@2026-06-12 Confidence: low |
— |
Full changelog
Patch Changes
-
61dcd1a: Remote write path no longer commits
.contentrain/context.jsonto feature branchescommitThroughProvider(used by content/model save/delete over GitHub and GitLab providers) bundled a freshly builtcontext.jsoninto every feature-branch commit. Because the file embedsnew Date()timestamps, two parallelcr/*branches forked from the samecontentraincommit always diverged on it — after the first branch merged and context was regenerated oncontentrain, the second branch's merge hit a permanent conflict oncontext.jsonand stayed pending forever (silent content loss in auto-merge setups).Remote commits now carry only the plan's own changes, matching the local transaction flow where feature branches intentionally never include
context.json. The orchestrator that owns the merge (e.g. Studio) is responsible for regeneratingcontext.jsonon thecontentrainbranch post-merge —buildContextChangeis exported from@contentrain/mcp/core/contextfor that purpose.
Breaking Changes
- Removed automatic inclusion of `.contentrain/context.json` in every remote write commit to feature branches.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Contentrain/ai
Local-first MCP server for AI content governance — 13 tools for model/content CRUD, validation, normalization, and i18n across any framework.
Related context
Earlier breaking changes
- v@contentrain/[email protected] `validateModelDefinition` now returns `{ errors, warnings }` instead of a string array.
- v@contentrain/[email protected] `model_save` rejects models with unknown keys, `min > max`, invalid constraints, and `unique` on singletons.
- v@contentrain/[email protected] `content_save` now validates before committing and rejects invalid content.
- v@contentrain/[email protected] `validateModelDefinition` now returns `{ errors, warnings }` instead of a string array.
- v@contentrain/[email protected] `model_save` rejects models with unknown keys, `min > max`, invalid constraints, and `unique` on singletons.
Beta — feedback welcome: [email protected]