From 31e2acd9bc705873f4c4b9abe14119c0077b898f Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Mon, 29 Jun 2026 15:31:32 +0200 Subject: [PATCH] Restructure change log entries --- CHANGELOG.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7087b497..2f26ea0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ Status of the `main` branch. Changes prior to the next official version change will appear here. * General: + - Fix: context or mode argument referencing a known name (e.g. `--context anitgravity`) could result in + incorrect file access if a corresponding local file existed (e.g. `./antigravity` binary); + file access is now guarded with path detection (file ending or path separator must be present) + - Adjust prompt generation mechanism to use newly introduced tool name mapping `tool_names`, allowing + prompts to directly use tool names that match the active language backend (and removing the need + for additional prompts that explain tool name differences) + - Improve quoting/escaping of arguments in shell executions on Windows (via `oslex` dependency) + - Fix: a registered project whose root directory was deleted while Serena was already running could break + `activate_project`/project lookup, raising `FileNotFoundError` in `RegisteredProject.matches_root_path` + +* CLI: - Fix `--project-from-cwd` hijacking git worktrees nested under a Serena project. `find_project_root` now walks up in a single pass so the nearest project boundary wins (either a `.serena/project.yml` or a `.git`, including worktree/submodule pointer files), instead of preferring an ancestor's @@ -10,18 +21,11 @@ Status of the `main` branch. Changes prior to the next official version change w Gemini) launched from inside a worktree to the parent repo, causing stale reads and misdirected edits. - Fix: CLI flags on `start-mcp-server` could incorrectly be saved to the global configuration file if the list of projects was modified (triggering a save of the configuration with transient overrides applied) - - Fix: context or mode argument referencing a known name (e.g. `--context anitgravity`) could result in - incorrect file access if a corresponding local file existed (e.g. `./antigravity` binary); - file access is now guarded with path detection (file ending or path separator must be present) - - Allow `query_project` tool to access read-only tools that are not enabled in the current configuration - - Adjust prompt generation mechanism to use newly introduced tool name mapping `tool_names`, allowing - prompts to directly use tool names that match the active language backend (and removing the need - for additional prompts that explain tool name differences) - - Improve quoting/escaping of arguments in shell executions on Windows (via `oslex` dependency) + +* Tools: - Add tool parameter alias support, adding `name_path` as an alias for `name_path_pattern` in `find_symbol` tools + - Allow `query_project` tool to access read-only tools that are not enabled in the current configuration - Make tool call errors surface explicitly as errors at the MCP protocol level - - Fix: a registered project whose root directory was deleted while Serena was already running could break - `activate_project`/project lookup, raising `FileNotFoundError` in `RegisteredProject.matches_root_path` * Language Servers: - C/C++ (clangd): add Unreal Engine 5 fixture and tests verifying that reflection-macro