unstale

npm / request-filtering-agent

request-filtering-agent

What changed in request-filtering-agent 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-21.

6 breaking2 behavior and defaults1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

request-filtering-agent 35 changes

Breaking changes 3

  • Literal private-IP validation now reports errors through the socket/callback path instead of throwing synchronously, so HTTP and HTTPS requests emit request.on("error").

    3.2.1release notessecurity advisory

  • The package changes from CommonJS to ESM, affecting how developers import it.

    3.0.0release notes

  • Node.js 20 or later is required; Node.js 14, 16, and 18 are no longer supported.

    3.0.0release notes

Behavior and default changes 2

  • denyIPAddressList now supports CIDR notation.

    3.2.0release notes

  • allowIPAddressList now supports CIDR notation for specifying allowed IP addresses.

    3.1.0release notes

request-filtering-agent 24 changes

Breaking changes 3

  • Removes the applyRequestFilter(agent) function because it is incompatible with Node.js 20+.

    2.0.0release notes

  • Supports Node.js 18 and 20, and drops support for Node.js 12, 14, and 16.

    2.0.0release notes

  • Removes this duplicated option because the redirect attack pattern is already blocked.

    2.0.0release notes

Fixes and other changes 1

  • Fixes an error on Node.js 20+ caused by incompatible use of Node.js internals.

    2.0.0release notes