WhatsDiff

WhatsDiff

02/11/2025
CLI tool to see what has changed in your project
whatsdiff.app

Overview

Keeping your project dependencies up-to-date is crucial for security, performance, and accessing new features, but understanding what actually changed can often feel like navigating a maze. WhatsDiff is a powerful, free, and open-source CLI tool and MCP server designed to demystify your dependency updates. It provides an interactive, human-readable changelog right in your terminal, transforming the tedious task of risk-assessing updates into a streamlined, insightful process. Unlike conventional dependency update tools that primarily focus on automation or vulnerability detection, WhatsDiff emphasizes providing clear, aggregated visibility into what has actually changed across your dependencies.

Key Features

WhatsDiff is packed with functionalities designed to make dependency management effortless and transparent.

  • CLI and Interactive Terminal UI for Dependency Analysis: Get a clear, interactive view of all dependency changes directly within your terminal through a keyboard-driven interface, making it easy to understand what has changed at a glance.
  • Structured Output Formats for Automation: Generate detailed reports in JSON or Markdown formats, perfect for integrating into automated workflows, documentation generation, CI/CD systems, or custom dashboards.
  • CI/CD Pipeline Integration via Exit Codes: Seamlessly incorporate WhatsDiff into your continuous integration and deployment pipelines using exit codes to automate dependency validation and prevent unwanted changes from reaching production.
  • MCP Server for AI-Powered Dependency Analysis: Leverage the MCP (Model Context Protocol) server to integrate WhatsDiff with AI coding assistants and IDEs, enabling AI-driven upgrade recommendations and contextual guidance based on your project’s specific dependencies.
  • Comprehensive Ecosystem Support: Provides full support for both PHP projects using Composer and JavaScript/Node.js projects using npm, enabling unified dependency tracking across diverse tech stacks.

How It Works

Understanding the technical foundation behind WhatsDiff is straightforward. At its core, WhatsDiff operates by intelligently comparing your project’s dependency trees before and after running updates (composer update or npm update). It meticulously analyzes package versions and their respective changes by correlating version increments with publicly available changelog data and release notes. This process can be executed directly in your terminal for immediate feedback, integrated into your CI/CD pipeline for automated gates, or connected via the MCP protocol for AI-assisted insights and recommendations.

Use Cases

WhatsDiff is a versatile tool that can be applied across various development scenarios to enhance transparency and control over dependency changes.

  • Dependency Change Tracking in CI Pipelines: Automatically generate comprehensive reports on dependency changes within your CI/CD workflows, ensuring complete visibility into what has been updated before deployment.
  • Risk Assessment for Software Maintenance: Quickly evaluate the scope and severity of dependency updates by reviewing aggregated changelogs, helping you make informed decisions about when and how to apply updates safely.
  • Compliance and Audit Reporting: Maintain a clear, auditable record of all dependency changes with structured JSON and Markdown reports, essential for regulatory compliance, historical tracking, and post-incident analysis.
  • Release Notes and Changelog Generation for Teams: Automatically generate comprehensive, human-readable changelogs for your development team or end-users, saving manual documentation work and ensuring accuracy.

Pros \& Cons

Like any powerful tool, WhatsDiff comes with its own set of advantages and considerations.

Advantages

  • Lightweight and Fast CLI: The command-line interface is optimized for performance with minimal resource overhead, making it ideal for integration into fast CI/CD pipelines.
  • Seamless Workflow Integration: Designed to fit naturally into existing developer workflows and toolchains without introducing friction or requiring significant configuration.
  • Built for Automation: With JSON/Markdown output, exit code handling, and MCP server capabilities, WhatsDiff is architected from the ground up to integrate into automated processes and AI systems.
  • Highly Readable Changelog Presentation: Provides superior clarity in visualizing what actually changed in your dependencies compared to raw version diffs or generic vulnerability reports.
  • Completely Free and Open-Source: Licensed for community contribution and development without licensing costs or vendor lock-in, backed by MIT licensing for the core components.

Disadvantages

  • Limited to PHP and JavaScript Ecosystems: Currently supports only Composer (PHP) and npm (JavaScript) projects, requiring alternative solutions for other languages and package managers.
  • Requires Command-Line Proficiency: Full utilization requires familiarity with terminal interfaces and command-line tools, which may present a barrier for developers preferring graphical interfaces.
  • Development-Stage GitHub Integration: The GitHub App for automated PR notifications is currently in active development and not yet available for production use.

How It Compares

WhatsDiff operates in a different category than traditional dependency management tools, focusing specifically on changelog visualization and risk assessment rather than replacing automated update mechanisms. Here’s how it positions itself:

FeatureWhatsDiffDependabotRenovateComposer Audit
Primary FunctionChangelog aggregation and visualizationAutomated dependency updates and security scanningAutomated updates with advanced groupingSecurity vulnerability scanning
AI IntegrationMCP server for LLM integrationNoneNoneNone
Changelog Visualization✓ Human-readable aggregated changelogsLimited (basic release notes)✓ Changelog display✗ CVE data only
Interactive Terminal UI✓ Full interactive TUI✗ Pull requests only✗ Dashboard only✗ Terminal table output
Automated PR CreationFuture (in development)✓ Automatic PRs✓ Automatic PRs✗ Manual fixes only
Export FormatsJSON, Markdown, TerminalPull Request formatPull Request formatTable, JSON, Plain text
Setup ComplexityMinimal (CLI-based)Simple (GitHub native)Moderate (requires app)Minimal (built-in command)

Key Distinctions:

Dependabot (free, GitHub-native) automates the creation of pull requests for dependency updates and is the default choice for GitHub-hosted security vulnerability management. It prioritizes automation and velocity.

Renovate (open-source, multi-platform) extends automation with advanced grouping, dependency dashboard, and cross-platform support beyond GitHub, making it ideal for complex monorepos and diverse infrastructure.

Composer Audit (built-in PHP tool) provides vulnerability scanning specific to PHP dependencies but offers no changelog visualization or interactive analysis capabilities.

WhatsDiff uniquely addresses the gap between running updates and understanding their impact. Rather than automating the update process itself, it excels at answering “what actually changed?” through interactive exploration and AI-assisted analysis. Teams often use WhatsDiff alongside Dependabot or Renovate to gain deeper visibility into what those tools are proposing.

Final Thoughts

WhatsDiff fills a critical niche for development teams seeking deeper insight into dependency changes without replacing existing automation. By offering unparalleled clarity into dependency modifications through its interactive terminal interface, structured export formats, and emerging AI integration capabilities, it transforms dependency review from a tedious compliance task into an informed, efficient process. The MCP server integration positions WhatsDiff to become increasingly valuable as AI-assisted development becomes more prevalent.

If you’re looking to reduce risk in your dependency update process, streamline compliance reporting, or leverage AI for intelligent update recommendations, WhatsDiff is a valuable addition to your dependency management toolkit. Whether deployed as part of a larger automation strategy or used independently for risk assessment, WhatsDiff provides transparency and control that standard dependency management tools leave unaddressed.

CLI tool to see what has changed in your project
whatsdiff.app