v1.8.0 release notes
Release Date: December 2024 Codename: Breaking Changes Preparation
Overview
Section titled “Overview”CyberChef MCP v1.8.0 is a preparatory release that introduces deprecation warnings, migration tools, and documentation to help users prepare for the breaking changes coming in v2.0.0. This release focuses on providing a smooth transition path while maintaining full backward compatibility.
Highlights
Section titled “Highlights”- Deprecation Warning System - Runtime warnings for APIs changing in v2.0.0
- Migration Preview Tool - Analyze and transform recipes for v2.0.0 compatibility
- v2.0.0 Compatibility Mode - Opt-in preview of v2.0.0 behavior
- Deprecation Stats Tool - Track deprecated API usage in your session
- Comprehensive Breaking Changes Documentation
New Features
Section titled “New Features”Deprecation Warning System (P0)
Section titled “Deprecation Warning System (P0)”A comprehensive runtime warning system that alerts users when they use APIs that will change in v2.0.0.
Deprecation Codes:
| Code | Feature | Description |
|---|---|---|
| DEP001 | Tool naming | cyberchef_ prefix will be removed — WITHDRAWN in v2.0.0, see below |
| DEP002 | Recipe schema | Enhanced Zod v4 validation |
| DEP003 | Error responses | Structured error codes |
| DEP004 | Configuration | Unified config file + env vars |
| DEP005 | Arguments | Named object args replace arrays |
| DEP006 | Recipe format | Explicit operation objects required |
| DEP007 | cyberchef_bake | Will be renamed to bake — WITHDRAWN in v2.0.0, see below |
| DEP008 | cyberchef_search | Will be renamed to search — WITHDRAWN in v2.0.0, see below |
Correction, added 2026-08-31. DEP001, DEP007 and DEP008 were withdrawn in v2.0.0. The
cyberchef_prefix is permanent and the two meta-tools keep their names. Removing the prefix was measured at 2.6% of thetools/listpayload (1,208 of 183,115 bytes) against 19 colliding tool names in MCP’s flat namespace and a break for every existing integration. This page is left as the historical record of what v1.8.0 announced; see docs/v2.0.0-breaking-changes.md for what actually shipped.
Features:
- Warnings emitted once per session per code (no spam)
- Suppressible via
CYBERCHEF_SUPPRESS_DEPRECATIONS=true - Detailed migration guidance included with each warning
- Session-based tracking with statistics
Migration Preview Tool (P1)
Section titled “Migration Preview Tool (P1)”New MCP tool cyberchef_migration_preview for analyzing and transforming recipes.
Usage:
{ "method": "tools/call", "params": { "name": "cyberchef_migration_preview", "arguments": { "recipe": { /* your recipe */ }, "mode": "analyze" } }}Modes:
analyze- Check recipe for v2.0.0 compatibility issuestransform- Automatically convert recipe to v2.0.0 format
Output (analyze mode):
{ "compatible": true, "issues": [ { "code": "DEP005", "location": "operations[0].args", "message": "Positional array arguments are deprecated", "severity": "warning", "fix": "Convert array arguments to named object" } ], "issueCount": 1, "breakingCount": 0, "warningCount": 1}v2.0.0 Compatibility Mode (P1)
Section titled “v2.0.0 Compatibility Mode (P1)”Opt-in preview of v2.0.0 behavior where deprecation warnings become errors.
Enable:
V2_COMPATIBILITY_MODE=true npm run mcpOr in Docker:
docker run -i --rm -e V2_COMPATIBILITY_MODE=true cyberchef-mcpBehavior changes:
- Deprecation warnings elevated to errors
- Tool naming follows v2.0.0 conventions
- Stricter recipe validation
Deprecation Stats Tool (P2)
Section titled “Deprecation Stats Tool (P2)”New MCP tool cyberchef_deprecation_stats for tracking deprecated API usage.
Usage:
{ "method": "tools/call", "params": { "name": "cyberchef_deprecation_stats", "arguments": {} }}Output:
{ "warned": ["DEP001", "DEP005"], "warnedDetails": [ { "code": "DEP001", "feature": "Tool naming convention", "description": "The 'cyberchef_' prefix will be removed...", "removalVersion": "2.0.0" } ], "total": 2, "suppressed": false, "v2CompatibilityMode": false, "availableCodes": ["DEP001", "DEP002", "DEP003", "DEP004", "DEP005", "DEP006", "DEP007", "DEP008"], "sessionDuration": 45000}Documentation
Section titled “Documentation”Breaking Changes Guide
Section titled “Breaking Changes Guide”Comprehensive documentation at docs/v2.0.0-breaking-changes.md covering:
- Tool Naming Convention changes
- Recipe Schema changes
- Error Response Format changes
- Configuration System changes
- Legacy Argument Handling changes
- Recipe Array Format changes
- Meta-Tool Renames
- MCP Protocol Version updates
- Migration examples for each change
- FAQ section
Configuration
Section titled “Configuration”New Environment Variables
Section titled “New Environment Variables”| Variable | Default | Description |
|---|---|---|
V2_COMPATIBILITY_MODE |
false |
Enable v2.0.0 behavior preview |
CYBERCHEF_SUPPRESS_DEPRECATIONS |
false |
Suppress deprecation warnings |
Testing
Section titled “Testing”Test Coverage
Section titled “Test Coverage”| Category | Tests | Status |
|---|---|---|
| Deprecation System | 43 | Passing |
| Migration Preview | 38 | Passing |
| Total New Tests | 81 | Passing |
Running Tests
Section titled “Running Tests”# Run all MCP tests including v1.8.0 featuresnpm run test:mcp
# Run deprecation tests specificallynpm run test:mcp -- deprecation
# Run migration preview tests specificallynpm run test:mcp -- migration-previewMigration Path
Section titled “Migration Path”Recommended Migration Steps
Section titled “Recommended Migration Steps”- Upgrade to v1.8.0 - Install this release
- Monitor deprecation warnings - Note which deprecations you trigger
- Use migration preview - Analyze your recipes with
cyberchef_migration_preview - Transform recipes - Use transform mode to convert recipes
- Test with v2 mode - Enable
V2_COMPATIBILITY_MODE=true - Update tool names - Remove
cyberchef_prefixes - Review breaking changes doc - Read
docs/v2.0.0-breaking-changes.md
Example Migration
Section titled “Example Migration”Before (v1.x):
{ "name": "cyberchef_bake", "arguments": { "input": "Hello", "recipe": [ { "op": "To Base64", "args": ["A-Za-z0-9+/="] } ] }}After (v2.0.0 compatible):
{ "name": "bake", "arguments": { "input": "Hello", "recipe": { "name": "Encode Recipe", "operations": [ { "op": "To Base64", "args": { "alphabet": "A-Za-z0-9+/=" } } ] } }}API Changes
Section titled “API Changes”New Exports from mcp-server.mjs
Section titled “New Exports from mcp-server.mjs”// Deprecation systemexport { DEPRECATION_CODES, emitDeprecation, emitToolNamingDeprecation, emitMetaToolDeprecation, emitRecipeFormatDeprecation, getDeprecationStats, resetDeprecations, analyzeRecipeCompatibility, transformRecipeToV2, getToolName, stripToolPrefix, isV2CompatibilityMode, areSuppressed};
// Configuration constantsexport { V2_COMPATIBILITY_MODE, SUPPRESS_DEPRECATIONS};New Module: deprecation.mjs
Section titled “New Module: deprecation.mjs”A standalone module (src/node/deprecation.mjs) containing:
- Deprecation code definitions
- Warning emission logic
- Recipe analysis and transformation
- Session tracking
- Utility functions
Compatibility
Section titled “Compatibility”Backward Compatibility
Section titled “Backward Compatibility”- All v1.7.x APIs remain functional
- No breaking changes in this release
- Existing recipes and configurations work unchanged
Forward Compatibility
Section titled “Forward Compatibility”- Deprecation warnings guide users toward v2.0.0 patterns
- Migration tools enable gradual transition
- v2 compatibility mode allows testing before upgrade
Upgrade Instructions
Section titled “Upgrade Instructions”From v1.7.x
Section titled “From v1.7.x”# Pull latest imagedocker pull ghcr.io/doublegate/cyberchef-mcp_v1:1.8.0
# Or update local installationnpm installVerification
Section titled “Verification”# Check versionecho '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' | docker run -i --rm ghcr.io/doublegate/cyberchef-mcp_v1:1.8.0
# Verify new toolsecho '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | docker run -i --rm ghcr.io/doublegate/cyberchef-mcp_v1:1.8.0 | grep migration_previewKnown Issues
Section titled “Known Issues”None at this time.
Contributors
Section titled “Contributors”- DoubleGate (maintainer)
License
Section titled “License”Apache-2.0
Full Changelog: v1.7.3…v1.8.0