Skip to content

Releases: rigby-capital/fs-jetpack

v7.0.0-rc.3

v7.0.0-rc.3 Pre-release
Pre-release

Choose a tag to compare

@PopGoesTheWza PopGoesTheWza released this 15 Apr 19:41
Immutable release. Only release title and notes can be modified.

Release candidate for v7.0.0. Install with:

npm install @rcsf/fs-jetpack@next

The latest tag on npm remains at v6.0.1.

What's new in v7

  • JetpackFile / JetpackDir — lazy handles via file("path") / dir("path") with strict ENOENT semantics
  • .use() plugin system — pluggable FormatHandler for custom file extensions (TOML, YAML, JSON5, etc.)
  • @rcsf/fs-jetpack/sync and @rcsf/fs-jetpack/async subpath exports
  • cwd() deprecated (JSDoc only, removal in v8)

Breaking changes

Change v6 v7
file("x") without criteria Creates file, returns FSJetpack Lazy JetpackFile, no I/O
dir("x") without criteria Creates dir, returns scoped FSJetpack Lazy JetpackDir, no I/O
cwd() Active Deprecated (JSDoc only)

Migration: use file("x", {}) or file("x").ensure() for v6 behavior.

See the full CHANGELOG and README for details.

v6.0.1

Choose a tag to compare

@PopGoesTheWza PopGoesTheWza released this 15 Apr 13:19
Immutable release. Only release title and notes can be modified.
f3866d7

Fix

  • Fixed license badge on npm — use absolute URL instead of relative ./LICENSE link (#3)

v6.0.0

Choose a tag to compare

@PopGoesTheWza PopGoesTheWza released this 15 Apr 13:18
Immutable release. Only release title and notes can be modified.

First release of @rcsf/fs-jetpack, a maintained successor of fs-jetpack by Jakub Szwacz.

Breaking changes

  • Package renamed to @rcsf/fs-jetpack
  • ESM-only — no more CommonJS support
  • Requires Node.js >= 22
  • Source rewritten in TypeScript — types are generated from source, no more separate types.d.ts

Changes

  • Replaced custom promisify and fs adapter with native node:fs/promises
  • Replaced .then()/.catch() chains with async/await throughout
  • Replaced Mocha + Chai with the Node.js built-in test runner (node:test + node:assert)
  • Adopted XO for linting and formatting
  • Updated minimatch dependency
  • Fixed find() crash when called with zero arguments (szwacz/fs-jetpack#122)
  • Added GitHub Actions CI and release workflow
  • Added Dependabot for automated dependency updates

API compatibility

The v6 API is fully backward-compatible with fs-jetpack v5.x — just change the import:

import jetpack from "@rcsf/fs-jetpack";