Skip to content

Migrating from v0.2 to v0.3

ry edited this page Jan 22, 2011 · 34 revisions

Many people are running code on the stable branch v0.2. Soon the unstable branch, v0.3, will become stable. You can help the community by documenting what API changes were made between the two.

C++ API

  • The internal node::Buffer class had dramatic changes early on in the v0.3. Any addons which used node:Buffer will require heavy rewrite. You might find this helpful. buffer.h

JavaScript API

  • sys module is now the util module (soft deprecation)

  • NEW: require.resolve

Internal C++ API (inside of NODE_ROOT/src/*.cc)

Internal Javascript API (inside of NODE_ROOT/lib/*.js

Clone this wiki locally