github oraios/serena v0.1.4

21 days ago

This likely is the last release before the stable version 1.0.0 which will come together with the JetBrains IDE extension.
We release it for users who install Serena from a tag, since the last tag cannot be installed due to a breaking change in the mcp dependency (see #381).

Since the last release, several new languages were supported, and the Serena CLI and configurability were significantly extended.
We thank all external contributors who made a lot of the improvements possible!

Summary:

  • General:

    • Initial instructions no longer need to be loaded by the user
    • Significantly extended CLI
    • Removed replace_regex tool from ide-assistant and codex contexts.
      The current string replacement tool in Claude Code seems to be sufficiently efficient and is better
      integrated with the IDE. Users who want to enable replace_regex can do so by customizing the context.
  • Configuration:

    • Simplify customization of modes and contexts, including CLI support.
    • Possibility to customize the system prompt and outputs of simple tools, including CLI support.
    • Possibility to override tool descriptions through the context YAML.
    • Prompt templates are now automatically adapted to the enabled tools.
    • Several tools are now excluded by default, need to be included explicitly.
    • New contexts for ChatGPT and Codex CLI - Serena now works in Codex!
  • Language servers:

    • Reliably detect language server termination and propagate the respective error all the way
      back to the tool application, where an unexpected termination is handled by restarting the language server
      and subsequently retrying the tool application.
    • Add support for Swift
    • Add support for Bash
    • Enhance Solargraph (Ruby) integration
      • Automatic Rails project detection via config/application.rb, Rakefile, and Gemfile analysis
      • Ruby/Rails-specific exclude patterns for improved indexing performance (vendor/, .bundle/, tmp/, log/, coverage/)
      • Enhanced error handling with detailed diagnostics and Ruby manager-specific installation instructions (rbenv, RVM, asdf)
      • Improved LSP capability negotiation and analysis completion detection
      • Better Bundler and Solargraph installation error messages with clear resolution steps

Fixes:

  • Ignore .git in check for ignored paths and improve performance of find_all_non_ignored_files
  • Fix language server startup issues on Windows when using Claude Code (which was due to
    default shell reconfiguration imposed by Claude Code)
  • Additional wait for initialization in C# language server before requesting references, allowing cross-file references to be found.

Don't miss a new serena release

NewReleases is sending notifications on new releases.