diff --git a/CHANGELOG.md b/CHANGELOG.md index 529ec198..d4ff6a1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## [5.0.0](https://github.com/CopilotC-Nvim/CopilotChat.nvim/compare/v4.7.4...v5.0.0) (2025-11-03) + + +### ⚠ BREAKING CHANGES + +* **chat:** The prompt resolution functions have been moved to `require('CopilotChat.prompts')` +* get_source, and set_source methods moved to require('CopilotChat').chat +* **prompt:** Passing function to system_prompt is no longer supported +* **functions:** Removes `buffers`, `diagnostics`, `register`, and `quickfix` resources. Use `buffer`, `selection`, or `clipboard` instead. + +### Features + +* **prompt:** support custom Copilot instructions file ([b06fd11](https://github.com/CopilotC-Nvim/CopilotChat.nvim/commit/b06fd119d66559a3ff29bae2fabb70dea01fafc8)) +* **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) + + +### Bug Fixes + +* **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) +* **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)) +* **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) +* **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)) +* **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)) + + +### Code Refactoring + +* **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)) +* **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)) +* 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)) + ## [4.7.4](https://github.com/CopilotC-Nvim/CopilotChat.nvim/compare/v4.7.3...v4.7.4) (2025-10-01) diff --git a/version.txt b/version.txt index b48b2de9..0062ac97 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -4.7.4 +5.0.0