Prettier 3.9.6
Prettier 3.9.6 has been released — the code formatter's latest update brings TypeScript import defer support, a brand-new official plugin, and a critical fix for quote preservation around methods named new.
What Changed in Prettier 3.9.6
Released July 21, 2026, Prettier 3.9.6 is a minor patch release that focuses on parser compatibility and ecosystem expansion rather than sweeping formatting overhauls. The three headline changes each address a specific gap in the tool's coverage.
TypeScript import defer Support
Deno 2.9 introduced the import defer syntax as a way to lazily load modules, and TypeScript parsers have been catching up. Prettier 3.9.6 now recognizes and correctly formats import defer statements in TypeScript files, ensuring the formatter doesn't mangle or break this new syntax. This matters most for Deno users who have adopted the feature and want their codebase formatted consistently.
New Official Plugin: @prettier/plugin-yuku
The Prettier team has published @prettier/plugin-yuku, a new official plugin that extends Prettier's formatting capabilities. While the plugin targets a specific ecosystem, its addition signals the team's continued investment in the plugin architecture. Developers can install it via npm install --save-dev @prettier/plugin-yuku and add it to their Prettier config.
Quote Preservation Fix for new Methods
A subtle bug fix addresses how Prettier handles quotes for object methods named new. In certain edge cases, Prettier would incorrectly rewrite quotes around these method names, breaking the original author's intent. This fix ensures that quote style is preserved consistently regardless of method naming.
Why It Matters
Patch releases like 3.9.6 rarely make headlines, but they demonstrate the project's maintenance health. Regular, small releases with targeted fixes keep the formatter reliable for the millions of developers who run it in their editors, commit hooks, and CI pipelines every day. The import defer support in particular shows Prettier staying current with the fast-moving TypeScript and Deno ecosystems.
Prettier 3.9.6 is available now on npm. Upgrade with npm update prettier or npx prettier@latest.