Skip to content

Commit eb155ea

Browse files
committedFeb 10, 2011
Bump version to v0.4.0
1 parent b09c588 commit eb155ea

File tree

7 files changed

+137
-12
lines changed

7 files changed

+137
-12
lines changed
 

‎AUTHORS

+3
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,6 @@ Carter Allen <CarterA@opt-6.com>
158158
Greg Hughes <greg@ghughes.com>
159159
David Trejo <david.daniel.trejo@gmail.com>
160160
Joe Walnes <joe@walnes.com>
161+
Koichi Kobayashi <koichik@improvement.jp>
162+
Daniel Gröber <dxld@darkboxed.org>
163+
Konstantin Käfer <github@kkaefer.com>

‎ChangeLog

+33
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
2011.02.10, Version 0.4.0 (stable)
2+
3+
* require() improvements (isaacs)
4+
- understand package.json (isaacs)
5+
- look for 'node_modules' dir
6+
7+
* cmake fixes (Daniel Gröber)
8+
9+
* http: fix buffer writes to outgoing messages (Russell Haering)
10+
11+
* Expose UCS-2 Encoding (Konstantin Käfer)
12+
13+
* Support strings for octal modes (isaacs)
14+
15+
* Support array-ish args to Buffer ctor (isaacs)
16+
17+
* cygwin and mingw improvements (Bert Belder)
18+
19+
* TLS improvements
20+
21+
* Fewer syscalls during require (Bert Belder, isaacs)
22+
23+
* More DTrace probes (Bryan Cantrill, Robert Mustacchi)
24+
25+
* 'pipe' event on pipe() (Mikeal Rogers)
26+
27+
* CRL support in TLS (Theo Schlossnagle)
28+
29+
* HTTP header manipulation methods (Tim Caswell, Charlie Robbins)
30+
31+
* Upgrade V8 to 3.1.2
32+
33+
134
2011.02.04, Version 0.3.8 (unstable)
235

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

‎Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ apiassets = $(subst api_assets,api/assets,$(addprefix build/,$(wildcard doc/api_
6363

6464
website_files = \
6565
build/doc/index.html \
66+
build/doc/v0.4_announcement.html \
6667
build/doc/cla.html \
6768
build/doc/sh_main.js \
6869
build/doc/sh_javascript.min.js \

‎doc/index.html

+4-10
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
<li><a href="#download">Download</a></li>
2121
<li><a href="https://github.com/ry/node/raw/master/ChangeLog">ChangeLog</a></li>
2222
<li><a href="#about">About</a></li>
23-
<li><a href="http://nodejs.org/docs/v0.3.8/api">v0.3.8 docs</a></li>
24-
<li><a href="http://nodejs.org/docs/v0.2.6/api.html">v0.2.6 docs</a></li>
23+
<li><a href="http://nodejs.org/docs/v0.4.0/api">v0.4.0 docs</a></li>
2524
<br/>
2625
<li><B><a href="https://github.com/ry/node/wiki">Wiki</a></B></li>
2726
</ol>
@@ -89,16 +88,11 @@ <h2 id="download">Download</h2>
8988
<p>
9089
<a href="http://github.com/ry/node/tree/master">git repo</a>
9190
</p>
92-
<p>
93-
Stable: 2010.12.30
94-
<a href="http://nodejs.org/dist/node-v0.2.6.tar.gz">node-v0.2.6.tar.gz</a>
95-
(<a href="http://nodejs.org/docs/v0.2.6/api.html">Documentation</a>)
96-
</p>
9791

9892
<p>
99-
Unstable: 2011.02.04
100-
<a href="http://nodejs.org/dist/node-v0.3.8.tar.gz">node-v0.3.8.tar.gz</a>
101-
(<a href="http://nodejs.org/docs/v0.3.8/api/index.html">Documentation</a>)
93+
2011.02.10
94+
<a href="http://nodejs.org/dist/node-v0.4.0.tar.gz">node-v0.4.0.tar.gz</a>
95+
(<a href="http://nodejs.org/docs/v0.4.0/api/index.html">Documentation</a>)
10296
</p>
10397

10498
<p>Historical: <a href="http://nodejs.org/dist">versions</a>, <a href="http://nodejs.org/docs">docs</a></p>

‎doc/v0.4_announcement.html

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<style type="text/css">
5+
ul {
6+
padding: 0;
7+
margin: 0;
8+
}
9+
</style>
10+
<link type="text/css" rel="stylesheet" href="pipe.css" />
11+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
12+
<title>node v0.4 announcement</title>
13+
</head>
14+
<body>
15+
<h2>Second Stable Branch of Node released</h2>
16+
17+
<p>
18+
<a
19+
href="https://github.com/ry/node/wiki/Migrating-from-v0.2-to-v0.3">Wiki
20+
page detailing API changes between v0.4 and v0.2</a>
21+
22+
<p>
23+
Major changes since v0.2:
24+
25+
<ul>
26+
<li> Major overhaul of TLS/SSL system. Previously the binding to
27+
OpenSSL was heavily interwoven into the socket code. This binding was
28+
reworked to present each connection as a pair of "streams" instead: a
29+
duplex encrypted stream and a duplex cleartext stream. The encrypted
30+
stream is piped to a raw TCP socket using the general purpose
31+
<code>Stream.prototype.pipe()</code> method. Functionality was
32+
enhanced and API simplified.
33+
34+
<li> Cheaper <code>Buffer</code> allocation. Node uses
35+
<code>Buffer</code> objects in many places - it was noticed that they
36+
were relatively slow to allocate and difficult to garbage collect. The
37+
implementation changed to use pure javascript objects instead of
38+
an <code>ObjectWrap</code> which improved performance.
39+
40+
<li> With a good amount of experience now, some modifications to the
41+
module loading system were made to better support package managers.
42+
In particular, NPM was forced to resort to deep symlinks and "shim"
43+
modules to work around missing features in <code>require()</code>. The main
44+
changes are:
45+
<ol>
46+
<li><code>require()</code> calls realpath. That is,
47+
it resolves symbolic links. This allows symlinked modules to make
48+
relative requires.
49+
50+
<li><code>require()</code> now has a primitive understanding of
51+
<code>package.json</code>. It looks for the <code>main</code>
52+
script. This allows <code>require()</code> to work on package
53+
directories directly.
54+
55+
<li>A specially named directory, <code>node_modules/</code>, is
56+
searched in the current directory for any modules. This will
57+
hopefully encourage programmers to bundle modules rather than
58+
rely on a global namespace.
59+
</ol>
60+
Read more about these features in <a
61+
href="https://github.com/ry/node/blob/01a864a29d64119054401784cd9255c3a813bdbc/doc/api/modules.markdown">the
62+
module documentation</a>.
63+
64+
<li> A half-complete but good start a native windows build with MinGW
65+
is underway by Bert Builder. Build instructions can be found <a
66+
href="https://github.com/ry/node/wiki/Building-node.js-on-mingw">on
67+
the wiki</a>.
68+
69+
<li> Node upgraded to the latest version of V8, <code>v3.1.2</code>.
70+
This includes much work including V8's new compilation infrastructure
71+
and a GDB plugin on Linux.
72+
Read <a
73+
href="https://github.com/ry/node/blob/583f2e599962f2664dbaafa0ae98a8d6c1242441/deps/v8/ChangeLog">the
74+
full V8 ChangeLog</a>.
75+
76+
<li>A new built-in client for V8's debugger was added to Node. It is
77+
still very primitive but usable for simple task. There is a <a
78+
href="http://vimeo.com/19465332">small introduction video</a> and
79+
some <a
80+
href="https://github.com/ry/node/blob/01a864a29d64119054401784cd9255c3a813bdbc/doc/api/debugger.markdown">documentation</a>.
81+
82+
<li>An <code>os</code> module was added by Brian White which exposes
83+
a lot of basic but useful system information: <code>os.cpus(),
84+
os.freemem(), os.totalmem(), os.loadavg()</code>
85+
86+
<li> And, of course, many of bug fixes. See the
87+
<a
88+
href="https://github.com/ry/node/blob/01a864a29d64119054401784cd9255c3a813bdbc/ChangeLog">full
89+
changelog</a>.
90+
91+
</ul>
92+
93+
</body>
94+
</html>

‎src/node_version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#define NODE_MAJOR_VERSION 0
88
#define NODE_MINOR_VERSION 4
99
#define NODE_PATCH_VERSION 0
10-
#define NODE_VERSION_IS_RELEASE 0
10+
#define NODE_VERSION_IS_RELEASE 1
1111

1212
#ifndef NODE_STRINGIFY
1313
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)

‎wscript

+1-1
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ def build(bld):
780780
, 'CPPFLAGS' : " ".join(program.env["CPPFLAGS"]).replace('"', '\\"')
781781
, 'LIBFLAGS' : " ".join(program.env["LIBFLAGS"]).replace('"', '\\"')
782782
, 'PREFIX' : safe_path(program.env["PREFIX"])
783-
, 'VERSION' : '0.3.8' # FIXME should not be hard-coded, see NODE_VERSION_STRING in src/node_version.
783+
, 'VERSION' : '0.4.0' # FIXME should not be hard-coded, see NODE_VERSION_STRING in src/node_version.
784784
}
785785
return x
786786

0 commit comments

Comments
 (0)
Please sign in to comment.