Account

Posts of Node.js Ukraine Community

newest first

#2262Link preview
Views777−53%vs avg
Forwards—
Reactions21
Comments—
Views growthHide views growth

Views growth

Hours after publication

Show as table
Hours after publicationViews
0 h0
6 h668
10 h777
  1. After 6 hours668
  2. Total to date777
#2259Text
Views1,280−22%vs avg
Forwards—
Reactions18
Comments—
#2257Text
Views1,530−7%vs avg
Forwards—
Reactions17
Comments—
#2256Link preview
Views2,590+58%vs avg
Forwards—
Reactions15
Comments—
#2246Text
Views1,910+16%vs avg
Forwards—
Reactions26
Comments—
#2243Photo

Node.js 27 Alpha: Released October 29 1. V8 15.6 (from 14.6). New JavaScript features enabled by default: Math.sumPrecise(), Iterator.zip(), Iterator.zipKeyed(), Iterator.prototype.join(), includes(), and Intl.Locale.prototype.variants. 2. Experimental JavaScript features. Deferred imports (import defer), immutable ArrayBuffer, and RegExp buffer boundaries, all behind flags. 3. Promise-based TCP networking. Experimental node:net/promises introduces connect() and listen(). Servers support for await...of to iterate incoming connections. 4. Virtual File System without a CLI flag. 5. Native filesystem globbing. fs.glob() gets a native implementation intended to reduce allocations and improve performance. 6. Secure temporary files. New fs.mkstemp(), fs.mkstempSync(), and fs.promises.mkstemp() create and open unique temporary files atomically. 7. Environment variable permissions 8. Better native test runner. New mocking helpers: mockReturnValue(), mockResolvedValue(), mockRejectedValue(). AbortSignal performance also improved. 9. Major memory management changes. Default V8 heap limit becomes 50% of physical RAM, clamped to 256 MB–4 GB. Buffer and ArrayBuffer memory now counts toward the heap limit. Important for memory-intensive applications. 10. V8 execution improvements. await requires fewer microtasks. Large-array sorting uses stable PowerSort. Mathematical operations use LLVM's libm, potentially changing least-significant bits. 11. HTTP defaults changed. keepAliveTimeout increases to 65 seconds. req.headers becomes a null-prototype object. HTTP/2 default flow-control windows increase. 12. Faster connection establishment. Network address-family selection now races connection attempts, potentially reducing IPv4/IPv6 connection latency. Breaking changes and compatibility 13. V8 serialization incompatibility. New v8.serialize(), structuredClone(), and postMessage() serialization format cannot be read by older Node.js versions. Compile cache compatibility also changes. 14. OpenSSL 4.1 and npm 12.1. Legacy OpenSSL engine support is removed. OpenSSL 3+ is required for builds. 15. Legacy APIs deprecated. node:domain gets runtime deprecation warnings. node::ObjectWrap is officially deprecated. REPL switches from vm to Inspector. Other experimental features: https://nodejs.org/en/blog/release/v27.0.0-alpha.0.0.0

Open in Telegram
Views1,690+3%vs avg
Forwards—
Reactions10
Comments—