@componentor/fs 3.0.42 → 3.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -602,6 +602,43 @@ Make sure `opfsSync` is enabled (it's `true` by default). Files are mirrored to
|
|
|
602
602
|
|
|
603
603
|
## Changelog
|
|
604
604
|
|
|
605
|
+
See [CHANGELOG.md](./CHANGELOG.md) for the full version history.
|
|
606
|
+
|
|
607
|
+
### v3.0.44 (2026)
|
|
608
|
+
|
|
609
|
+
**Fixes:**
|
|
610
|
+
- Coalesce per-path OPFS sync notifications in `sync-relay.worker.ts` — a single chunked 100 MB upload now triggers one full-file read instead of ~1500, eliminating `RangeError: Array buffer allocation failed` on repeated large uploads (e.g. Strapi multipart)
|
|
611
|
+
- Cancel pending debounced syncs on `UNLINK`/`RMDIR`; reroute on `RENAME`
|
|
612
|
+
- Route `OP.SYMLINK` mirror through the same debounced flusher
|
|
613
|
+
|
|
614
|
+
**Memory:**
|
|
615
|
+
- Replace `scanOPFSEntries` with streaming `populateVFSFromOPFS`: chunked `SyncAccessHandle` + `engine.append`, init peak memory bounded by 2 MB instead of sum of all OPFS file sizes
|
|
616
|
+
- `renameInOPFS` copies via two `SyncAccessHandle`s in 2 MB chunks instead of `file.arrayBuffer()`
|
|
617
|
+
- Coalesce pending `write` events for the same path in the OPFS sync queue — newer payload supersedes older, frees stale `ArrayBuffer` for GC
|
|
618
|
+
|
|
619
|
+
**Tests:**
|
|
620
|
+
- Update `vfs-engine` test for the 100K default inode count
|
|
621
|
+
|
|
622
|
+
### v3.0.43 (2026)
|
|
623
|
+
|
|
624
|
+
**Docs:**
|
|
625
|
+
- Update README changelog section and link to `CHANGELOG.md`
|
|
626
|
+
|
|
627
|
+
### v3.0.42 (2026)
|
|
628
|
+
|
|
629
|
+
**Features:**
|
|
630
|
+
- Implement real `fchmod`/`fchown`/`futimes` (sync, promises, and `FileHandle.utimes`) — previously no-ops
|
|
631
|
+
- Add wire opcodes `FCHMOD`/`FCHOWN`/`FUTIMES` (31/32/33) wired through VFS and OPFS engines, server worker, and sync-relay
|
|
632
|
+
- Sync-relay broadcasts fd-based ops as path-based equivalents via `getPathForFd` so watchers still fire
|
|
633
|
+
- Rewrite `glob`/`globSync`: brace expansion, character classes with `[!...]` negation, escapes, `withFileTypes`, `string[]` patterns, `URL` cwd, dedupe, trailing-`**` self-match
|
|
634
|
+
- `watch`: per-microtask `(event, filename)` coalescing, `encoding: 'buffer'` support, reclassify `COPY` as `change` to match libuv
|
|
635
|
+
|
|
636
|
+
### v3.0.41 (2026)
|
|
637
|
+
|
|
638
|
+
**Features:**
|
|
639
|
+
- Increase default inode count from 10,000 to 100,000 to support large projects (e.g. Strapi)
|
|
640
|
+
- Strengthen readdir-through-symlink test assertions
|
|
641
|
+
|
|
605
642
|
### v3.0.19-v3.0.20 (2026)
|
|
606
643
|
|
|
607
644
|
**Features:**
|