Skip to content

Release Proposal: [email protected]Β #57

@Phillip9587

Description

@Phillip9587

This is a proposal to prepare and publish a new major release (v3.0.0) of on-finished.

Proposed Changes


🚫 Dropping Support for End-of-Life Node.js Versions

I propose updating the engines field to >=18, aligning with Express's current requirement. This would allow us to modernize the codebase by removing workarounds and compatibility layers for older Node.js versions.

As part of this, we would remove legacy runtime compatibility code, including:

  • Conditional use of async_hooks for environments without stable support
  • Fallbacks such as setImmediate targeting pre-Node.js 10 environments
  • Special Handling for older Stream implementations

This cleanup simplifies the module, improves maintainability, and ensures consistent behavior across modern Node.js versions.

cc @jonchurch @wesleytodd @UlisesGascon

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions