智慧空间智能控制系统
Node.js 今天发布两个更新版本,分别是:
4.4.0
SEMVER-MINOR 变化包括:
- deps:
- An update to v8 that introduces a new flag –perf_basic_prof_only_functions (Ali Ijaz Sheikh) #3609
- http:
- A new feature in http(s) agent that catches errors on keep alived connections (José F. Romaniello) #4482
- src:
- Better support for Big-Endian systems (Bryon Leung) #3410
- tls:
- A new feature that allows you to pass common SSL options to
tls.createSecurePair
(Коренберг Марк) #2441
- A new feature that allows you to pass common SSL options to
- tools:
- a new flag
--prof-process
which will execute the tick processor on the provided isolate files (Matt Loring) #4021
- a new flag
Notable semver patch changes include:
- build:
- Support python path that includes spaces. This should be of particular interest to our Windows users who may have python living in
c:/Program Files
(Felix Becker) #4841
- Support python path that includes spaces. This should be of particular interest to our Windows users who may have python living in
- https:
- installer:
- More readable profiling information from isolate tick logs (Matt Loring) #3032
- npm:
- upgrade to npm 2.14.20 (Kat Marchán) #5510
- process:
- Add support for symbols in event emitters. Symbols didn’t exist when it was written ¯_(ツ)_/¯ (cjihrig) #4798
- querystring:
- querystring.parse() is now 13-22% faster! (Brian White) #4675
- streams:
- performance improvements for moving small buffers that shows a 5% throughput gain. IoT projects have been seen to be as much as 10% faster with this change! (Matteo Collina)#4354
- tools:
- eslint has been updated to version 2.1.0 (Rich Trott) #5214
5.8.0 值得关注的改进内容:
- child_process:
send()
now accepts an options parameter (cjihrig) #5283.- Currently the only option is
keepOpen
, which keeps the underlying socket open after the message is sent.
- Currently the only option is
- constants:
ENGINE_METHOD_RSA
is now correctly exposed (Sam Roberts) #5463. - Fixed two regressions which originated in v5.7.0:
- repl:
start()
no longer requires an options parameter (cjihrig) #5388. - util: Improved
format()
performance 50-300% (Evan Lucas) #5360.
相关链接:
https://nodejs.org/en/blog/release/v4.4.0/
https://nodejs.org/en/blog/release/v5.8.0/