node_io 2.3.0 node_io: ^2.3.0 copied to clipboard
Like dart:io but with Node.js.
2.3.0 #
-
Add the new
Platform.lineTerminator
property introduced in Dart 3.1. -
Add the new
Stdout.lineTerminator
property introduced in Dart 3.4. -
Add unimplemented setters for
Stdin.echoMode
,Stdin.echoNewlineMode
, andStdin.lineMode
.
2.2.0 #
-
Support the
exclusive
option forFile.create
andFile.createSync
. -
Add the new
Stdin.echoNewlineMode
property introduced in Dart 2.18.
2.1.0 #
-
Support the
recursive
option forFile
andDirectory
methods. -
Properly support
followLinks
inDirectory.list
andDirectory.listSync
. The previous behavior always treatedfollowLinks
as false (even though the actual Dart default is true).
2.0.0 #
- Enable null-safety (requires Dart >=2.12).
- Update
exit
to match the signature used bydart:io
.
1.2.0 #
- Added a
nodeFileSystem
top-level field that implements thefile
package'sFileSystem
API. - Added
file
package members to instance types, includingFileSystemEntity.fileSystem
,.basename
, and.dirname
as well asDirectory.childDirectory()
,.childFile()
, and.childLink()
.
1.1.1 #
- Implemented
stdout
andstderr
library-level properties. Platform.isIOS
andPlatform.isFuchsia
now throwUnsupportedError
.
1.1.0 #
- Added support for Dart 2.8 (#75)
- Bumped Dart SDK constraint to 2.2.0
1.0.1+2 #
- More preparation for Uint8List SDK breaking change (dart-lang/sdk#36900). See #61 and #63 for details.
1.0.1+1 #
- Prepare for Uint8List SDK breaking change (dart-lang/sdk#36900). See #59 and #60 for details.
1.0.1 #
- Server side
NodeHttpRequest
andNodeHttpResponse
are now available in public interface.
1.0.0 #
First stable release of this library which implements subset of dart:io
interfaces,
including File System objects, HttpServer, Platform and other common classes.
Not all dart:io
interfaces are covered yet. Feel free to file an issue on Github if you need
a specific class implemented in node_io.
- Complete file system implementations for
Directory
,File
,RandomAccessFile
,Link
. - Added
STATUS.md
which reflects coverage of already implemented or exporteddart:io
APIs.
1.0.0-dev.10.0 #
- Fixed
NodeHttpResponse.redirect
failing to convertUri
to string.
1.0.0-dev.9.0 #
- Upgraded to latest build_node_compilers (0.2.0)
1.0.0-dev.8.0 #
- Fixed: analysis warnings with latest Pub and Dart SDK.
1.0.0-dev.7.0 #
- Fixed: handling errors in
Directory.delete
. - Fixed: handling relative paths in
Directory.list
. - Fixed: strong mode issues in
Directory
andFile
. - Added:
File.create
,File.delete
,File.readAsString
,File.rename
,File.writeAsBytes
,File.writeAsString
. - Fixed: handling errors in
File.open
,File.stat
,File.statSync
. - Fixed: converting byte data in
NodeIOSink
. - Added: Minimal scaffold for Link FS entities.
1.0.0-dev.6.0 #
- Upgraded to latest build_node_compilers.
1.0.0-dev.5.0 #
- Fixed deprecation warnings with Dart 2 dev 61 SDK version.
1.0.0-dev.4.0 #
- Fixed deprecation warnings with latest Dart 2 dev SDK.
- Refactored HttpHeaders to not rely on Node.js API introduced in v7.7.0 Allows using this wrapper in Google Cloud Functions environment which runs on Node.js 6.x (LTS).
1.0.0-dev.3.0 #
- Allow list values in
HttpHeaders.set
.
1.0.0-dev.2.0 #
- Complete implementation of
InternetAddress
.
1.0.0-dev.1.0 #
- Split from node_interop.