Aider v0.84.0: Claude 4 Models & Token Refresh
Aider v0.84.0 brings Claude Sonnet 4 and Opus 4 as defaults, GitHub Copilot token auto-refresh, and fixes for .gitignore handling and commit message generation.
TL;DR
- Claude Sonnet 4 and Opus 4 now default; Gemini 2.5 Flash added
- GitHub Copilot tokens auto-refresh when used as OpenAI API keys
- Fixed .gitignore handling for CLI-added files; improved commit messages
New
- Claude Sonnet 4 & Opus 4 support — Added latest Claude models (e.g., `claude-sonnet-4-20250514`, `claude-opus-4-20250514`) with updated default aliases across all providers.
- Gemini 2.5 Flash preview — Support for `vertex_ai/gemini-2.5-flash-preview-05-20` model.
- OpenRouter tier defaults — Free tier now defaults to `deepseek/deepseek-r1:free`; paid tier to `anthropic/claude-sonnet-4`.
- GitHub Copilot token auto-refresh — Tokens automatically refresh when Copilot is used as an OpenAI API key.
- Shell tab completion — Added completion for file paths and `--edit-format`/`--editor-edit-format` options.
- Model metadata display — `/settings` command now shows detailed metadata for active main, editor, and weak models.
- Commit message spinner — Visual feedback with model name when generating commits.
Fixed
- Files added via CLI were incorrectly ignored if listed in `.gitignore` — now respects explicit command-line additions.
- OpenRouter token cost calculation — improved accuracy for billing.
- Language detection — normalized hyphenated codes (e.g., `en-US` to `en`) and prevented LLM instructions in 'C' or 'POSIX' locales.
- OpenRouter model metadata — introduced local caching for reliability and performance.
Maintenance
- Bumped configargparse to 1.7.1 (1.7 was pulled from upstream).
Update with: pip install --upgrade aider-ai
Source: Aider