Skip to content
Codingmedium signalverified

Node.js 26.10.0 adds debounce and throttle to the standard library

The release arrived on September 22, 2026 and contains no security fixes. Both new functions return a promise for whatever the wrapped function produced, accept an AbortSignal, and say exactly what happens to a call they decide not to run. Throttle also carries a concurrency limit, a queue depth and a choice between queueing the overflow and rejecting it. Nine further changes are marked semver-minor, among them a synchronous openAsBlob and a way to hand a bound socket to a worker thread.

By Redakcija WebAiRadarPublished 3 min readwritten by a model

Source

Node.js 26.10.0 (Current)

Node.js Blog · Original published September 22, 2026

Delaying a reaction to an event that fires too fast, and capping how often a client calls someone else's service, are two of the most common reasons a Node project pulls in a dependency it does not otherwise need. Node.js 26.10.0 was published on September 22, 2026, and both now live in node:util. Neither is a thin copy of what npm already offers: each returns a promise, accepts an AbortSignal, and states what happens to a call it will not run.

How debounce works

util.debounce(fn, wait[, options]) returns a function that delays fn until the wait in milliseconds has passed since the most recent call. The returned function hands back a promise for whatever fn produced, and if fn throws or returns a rejected promise, that promise rejects with the same reason. When the debounced function is called several times inside one window, fn receives the arguments from the last of them.

The options decide what happens to the calls that lose. By default every superseded call resolves with the result of the invocation that did run. With rejectOnCancel set, those calls reject with an AbortError instead, which is what a caller needs when it must know its work was discarded. The leading option invokes fn at the start of the window, and the returned function carries a cancel method.

Throttle is a rate limiter, not a timer

util.throttle(fn, limit, interval[, options]) caps invocations at limit per interval in milliseconds. Rate capacity is consumed when fn starts, not when a call enters the queue, and concurrency capacity is released when the returned value settles. The documentation puts the rule in one sentence, quoted below.

Calls above the limit are queued in arrival order by default. Setting overflow to drop rejects them immediately with an ERR_THROTTLED error, and maxPending caps the queue when queueing is kept. A rejected call comes back as a promise that is already marked as handled, so ignoring one does not raise an unhandled rejection.

  • concurrency limits how many invocations may have an unsettled return value at once, and the default is Infinity.
  • strict holds the limit across any rolling interval rather than across fixed windows.
  • An aborted signal cancels pending calls and prevents future ones, on both functions.

The rest of the release

Nine further entries in the notable list are marked semver-minor. util.markPromiseAsHandled(promise) marks a promise so that a rejection is not reported through the unhandled rejection path, which is the same mechanism throttle uses on the calls it rejects itself.

  • crypto.parsePKCS12() reads a bundle in the PKCS#12 format.
  • fs.openAsBlobSync is the synchronous counterpart of openAsBlob.
  • The net module can send a net.BoundSocket to worker threads and child processes.
  • perf_hooks gains a SlidingWindowHistogram and qrde analysis inside Histogram.
  • sqlite now binds undefined to NULL, and ffi can load libraries from a mounted virtual file system.

What it changes for a project

A dependency that exists only to debounce an event handler can come out of package.json, and so can a hand-rolled limiter sitting in front of someone else's API. On a server that matters less for size than for the supply chain: every package removed is one fewer thing to audit and one fewer thing to update.

The release page marks this one as Current, and the notes list no security fixes, so the upgrade is not urgent. One entry deserves a read before it happens: sqlite now binds undefined to NULL, which changes what a query does with a missing value rather than adding something new.

„An invocation starts only when both rate and concurrency capacity are available.“
Node.js documentation

Sources

Once a week, in your inbox

The whole week's news, gathered into one email. No ads, no passing your address on, one-click unsubscribe.

The address is used only for this roundup. It is not sold and not passed to anyone.

Related

GITHUB COPILOTDecember 30code review billing moves to the organization
Codingmedium signal

GitHub will bill organizations for Copilot code review by default starting December 30

GitHub said on November 25, 2026, that Copilot code review for licensed members will be billed to the organization that owns the repository whenever no billing choice has been saved. The change applies to Copilot Business and Copilot Enterprise. Administrators who want to keep the current arrangement have to select Member before December 30, 2026.

GitHub Changelogverified

OPENCLAW 2026.11.10180 sdefault time limit for one Deep Research job,
Codingmedium signal

OpenClaw 2026.11.10 turns on Deep Research by default and lets users take over the agent's browser

OpenClaw's new release includes Deep Research, which looks through several sources and returns a report with quotes and gaps marked. It is on by default and uses the models the user has already set up. A second addition lets a user take over a browser tab during a sign-in, although the agent can still capture the page. The optional Knowledge plugin stores memory in local Markdown files.

OpenClawverified

AWS illustration: an arrow leads from a long itemized bill to three boxes labeled Resources, Requests, and Protection level.
Codingmedium signal

AWS WAF will bill each protected resource from February 2027 and drop its fees for rules

Amazon is changing how it charges for AWS WAF, the firewall that filters traffic to web applications. Rules and rule sets become free, while every protected resource gets an hourly fee. Sites with many rules on a few resources stand to pay less, and companies that cover many resources with one rule set can pay several times more.

AWSverified