Node v0.4.0

484 views
Skip to first unread message

Ryan Dahl

unread,
Feb 10, 2011, 5:48:22 AM2/10/11
to nodejs
This is the first release of the second stable branch. For a
high-level description of what has changed since v0.2 see
http://nodejs.org/v0.4_announcement.html


The following are the changes since v0.3.8:


2011.02.10, Version 0.4.0 (stable)

* require() improvements (isaacs)
- understand package.json (isaacs)
- look for 'node_modules' dir

* cmake fixes (Daniel Gröber)

* http: fix buffer writes to outgoing messages (Russell Haering)

* Expose UCS-2 Encoding (Konstantin Käfer)

* Support strings for octal modes (isaacs)

* Support array-ish args to Buffer ctor (isaacs)

* cygwin and mingw improvements (Bert Belder)

* TLS improvements

* Fewer syscalls during require (Bert Belder, isaacs)

* More DTrace probes (Bryan Cantrill, Robert Mustacchi)

* 'pipe' event on pipe() (Mikeal Rogers)

* CRL support in TLS (Theo Schlossnagle)

* HTTP header manipulation methods (Tim Caswell, Charlie Robbins)

* Upgrade V8 to 3.1.2

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

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

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

Matthias Luebken

unread,
Feb 10, 2011, 5:54:09 AM2/10/11
to nod...@googlegroups.com
Congratulations!

Daniel Bartlett

unread,
Feb 10, 2011, 5:57:23 AM2/10/11
to nod...@googlegroups.com
Excellent news!

Lee Treveil

unread,
Feb 10, 2011, 6:06:31 AM2/10/11
to nod...@googlegroups.com
Congrats! Although it isn't building on cygwin...

Tane Piper

unread,
Feb 10, 2011, 6:08:40 AM2/10/11
to nod...@googlegroups.com
+1 for awesomenessness

On Thu, Feb 10, 2011 at 11:06 AM, Lee Treveil <leetr...@gmail.com> wrote:
> Congrats! Although it isn't building on cygwin...
>

> --
> 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.
>

Lee Treveil

unread,
Feb 10, 2011, 6:29:26 AM2/10/11
to nod...@googlegroups.com
Got it to build - had to re-run rebase all and theres a newline missing at the end of platform-cygwin.cc

Nicolas Chambrier

unread,
Feb 10, 2011, 8:17:30 AM2/10/11
to nod...@googlegroups.com
Very good work, better integration of the de facto standards "node_modules" and "package.json" are very good news for the simplification of the system :)

phidelta

unread,
Feb 10, 2011, 8:46:24 AM2/10/11
to nodejs
Awesome!

And as always there are Mac OS X Packages at https://sites.google.com/site/nodejsmacosx/
(NodeJS 0.4.0 ans NPM 0.2.17)

Regards,
Phil

On Feb 10, 11:48 am, Ryan Dahl <r...@tinyclouds.org> wrote:
> This is the first release of the second stable branch. For a
> high-level description of what has changed since v0.2 seehttp://nodejs.org/v0.4_announcement.html

maga

unread,
Feb 10, 2011, 8:56:18 AM2/10/11
to nod...@googlegroups.com
That's great!

Guys, what about 9 challenges, is there any progress? Especially with copying strings out of V8?

Bert Belder

unread,
Feb 10, 2011, 10:35:10 AM2/10/11
to nodejs
This is how I understand it:
I could be incorrect on some points. If so, please correct me.

Problem 1: TLS / SSL
- Fixed in 0.4
Problem 2: Continuous Integration Perf Testing
- There is some thingie at http://arlolra.no.de/ that tests request/
response perf, but nothing really substantial I think.
Problem 3: Debugging
- There is a node interactive debugger
- There is DTrace probes
- No event origin backtrace yet
Problem 4: Windows
- Work in progress, node compiles on mingw but a bunch of features
is missing.
- The switch to iocp (see slides) hasn't been made yet.
Problem 5: V8 on x64 limited to 1 GB heap
- The bar has been raised to 1.9GB. I don't know how close the V8
team is to pushing it further.
Problem 6: Copying Strings out of V8 heap
- Nothing changed I think.
Problem 7: Bunching Writes
- There have been experiments with writev, but it was backed out
because of performance regressions.
Problem 8: File System Event Notification
- No news.
Problem 9: Kernel AIO
- No news.

On Feb 10, 2:56 pm, maga <denel...@gmail.com> wrote:
> That's great!
>
> Guys, what about 9 challenges <http://nodejs.org/jsconf-eu-2010.pdf>, is

dvbportal

unread,
Feb 10, 2011, 2:55:32 PM2/10/11
to nod...@googlegroups.com
Fantastic, a big step forward.

dvbportal

unread,
Feb 10, 2011, 2:57:29 PM2/10/11
to nod...@googlegroups.com
Dan, do you see any problems running it on Nodester? Should I upgrade.

billywhizz

unread,
Feb 10, 2011, 3:31:46 PM2/10/11
to nodejs
great news. well done to all involved. thanks for the summary bert!

Sean Braithwaite

unread,
Feb 10, 2011, 3:40:43 PM2/10/11
to nod...@googlegroups.com
Connection pool!

Rad.

Rafał Pocztarski

unread,
Feb 10, 2011, 4:10:12 PM2/10/11
to nod...@googlegroups.com
2011/2/10 Ryan Dahl <r...@tinyclouds.org>:

> This is the first release of the second stable branch. For a
> high-level description of what has changed since v0.2 see
> http://nodejs.org/v0.4_announcement.html

Great news! Thanks!

It passes all tests on Ubuntu 10.10 in VirtualBox 3.0.14:

[01:03|% 100|+ 176|- 0]: Done

I've added the sha-1 sum of 0.4.0 tarball to my getnode script in case
someone is using it:
https://github.com/rsp/getnode

Best regards,
Rafał Pocztarski.

Mikeal Rogers

unread,
Feb 10, 2011, 4:18:20 PM2/10/11
to nod...@googlegroups.com
I would add that the EventSource work also did not make it in to this release.

Bert Belder

unread,
Feb 10, 2011, 4:36:16 PM2/10/11
to nod...@googlegroups.com
You mean, like in "No event origin backtrace yet" :-)

Mikeal Rogers

unread,
Feb 10, 2011, 4:52:01 PM2/10/11
to nod...@googlegroups.com
The purpose of EventSource is to give better traces that include all the parent call stacks.

EventSource is also going to unify the interface to the event loop which is a pre-requisite for some other things I, and others, would like to get in, like a way for you to add a listener for new items added to the event loop.
Reply all
Reply to author
Forward
0 new messages