Node v0.3.8

430 views
Skip to first unread message

Ryan Dahl

unread,
Feb 4, 2011, 10:55:49 PM2/4/11
to nodejs
2011.02.04, Version 0.3.8 (unstable)

* Add req.abort() for client side requests.

* Add exception.code for easy testing:
Example: if (err.code == 'EADDRINUSE');

* Add process.stderr.

* require.main is the main module. (Isaac Schlueter)

* dgram: setMulticastTTL, setMulticastLoopback and addMembership.
(Joe Walnes)

* Fix throttling in TLS connections

* Add socket.bufferSize

* MinGW improvements (Bert Belder)

* Upgrade V8 to 3.1.1


Download: http://nodejs.org/dist/node-v0.3.8.tar.gz

Website: http://nodejs.org/docs/v0.3.8

Documentation: http://nodejs.org/docs/v0.3.8/api

Ryan Dahl

unread,
Feb 4, 2011, 11:02:11 PM2/4/11
to nodejs
Barring exceptional problems in the next week, this will be the last
release of the v0.3 series. The next release is v0.4 which will be
release next week.

If you are still on the v0.2 branch, please consider moving code to
v0.3.8. We are collecting API differences on this wiki page:

https://github.com/ry/node/wiki/Migrating-from-v0.2-to-v0.3

Qing Guan

unread,
Feb 5, 2011, 12:55:24 AM2/5/11
to nod...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.

sorry, but where is the doc for this ?
================================
* Add exception.code for easy testing:
 Example: if (err.code == 'EADDRINUSE');
================================

Laurie Harper

unread,
Feb 5, 2011, 2:26:58 AM2/5/11
to nod...@googlegroups.com
On 2011-02-04, at 10:55 PM, Ryan Dahl wrote:
> * Add exception.code for easy testing:
> Example: if (err.code == 'EADDRINUSE');

Awesome :-O I've never come across require('constants') before, which would have made life easier -- but this is even better :-) +1 with multiples and lots of bacon ;-) Should it be 'errcode' instead of 'code', though, for parity with 'errorno'?

L.

Qing Guan

unread,
Feb 5, 2011, 2:47:31 AM2/5/11
to nod...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.


you make me clear, thanks

Qing Guan

unread,
Feb 5, 2011, 2:54:17 AM2/5/11
to nod...@googlegroups.com
It seems that this new constants internal module  appeared  since v0.3.0? 

Reply all
Reply to author
Forward
0 new messages