Skip to content

Releases: yamadashy/repomix

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.

v0.2.28

16 Feb 03:13
Compare
Choose a tag to compare

This release brings advanced code analysis capabilities through Tree-sitter integration, along with contributions from community members.

What's New 🚀

Code Compression with Tree-sitter (#336)

  • Added intelligent code compression feature for optimizing LLM prompts
    • Implemented language-specific Tree-sitter queries for accurate code parsing
    • Supports multiple languages including JavaScript/TypeScript, Python, Rust, Go, C/C++, C#, Ruby, Java, PHP, and Swift

Note

This is an experimental feature that we'll be actively improving based on user feedback and real-world usage
Known issue: #359

Example

Using compression via CLI:

repomix --compress

Before:

const calculateTotal = (items: ShoppingItem[]) => {
  let total = 0;
  for (const item of items) {
    total += item.price * item.quantity;
  }
  return total;
}
interface Item {
  name: string;
  price: number;
  quantity: number;
}

After compression:

const calculateTotal = (items: ShoppingItem[]) => {
interface Item {

Special thanks to @huy-trn for the initial implementation of this feature! His groundwork with Tree-sitter integration laid the foundation for this powerful enhancement to Repomix.

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.26

11 Feb 14:33
Compare
Choose a tag to compare

This release brings feature enhancements, documentation improvements, and website updates, along with contributions from new community members.

What's New 🚀

Multiple Directory Support (#338)

  • Added ability to process multiple directories at once

Special thanks to @rchatrath7 for implementing this feature!

CLI Quiet Mode Option (#347)

  • Added new --quiet option:
    • Disables all stdout output
    • Perfect for programmatic usage when using Repomix as a library

Improvements ⚡

Output Enhancement (#341, #348)

  • Removed generation timestamp for cleaner output
  • This change reduces API costs by approximately 20-40% when using OpenAI/Anthropic APIs by preventing cache misses

Special thanks to @PaperBoardOfficial for this improvement!

Website Enhancements: Git URL Parsing Support (#343)

  • Enhanced repository URL parsing capabilities:
    • Direct support for branch URLs (/tree/branch)
    • Direct support for commit URLs (/commit/hash)

For more details on remote repository features, see Remote Repository Processing.

Documentation 📚

Documentation (#344, #345)

  • Added German translation for website
  • Added local development instructions for website
  • Updated supported AI model list (ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, and more)
  • Improved existing translations

Special thanks to @SpyC0der77 for keeping our documentation consistent!

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.25

07 Feb 17:09
Compare
Choose a tag to compare

This release brings significant improvements to output formatting and introduces flexible remote repository handling capabilities along with enhanced logging features.

Improvements ⚡

Remote Repository Enhancement (#335)

  • Added branch/tag parsing directly from repository URLs:
repomix --remote https://github.com/yamadashy/repomix/tree/0.1.x

Functions identically to:

repomix --remote https://github.com/yamadashy/repomix --remote-branch 0.1.x

Special thanks to @huy-trn for implementing this user-friendly feature!

Enhanced Output Formatting (#328, #329, #330)

  • Added "End of Codebase" marker for better clarity in output
  • Improved output header accuracy:
    • Better representation of codebase scope
    • Clear indication when using --include or --ignore options

Special thanks to @gitkenan for adding the "End of Codebase" marker and reporting the header issue!

Path Pattern Support (#337)

  • Added support for special characters in paths:
    • Handles parentheses in include patterns (e.g., src/(categories)/**/*)
    • Improved escaping for [] and {}
    • Essential for Next.js route groups and similar frameworks

Thank you @matheuscoelhomalta for improving path pattern 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 for support.