Skip to content

v4.5.0

Choose a tag to compare

@github-actions github-actions released this 27 Aug 14:54
78f8800

4.5.0 (2025-08-27)

⚠ BREAKING CHANGES

  • select: remove selection API in favor of resources
  • prompts: callback receives the full response object instead of just content.

Features

  • config: add back selection source config option (#1360) (c37ec3c)
  • docs: add selection source to function table (#1358) (c7d8547)
  • functions: add configuration parameter to stop on tool failure (#1364) (8d8f1e7)
  • functions: add scope=selection to diagnostics (#1351) (7b4a56b)
  • functions: use cwd for file and grep commands (#1373) (72216c0), closes #1108
  • prompts: add support for providing system prompt as function (#1318) (33e6ffc)
  • prompts: support buffer replacement in commit messages (#1370) (afafec5)
  • ui: add auto_fold option for chat messages (#1354) (80a0994), closes #1300
  • ui: improve auto folding logic in chat window (#1356) (a7679e1)

Bug Fixes

  • completion.lua: check if window is valid before calling get_cursor (#1359) (fdac67a)
  • completion: require tool uri for input completion (#1328) (76cc416)
  • config: correct system_prompt type and callback usage (#1325) (f99f1cd)
  • makefile: handle MSYS_NT as a valid Windows environment (#1347) (9769bf9)
  • prompt: recursive system prompt expansion (#1324) (26f7b4f), closes #1323
  • select: move config inside of marks function to prevent import loop (#1361) (19a38dd)
  • test: run tests automatically in test script (#1334) (c5057d3)
  • utils: always exit insert mode in return_to_normal_mode (#1313) (957e0a8), closes #1307
  • utils: avoid vim.filetype.match in fast event (#1344) (7993e6d)

Miscellaneous Chores

Code Refactoring

  • prompts: support template substitution in system_prompt (#1312) (081d4c2)
  • select: remove selection API in favor of resources (a2429ed)