From eb155ea6f6a6aa341aa8c731dca8da545c6a4008 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 10 Feb 2011 01:45:15 -0800 Subject: [PATCH] Bump version to v0.4.0 --- AUTHORS | 3 ++ ChangeLog | 33 +++++++++++++ Makefile | 1 + doc/index.html | 14 ++---- doc/v0.4_announcement.html | 94 ++++++++++++++++++++++++++++++++++++++ src/node_version.h | 2 +- wscript | 2 +- 7 files changed, 137 insertions(+), 12 deletions(-) create mode 100644 doc/v0.4_announcement.html diff --git a/AUTHORS b/AUTHORS index 8ac112a9c07157..fd81948b7042d1 100644 --- a/AUTHORS +++ b/AUTHORS @@ -158,3 +158,6 @@ Carter Allen Greg Hughes David Trejo Joe Walnes +Koichi Kobayashi +Daniel Gröber +Konstantin Käfer diff --git a/ChangeLog b/ChangeLog index eac25dc97a45be..11c29cd3597950 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,36 @@ +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 + + 2011.02.04, Version 0.3.8 (unstable) * Add req.abort() for client side requests. diff --git a/Makefile b/Makefile index 6da2be830f6789..7fa52271190f6d 100644 --- a/Makefile +++ b/Makefile @@ -63,6 +63,7 @@ apiassets = $(subst api_assets,api/assets,$(addprefix build/,$(wildcard doc/api_ website_files = \ build/doc/index.html \ + build/doc/v0.4_announcement.html \ build/doc/cla.html \ build/doc/sh_main.js \ build/doc/sh_javascript.min.js \ diff --git a/doc/index.html b/doc/index.html index 533ccd6c404a48..797b121b0fd2e4 100644 --- a/doc/index.html +++ b/doc/index.html @@ -20,8 +20,7 @@
  • Download
  • ChangeLog
  • About
  • -
  • v0.3.8 docs
  • -
  • v0.2.6 docs
  • +
  • v0.4.0 docs

  • Wiki
  • @@ -89,16 +88,11 @@

    Download

    git repo

    -

    - Stable: 2010.12.30 - node-v0.2.6.tar.gz - (Documentation) -

    - Unstable: 2011.02.04 - node-v0.3.8.tar.gz - (Documentation) + 2011.02.10 + node-v0.4.0.tar.gz + (Documentation)

    Historical: versions, docs

    diff --git a/doc/v0.4_announcement.html b/doc/v0.4_announcement.html new file mode 100644 index 00000000000000..ddb8f1e5cc0552 --- /dev/null +++ b/doc/v0.4_announcement.html @@ -0,0 +1,94 @@ + + + + + + + node v0.4 announcement + + +

    Second Stable Branch of Node released

    + +

    + Wiki + page detailing API changes between v0.4 and v0.2 + +

    + Major changes since v0.2: + +

      +
    • Major overhaul of TLS/SSL system. Previously the binding to + OpenSSL was heavily interwoven into the socket code. This binding was + reworked to present each connection as a pair of "streams" instead: a + duplex encrypted stream and a duplex cleartext stream. The encrypted + stream is piped to a raw TCP socket using the general purpose + Stream.prototype.pipe() method. Functionality was + enhanced and API simplified. + +
    • Cheaper Buffer allocation. Node uses + Buffer objects in many places - it was noticed that they + were relatively slow to allocate and difficult to garbage collect. The + implementation changed to use pure javascript objects instead of + an ObjectWrap which improved performance. + +
    • With a good amount of experience now, some modifications to the + module loading system were made to better support package managers. + In particular, NPM was forced to resort to deep symlinks and "shim" + modules to work around missing features in require(). The main + changes are: +
        +
      1. require() calls realpath. That is, + it resolves symbolic links. This allows symlinked modules to make + relative requires. + +
      2. require() now has a primitive understanding of + package.json. It looks for the main + script. This allows require() to work on package + directories directly. + +
      3. A specially named directory, node_modules/, is + searched in the current directory for any modules. This will + hopefully encourage programmers to bundle modules rather than + rely on a global namespace. +
      + Read more about these features in the + module documentation. + +
    • A half-complete but good start a native windows build with MinGW + is underway by Bert Builder. Build instructions can be found on + the wiki. + +
    • Node upgraded to the latest version of V8, v3.1.2. + This includes much work including V8's new compilation infrastructure + and a GDB plugin on Linux. + Read the + full V8 ChangeLog. + +
    • A new built-in client for V8's debugger was added to Node. It is + still very primitive but usable for simple task. There is a small introduction video and + some documentation. + +
    • An os module was added by Brian White which exposes + a lot of basic but useful system information: os.cpus(), + os.freemem(), os.totalmem(), os.loadavg() + +
    • And, of course, many of bug fixes. See the + full + changelog. + +
    + + + diff --git a/src/node_version.h b/src/node_version.h index 9f65ff32cfd6f9..9400afa7248734 100644 --- a/src/node_version.h +++ b/src/node_version.h @@ -7,7 +7,7 @@ #define NODE_MAJOR_VERSION 0 #define NODE_MINOR_VERSION 4 #define NODE_PATCH_VERSION 0 -#define NODE_VERSION_IS_RELEASE 0 +#define NODE_VERSION_IS_RELEASE 1 #ifndef NODE_STRINGIFY #define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n) diff --git a/wscript b/wscript index 08e05005879746..a19d89d422a3e0 100644 --- a/wscript +++ b/wscript @@ -780,7 +780,7 @@ def build(bld): , 'CPPFLAGS' : " ".join(program.env["CPPFLAGS"]).replace('"', '\\"') , 'LIBFLAGS' : " ".join(program.env["LIBFLAGS"]).replace('"', '\\"') , 'PREFIX' : safe_path(program.env["PREFIX"]) - , 'VERSION' : '0.3.8' # FIXME should not be hard-coded, see NODE_VERSION_STRING in src/node_version. + , 'VERSION' : '0.4.0' # FIXME should not be hard-coded, see NODE_VERSION_STRING in src/node_version. } return x