Skip to content

Commit e06fcaf

Browse files
chore(main): release 5.0.0
1 parent 0b3133f commit e06fcaf

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
11
# Changelog
22

3+
## [5.0.0](https://github.com/CopilotC-Nvim/CopilotChat.nvim/compare/v4.7.4...v5.0.0) (2026-04-06)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* **chat:** The prompt resolution functions have been moved to `require('CopilotChat.prompts')`
9+
* get_source, and set_source methods moved to require('CopilotChat').chat
10+
* **prompt:** Passing function to system_prompt is no longer supported
11+
* **functions:** Removes `buffers`, `diagnostics`, `register`, and `quickfix` resources. Use `buffer`, `selection`, or `clipboard` instead.
12+
13+
### Features
14+
15+
* add .emmyrc.json for LuaJIT runtime and workspace config ([#1505](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1505)) ([d4c9ebe](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/d4c9ebef6e3a0df268cdf3f70e958fb7b7bb000b))
16+
* **config:** support multiple custom instruction files ([#1510](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1510)) ([90ebb50](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/90ebb5072a380c705d8c33427c8685754ef83807))
17+
* **copilot:** optimize copilot quota usage for tool calling ([1225fe8](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/1225fe849d17d4a7893b12a400c608a2554149f4))
18+
* **copilot:** Support "Auto" model mode (Smart Model Selection) similar to VS Code ([#1518](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1518)) ([4d5dc1c](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/4d5dc1c3a68841c7cba088db351f38954f9a11d0))
19+
* **prompt:** support custom Copilot instructions file ([b06fd11](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/b06fd119d66559a3ff29bae2fabb70dea01fafc8))
20+
* **provider:** Support OpenAI Responses API ([#1463](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1463)) ([746a697](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/746a6971d15eec41a4e22bfdb88cd9f0f135442d)), closes [#1442](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1442)
21+
* support dynamic `*.business.githubcopilot.com` base URL resolution ([#1536](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1536)) ([c5aa167](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/c5aa16708694c6f56c89362d3dfcec8aec585783))
22+
23+
24+
### Bug Fixes
25+
26+
* **chat:** insert stickies passed to `open()` ([#1476](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1476)) ([8769d22](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/8769d22bde355f7160f3649c3ca66e195b6fcddc)), closes [#1475](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1475)
27+
* **chat:** reinsert stickies before prompt processing ([#1472](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1472)) ([94dfc01](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/94dfc019f86659d3aeee54d5f1999f4c93a35aa6)), closes [#1471](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1471)
28+
* **config:** correct AGENTS.md filename casing ([#1511](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1511)) ([07dcc18](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/07dcc188bc488b2dafa9324bd42088640bee3d19))
29+
* **diff:** implement offset tracking for sequential hunk application ([#1493](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1493)) ([9140021](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/91400214254f9e6d601db7495ec2f41e67052dad))
30+
* **functions:** insert explicit selected buffers ([#1477](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1477)) ([2ef8c89](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/2ef8c894d74b85bf9d7207369f721064aeb9fb40))
31+
* **mappings:** use get_messages for quickfix answers ([#1466](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1466)) ([db4b51e](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/db4b51e1bb6a96b94496a6050f300f67258be872)), closes [#1465](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1465)
32+
* **mappings:** use resource name if available in preview header ([#1459](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1459)) ([5801bfe](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/5801bfeaae4146f3127cb6c0bcbac721a172b85d))
33+
* **prompts:** avoid %20 being treated as special sequence when relacing dirname ([#1525](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1525)) ([b7313ea](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/b7313ea5be03405cb988f69491becc8c8b5d98ac))
34+
* **providers:** Correctly handle tool calls and responses API output ([#1501](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1501)) ([02c5cf3](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/02c5cf3a6e030ec81795f16ab5e4f3a8861736db)), closes [#1499](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1499)
35+
* support file paths with spaces in block headers ([#1504](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1504)) ([5c5e6c2](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/5c5e6c2f0b81c1ae69f0d80ede010839993019e8))
36+
* **ui:** preserve block content formatting when parsing chat messages ([#1495](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1495)) ([b6ff587](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/b6ff587b7e203dbe282ba370929fbbc4d52f13c3))
37+
* **ui:** prevent errors when restoring invalid window ([#1539](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1539)) ([d4d63a2](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/d4d63a2542f41ec9cc5baca4799f244554ee8cfd)), closes [#1535](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1535)
38+
* **utils:** handle 1xx HTTP status codes in curl utils ([#1540](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1540)) ([ca9a428](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/ca9a42863b0963e14f4830a2193d297716ce5ed3)), closes [#1508](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1508)
39+
* **utils:** properly pass cwd as argument to system wrapper ([#1458](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1458)) ([92f2699](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/92f269971c33a6e2f405da8b14f01cd109b9a3a3))
40+
41+
42+
### Code Refactoring
43+
44+
* **chat:** move prompt resolution helpers to prompts module ([#1470](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1470)) ([cb8fb0f](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/cb8fb0f888c5352bc96a2f0320e60bfb4ba478d8))
45+
* **functions:** unify buffer/selection/diagnostics resources ([#1456](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1456)) ([cf4f7a5](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/cf4f7a58a0e65be6ccbdbc83142e189f96cd9fb5))
46+
* move source/sticky logic to chat window ([#1469](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1469)) ([1ff0bb3](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/1ff0bb3b28d92e916d7c63a9189415ea2aaa24de))
47+
348
## [4.7.4](https://github.com/CopilotC-Nvim/CopilotChat.nvim/compare/v4.7.3...v4.7.4) (2025-10-01)
449

550

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.7.4
1+
5.0.0

0 commit comments

Comments
 (0)