Writing · Article

Node.js 26.14.0 LTS Is Out: What's New (fs.mkstemp, subprocess.timedOut, Test Runner mockReturnValue, zlib.crc32c, a Faster AbortSignal) and Whether to Upgrade

Node.js 26.14.0 LTS (30 Nov 2026): fs.mkstemp, subprocess.timedOut, test runner mockReturnValue, zlib.crc32c, faster AbortSignal, and whether to upgrade.

Node 26 LTS got its first feature minor since the November security release. Node.js 26.14.0 'Lithium' (LTS) was published on 30 November 2026, prepared by Antoine du Hamel (@aduh95), and the nodejs.org releases page lists it as "Latest LTS" next to v27.0.0-alpha.0.2.0 as "Latest Alpha". The same day brought Node.js 24.23.0 'Krypton' (LTS) for the maintenance line. This post covers what shipped in 26.14.0, with short code samples for the additions you are most likely to touch, what 24.23.0 and the 27 alpha contain, and whether to upgrade.

If you landed here searching for node 26.13.1: that was the 11 November security release, covered in our post on the sixteen CVEs. 26.14.0 is the next step up from it on the same line, and it includes everything 26.13.1 had.

The notable changes in 26.14.0, in one list

Every notable change in the release notes is tagged SEMVER-MINOR except two internal swaps. Here is the full list as the project published it, with the pull request numbers so you can look up the details:

  • child_process: add subprocess.timedOut (#66639, Marco).
  • fs: add mkstemp() (#66484, Marco).
  • http: batch body spans per parser execute (#67187, Guilherme Araújo), an internal change to how request bodies are passed from the parser to JavaScript.
  • lib: speed up AbortSignal (#66789, Robert Nagy).
  • module: add --experimental-strip-private-modules (#63869, Marco Ippolito).
  • process: return an unregister function from process.finalization (#66482, Matteo Collina).
  • test_runner: use AsyncLocalStorage instead of async_hooks (#66795, Matteo Collina), and add mockReturnValue and promise helpers (#66631, Guilherme Araújo).
  • worker: preload streams into the startup snapshot (#66311, Matteo Collina).
  • zlib: add crc32c (#66828, Philipp Dunkel).
  • doc: three new names, with efekrskl and christianaurichzm added to collaborators and Philipp Dunkel to contributors.

Two commits from the longer list deserve a mention as well: Reapply "module: synchronously load most ES modules" (#66786) and build: enable pie on linux (#67386). The bundled npm is 11.21.3.

fs.mkstemp(): temporary files without the race

Node has had fs.mkdtemp() for temporary directories for years; 26.14.0 adds the file equivalent. In general terms, mkstemp() creates a uniquely named temporary file from a template you supply and hands back the created file, so you no longer need the generate-a-name-then-open dance that can collide when two processes pick the same name. The release notes give only the function name, so see the fs API docs for the exact signature and return value before relying on it.

// Illustrative; per the 26.14.0 release notes. Check the fs docs for the exact signature.
import { mkstemp } from 'node:fs/promises';
import { tmpdir } from 'node:os';
import { join } from 'node:path';

// The template is the prefix; Node appends a unique suffix.
const tmp = await mkstemp(join(tmpdir(), 'upload-'));
console.log(tmp); // the created temp file (path and/or handle; see the docs)

subprocess.timedOut: know why the child died

When you pass a timeout option to a child_process call and the limit expires, Node kills the child. Until now you had to infer that from the kill signal, which is also what you get when something else kills the process. 26.14.0 adds a timedOut flag so the cause is explicit. It is the same addition that appeared in the 27 alpha notes last month, now on the LTS line:

const { spawnSync } = require('node:child_process');

const result = spawnSync('node', ['build-step.js'], { timeout: 30_000 });

if (result.timedOut) {
  console.error('build-step.js exceeded 30 s and was killed');
  process.exit(1);
}
console.log('exit status', result.status);

Test runner: mockReturnValue and promise helpers

The built-in node:test mocking API gets mockReturnValue plus "promise helpers" on the mock object. The shape below follows the release notes; check the test runner docs for the exact helper names before you adopt them in a suite. The other test runner change, swapping async_hooks for AsyncLocalStorage internally, should be invisible to you unless you were relying on the old hooks indirectly.

// Shape per the 26.14.0 release notes; check the node:test docs.
import { test } from 'node:test';
import assert from 'node:assert/strict';

test('uses a canned return value', (t) => {
  const loadUser = t.mock.fn();
  loadUser.mock.mockReturnValue({ id: 1, name: 'Ada' });

  assert.deepEqual(loadUser(), { id: 1, name: 'Ada' });
  assert.equal(loadUser.mock.callCount(), 1);
});

zlib.crc32c next to zlib.crc32

zlib.crc32() has been in Node for a while for the classic CRC-32 checksum. 26.14.0 adds zlib.crc32c() for the CRC-32C variant (the Castagnoli polynomial), which a number of storage and network formats use instead. Its benchmark was merged into the existing crc32 benchmark, so expect the call shape to mirror the existing one:

const { crc32, crc32c } = require('node:zlib');

const data = Buffer.from('hello, node 26.14');

console.log(crc32(data));  // classic CRC-32, as before
console.log(crc32c(data)); // new in 26.14.0: CRC-32C

The faster AbortSignal, and why it matters

AbortSignal sits under more of your code than you may think: every fetch() call, every AbortSignal.timeout(), every stream that accepts a signal option, and every AbortSignal.any() composition creates and tears down signals. Robert Nagy's change (#66789) makes that machinery cheaper. It is a performance change, not a behavioural one: the errors people search for, such as "AbortSignal.timeout is not a function" (which comes from running an old Node, not from this release) and "signal is aborted without reason", mean what they meant before. Build request timeouts as our AbortSignal.timeout and AbortSignal.any guide describes and you get the speed-up for free by upgrading.

Smaller items: strip-private-modules, finalization, ESM loading

  • --experimental-strip-private-modules is a new flag (#63869). It is experimental and the release notes give only the name, so read the CLI docs before putting it anywhere near a build.
  • process.finalization now returns an unregister function when you register a handler (#66482), so cleanup hooks can be removed again instead of living until exit. The same change landed in 24.23.0.
  • Reapply "module: synchronously load most ES modules" (#66786): the word "reapply" means this had landed and been backed out before. In practice it means fewer asynchronous hops when Node loads an ES module graph that does not need them, which is most of them. If you have a module whose evaluation order depended on the old async loading, this is the commit to test against.
  • worker: preload streams into the startup snapshot (#66311) is a worker startup-path change; build: enable pie on linux (#67386) is a build-hardening change you will only notice if you inspect the binary.

Node 24.23.0 'Krypton', released the same day

The maintenance line got its own feature minor on 30 November. 24.23.0 adds Buffer.stringLength() and the buffer isLatin1 check, http.isValidHeaderName() and isValidHeaderValue(), histogram.diff() and histogram.snapshot() in perf_hooks, the same process.finalization unregister function, graduates process.ref and process.unref from experimental, adds --test-coverage-include-all to the test runner, and promotes Alpine Linux to tier 2 support. If you are on Node 24, that is your upgrade target this week, not 26.14.0.

Where Node 27 is: alpha 0.2.0

Searches for node 27 and nodejs 27 keep growing, so briefly: Node 27 is still in its alpha phase. 27.0.0-alpha.0.2.0 was released on 26 November 2026, after the 0.1.0 and 0.1.1 builds we covered in the Node 27 alpha post. Its notable changes: util.TextDecoder and util.TextEncoder are doc-deprecated in favour of the globals; http2 gains writeProcessing, a missing setHeaders, and callbacks on the informational header methods; --process-timeout graduates and its output now covers workers; os.guessFileDescriptorType is exposed; node:sqlite is marked stable and gets a statement.columnCount getter; and TLS renegotiation is docs-deprecated with an allowRenegotiation opt-in. Useful to test against, not to deploy.

Should you upgrade?

The releases page is unambiguous about the lines: v26 'Lithium' is Active LTS, v24 'Krypton' and v22 'Jod' are Maintenance LTS, v27 is Alpha, and "Production applications should only use Active LTS or Maintenance LTS releases." Our October post on Node 26 becoming LTS has the schedule; the decision for this release is simpler:

  • Already on 26.x: yes, upgrade. 26.14.0 is a minor release on your line, so the semver promise is additive changes and fixes. Do it through your usual CI path: bump the Docker tag or version-manager pin, run the suite, deploy to one instance first. The ESM sync-loading reapply is the one commit worth a deliberate look if you rely on unusual module-evaluation ordering.
  • On 24.x: take 24.23.0. It is on your line and carries the maintenance-line fixes. Plan the 24-to-26 move separately, as the October post describes.
  • On 22.x: 22.23.5 from 11 November is still your latest. Nothing shipped for 22 on 30 November, and the line is in maintenance with its end of life approaching, so the real task is the move to 26.
  • Still on 26.13.1 and wondering whether this is a security release: it is not. 26.13.1 was; 26.14.0 is the feature minor after it. There is no new CVE in these notes.

What not to do

Do not read "Latest Alpha" on the releases page as an invitation. 27.0.0-alpha.0.2.0 is a prerelease: it gets replaced by the next alpha build rather than patched, it can still take semver-major changes, and the LTS support contract does not apply to it. Keep it in an allowed-to-fail CI job or a throwaway container, pin the exact alpha tag, and leave your default Node at 26. The second thing not to do is skip 26.14.0 because "it is only a minor": staying several minors behind makes the next security update a bigger jump than it needs to be.

The short version: Node 26.14.0 to run, 24.23.0 if you are on the maintenance line, 27 alpha only in CI, and the four additions worth learning this week are fs.mkstemp(), subprocess.timedOut, mockReturnValue in node:test and zlib.crc32c().