Skip to content

Releases: yamadashy/repomix

v0.3.0

17 Mar 15:31
Compare
Choose a tag to compare

Important

The default output format has been changed to XML in this release.

This version has been bumped to 0.3.0 not because of a major update, but due to a breaking change in the default output format. It represents an important improvement for anyone installing Repomix for the first time.

Breaking Changes 🔄

Default Output Format Changed to XML (#422)

  • The default output format has been changed to XML
    • XML format provides better parsing accuracy for AI models (especially Claude)
    • Other formats (Markdown, Plain Text) remain available via the --style option

How to Update

npm update -g repomix

If you encounter any issues or have suggestions, please let us know through our GitHub issues or join our Discord community for support.

v0.2.41

16 Mar 14:31
Compare
Choose a tag to compare

This release introduces Git-based file sorting and enhances file compression capabilities.

What's New 🚀

Git-based File Sorting (#356, #421)

  • Added ability to sort files by Git commit frequency
    • Prioritizes frequently modified files in the output
  • Can be controlled via CLI options or configuration
    • Use --no-git-sort-by-changes flag to disable Git-based sorting
    • Configure in repomix.config.json:
      {
        "output": {
          "git": {
            "sortByChanges": true,
            "sortByChangesMaxCommits": 100
          }
        }
      }

Special thanks to @SpyC0der77 for suggesting this feature!

Improvements ⚡️

Enhanced Compress Mode (#420)

  • Added Vue.js and CSS file support for compress mode

How to Update

npm update -g repomix

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our Discord community for support.

v0.2.40

15 Mar 06:31
Compare
Choose a tag to compare

This release brings significant enhancements to Model Context Protocol (MCP) integration and improves file handling capabilities.

Improvements ⚡

Enhanced MCP Integration (#419, #415, #409, #413)

  • Added file and directory reading capabilities with integrated Secretlint security checks
  • Introduced result retrieval tools for Claude Desktop and Cursor AI assistants

Pack local repo with compress:

Please pack this with compress in repomix.
<path>

MCP Integration - Command Example

Read detailed results:
MCP Integration - Results View

For more MCP details, please refer to the documentation:
https://github.com/yamadashy/repomix#mcp-integration

Extended File Format Support (#407)

  • Added support for Bun lockfile format (bun.lockb)

Special thanks to @jiftoo for their first contribution!

How to Update

npm update -g repomix

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our Discord community for support.

v0.2.36

09 Mar 15:11
Compare
Choose a tag to compare

This release adds MCP server support, improves ignore pattern handling on the website, and includes dependency updates.

What's New 🚀

MCP Server Support (#399)

  • Added initial implementation of the Model Context Protocol (MCP) server
    • Allows AI assistants to directly interact with your codebase without manual file preparation
    • Provides two powerful tools:
      • pack_codebase: Package local code directories for AI analysis
      • pack_remote_repository: Fetch, clone and package GitHub repositories

We've also submitted Repomix to the MCP marketplace:

To use Repomix as an MCP server with Cline (VS Code extension), edit the cline_mcp_settings.json file:

{
  "mcpServers": {
    "repomix": {
      "command": "npx",
      "args": [
        "-y",
        "repomix",
        "--mcp"
      ]
    }
  }
}
image

For more details, please refer to the documentation:
https://github.com/yamadashy/repomix#mcp-integration

Improvements ⚡️

Enhanced Ignore Pattern Support (#396)

  • Now allows special characters like ! ( ) in ignore patterns via the website

Known Issue: There's currently an issue where negation patterns (!) don't work correctly. See Issue #400 for details.

Thank you @eastlondoner for your first contribution to the project!

How to Update

npm update -g repomix

As always if you encounter any issues or have suggestions please let us know through our GitHub issues or join our Discord community https://discord.gg/wNYzTwZFku for support.

v0.2.35

08 Mar 14:04
Compare
Choose a tag to compare

This release adds folder upload capability to the website, improves gitignore handling, and includes documentation updates.

What's New 🚀

Website Folder Upload (#387, #377)

  • Added folder upload option to the https://repomix.com
    • Supports drag & drop or folder browser selection

Thank you @PaperBoardOfficial for implementing folder upload on our website!

Improvements ⚡️

Enhanced Gitignore Support (#391, #375)

  • Now uses the contents of .git/info/exclude when useGitignore is set to true
  • Allows for local-only file exclusions without modifying the shared .gitignore
  • Fixes issue #375

Thanks to @motlin for improving gitignore support!

How to Update

npm update -g repomix

As always if you encounter any issues or have suggestions please let us know through our GitHub issues or join our Discord community https://discord.gg/wNYzTwZFku for support.

v0.2.34

04 Mar 15:28
Compare
Choose a tag to compare

This release fixes an important configuration issue affecting negative boolean options in Repomix.

Bug Fixes 🐛

Configuration Handling Fix (#385, #389)

  • Fixed an issue where setting false values in the config file for certain options (like "fileSummary": false) was not being respected
  • Properly handles all --no-* style CLI options when specified in the config file
  • Affected options include:
    • fileSummary
    • directoryStructure
    • gitignore
    • defaultPatterns
    • securityCheck

Special thanks to @mapleroyal for reporting this issue!

How to Update

npm update -g repomix

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our Discord community for support.

v0.2.33

02 Mar 15:38
Compare
Choose a tag to compare

This release addresses two important issues to improve code handling and file output capabilities.

Bug Fixes 🐛

TypeScript Import Handling for Compressed Output (#382)

  • Fixed an issue where named imports were partially excluded when using compress mode
    • Now properly preserves all import statements including named imports like import { Component } from 'module'

Directory Structure Support for Output Files (#378, #383)

  • Fixes related issue (#378) where nested output paths would fail, especially with remote repositories
    • Now automatically creates parent directories when writing to nested output paths

How to Update

npm update -g repomix

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our Discord community for support.

v0.2.32

01 Mar 17:40
Compare
Choose a tag to compare

The code compression feature introduced in v0.2.28 has been enhanced! 🚀

Improvements ⚡

Enhanced Code Compression (#380)

  • Now includes comments and import statements in compression output:
    • Preserves both single-line and multi-line comments
    • Keeps import/require statements for better code context
  • Complete type definition support for TypeScript, Python, and Go:
    • Full inclusion of interface and type definitions
  • Enhanced function signature preservation:
    • Captures complete function signatures including arguments spanning multiple lines
    • Ensures accurate preservation of all function parameters

Example

Using compression via CLI:

repomix --compress

Before:

import { ShoppingItem } from './shopping-item';

/**
 * Calculate the total price of shopping items
 */
const calculateTotal = (
  items: ShoppingItem[]
) => {
  let total = 0;
  for (const item of items) {
    total += item.price * item.quantity;
  }
  return total;
}

// Shopping item interface
interface Item {
  name: string;
  price: number;
  quantity: number;
}

After compression:

import { ShoppingItem } from './shopping-item';
----
/**
 * Calculate the total price of shopping items
 */
const calculateTotal = (
  items: ShoppingItem[]
) => {
----
// Shopping item interface
interface Item {
  name: string;
  price: number;
  quantity: number;
}

How to Update

npm update -g repomix

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our Discord community for support.

v0.2.30

25 Feb 15:51
Compare
Choose a tag to compare

This release addresses a file system permission issue and adds support for more flexible configuration formats.

Improvements ⚡

Configuration Flexibility (#346, #366)

  • Added support for JSON5 in configuration files
    • More flexible and developer-friendly configuration format
    • Allows comments and trailing commas

Bug Fixes 🐛

File System Handling (#372, #374)

  • Removed unnecessary write permission check on source directories

How to Update

npm update -g repomix

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our Discord community for support.

v0.2.29

21 Feb 17:21
Compare
Choose a tag to compare

This release introduces a major new feature for file uploads, along with improvements to library usage and default ignore patterns.

What's New 🚀

Website: File Upload Support (#353, #310)

image

Special thanks to @PaperBoardOfficial for implementing this significant feature!

Improvements ⚡

Enhanced Default Ignore Patterns (#364)

  • Improved subdirectory matching in default ignore patterns using **/

Library Usage Enhancement (#363)

  • Added additional exports to support using Repomix as a library

How to Update

npm update -g repomix

As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our Discord community for support.