-
v5.3.1 - Critical Bug Fixes Stable
released this
2025-11-04 22:07:53 +01:00 | 615 commits to main since this release🐛 Critical Bug Fixes
This patch release resolves three critical bugs that broke COW versioning and entity versioning features in v5.3.0.
Fixed
-
COW Ref Resolution Bug (lines 2354, 2856, 2895 in ):
getHistory(),commit(),deleteBranch()were prepending 'heads/' to branch names- This caused RefManager to resolve 'heads/main' to 'refs/heads/heads/main'
- Actual ref file at 'refs/heads/main' could not be found
- Result: "Ref not found: heads/main" error breaking all COW operations
- Impact: COW versioning was completely non-functional for all users
-
VersionManager commitHash Bug (lines 212, 222 in ):
save()was assigning entire Ref object to commitHash instead ofref.commitHash- Expected string, got object causing type mismatches in version metadata
-
Test Infrastructure: Fixed test mocks to properly handle metadata queries and version entities
Test Results
- Before: 16 test failures
- After: All VersionManager tests passing (24/24 ✅)
- Total: 1183/1208 tests passing (98%)
Upgrade
npm update @soulcraft/brainyWorkshop Team: This fixes the "Ref not found: heads/main" error you reported! 🎉
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
1 download
-