Skip to content

repomix

v1.16.1 Feature

This release adds 2 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai anthropic artificial-intelligence llm chatgpt claude
+12 more
deepseek developer-tools gemini genai generative-ai javascript language-model llama mcp nodejs openai typescript

Summary

AI summary

Fixed a WebAssembly memory leak that caused heap growth when parsing many files.

Changes in this release

Feature Low

Adds comment removal for additional JavaScript/TypeScript module file types (.mjs, .cjs, .mts, .cts, .mjsx, .mtsx).

Adds comment removal for additional JavaScript/TypeScript module file types (.mjs, .cjs, .mts, .cts, .mjsx, .mtsx).

Source: llm_adapter@2026-07-15

Confidence: high

Bugfix Medium

Fixes WebAssembly memory leak during parsing/compression of many files.

Fixes WebAssembly memory leak during parsing/compression of many files.

Source: llm_adapter@2026-07-15

Confidence: high

Bugfix Low

Counts underscore-prefixed directories in the token count tree output.

Counts underscore-prefixed directories in the token count tree output.

Source: llm_adapter@2026-07-15

Confidence: high

Bugfix Low

Corrects directory tree structure and file ordering on Windows platforms.

Corrects directory tree structure and file ordering on Windows platforms.

Source: llm_adapter@2026-07-15

Confidence: high

Full changelog

This release is a bug-fix patch: it plugs a WebAssembly memory leak, extends comment removal to more JavaScript/TypeScript module files, and fixes the token count tree for underscore-prefixed directories and the directory tree on Windows. Updating to 1.16.1 is recommended for all users.

Improvements ⚡

Fixed a WebAssembly Memory Leak (#1681)

Parsed web-tree-sitter Tree objects were not released after use, leaking WebAssembly heap memory when parsing or compressing many files — noticeable on large repositories. Each tree is now freed right after parsing, keeping memory usage stable.

Special thanks to @isaka1022 for their first contribution! 🎉

Comment Removal for More Module Files (#1683)

--remove-comments now strips comments from JavaScript/TypeScript module files that were previously skipped — .mjs, .cjs, .mts, .cts, and their JSX variants .mjsx / .mtsx.

repomix --remove-comments

Special thanks to @serhiizghama for this contribution! 🎉

Token Count Tree: Count Underscore-Prefixed Directories (#1710)

Directories whose names start with an underscore (for example __tests__ or __mocks__) were dropped from the --token-count-tree output and excluded from the token totals. They are now rendered and counted like any other directory.

repomix --token-count-tree

Special thanks to @serhiizghama for this contribution! 🎉

Correct Directory Tree and File Ordering on Windows (#1712)

On Windows, the <directory_structure> section collapsed into a flat list of full paths and file sorting fell back to a plain string comparison, because already-normalized (/-separated) paths were being split on the OS separator (\). Paths are now normalized before splitting, so the tree nests correctly and files sort in directory-aware order on every platform.

Special thanks to @serhiizghama for this contribution! 🎉

How to Update

npm update -g repomix

As always, if you have any issues or suggestions, please let us know on GitHub issues or our Discord community.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track repomix

Get notified when new releases ship.

Sign up free

About repomix

All releases →

Related context

Earlier breaking changes

  • v1.14.1 Deprecates Node.js 20 support and adds Node.js 26 support; requires Node.js 22 or later.

Beta — feedback welcome: [email protected]