Commit graph

7 commits

Author SHA1 Message Date
fhajny
73a9f186ae Update lang/nodejs to 6.0.0.
This release will become the new LTS later in 2016.

The following significant changes have been made since the
previous Node.js v5.0.0 release.

Buffer
- New Buffer constructors have been added #4682 and #5833.
- Existing Buffer() and SlowBuffer() constructors have been
  deprecated in docs #4682 and #5833.
- Previously deprecated Buffer APIs are removed #5048, #4594.
- Improved error handling #4514.
- The Buffer.prototype.lastIndexOf() method has been added #4846.

Cluster
- Worker emitted as first argument in 'message' event #5361.
- The worker.exitedAfterDisconnect property replaces
  worker.suicide #3743.

Console
- Calling console.timeEnd() with an unknown label now emits a
  process warning rather than throwing #5901.

Crypto
- Improved error handling #3100, #5611.
- Simplified Certificate class bindings #5382.
- Improved control over FIPS mode #5181.
- pbkdf2 digest overloading is deprecated #4047.

Dependencies
- Reintroduce shared c-ares build support #5775.
- V8 updated to 5.0.71.35 #6372.

DNS
- Add dns.resolvePtr() API to query plain DNS PTR records #4921.

Domains
- Clear stack when no error handler #4659.

Events
- The EventEmitter.prototype._events object no longer inherits
  from Object.prototype #6092.
- The EventEmitter.prototype.prependListener() and
  EventEmitter.prototype.prependOnceListener() methods have been
  added #6032.

File System
- The fs.realpath() and fs.realpathSync() methods have been
  updated to use a more efficient libuv-based implementation. This
  change includes the removal of the cache argument and the method
  can throw new errors #3594.
- FS apis can now accept and return paths as Buffers #5616.
- Error handling and type checking improvements #5616, #5590,
  #4518, #3917.
- fs.read's string interface is deprecated #4525.

HTTP
- 'clientError' can now be used to return custom errors from an
  HTTP server #4557.
2016-04-27 15:03:10 +00:00
jperkin
231e0a4953 Ensure we don't try to use gold on Linux if it doesn't exist. Fixes
64-bit build on CentOS.
2016-03-18 11:39:18 +00:00
tnn
4ef62c4256 Needs pthreads. set PTHREAD_AUTO_VARS. Fixes build on NetBSD. 2016-03-12 12:34:44 +00:00
jperkin
db1332a441 Use OPSYSVARS. 2016-02-25 14:42:55 +00:00
fhajny
93d2f2daba Update lang/nodejs to 5.5.0.
* events: make sure console functions exist (Dave) #4479
* fs: add autoClose option to fs.createWriteStream (Saquib) #3679
* http: improves expect header handling (Daniel Sellers) #4501
* node: allow preload modules with -i (Evan Lucas) #4696
* v8,src: expose statistics about heap spaces (v8.getHeapSpaceStatistics())
  (Ben Ripkens) #4463
* Minor performance improvements:
  - lib: Use arrow functions instead of bind where possible (Minwoo Jung)
    #3622.
  - module: cache stat() results more aggressively (Ben Noordhuis) #4575
  - querystring: improve parse() performance (Brian White) #4675
2016-01-21 11:45:30 +00:00
adam
7f3b4730ad Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 2015-12-05 21:25:27 +00:00
fhajny
92a02ddd52 Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.

Notable Changes in 5.0.0:

* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
  from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
  3 decimals of accuracy added
* fs:
  - fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
    accept a file descriptor as their first argument
  - (Breaking) In fs.readFile(), if an encoding is specified and
    the internal toString() fails the error is no longer thrown but is
    passed to the callback
  - (Breaking) In fs.read() (using the fs.read(fd, length, position,
    encoding, callback) form), if the internal toString() fails the
    error is no longer thrown but is passed to the callback
* http:
  - Fixed a bug where pipelined http requests would stall
  - (Breaking) When parsing HTTP, don't add duplicates of the
    following headers: Retry-After, ETag, Last-Modified, Server, Age,
    Expires.
  - (Breaking) The callback argument to OutgoingMessage#setTimeout()
    must be a function or a TypeError is thrown
  - (Breaking) HTTP methods and header names must now conform to
    the RFC 2616 "token" rule, a list of allowed characters that
    excludes control characters and a number of separator characters.
* node:
  - (Breaking) Deprecated the _linklist module
  - (Breaking) Removed require.paths and require.registerExtension(),
    both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
  - Added ALPN Support
  - TLS options can now be passed in an object to createSecurePair()
  - (Breaking) The default minimum DH key size for tls.connect() is
    now 1024 bits and a warning is shown when DH key size is less
    than 2048 bits.
* util:
  - (Breaking) util.p() was deprecated for years, and has now been
    removed
  - (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
  - Implements the spread operator
  - Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
  end of file)

See full release notes with more information at:

  https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 20:19:35 +00:00