nodejs_interop 0.9.0 nodejs_interop: ^0.9.0 copied to clipboard
Provides interoperability for Node.js applications.
Changelog #
This file contains highlights of what changes on each version of the Node.js Interop for Dart library.
Version 0.9.0 #
- Breaking change: starting to use and support the Dart 2 SDK.
- Added a user guide based on MkDocs.
- Added the
Platform.operatingSystemVersion
property. - Added the
throwDeprecation
andtraceDeprecation
properties to theProcess
class. - Added the
ProcessSignal
class. - Updated the dependencies.
Version 0.8.0 #
- Breaking change: removed most classes of the
nodejs_interop.js
library (JSObject
,Json
,Reflect
,TypedArray
andUint8Array
). - Breaking change: removed the instance methods of the
Buffer
class, as this class is casted to theUint8List
class by the Dart runtime. - Breaking change: renamed the
convertToFuture()
function toasFuture()
. - Breaking change: renamed the
convertToStream()
function toasStream()
. - Breaking change: renamed the
DeleteOptions
class toDelOptions
. - Breaking change: renamed the
NodeProcess
class toProcess
. - Breaking change: renamed the
NodeRelease
class toRelease
. - Breaking change: renamed the
ReadStream
class toFSReadStream
. - Breaking change: renamed the
WriteStream
class toFSWriteStream
. - Breaking change: the
FileStat.fromStats()
constructor is now private. - Added the
tty
module. - Added utility functions for converting functions following the Node.js callback style to a
Future
(e.g.fn1cb0ToFuture()
,fn3cb2ToFuture()
, ...). - Added the
RandomAccessFile
andSystemEncoding
classes. - Added the
asPromise()
,deleteProperty()
andgetProperties()
functions. - Added the
Promise.JS$catch()
method. - Added new unit tests.
- Fixed the implementation of the
FileStat
class. - The
nodejs_interop.js
library exports the functions from thedart:js_util
library. - Updated the Node.js dependencies.
Version 0.7.0 #
- Breaking change: renamed the
convertToDart()
function todartify()
. - Breaking change: renamed the
ReaddirEnhancedModule
class toReaddirModule
. - Breaking change: the
nodejs_interop.io
,nodejs_interop.js
,nodejs_interop.node
andnodejs_interop.npm
libraries are no longer exported individually. - Added the
exit()
andsleep()
functions. - Added the
exitCode
andpid
properties. - Added the
Buffer.BYTES_PER_ELEMENT
static property. - Added the
InternetAddress
,InternetAddressType
,JSObject
,NetworkInterface
,ProcessInfo
andReflect
classes. - Added the
minify
option to the Pub transformer. - Added new methods to the
Console
andUint8Array
classes. - Added new unit tests.
- Fixed the implementation of the
dns
module.
Version 0.6.0 #
- Breaking change: renamed the
Path
class toPathObject
. - Breaking change: renamed the
ReadOptions
class toReadFileOptions
. - Breaking change: renamed the
ResolveOptions
class toResolveFunctionOptions
. - Breaking change: renamed the
WarningOptions
class toEmitWarningOptions
. - Breaking change: renamed the
WriteOptions
class toWriteFileOptions
. - Added setters to properties of all
@anonymous
classes. - Added the
dns
module. - Added the
querystring
module. - Added the
string_decoder
module. - Added the
url
module. - Added a partial implementation of the process manager API.
- Added a Pub transformer.
- Finished the implementation of the
util
module.
Version 0.5.0 #
- Breaking change: removed the
FileStat.toJson()
method. - Breaking change: renamed the
Process
class toNodeProcess
. - Added the
child_process
module. - Added the
cluster
module. - Added the
stream
module. - Added the
vm
module. - Added the
BufferEncoding.fromEncoding()
method. - Added the
current
andsystemTemp
static properties to theDirectory
class. - Finished the implementation of the
fs
module.
Version 0.4.0 #
- Breaking change: renamed the
Js
prefix toJS
for JavaScript errors. - Breaking change: renamed the
NodejsPlatform
class toPlatform
. - Added bindings for a predefined set of npm packages.
- Added the
buffer
module. - Added the
console
module. - Added the
convertToStream()
andloadLibrary()
functions. - Added the
Json
,Module
andWritable
classes. - Added a partial implementation of the
fs
module. - Added a partial implementation of the
util
module. - Added a partial implementation of the file system API.
- Finished the implementation of the
Process
class. - Finished the implementation of the
require()
function. - Splitted the library in modules:
io
,js
,node
andnpm
.
Version 0.3.0 #
- Added the
os
module. - Added the
convertToDart()
andconvertToFuture()
functions. - Added the
CpuUsage
,NodejsPlatform
andPromise
classes. - Added a partial implementation of the
Process
class.
Version 0.2.0 #
- Breaking change: renamed the
PathObject
class toPath
. - Added the
assert
module. - Added the
errors
module. - Added the
events
module.
Version 0.1.0 #
- Initial release: provides the
require()
function and thepath
module.