Releases: CopilotC-Nvim/CopilotChat.nvim
Releases · CopilotC-Nvim/CopilotChat.nvim
v3.3.3
What's Changed
- fix: refactor ask function to handle content properly by @atkodev in #682
- docs: add atkodev as a contributor for code by @allcontributors in #684
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #683
- fix: add default empty table for state.source by @deathbeam in #685
- docs: fix typo by @abdennourzahaf in #688
- docs: add abdennourzahaf as a contributor for doc by @allcontributors in #689
New Contributors
- @atkodev made their first contribution in #682
- @abdennourzahaf made their first contribution in #688
Full Changelog: v3.3.2...v3.3.3
v3.3.2
What's Changed
- chore: add doc/tags to .gitignore by @liskin in #670
- fix: improve stream parsing and error handling by @deathbeam in #671
- docs: update dependencies and installation instructions by @deathbeam in #672
- refactor: optimize context handling and content blocks by @deathbeam in #673
- refactor: optimize file list processing order by @deathbeam in #674
- Remove fail with body curl args by @deathbeam in #678
- fix: correct chat config handling by @deathbeam in #679
Full Changelog: v3.3.1...v3.3.2
v3.3.1
What's Changed
- refactor(context): extract buffer list logic to new function by @deathbeam in #654
- docs: update files context name in README.md by @deathbeam in #655
- docs: Improve README structure so generated vimdoc is better by @deathbeam in #656
- refactor(prompt): improve config handling in resolve_prompts by @deathbeam in #658
- docs: add config retrieval example to README by @deathbeam in #659
- docs: Update badges and remove migration guide mention as its old by @deathbeam in #660
- docs: cleanup some vimdoc issues in README by @deathbeam in #661
- fix: correct badge links in README.md by @deathbeam in #662
- docs: Remove toc by @deathbeam in #663
- fix: only log debug messages when data exists by @deathbeam in #664
- docs: add mention about clause availability by @deathbeam in #666
- docs: update list of customizable buffers by @deathbeam in #668
- ci: update pandoc workflow to run on main branch by @deathbeam in #669
Full Changelog: v3.3.0...v3.3.1
v3.3.0
What's Changed
- perf: optimize curl connection settings by @deathbeam in #621
- fix: add debug logging for Copilot HTTP responses by @deathbeam in #622
- fix: parse stream response body again if stream returned no response by @deathbeam in #623
- fix: make file operations and contexts async by @deathbeam in #624
- refactor(context): replace io.popen with vim.system by @deathbeam in #625
- perf: optimize GitHub token handling and remove scheduler by @deathbeam in #626
- feat(context): add full file content support for files by @deathbeam in #627
- refactor: improve embedding stability and token handling by @deathbeam in #629
- refactor(copilot): improve embedding reliability by @deathbeam in #630
- fix: check if tiktoken loaded correctly by @deathbeam in #632
- fix: improve debug info window handling by @deathbeam in #634
- refactor(context): optimize file loading with caching by @deathbeam in #635
- refactor: simplify buffer handling using builtin functions by @deathbeam in #636
- fix: improve logging output format and consistency by @deathbeam in #638
- fix: add error handling to chat async operation by @deathbeam in #639
- refactor: unify info display into show_info and show_context by @deathbeam in #640
- fix: add null check for buffer symbols by @deathbeam in #641
- style: improve debug output readability by @deathbeam in #642
- feat: add URL context support using lynx by @deathbeam in #637
- docs: improve documentation clarity and organization by @deathbeam in #643
- docs(readme): reorganize requirements section by @deathbeam in #644
- docs: improve README formatting and add prompt command info by @deathbeam in #645
- refactor: switch to character-based truncation by @deathbeam in #646
- feat: add status notifications for background tasks by @deathbeam in #647
- feat: make lynx optional for URL context by @deathbeam in #648
- style: link spinner highlight to DiagnosticInfo by @deathbeam in #649
- refactor: remove redundant log messages by @deathbeam in #650
- refactor: move source type to init.lua by @deathbeam in #651
- Add vid to README by @deathbeam in #652
Full Changelog: v3.2.0...v3.3.0
v3.2.0
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #522
- refactor(context): improve accuracy of buffer processing by @deathbeam in #525
- Add deprecate warning for selection.gitdiff by @deathbeam in #528
- Standardize context embedding format by @deathbeam in #529
- refactor(selection): normalize line ranges and content handling by @deathbeam in #527
- docs: Use content instead of lines in custom selector example by @deathbeam in #530
- Do not stop spinner on closing window by @deathbeam in #532
- refactor: improve buffer validation and diff handling by @deathbeam in #533
- refactor(select): simplify visual line selection by @deathbeam in #534
- fix: add validity checks for file and buffer functions by @deathbeam in #535
- fix: check if in insert mode before showing completions by @deathbeam in #536
- fix(select): ensure diagnostics are passed to the model when in "Visual" by @lemeb in #537
- docs: add lemeb as a contributor for code by @allcontributors in #538
- feat: truncate large files and improve context output by @deathbeam in #539
- fix: make header pattern matching more robust by @deathbeam in #540
- fix: fix o1-preview non-streaming response parsing by @deathbeam in #541
- fix: remove unnecessary escape in pattern matching by @deathbeam in #542
- refactor: improve selection handling and highlighting by @deathbeam in #543
- feat: support header diff matching without selection by @deathbeam in #544
- feat: add jump to diff feature with
gj
mapping by @deathbeam in #545 - fix: Set jump marks safely after diff jumping by @deathbeam in #546
- chore: add extra newline when showing system prompt and selection by @deathbeam in #547
- feat: add quickfix list for code blocks in chat by @deathbeam in #548
- refactor: cleanup selection state management by @deathbeam in #549
- fix: move line endings to overlay.show function by @deathbeam in #550
- docs: Add documentation about chat mappings and README image by @deathbeam in #553
- fix: allow single-line visual selections by @deathbeam in #554
- Mention that visual selections include diagnostics as well in README by @deathbeam in #555
- feat(chat): add no_chat option by @deathbeam in #556
- Remove forgotten log entry by @deathbeam in #558
- refactor(prompts): improve diagnostics handling system by @deathbeam in #559
- refactor: remove redundant treesitter parser init by @deathbeam in #560
- fix: respect completion menu in insert mode mappings by @deathbeam in #561
- Make insert complete mapping accept completion if pum is visible by @deathbeam in #562
- docs: improve readme for mappings by @deathbeam in #564
- feat: add trace logging for models and agents by @deathbeam in #565
- refactor: move utility functions to utils module by @deathbeam in #566
- Make policy enabling generic by @deathbeam in #567
- feat: add proc/template/macro declaration support by @deathbeam in #569
- feat: support for markdown outlines by @deathbeam in #571
- fix: improve chat buffer rendering and state handling by @deathbeam in #572
- fix: rerender chat after opening as well by @deathbeam in #573
- refactor: improve chat output parsing and selection handling by @deathbeam in #574
- feat: add register context and improve selection handling by @deathbeam in #568
- refactor: improve class extending system by @deathbeam in #575
- fix: improve selection validation checks by @deathbeam in #576
- feat: add show context command for Copilot Chat by @deathbeam in #578
- fix: use cwd when getting git diffs and files by @deathbeam in #579
- fix: get cwd in contexts directly by @deathbeam in #581
- feat: add buffer validation for chat window by @deathbeam in #583
- refactor: improve variable naming and pattern matching by @deathbeam in #587
- feat(chat): set default completion options for chat buf by @deathbeam in #588
- refactor: improve embedding handling with ordered map by @deathbeam in #589
- fix: guard completeopt setting behind nvim-0.11.0 check by @deathbeam in #590
- fix: set completeopt on window opening and properly guard behind config by @deathbeam in #591
- fix: improve window CWD handling by @deathbeam in #592
- refactor: use cwd from dir changed event by @deathbeam in #593
- fix: improve chat prompt clearing and cwd detection by @deathbeam in #594
- fix: stop window vars from throwing tantrums by @liskin in #595
- fix: also use dirchanged for tracking win dir on top of winenter by @deathbeam in #596
- perf: optimize chat section detection by @deathbeam in #597
- feat: improve help display and token count visibility by @deathbeam in #598
- fix: improve chat window handling and auto-insert behavior by @deathbeam in #599
- fix: properly parse prompts by @deathbeam in #600
- refactor(types): improve type safety and organization by @deathbeam in #601
- refactor: extract debug info content retrieval outside of class by @deathbeam in #602
- fix(selection): properly pass chat config to functions by @deathbeam in #603
- refactor: improve prompt resolution handling and cleanup types by @deathbeam in #604
- feat: sort completion items by kind and word by @deathbeam in #605
- refactor(config): split config into static and shared parts properly by @deathbeam in #606
- refactor(config): reorganize shared/static config fields by @deathbeam in #607
- fix: use correct function name for deprecation by @deathbeam in #608
- refactor: move embed truncation logic to proper places by @deathbeam in #609
- feat: symbol-based filtering for context matches by @deathbeam in #610
- fix: improve prompt embedding and ranking by @deathbeam in #611
- refactor(context): simplify outline building and add typing by @deathbeam in #612
- refactor: simplify context filtering and ranking by @deathbeam in #613
- fix: improve sticky prompt ha...
v3.1.0
What's Changed
- Increase flexibility of diff selectors by @deathbeam in #492
- Automatically register copilot-chat for treesitter markdown by @deathbeam in #493
- Add support for copilot extension agents by @deathbeam in #490
- Adjust how messages are built to match new vscode requests by @deathbeam in #491
- Add agent descriptions to autocomplete by @deathbeam in #496
- Add support for #files (workspace file map) context by @deathbeam in #495
- style: improve model/agent selection prompts by @deathbeam in #498
- feat(chat): improve auto follow cursor behavior by @taketwo in #497
- docs: add taketwo as a contributor for code by @allcontributors in #499
- Remove private fields from chat class type definition by @deathbeam in #500
- Add dotfyle badge by @deathbeam in #501
- Add option to disable header highlighting by @deathbeam in #502
- Add support for sticky prompt section with
>
by @deathbeam in #503 - Simplify how source buffer is being saved and unify prompt clearing by @deathbeam in #505
- feat(context): rewrite context system with input and resolving by @deathbeam in #506
- docs: add missing help for model selection by @deathbeam in #508
- docs: improve documentation for contexts and complete binding by @deathbeam in #509
- Fix loading of default context by @deathbeam in #510
- Load chat auto_insert from config instead of passing it in contructor by @deathbeam in #511
- feat: add automatic chat autocompletion by @deathbeam in #507
- Include filenames in buffer context selection, improve buffers context by @deathbeam in #512
- Properly parse context inputs with
:
in them by @deathbeam in #513 - refactor: improve semantic embeddings performance by @deathbeam in #514
- perf: add caching for embeddings by @deathbeam in #515
- docs: improve README with better examples and cleaner structure by @deathbeam in #516
- Use relative paths for file references in contexts by @deathbeam in #517
- Explicitely mention that multiple contexts are supported in README by @deathbeam in #518
- Add documentation for selections to README by @deathbeam in #519
- Add table of contents to README because of all new config sections by @deathbeam in #520
- Show errors inline in response by @deathbeam in #521
- refactor: improve diff handling implementation by @deathbeam in #523
New Contributors
Full Changelog: v3.0.0...v3.1.0
v3.0.0
What's Changed
- Automatically sanitize input sent to copilot API by @deathbeam in #467
- Revert "Automatically sanitize input sent to copilot API" by @deathbeam in #470
- Use plenary.async instead of callback hell by @deathbeam in #471
- Fix tests failing on plenary.async by @deathbeam in #473
- Fix missing plenary.wrap in tests by @deathbeam in #474
- Add config for setting log level by @deathbeam in #472
- Improve job cancellation by @deathbeam in #475
- Fixed spelling mistakes by @Moriango in #476
- docs: add Moriango as a contributor for doc by @allcontributors in #477
- Add handling for no response from stream and improve curl performance by @deathbeam in #478
- Add max_tokens to chat requests by @deathbeam in #479
- Deduplicate curl requests by @deathbeam in #480
- Improve help display by @deathbeam in #481
- Automatically clear copilot diagnostics on asking new question by @deathbeam in #482
- Fix error matching by @deathbeam in #483
- Add separators when showing diff/prompt/selection windows by @deathbeam in #484
- Load github token asynchronously by @deathbeam in #485
- Send code 0 in shutdown to propagate error message properly by @deathbeam in #486
- Revamp how diagnostics are handled by @deathbeam in #487
- refactor(commit): consolidate commit commands into one by @deathbeam in #488
- Show only error message from curl instead of whole object by @deathbeam in #489
New Contributors
Full Changelog: v2.16.0...v3.0.0
v2.16.0
What's Changed
- Only ask questions after claude request completes by @deathbeam in #437
- Check for manual Claude enable in response by @deathbeam in #438
- Use response.body instead of response.content for reading response by @deathbeam in #440
- fix: tiktoken download fail if cache folder doesn't exist by @JakubPecenka in #439
- docs: add JakubPecenka as a contributor for code by @allcontributors in #441
- Log response body as well on parse failure by @deathbeam in #442
- fix: Ensure that start_col and end_col selection is awlays within bounds by @deathbeam in #443
- Move cache path and IO outside of vim.loop by @deathbeam in #445
- Added Post-Installation to README.md by @thomastthai in #446
- docs: add thomastthai as a contributor for doc by @allcontributors in #448
- Grab model data dynamically instead of hardcoded by @deathbeam in #447
- Insert content to history properly on non-streamed response by @deathbeam in #449
- Improve model listing and add info about :CopilotChatModels to config by @deathbeam in #450
- Remove GPT-4 forcing from system prompt by @deathbeam in #454
- fix: Download tiktoken binaries from correct location by @liskin in #456
- docs: add liskin as a contributor for code by @allcontributors in #457
- Use vim.cmd instead of feed keys for exiting visual mode by @deathbeam in #458
- Improve tiktoken download paralellization by @deathbeam in #459
- fix: "Unterminated quoted string" in fzflua; extra quotes in actions prompts by @liskin in #460
- Improve token counting and use token count from github response by @deathbeam in #455
New Contributors
- @JakubPecenka made their first contribution in #439
- @thomastthai made their first contribution in #446
- @liskin made their first contribution in #456
Full Changelog: v2.15.0...v2.16.0
v2.15.0 - o1-preview
What's Changed
- refactor: migrate deprecated get_line_diagnostics to vim.diagnostic.get by @radwo in #427
- docs: add radwo as a contributor for code by @allcontributors in #431
- Add O1 support by @gptlang in #434
- Claude Support by @gptlang in #435
New Contributors
Full Changelog: v2.14.2...v2.15.0
v2.14.2
What's Changed
- Fix indexing nil
config
by @fjchen7 in #413 - docs: add fjchen7 as a contributor for code by @allcontributors in #414
- Do not run git diff against .git directory by @deathbeam in #421
- Null-check model choice after :CopilotChatModel by @deathbeam in #422
New Contributors
Full Changelog: v2.14.1...v2.14.2