Releases: Aider-AI/aider
Releases Β· Aider-AI/aider
Aider v0.49.0
- Add read-only files to the chat context with
/read
and--read
, including from outside the git repo. /diff
now shows diffs of all changes resulting from your request, including lint and test fixes.- New
/clipboard
command to paste images or text from the clipboard, replaces/add-clipboard-image
. - Now shows the markdown scraped when you add a url with
/web
. - When scripting aider messages can now contain in-chat
/
commands. - Aider in docker image now suggests the correct command to update to latest version.
- Improved retries on API errors (was easy to test during Sonnet outage).
- Added
--mini
forgpt-4o-mini
. - Bugfix to keep session cost accurate when using
/ask
and/help
. - Performance improvements for repo map calculation.
/tokens
now shows the active model.- Enhanced commit message attribution options:
- New
--attribute-commit-message-author
to prefix commit messages with 'aider: ' if aider authored the changes, replaces--attribute-commit-message
. - New
--attribute-commit-message-committer
to prefix all commit messages with 'aider: '.
- New
- Added
openai/gpt-4o-2024-08-06
. - Worked around litellm bug that removes OpenRouter app headers when using
extra_headers
. - Improved progress indication during repo map processing.
- Removed obsolete 16k token limit on commit diffs, use per-model limits.
- Aider wrote 61% of the code in this release.
Aider v0.48.0
- Performance improvements for large/mono repos.
- Added
--subtree-only
to limit aider to current directory subtree.- Should help with large/mono repo performance.
- New
/add-clipboard-image
to add images to the chat from your clipboard. - Use
--map-tokens 1024
to use repo map with any model. - Support for Sonnet's 8k output window.
- Workaround litellm bug for retrying API server errors.
- Upgraded dependencies, to pick up litellm bug fixes.
- Aider wrote 44% of the code in this release.
Aider v0.47.0
- Commit message improvements:
- Added Conventional Commits guidelines to commit message prompt.
- Added
--commit-prompt
to customize the commit message prompt. - Added strong model as a fallback for commit messages (and chat summaries).
- Linting improvements:
- Ask before fixing lint errors.
- Improved performance of
--lint
on all dirty files in repo. - Improved lint flow, now doing code edit auto-commit before linting.
- Bugfix to properly handle subprocess encodings (also for
/run
).
- Improved docker support:
- Resolved permission issues when using
docker run --user xxx
. - New
paulgauthier/aider-full
docker image, which includes all extras.
- Resolved permission issues when using
- Switching to code and ask mode no longer summarizes the chat history.
- Added graph of aider's contribution to each release.
- Generic auto-completions are provided for
/commands
without a completion override. - Fixed broken OCaml tags file.
- Bugfix in
/run
add to chat approval logic. - Aider wrote 58% of the code in this release.
Aider v0.46.0
- New
/ask <question>
command to ask about your code, without making any edits. - New
/chat-mode <mode>
command to switch chat modes:- ask: Ask questions about your code without making any changes.
- code: Ask for changes to your code (using the best edit format).
- help: Get help about using aider (usage, config, troubleshoot).
- Add
file: CONVENTIONS.md
to.aider.conf.yml
to always load a specific file.- Or
file: [file1, file2, file3]
to always load multiple files.
- Or
- Enhanced token usage and cost reporting. Now works when streaming too.
- Filename auto-complete for
/add
and/drop
is now case-insensitive. - Commit message improvements:
- Updated commit message prompt to use imperative tense.
- Fall back to main model if weak model is unable to generate a commit message.
- Stop aider from asking to add the same url to the chat multiple times.
- Updates and fixes to
--no-verify-ssl
:- Fixed regression that broke it in v0.42.0.
- Disables SSL certificate verification when
/web
scrapes websites.
- Improved error handling and reporting in
/web
scraping functionality - Fixed syntax error in Elm's tree-sitter scm file (by @cjoach).
- Handle UnicodeEncodeError when streaming text to the terminal.
- Updated dependencies to latest versions.
- Aider wrote 45% of the code in this release.
Aider v0.45.0
- GPT 4o mini scores like the original GPT 3.5 on aider's code editing benchmark, using whole edit format.
- Aider is better at offering to add files to the chat on Windows.
- Bugfix corner cases for
/undo
with new files or new repos. - Now shows last 4 characters of API keys in
--verbose
output. - Bugfix to precedence of multiple
.env
files. - Bugfix to gracefully handle HTTP errors when installing pandoc.
- Aider wrote 42% of the code in this release.
Aider v0.44.0
- Default pip install size reduced by 3-12x.
- Added 3 package extras, which aider will offer to install when needed:
aider-chat[help]
aider-chat[browser]
aider-chat[playwright]
- Improved regex for detecting URLs in user chat messages.
- Bugfix to globbing logic when absolute paths are included in
/add
. - Simplified output of
--models
. - The
--check-update
switch was renamed to--just-check-updated
. - The
--skip-check-update
switch was renamed to--[no-]check-update
. - Aider wrote 29% of the code in this release (157/547 lines).
Aider v0.43.0
- Use
/help <question>
to ask for help about using aider, customizing settings,
troubleshooting, using LLMs, etc. - Allow multiple use of
/undo
. - All config/env/yml/json files now load from home, git root, cwd and named command line switch.
- New
$HOME/.aider/caches
dir for app-wide expendable caches. - Default
--model-settings-file
is now.aider.model.settings.yml
. - Default
--model-metadata-file
is now.aider.model.metadata.json
. - Bugfix affecting launch with
--no-git
.
Aider v0.42.0
- Performance release:
- 5X faster launch!
- Faster auto-complete in large git repos (users report ~100X speedup)!
Aider v0.41.0
- Allow Claude 3.5 Sonnet to stream back >4k tokens!
- It is the first model capable of writing such large coherent, useful code edits.
- Do large refactors or generate multiple files of new code in one go.
- Aider now uses
claude-3-5-sonnet-20240620
by default ifANTHROPIC_API_KEY
is set in the environment. - Enabled image support for 3.5 Sonnet and for GPT-4o & 3.5 Sonnet via OpenRouter (by @yamitzky).
- Added
--attribute-commit-message
to prefix aider's commit messages with "aider:". - Fixed regression in quality of one-line commit messages.
- Automatically retry on Anthropic
overloaded_error
. - Bumped dependency versions.
Aider v0.40.0
- Improved prompting to discourage Sonnet from wasting tokens emitting unchanging code (#705).
- Improved error info for token limit errors.
- Options to suppress adding "(aider)" to the git author and committer names.
- Use
--model-settings-file
to customize per-model settings, like use of repo-map (by @caseymcc). - Improved invocation of flake8 linter for python code.