From 0a9d7ffa65704d171f1163835578f3b90a4d3c0e Mon Sep 17 00:00:00 2001 From: David Snelling Date: Tue, 21 Oct 2025 11:31:03 -0700 Subject: [PATCH] chore(release): 4.1.2 --- CHANGELOG.md | 14 ++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e616582..0e8d8ce1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [4.1.2](https://github.com/soulcraftlabs/brainy/compare/v4.1.1...v4.1.2) (2025-10-21) + + +### šŸ› Bug Fixes + +* **storage**: resolve count synchronization race condition across all storage adapters ([798a694](https://github.com/soulcraftlabs/brainy/commit/798a694)) + - Fixed critical bug where entity and relationship counts were not tracked correctly during add(), relate(), and import() + - Root cause: Race condition where count increment tried to read metadata before it was saved + - Fixed in baseStorage for all storage adapters (FileSystem, GCS, R2, Azure, Memory, OPFS, S3, TypeAware) + - Added verb type to VerbMetadata for proper count tracking + - Refactored verb count methods to prevent mutex deadlocks + - Added rebuildCounts utility to repair corrupted counts from actual storage data + - Added comprehensive integration tests (11 tests covering all operations) + ### [4.1.1](https://github.com/soulcraftlabs/brainy/compare/v4.1.0...v4.1.1) (2025-10-20) diff --git a/package-lock.json b/package-lock.json index 55995cfd..1dbbca69 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@soulcraft/brainy", - "version": "4.1.1", + "version": "4.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@soulcraft/brainy", - "version": "4.1.1", + "version": "4.1.2", "license": "MIT", "dependencies": { "@aws-sdk/client-s3": "^3.540.0", diff --git a/package.json b/package.json index 2345b6d4..8089a9df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@soulcraft/brainy", - "version": "4.1.1", + "version": "4.1.2", "description": "Universal Knowledge Protocolā„¢ - World's first Triple Intelligence database unifying vector, graph, and document search in one API. 31 nouns Ɨ 40 verbs for infinite expressiveness.", "main": "dist/index.js", "module": "dist/index.js",