forked from nodejs/node-v0.x-archive
-
Notifications
You must be signed in to change notification settings - Fork 24
API changes between v0.4 and v0.6
TooTallNate edited this page Oct 12, 2011
·
43 revisions
When editing this page please be as detailed as possible. Examples are encouraged!
- The
customFds
option to thechild_process.spawn
method is deprecated. - You can no longer send a file descriptor through a unix pipe. Instead you can send a handle via
child_process.fork
. -
fs.symlink
takes an optionalmode
argument, which can either be 'dir' or 'file'. The default is 'file'. This argument is only needed for Windows (it's ignored on other platforms). -
http.Agent.appendMessage
was removed. - The
require.paths
have been removed. - C++ EventEmitter has been removed.
- zlib module http://nodejs.org/docs/v0.5.9/api/zlib.html
child_process.fork
fs.watch
-
assert(val)
as a shorthand forassert.ok(val)
-
process.arch
,os.arch()