chore: bump @ocas/core to 0.4.1 #96

Merged
xiaoju merged 2 commits from chore/bump-core-0.4.1 into main 2026-06-07 15:46:32 +00:00
2 changed files with 1 additions and 18 deletions
Showing only changes of commit 1531255698 - Show all commits
-17
View File
@@ -1,17 +0,0 @@
---
"@ocas/core": patch
---
Fix `gc` false-orphan deletion of `oneOf`-linked CAS chains and template content nodes.
`collectRefs` now traverses `oneOf` sub-schemas (previously skipped even though
the meta-schema accepted the keyword), so `walk`/`refs` correctly follow
`ocas_ref` fields nested inside `oneOf` combinators (e.g. nullable `prev` /
`detail` / `workflow` refs in uwf step chains).
`gc` no longer treats `@ocas/template/text/*` variables as roots; instead it
walks template content only when its referenced schema is itself reachable
from non-template roots, mirroring `computeClosure` Phase 3. This prevents
orphan template nodes from surviving GC when their schema is unreachable.
Fixes #93
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ocas/core",
"version": "0.4.0",
"version": "0.4.1",
"description": "Core CAS engine — hashing, schema, store, verify, bootstrap",
"keywords": [
"cas",