chore(release): 6.4.0
This commit is contained in:
parent
bf7792c0f8
commit
ec6fe0c039
3 changed files with 27 additions and 3 deletions
24
CHANGELOG.md
24
CHANGELOG.md
|
|
@ -2,6 +2,30 @@
|
|||
|
||||
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.
|
||||
|
||||
## [6.4.0](https://github.com/soulcraftlabs/brainy/compare/v6.3.2...v6.4.0) (2025-12-11)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
**Optimized VFS directory operations for cloud storage (GCS, S3, Azure, R2)**
|
||||
|
||||
**Issue:** `vfs.rmdir({ recursive: true })` took ~2 minutes for 15 files on GCS due to sequential operations. Each file deletion was a separate storage round-trip.
|
||||
|
||||
**Solution:** Replace sequential loops with batch operations using existing optimized primitives:
|
||||
|
||||
* **`rmdir()`**: Use `gatherDescendants()` + `deleteMany()` + parallel blob cleanup
|
||||
* **`copyDirectory()`**: Use `gatherDescendants()` + `addMany()` + `relateMany()`
|
||||
* **`move()`**: Inherits improvements from both (no code change needed)
|
||||
|
||||
**PROJECTED Performance Improvement:**
|
||||
|
||||
| Operation | Before | After | Improvement |
|
||||
|-----------|--------|-------|-------------|
|
||||
| rmdir 15 files | ~120s | ~15-30s | 4-8x faster |
|
||||
| copy 15 files | ~120s | ~20-40s | 3-6x faster |
|
||||
| move 15 files | ~240s | ~40-60s | 4-6x faster |
|
||||
|
||||
Requested by: Soulcraft Workshop team (BRAINY-VFS-RMDIR-PERFORMANCE)
|
||||
|
||||
### [6.3.2](https://github.com/soulcraftlabs/brainy/compare/v6.3.1...v6.3.2) (2025-12-09)
|
||||
|
||||
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@soulcraft/brainy",
|
||||
"version": "6.3.2",
|
||||
"version": "6.4.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@soulcraft/brainy",
|
||||
"version": "6.3.2",
|
||||
"version": "6.4.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.540.0",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@soulcraft/brainy",
|
||||
"version": "6.3.2",
|
||||
"version": "6.4.0",
|
||||
"description": "Universal Knowledge Protocol™ - World's first Triple Intelligence database unifying vector, graph, and document search in one API. Stage 3 CANONICAL: 42 nouns × 127 verbs covering 96-97% of all human knowledge.",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.js",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue