# Node.js v21.1.0 - Release & Upgrade Intelligence
- **Product:** Node.js (https://nodejs.org)
- **Version:** v21.1.0
- **Released:** Oct 24, 2023
- **Impact Score:** 7/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/nodejs/updates/v21.1.0/

## Executive Summary (TL;DR)
Node.js v21.1.0 introduces an experimental flag to automatically detect ES modules in ambiguous files, reducing friction for dual-mode package development. The release also includes several performance optimizations across the filesystem and stream modules.

## New Features
- Added --experimental-detect-module flag for automatic ES module detection in ambiguous files
- Added navigator.userAgent support
- Added flush option to appendFile() functions

## Improvements
- Improved performance for multiple fs sync operations including readSync, fsyncSync, and mkdirSync
- Enhanced readable stream read performance
- Stream composition now allows passing stream classes to stream.compose

## Bug Fixes
- Fixed crypto validation issues in SubtleCrypto.importKey
- Fixed incorrect hints during file format detection in ESM loader
