|
|
|
#ifndef SRC_NODE_VERSION_H_
|
|
|
|
#define SRC_NODE_VERSION_H_
|
|
|
|
|
|
|
|
#define NODE_MAJOR_VERSION 4
|
|
|
|
#define NODE_MINOR_VERSION 1
|
|
|
|
#define NODE_PATCH_VERSION 2
|
|
|
|
|
|
|
|
#define NODE_VERSION_IS_RELEASE 0
|
|
|
|
|
|
|
|
#ifndef NODE_STRINGIFY
|
|
|
|
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
|
|
|
|
#define NODE_STRINGIFY_HELPER(n) #n
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef NODE_TAG
|
|
|
|
# if NODE_VERSION_IS_RELEASE
|
|
|
|
# define NODE_TAG ""
|
|
|
|
# else
|
|
|
|
# define NODE_TAG "-pre"
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
# define NODE_VERSION_STRING NODE_STRINGIFY(NODE_MAJOR_VERSION) "." \
|
|
|
|
NODE_STRINGIFY(NODE_MINOR_VERSION) "." \
|
|
|
|
NODE_STRINGIFY(NODE_PATCH_VERSION) \
|
|
|
|
NODE_TAG
|
|
|
|
|
|
|
|
#define NODE_VERSION "v" NODE_VERSION_STRING
|
|
|
|
|
|
|
|
|
|
|
|
#define NODE_VERSION_AT_LEAST(major, minor, patch) \
|
|
|
|
(( (major) < NODE_MAJOR_VERSION) \
|
|
|
|
|| ((major) == NODE_MAJOR_VERSION && (minor) < NODE_MINOR_VERSION) \
|
|
|
|
|| ((major) == NODE_MAJOR_VERSION && \
|
|
|
|
(minor) == NODE_MINOR_VERSION && (patch) <= NODE_PATCH_VERSION))
|
|
|
|
|
|
|
|
/**
|
|
|
|
* When this version number is changed, node.js will refuse
|
|
|
|
* to load older modules. This should be done whenever
|
|
|
|
* an API is broken in the C++ side, including in v8 or
|
|
|
|
* other dependencies.
|
|
|
|
*/
|
2015-09-08, Version 4.0.0 (Stable) Release
This list of changes is relative to the last io.js v3.x branch
release, v3.3.0. Please see the list of notable changes in the v3.x,
v2.x and v1.x releases for a more complete list of changes from
0.12.x. Note, that some changes in the v3.x series as well as major
breaking changes in this release constitute changes required for full
convergence of the Node.js and io.js projects.
* child_process: ChildProcess.prototype.send() and process.send()
operate asynchronously across all platforms so an optional callback
parameter has been introduced that will be invoked once the message
has been sent, i.e. .send(message[, sendHandle][, callback])
(Ben Noordhuis) #2620.
* node: Rename "io.js" code to "Node.js" (cjihrig) #2367.
* node-gyp: This release bundles an updated version of node-gyp that
works with all versions of Node.js and io.js including nightly and
release candidate builds. From io.js v3 and Node.js v4 onward, it
will only download a headers tarball when building addons rather
than the entire source. (Rod Vagg) #2700.
* npm: Upgrade to version 2.14.2 from 2.13.3, includes a security
update, see https://github.com/npm/npm/releases/tag/v2.14.2 for more
details, (Kat Marchán) #2696.
* timers: Improved timer performance from porting the 0.12
implementation, plus minor fixes (Jeremiah Senkpiel) #2540,
(Julien Gilli) nodejs/node-v0.x-archive#8751 nodejs/node-v0.x-archive#8905
* util: The util.is*() functions have been deprecated, beginning with
deprecation warnings in the documentation for this release, users
are encouraged to seek more robust alternatives in the npm registry,
(Sakthipriyan Vairamani) #2447.
* v8: Upgrade to version 4.5.103.30 from 4.4.63.30 (Ali Ijaz Sheikh) #2632.
- Implement new TypedArray prototype methods: copyWithin(), every(),
fill(), filter(), find(), findIndex(), forEach(), indexOf(),
join(), lastIndexOf(), map(), reduce(), reduceRight(), reverse(),
slice(), some(), sort(). See
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
for further information.
- Implement new TypedArray.from() and TypedArray.of() functions. See
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
for further information.
- Implement arrow functions. See
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
for further information.
- Full ChangeLog available at
https://github.com/v8/v8-git-mirror/blob/4.5.103/ChangeLog
10 years ago
|
|
|
#define NODE_MODULE_VERSION 46 /* Node.js v4.0.0 */
|
|
|
|
|
|
|
|
#endif /* SRC_NODE_VERSION_H_ */
|