v1.12.0

met4citizen/TalkingHeadv1.12.0Feb 28, 2026by yamadashy

AI Summary

This release delivers significant performance improvements and a smoother CLI experience, featuring faster startup times, optimized file collection, and reduced package size.

Key Highlights

  • Enabled Node.js V8 compile cache for approximately 10% faster startup time
  • Introduced auto-detection of remote GitHub/GitLab URLs without the --remote flag
  • Optimized file collection using a UTF-8 fast path and promise pool
  • Replaced ZIP archive download with streaming tar.gz extraction for better large file handling
  • Reduced npm package size by 50% by removing unused source maps

New Features

  • Auto-detection of remote repository URLs in positional arguments
  • Node.js V8 compile cache for faster module loading
  • Optimized file collection with UTF-8 fast path and promise pool
  • Streaming tar.gz extraction for remote repositories
  • Reduced npm package size from 2.4MB to 1.2MB

Full Release Notes

This release brings significant performance improvements across the board—faster startup, optimized file collection, and reduced package size—along with a smoother CLI experience for remote repositories!

## What's New 🚀

### Auto-detect Remote URLs Without `--remote` Flag (#1145)

You can now pass GitHub URLs directly as positional arguments without the `--remote` flag:

```bash
# Before
repomix --remote https://github.com/user/repo

# Now also works!
repomix https://github.com/user/repo
```

The CLI automatically detects explicit remote URLs (GitHub, GitLab, Bitbucket, etc.) in positional arguments and treats them as remote repository targets.

## Improvements ⚡

### Node.js Module Compile Cache for Faster Startup (#1181)

Enabled Node.js V8 compile cache (available in Node.js 22.8.0+) for approximately **10% faster startup time**. The compiled module cache is stored automatically and speeds up subsequent launches.

### Optimized File Collection with UTF-8 Fast Path (#1155)

Improved file collection performance with two key optimizations:
- **UTF-8 fast path**: Skips expensive encoding detection for files that are valid UTF-8, which covers the vast majority of source code files
- **Promise pool**: Replaced worker threads with a lightweight promise pool for better concurrency control

### Streaming tar.gz Extraction for Remote Repositories (#1153)

Replaced ZIP archive download with **streaming tar.gz extraction** for remote repository operations:
- Better handling of large repositories

### Smaller npm Package (#1092)

Removed unused source maps from the npm package, reducing `lib/` size from **2.4MB to 1.2MB** (~50% reduction).

## Bug Fixes 🐛

### Skip Retry on Archive Extraction Error (#1149)

Fixed an issue where archive extraction errors would trigger unnecessary retries. Extraction errors are now treated as non-retryable, providing faster error feedback.

## How to Update

```bash
npm update -g repomix
```

---

As always, if you have any issues or suggestions, please let us know on GitHub issues or our [Discord community](https://discord.gg/wNYzTwZFku).