- buffer: (Breaking) Removed both
'raw'
and'raws'
encoding types fromBuffer
, these have been deprecated for a long time (Sakthipriyan Vairamani) #2859. - console: (Breaking) Values reported by
console.time()
now have 3 decimals of accuracy added (Michaël Zasso) #3166. - fs:
fs.readFile*()
,fs.writeFile*()
, andfs.appendFile*()
now also accept a file descriptor as their first argument (Johannes Wüller) #3163.- (Breaking) In
fs.readFile()
, if an encoding is specified and the internaltoString()
fails the error is no longer thrown but is passed to the callback (Evan Lucas) #3485.
- (Breaking) In
fs.read()
(using thefs.read(fd, length, position, encoding, callback)
form), if the internaltoString()
fails the error is no longer thrown but is passe