4 Commits

Author SHA1 Message Date
61e3f3a0b6 v1.3.3
Some checks failed
Default (tags) / security (push) Successful in 38s
Default (tags) / test (push) Failing after 36s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2026-03-05 13:28:17 +00:00
8728115ad0 fix(smartfs.provider.node): replace synchronous readdirSync with async await fs.readdir for directory listings in the Node provider to avoid blocking the event loop 2026-03-05 13:28:17 +00:00
9b47e0d002 v1.3.2
Some checks failed
Default (tags) / security (push) Successful in 39s
Default (tags) / test (push) Failing after 36s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2026-03-05 12:45:16 +00:00
87710db139 fix(provider(node)): use synchronous readdir to avoid partial results on some filesystems (e.g., XFS) when the process receives signals 2026-03-05 12:45:16 +00:00
3 changed files with 15 additions and 2 deletions

View File

@@ -1,5 +1,18 @@
# Changelog # Changelog
## 2026-03-05 - 1.3.3 - fix(smartfs.provider.node)
replace synchronous readdirSync with async await fs.readdir for directory listings in the Node provider to avoid blocking the event loop
- Replaced fsSync.readdirSync with await fs.readdir in listDirectory and listDirectoryRecursive.
- Switches from a blocking filesystem call to the non-blocking Node fs API in the node provider.
- Patch bump from 1.3.2 to 1.3.3 is recommended.
## 2026-03-05 - 1.3.2 - fix(provider(node))
use synchronous readdir to avoid partial results on some filesystems (e.g., XFS) when the process receives signals
- Replaced async fs.readdir with fsSync.readdirSync in ts/providers/smartfs.provider.node.ts
- Added comments explaining that async readdir can return partial results on XFS/mounted filesystems when the process receives signals; synchronous readdirSync completes the getdents64 syscall without event-loop interruption
## 2025-12-16 - 1.3.1 - fix(docs) ## 2025-12-16 - 1.3.1 - fix(docs)
docs(readme): add "Directory Copy & Move" section with examples and options docs(readme): add "Directory Copy & Move" section with examples and options

View File

@@ -1,6 +1,6 @@
{ {
"name": "@push.rocks/smartfs", "name": "@push.rocks/smartfs",
"version": "1.3.1", "version": "1.3.3",
"private": false, "private": false,
"description": "a cross platform extendable fs module", "description": "a cross platform extendable fs module",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartfs', name: '@push.rocks/smartfs',
version: '1.3.1', version: '1.3.3',
description: 'a cross platform extendable fs module' description: 'a cross platform extendable fs module'
} }