Weekly Update - May 29th, 2015

Giovanny Gioyik

io.js 2.2 releases

This week we had two io.js releases v2.2.0 and v2.2.1, complete changelog can be found on GitHub.

Notable changes

v2.2.0

  • node: Speed-up require() by replacing usage of fs.statSync() and fs.readFileSync() with internal variants that are faster for this use-case and do not create as many objects for the garbage collector to clean up. The primary two benefits are: significant increase in application start-up time on typical applications and better start-up time for the debugger by eliminating almost all of the thousands of exception events. (Ben Noordhuis) #1801.
  • node: Resolution of pre-load modules (-r or --require) now follows the standard require() rules rather than just resolving paths, so you can now pre-load modules in node_modules. (Ali Ijaz Sheikh) #1812.
  • npm: Upgraded npm to v2.11.0. New hooks for preversion, version, and postversion lifecycle events, some SPDX-related license changes and license file inclusions. See the release notes for full details.

v2.2.1

  • http: reverts the removal of an undocumented client property on client connections, this property is being used in the wild, most notably by request which is used by npm. (Michaël Zasso) #1852.

Known issues

See https://github.com/nodejs/node/labels/confirmed-bug for complete and current list of known issues.

  • Some problems with unreferenced timers running during beforeExit are still to be resolved. See #1264.
  • Surrogate pair in REPL can freeze terminal #690
  • process.send() is not synchronous as the docs suggest, a regression introduced in 1.0.2, see #760 and fix in #774
  • Calling dns.setServers() while a DNS query is in progress can cause the process to crash on a failed assertion #894
  • url.resolve may transfer the auth portion of the url when resolving between two full hosts, see #1435.

Community Updates

Upcoming Events

  • NodeConf Adventure tickets are on sale, June 11th - 14th at Walker Creek Ranch, CA
  • CascadiaJS tickets are on sale, July 8th - 10th at Washington State
  • BrazilJS Conf tickets are on sale, August 21st - 22nd at Shopping Center BarraShoppingSul
  • NodeConf EU tickets are on sale, September 6th - 9th at Waterford, Ireland
Last Updated
May 29, 2015
Reading Time
2 min read
Contribute
Edit this page
Table of Contents
  1. Notable changes
  2. v2.2.0
  3. v2.2.1
  4. Known issues
  5. Community Updates
  6. Upcoming Events