Кабинет

Посты канала Node.js Ukraine Community

сначала новые

#2262Превью ссылки
Просмотры777−53%к среднему
Пересылки—
Реакции21
Комментарии—
Динамика просмотровСкрыть динамику

Рост просмотров

Часов после публикации

Показать таблицей
Часов после публикацииПросмотры
0 ч0
6 ч668
10 ч777
  1. Через 6 часов668
  2. Всего сейчас777
#2259Текст
Просмотры1 280−22%к среднему
Пересылки—
Реакции18
Комментарии—
#2257Текст
Просмотры1 530−7%к среднему
Пересылки—
Реакции17
Комментарии—
#2256Превью ссылки
Просмотры2 590+58%к среднему
Пересылки—
Реакции15
Комментарии—
#2246Текст
Просмотры1 910+16%к среднему
Пересылки—
Реакции26
Комментарии—
#2243Фото

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

Открыть в Telegram
Просмотры1 690+3%к среднему
Пересылки—
Реакции10
Комментарии—