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.
0.9.0 #
- Breaking change: starting to use and support the Dart 2 SDK.
- Added a user guide based on MkDocs.
- Added the
Platform.operatingSystemVersionproperty. - Added the
throwDeprecationandtraceDeprecationproperties to theProcessclass. - Added the
ProcessSignalclass. - Updated the dependencies.
0.8.0 #
- Breaking change: removed most classes of the
nodejs_interop.jslibrary (JSObject,Json,Reflect,TypedArrayandUint8Array). - Breaking change: removed the instance methods of the
Bufferclass, as this class is casted to theUint8Listclass by the Dart runtime. - Breaking change: renamed the
convertToFuture()function toasFuture(). - Breaking change: renamed the
convertToStream()function toasStream(). - Breaking change: renamed the
DeleteOptionsclass toDelOptions. - Breaking change: renamed the
NodeProcessclass toProcess. - Breaking change: renamed the
NodeReleaseclass toRelease. - Breaking change: renamed the
ReadStreamclass toFSReadStream. - Breaking change: renamed the
WriteStreamclass toFSWriteStream. - Breaking change: the
FileStat.fromStats()constructor is now private. - Added the
ttymodule. - Added utility functions for converting functions following the Node.js callback style to a
Future(e.g.fn1cb0ToFuture(),fn3cb2ToFuture(), ...). - Added the
RandomAccessFileandSystemEncodingclasses. - Added the
asPromise(),deleteProperty()andgetProperties()functions. - Added the
Promise.JS$catch()method. - Added new unit tests.
- Fixed the implementation of the
FileStatclass. - The
nodejs_interop.jslibrary exports the functions from thedart:js_utillibrary. - Updated the Node.js dependencies.
0.7.0 #
- Breaking change: renamed the
convertToDart()function todartify(). - Breaking change: renamed the
ReaddirEnhancedModuleclass toReaddirModule. - Breaking change: the
nodejs_interop.io,nodejs_interop.js,nodejs_interop.nodeandnodejs_interop.npmlibraries are no longer exported individually. - Added the
exit()andsleep()functions. - Added the
exitCodeandpidproperties. - Added the
Buffer.BYTES_PER_ELEMENTstatic property. - Added the
InternetAddress,InternetAddressType,JSObject,NetworkInterface,ProcessInfoandReflectclasses. - Added the
minifyoption to the Pub transformer. - Added new methods to the
ConsoleandUint8Arrayclasses. - Added new unit tests.
- Fixed the implementation of the
dnsmodule.
0.6.0 #
- Breaking change: renamed the
Pathclass toPathObject. - Breaking change: renamed the
ReadOptionsclass toReadFileOptions. - Breaking change: renamed the
ResolveOptionsclass toResolveFunctionOptions. - Breaking change: renamed the
WarningOptionsclass toEmitWarningOptions. - Breaking change: renamed the
WriteOptionsclass toWriteFileOptions. - Added setters to properties of all
@anonymousclasses. - Added the
dnsmodule. - Added the
querystringmodule. - Added the
string_decodermodule. - Added the
urlmodule. - Added a partial implementation of the process manager API.
- Added a Pub transformer.
- Finished the implementation of the
utilmodule.
0.5.0 #
- Breaking change: removed the
FileStat.toJson()method. - Breaking change: renamed the
Processclass toNodeProcess. - Added the
child_processmodule. - Added the
clustermodule. - Added the
streammodule. - Added the
vmmodule. - Added the
BufferEncoding.fromEncoding()method. - Added the
currentandsystemTempstatic properties to theDirectoryclass. - Finished the implementation of the
fsmodule.
0.4.0 #
- Breaking change: renamed the
Jsprefix toJSfor JavaScript errors. - Breaking change: renamed the
NodejsPlatformclass toPlatform. - Added bindings for a predefined set of npm packages.
- Added the
buffermodule. - Added the
consolemodule. - Added the
convertToStream()andloadLibrary()functions. - Added the
Json,ModuleandWritableclasses. - Added a partial implementation of the
fsmodule. - Added a partial implementation of the
utilmodule. - Added a partial implementation of the file system API.
- Finished the implementation of the
Processclass. - Finished the implementation of the
require()function. - Splitted the library in modules:
io,js,nodeandnpm.
0.3.0 #
- Added the
osmodule. - Added the
convertToDart()andconvertToFuture()functions. - Added the
CpuUsage,NodejsPlatformandPromiseclasses. - Added a partial implementation of the
Processclass.