Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

API changes between v0.6 and v0.8

koichik edited this page Jan 23, 2012 · 66 revisions

When editing this page please be as detailed as possible. Examples are encouraged!

Deprecated:

  • http.Client()
  • path.{exists,existsSync} was moved to fs.{exists,existsSync}

Removed:

  • waf build system - node.js will be using gyp now
  • sys throws

Changed:

  • http
    • http.Server emits 'connect' event instead of 'upgrade' when the CONNECT method is requested.
    • http.ClientRequest emits 'connect' event instead of 'request' when the CONNECT methd is responded,

Added:

  • fs

    • fs.appendFile(), fs.appendFileSync().
  • https

    • rejectUnauthorized option to https.request() and https.get().
  • net

    • net.connect(options, [connectionListener).
  • process

    • process.abort()
  • querystring

    • querystring.parse(str, [sep], [eq], [options])
  • tls

    • tls.connect(options, [secureConnectionListener])
    • rejectUnauthorized option to tls.connect().
  • zlib

    • dictionary option.
Clone this wiki locally