-
-
Notifications
You must be signed in to change notification settings - Fork 138
Release v4 #926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v4 #926
Conversation
# [4.1.0-next.3](v4.1.0-next.2...v4.1.0-next.3) (2023-06-22) ### Bug Fixes * 🐛 correctly handle directory paths ([ea909e8](ea909e8)) * 🐛 improve file opening and closing logic ([403c271](403c271)) ### Features * 🎸 add missing callback API methods and some sycn API ones ([956533a](956533a)) * 🎸 add missing promisees API types ([f6727f3](f6727f3)) * 🎸 add missing synchronous method types ([ac38b5d](ac38b5d)) * 🎸 implement crudfs on top of fs ([cb7ac4d](cb7ac4d)) * 🎸 make promises methods bound ([3010141](3010141)) * 🎸 setup NodeCrud implementation ([39073ce](39073ce))
[skip ci]
@streamich nothing springs to mind other than checking if we want to change the min. node version? Just as I'm not sure if we're completely compatible with Node 4 any more |
@G-Rath cool, will merge it on Monday then.
|
Print tree
# [4.1.0-next.5](v4.1.0-next.4...v4.1.0-next.5) (2023-06-25) ### Bug Fixes * 🐛 add support for unknown nodes ([77786f1](77786f1)) ### Features * 🎸 add binary serialization to snapshots ([c1cd615](c1cd615)) * 🎸 add json encoding for snapshots ([41f9b8c](41f9b8c)) * 🎸 add snapshot creation utilities ([9fc8f13](9fc8f13)) * 🎸 implement async verions of snapshotting ([18912bf](18912bf))
I've bumped compile target to |
Not sure how to test with which Node version Regarding older versions, the only change that should require higher Node.js versions is the TypeScript build target change from The new code added in v4 release, is imported through a separate path; big part of it requires the latest Node v20 to run; or a browser environment. |
fs
changesfs
bugs were fixed.fs
were improved.mkdirp
andmkdripSync
were removed, they were deprecated before. (You can pass the"recursive"
flag tomkdir
andmkdirSync
, instead.)fs
utilities now live in the/src/node
folder.this
object, just like in nativefs
module.fs
to File System Access API adapter was added.fs
adapter was added.fs
methods was added through WebWorker.crudfs
andcasfs
crudfs
implementation on top of Nodefs
was added.crudfs
implementation on top of File System Access API was added.casfs
implementation on top ofcrudfs
was added.print
utility was added which allows to recursively print a directory tree to terminal.snapshot
utility was added which allows to create recursive binary snapshots of folders and then load them back into some folder./demo
folder now contains multiple Webpack demos.tslib
is now included as peer dependency, instead of TypeScript helpers being emitted into distributable.es2017
, instead of previouslyes5
.BigInt
shim is no longer shipped,memfs
will rely on theBigInt
provided by the JavaScript environment. You can shim that global, if necessary.fs-monkey
dependemcy was removed.experimental
, which means those APIs are in preview, their public interface may have breaking changes even across minor releases.next
branch was tested, which deploys pre-releases.