io.js Week of May 29th

io.js
io.js
Jun 1, 2015 · 2 min read

io.js 2.2 releases, community updates and events

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.

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/io.js/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

Node & JavaScript

Javascript is fun and so Node is fun!

    io.js

    Written by

    io.js

    Bringing ES6 to the Node Community!

    Node & JavaScript

    Javascript is fun and so Node is fun!

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade