• v3.15.0 40715226fa

    v3.15.0 Stable

    dpsifr released this 2025-09-27 00:12:27 +02:00 | 919 commits to main since this release

    🚀 Release v3.15.0

    🐛 Critical VFS Bug Fix

    This release fixes a critical bug in the Virtual File System (VFS) that was reported by the brain-cloud team.

    Problem Fixed

    • vfs.readdir() was returning empty arrays even when files existed
    • Files were created successfully but weren't linked to their parent directories in the graph
    • The Contains verb relationship was missing when updating existing files

    Solution Implemented

    • Added Contains relationship verification when updating existing files
    • Create missing relationships to prevent orphaned files in the graph
    • Fixed resolvePath() to return entity IDs instead of path strings
    • Improved error handling in ensureDirectory() method
    • Added comprehensive tests for Contains relationship integrity

    Impact

    This fix resolves issues with:

    • File explorers showing empty directories
    • vfs.readdir() always returning empty arrays
    • vfs.importDirectory() importing files but not listing them
    • Recursive directory traversal failures

    Technical Details

    The VFS architecture using graph verbs is solid - this was a missing implementation detail in the writeFile() method that has now been resolved. The fix ensures data integrity and maintains proper parent-child relationships in the graph structure.


    Full Changelog: https://github.com/soulcraftlabs/brainy/compare/v3.14.2...v3.15.0

    Downloads