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

## Executive Summary (TL;DR)
Node.js v21.4.0 introduces a minor feature adding `dirent.parentPath` alongside a critical bug fix for `fs.writeFileSync`. Upgrading resolves a regression that caused file writes with 'utf8' encoding to fail on non-existent targets.

## New Features
- Introduce dirent.parentPath for file system directory entries

## Improvements
- Speed up line length calculations used by moduleProvider in the loader

## Bug Fixes
- Fix regression in fs.writeFileSync causing errors when called with 'utf8' encoding, no flag option, and a non-existent target file
