# Changelog
## [2.1.1] - 2025-03-17
- **Smart File Limiting**: Added `--max-files` / `-n` option to limit the number of changed files sent to AI
- Configurable via `gim config --max-files <N>` (default: 10)
- Intelligent file selection: prioritizes files with most changes
- Auto-filters to code files only when code changes exceed 50% of total
- Supports file type classification (Code, Config, Doc, Other)
- Priority order: CLI argument > config file > default value
## [2.1.0] - 2026-02-12
- **M Chip Support for Mac**: Release build for M chip Macs.
## [2.0.0] - 2026-02-02
- **Local Project Prompts**: Added support for `.gim` directory in git repository root for project-specific prompt files
- **Custom Prompts**: Added `--diff-prompt` and `--subject-prompt` command-line options to override default AI prompts
- Enhanced prompt loading with local `.gim` directory support for project-specific prompts
- Implemented priority system: CLI args > local `.gim` directory > config directory > built-in defaults
- **Flexible Prompt Override**: Users can now override prompts temporarily without modifying files
## [1.8.1] - 2025-12-17
- **Quiet Mode**: Added `--quiet` flag to suppress normal output
## [1.8.0] - 2025-11-14
- **Dry Run Mode**: Added `--dry` flag to preview content that will be sent to AI without actually sending or committing
- **Optimized Deleted File Handling**: Deleted files now only display "Deleted: filename" instead of full file content in diffs, making output cleaner and more efficient
## [1.7.3] - 2025-11-13
- Enhanced `gim ai` command:
- `gim ai` now displays masked API key (first 8 characters + `***`)
- `gim ai -k` without value showing current complete key
## [1.7.0] - 2025-08-01
- Added `--show-location` flag to command `config` to show config file location
## [1.6.1] - 2025-06-30
- Added binary to scoop bucket
## [1.5.0] - 2025-06-27
- Added `--reset` flag to `prompt` subcommand
- Reset both diff and subject prompts to default
- Remove prompt files if they exist
- Ignore deleted files content to reduce AI chat token consumption
## [1.4.0] - 2025-06-26
- Added mkdocs docs
- Added custom param `lines_limit` to halt app running when too many changes
- Added support for set 'update' block params: `gim update --max <M> --interval <V>`
## [1.3.2] - 2025-06-17
- add command to show 'ai' block
## [1.3.0] - 2025-05-22
- New `prompt` subcommand to manage AI prompt templates
- View both diff and subject prompt templates
- Edit prompt files with `--edit` flag
- Support for custom editors with `--editor` option
- Short aliases for prompt types (d/diff/diff_prompt, s/subject/subject_prompt)