Skip to content

fs-safe 0.8.3

Choose a tag to compare

@github-actions github-actions released this 07 Sep 01:24
· 740 commits to main since this release
v0.8.3
bc2ef95

Highlights

  • Safer cancellable moves: callers can guard every source removal and retain an exact destination-publication receipt for recovery after later failures, including Windows and cross-device fallbacks.
  • Less filesystem overhead: reads and writes make fewer calls while preserving their existing boundary and identity checks.

Move authority and recovery

  • Add optional synchronous move authority checks before renames and each copied-source removal, plus an exact bigint destination-publication receipt for caller-owned recovery after later failure; retain cross-device and Windows EPERM copy fallbacks and the existing Promise<void> contract.

Filesystem performance and durability

  • Reduce filesystem calls per read and write while retaining boundary, hardlink, hook, retry, and post-mutation identity checks.
  • Skip native publication's extra mode-only file fsync for modes that retain owner read/write when staging permissions have not widened; after a crash, a file may retain staged 0o600 instead of the wider requested mode, while restrictive modes retain the extra fsync.

Tooling and maintenance

  • Add 1 MiB read/write and existing-mode inheritance benchmarks, with native-mode metadata and per-case iteration counts.
  • Simplify internals without changing public behavior: remove unused string/home helpers, resolveUserPath, createBoundedReadStream, sidecarLockPayloadIsStale, and tarManifestEntryCost; share filesystem utilities and merge private modules.

Published packages

Package Registry tarball Verified integrity Provenance
@openclaw/fs-safe-linux-x64-gnu@0.8.3 tgz sha512-R4NHf6EGlFKh51Yu+VGx0HiD7z31DTO+BZFPF7sMxe2j8shrjDzchoOk7uos88o/boQZhr4hS/T7hJrMKgzQoQ== verified attestation
@openclaw/fs-safe-linux-x64-musl@0.8.3 tgz sha512-vxPDvc4LygQESNNUi17KU+jrosA12sjsb7X/FziqsoTLonA1QTa3zdvdI3GpfZiK4qjLmqZyNPwFCo7Y2V2jBQ== verified attestation
@openclaw/fs-safe-linux-arm64-gnu@0.8.3 tgz sha512-8XAM646RKkTnVcLMmS+ufoFnWa3ShT9U1ZI6dOUS3Dzq3xzSZPUb0U7utFBzVsFnYirHKmgAvGxVphNbDfJjlQ== verified attestation
@openclaw/fs-safe-linux-arm64-musl@0.8.3 tgz sha512-6adbSOi/oAqOcnOwwpul8C+c67E91qF3RBeuDRgOTdd1WMFyXzcMj9YxVTyfN5kswqZ1rVgcPjElryPEyMRT2Q== verified attestation
@openclaw/fs-safe-darwin-x64@0.8.3 tgz sha512-3dl5F73Bg0+RBFXawlOC8oWMwYIFyrInK2ukyzrzQ/JVRKpYAm9IiRRSNnGrXUE8f/qyBrovJb0AGzG58kWeBQ== verified attestation
@openclaw/fs-safe-darwin-arm64@0.8.3 tgz sha512-JYmJPUjVdoxMyU326epDW3MWqpQqkPb1H9ZB6kp/e/T4vuerMXtDehEXXbxw2BECioCB+ZzGcCwFfyFPJkk5Xg== verified attestation
@openclaw/fs-safe-win32-x64-msvc@0.8.3 tgz sha512-aAhYKQg2cognuh8d4wg84i3RFltTmnAlb+J2+D17/babmnC14hKr7l/KhTN//vsdIvzU9UiTnFs14uft78Y/Sg== verified attestation
@openclaw/fs-safe@0.8.3 tgz sha512-2hzKN8W5CQhhoa+9NZCO9vwpuEInrX4nlVbm2JrEvI2aYCI/dXcjHcZWJOefWR/t3VfqLntr30+7lLg3dj0t5A== verified attestation

Release proof: GitHub Actions run.