• v2.14.1 7c46879334

    dpsifr released this 2025-09-02 23:56:16 +02:00 | 979 commits to main since this release

    Bug Fix

    Fixed

    • Implemented missing getVerbsWithPagination() method in FileSystemStorage adapter
    • Verbs can now be correctly retrieved after being added when using FileSystemStorage
    • Added safety warnings for large datasets (>100k entries)
    • Enhanced interface documentation with performance considerations

    Technical Details

    • The FileSystemStorage adapter was missing the pagination method required by BaseStorage
    • Added proper filtering support for sourceId, targetId, verbType, and service
    • Includes metadata retrieval for each verb
    • Implements cursor-based pagination for efficient data retrieval

    Safety Improvements

    • Added warnings when detecting large datasets (>100,000 verbs)
    • Documented performance considerations for count methods
    • Note: For millions of entries, consider using S3 or database storage adapters

    This patch fixes the issue reported where brain.getVerbs() would return an empty array even after successfully adding verbs with the FileSystemStorage adapter.

    Downloads