RepoJournal
Node.js

@nodejs

The Node.js runtime - every backend team's CVE source of truth

Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: JavaScript Full archive →

The Wire · Showcase

UNDICI RESTORES MOCK API COMPATIBILITY

By RepoJournal · Filed · About Node.js

Undici 8.2.0 broke the documented single-argument form of MockCallHistory filter methods. A fix just landed to restore backward compatibility without touching the new AND/OR semantics.

The mock utilities in undici [1] took a refactoring in 8.2.0 that inadvertently forced callers to pass a second `logs` argument to `filterCallsByX()` methods, breaking code that relied on the documented API. The fix restores the single-argument form by defaulting `logs` to `this.logs` in the helper [2], while keeping the internal AND/OR filter logic from the recent overhaul intact. This is the kind of regression that hits users running fresh installs against older documentation. If you upgraded to 8.2.0 and hit errors calling `filterCalls`, this patch gets you unblocked. The nodejs.org site is prepping a pride flag update to land around June 1st [3], and reliability is logging the first 2026 report for the books [4].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] fix(mock): restore single-arg MockCallHistory.filterCallsByX ↗ nodejs/undici
  2. [2] fix(mock): restore single-arg MockCallHistory.filterCallsByX (#5328) nodejs/undici
  3. [3] chore: pride flag ↗ nodejs/nodejs.org
  4. [4] Add report for 2026-06-01 nodejs/reliability

Quick answers

What shipped in Node.js on June 1, 2026?
Undici 8.2.0 broke the documented single-argument form of MockCallHistory filter methods. A fix just landed to restore backward compatibility without touching the new AND/OR semantics. In total, 3 commits and 2 pull requests landed.
Who contributed to Node.js on June 1, 2026?
2 developers shipped this update, including youcefzemmar and avivkeller.
What were the notable Node.js updates?
fix(mock): restore single-arg MockCallHistory.filterCallsByX, fix(mock): restore single-arg MockCallHistory.filterCallsByX (#5328), and chore: pride flag.

More from @nodejs

Daily updates, in your inbox

Follow Node.js

Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?