Tags: silentrob/node
Tags
2010.02.22, Version 0.1.30
* Major API Changes
- Promises removed. See
http://groups.google.com/group/nodejs/msg/426f3071f3eec16b
http://groups.google.com/group/nodejs/msg/df199d233ff17efa
The API for fs was
fs.readdir("/usr").addCallback(function (files) {
puts("/usr files: " + files);
});
It is now
fs.readdir("/usr", function (err, files) {
if (err) throw err;
puts("/usr files: " + files);
});
- Synchronous fs operations exposed, use with care.
- tcp.Connection.prototype.readPause() and readResume()
renamed to pause() and resume()
- http.ServerResponse.prototype.sendHeader() renamed to
writeHeader(). Now accepts reasonPhrase.
* Compact garbage on idle.
* Configurable debug ports, and --debug-brk (Zoran Tomicic)
* Better command line option parsing (Jeremy Ashkenas)
* Add fs.chmod (Micheil Smith), fs.lstat (Isaac Z. Schlueter)
* Fixes to process.mixin (Rasmus Andersson, Benjamin Thomas)
* Upgrade V8 to 2.1.1
2010.02.17, Version 0.1.29
* Major API Changes
- Remove 'file' module
- require('posix') -----------------> require('fs')
- fs.cat ---------------------------> fs.readFile
- file.write -----------------------> fs.writeFile
- TCP 'receive' event --------------> 'data'
- TCP 'eof' event ------------------> 'end'
- TCP send() -----------------------> write()
- HTTP sendBody() ------------------> write()
- HTTP finish() --------------------> close()
- HTTP 'body' event ----------------> 'data'
- HTTP 'complete' event ------------> 'end'
- http.Client.prototype.close() (formerly finish()) no longer
takes an argument. Add the 'response' listener manually.
- Allow strings for the flag argument to fs.open
("r", "r+", "w", "w+", "a", "a+")
* Added multiple arg support for sys.puts(), print(), etc.
(tj@vision-media.ca)
* sys.inspect(Date) now shows the date value (Mark Hansen)
* Calculate page size with getpagesize for armel (Jérémy Lal)
* Bugfix: stderr flushing.
* Bugfix: Promise late chain (Yuichiro MASUI)
* Bugfix: wait() on fired promises
(Felix Geisendörfer, Jonas Pfenniger)
* Bugfix: Use InstanceTemplate() instead of PrototypeTemplate() for
accessor methods. Was causing a crash with Eclipse debugger.
(Zoran Tomicic)
* Bugfix: Throw from connection.connect if resolving.
(Reported by James Golick)
2010.02.09, Version 0.1.28 * Use Google's jsmin.py which can be used for evil. * Add posix.truncate() * Throw errors from server.listen() * stdio bugfix (test by Mikeal Rogers) * Module system refactor (Felix Geisendörfer, Blaine Cook) * Add process.setuid(), getuid() (Michael Carter) * sys.inspect refactor (Tim Caswell) * Multipart library rewrite (isaacs)
2010.02.03, Version 0.1.27
* Implemented __dirname (Felix Geisendörfer)
* Downcase process.ARGV, process.ENV, GLOBAL
(now process.argv, process.env, global)
* Bug Fix: Late promise promise callbacks firing
(Felix Geisendörfer, Jonas Pfenniger)
* Make assert.AssertionError instance of Error
* Removed inline require call for querystring
(self@cloudhead.net)
* Add support for MX, TXT, and SRV records in DNS module.
(Blaine Cook)
* Bugfix: HTTP client automatically reconnecting
* Adding OS X .dmg build scripts. (Standa Opichal)
* Bugfix: ObjectWrap memory leak
* Bugfix: Multipart handle Content-Type headers with charset
(Felix Geisendörfer)
* Upgrade http-parser to fix header overflow attack.
* Upgrade V8 to 2.1.0
* Various other bug fixes, performance improvements.
2010.01.20, Version 0.1.26
* Bugfix, HTTP eof causing crash (Ben Williamson)
* Better error message on SyntaxError
* API: Move Promise and EventEmitter into 'events' module
* API: Add process.nextTick()
* Allow optional params to setTimeout, setInterval
(Michaeljohn Clement)
* API: change some Promise behavior (Felix Geisendörfer)
- Removed Promise.cancel()
- Support late callback binding
- Make unhandled Promise errors throw an exception
* Upgrade V8 to 2.0.6.1
* Solaris port
2010.01.09, Version 0.1.25
* sys.inspect() improvements (Tim Caswell)
* path module improvements (isaacs, Benjamin Thomas)
* API: request.uri -> request.url
It is no longer an object, but a string. The 'url' module
was addded to parse that string. That is, node no longer
parses the request URL automatically.
require('url').parse(request.url)
is roughly equivlent to the old request.uri object.
(isaacs)
* Bugfix: Several libeio related race conditions.
* Better errors for multipart library (Felix Geisendörfer)
* Bugfix: Update node-waf version to 1.5.10
* getmem for freebsd (Vanilla Hsu)
2009.12.31, Version 0.1.24
* Bugfix: don't chunk responses to HTTP/1.0 clients, even if
they send Connection: Keep-Alive (e.g. wget)
* Bugfix: libeio race condition
* Bugfix: Don't segfault on unknown http method
* Simplify exception reporting
* Upgrade V8 to 2.0.5.4
2009.12.19, Version 0.1.22
* Bugfix: child modules get wrong id with "index.js" (isaacs)
* Bugfix: require("../foo") cycles (isaacs)
* Bugfix: require() should throw error if module does.
* New URI parser stolen from Narwhal (isaacs)
* Bugfix: correctly check kqueue and epoll. (Rasmus Andersson)
* Upgrade WAF to 1.5.10
* Bugfix: posix.statSync() was crashing
* Statically define string symbols for performance improvement
* Bugfix: ARGV[0] weirdness
* Added superCtor to ctor.super_ instead superCtor.prototype.
(Johan Dahlberg)
* http-parser supports webdav methods
* API: http.Client.prototype.request() (Christopher Lenz)
2009.12.06, Version 0.1.21 * Feature: Add HTTP client TLS support (Rhys Jones) * Bugfix: use --jobs=1 with WAF * Bugfix: Don't use chunked encoding for 1.0 requests * Bugfix: Duplicated header weren't handled correctly * Improve sys.inspect (Xavier Shay) * Upgrade v8 to 2.0.3 * Use CommonJS assert API (Felix Geisendörfer, Karl Guertin)
PreviousNext