V3.0 Breaking Changes Guide¶
This document describes the breaking changes introduced in version 3.0.0, which primarily involve the renaming of the gem from simplecov-mcp to cov-loupe. These changes affect the gem name, executable, Ruby API, and configuration.
What Changed¶
The project has been completely renamed, impacting various aspects:
Gem & Executable¶
- Gem name:
simplecov-mcp→cov-loupe - Executable:
simplecov-mcp→cov-loupe - Repository:
github.com/keithrbennett/simplecov-mcp→github.com/keithrbennett/cov-loupe
Ruby API¶
- Module Name:
SimpleCovMcp→CovLoupe - Require Path:
require 'simplecov_mcp'→require 'cov_loupe'
Configuration¶
- Environment variable:
SIMPLECOV_MCP_OPTS→COV_LOUPE_OPTS - Log file:
simplecov_mcp.log→cov_loupe.log - Documentation alias:
smcp→clp
What Stayed the Same¶
- Core functionality: No breaking changes to features, CLI command logic (other than the executable name), or the internal structure of the
CoverageModellogic. - MCP Protocol: The JSON-RPC tool definitions and behaviors remain consistent.
Migration Steps¶
To upgrade from simplecov-mcp (v2.x) to cov-loupe (v3.x), follow these steps:
-
Uninstall the old gem:
-
Install the new gem:
-
Update scripts and aliases:
- Change all occurrences of the
simplecov-mcpcommand tocov-loupein your shell scripts, CI/CD configurations, and shell aliases.
- Change all occurrences of the
-
Update Ruby code:
- Find:
require 'simplecov_mcp' - Replace with:
require 'cov_loupe' - Find:
SimpleCovMcp - Replace with:
CovLoupe
- Find:
-
Update environment variables:
- Rename any
SIMPLECOV_MCP_OPTSenvironment variables toCOV_LOUPE_OPTS.
- Rename any
-
Update log file references:
- If you rely on the default log file, it will now be named
cov_loupe.log. Update any scripts or tools that referencesimplecov_mcp.log.
- If you rely on the default log file, it will now be named
Note: The old simplecov-mcp gem (v2.0.1) will remain available on RubyGems but will not receive further updates.
Getting Help¶
If you encounter issues migrating to v3.0:
- Check the Troubleshooting guide.
- Review the CLI Usage for complete CLI reference.
- See MCP Integration for MCP tool documentation.
- Open an issue at https://github.com/keithrbennett/cov-loupe/issues.