Releases: rigby-capital/fs-jetpack
Releases · rigby-capital/fs-jetpack
Release list
v7.0.0-rc.3
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 viafile("path")/dir("path")with strict ENOENT semantics.use()plugin system — pluggableFormatHandlerfor custom file extensions (TOML, YAML, JSON5, etc.)@rcsf/fs-jetpack/syncand@rcsf/fs-jetpack/asyncsubpath exportscwd()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.
v6.0.1
v6.0.0
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
promisifyandfsadapter with nativenode:fs/promises - Replaced
.then()/.catch()chains withasync/awaitthroughout - Replaced Mocha + Chai with the Node.js built-in test runner (
node:test+node:assert) - Adopted XO for linting and formatting
- Updated
minimatchdependency - 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";