Node v4.1.0 (Stable) was released

September 17, 2015 in Javascript, News, Programming, Programming Languages by admin


Notable changes

  • buffer:
    • Buffers are now created in JavaScript, rather than C++. This increases the speed of buffer creation (Trevor Norris) #2866.
    • Buffer#slice() now uses Uint8Array#subarray() internally, increasing slice() performance (Karl Skomski) #2777.
  • fs:
    • fs.utimes() now properly converts numeric strings, NaN, and Infinity (Yazhong Liu) #2387.
    • fs.WriteStream now implements _writev, allowing for super-fast bulk writes (Ron Korving) #2167.
  • http: Fixed an issue with certain write() sizes causing errors when using http.request() (Fedor Indutny) #2824.
  • npm: Upgrade to version 2.14.3, see for more details (Kat March├ín) #2822.
  • src: V8 cpu profiling no longer erroneously shows idle time (Oleksandr Chekhovskyi) #2324.
  • timers: #ref() and #unref() now return the timer they belong to (Sam Roberts) #2905.
  • v8: Lateral upgrade to from, contains minor fixes (Ali Ijaz Sheikh) #2870.
    • This fixes a previously known bug where some computed object shorthand properties did not work correctly (#2507).

Known issues

See 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
  • 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.

For more details about this release, follow the link.