---
title: "spring-shell 4.0.0-M1 Breaking Changes on Maven Central"
description: "What each org.springframework.shell:spring-shell release removed, renamed or changed: 8 breaking changes in 6 versions on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/org.springframework.shell:spring-shell
last_updated: 2026-12-04
---

# org.springframework.shell:spring-shell breaking changes

org.springframework.shell:spring-shell 4.0.0-M1 (November 23, 2026) is its newest release with breaking changes. The first: Baseline moved to Spring Framework 7 and Spring Boot 4 in org.springframework.shell:spring-shell 4.0.0-M1. Every breaking API change we have recorded in org.springframework.shell:spring-shell on Maven Central: 8 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.4`, released November 23, 2026. [Source repository](https://github.com/spring-projects/spring-shell)

Packages on Maven Central run on Java. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

- From [2.1.8](#v-2-1-8) to [4.0.0-M1](#v-4-0-0-M1): 3 breaking changes in 3 versions.
- From [2.1.0](#v-2-1-0) to [4.0.0-M1](#v-4-0-0-M1): 4 breaking changes in 4 versions.

## org.springframework.shell:spring-shell 4.0.0-M1 breaking changes

org.springframework.shell:spring-shell 4.0.0-M1, released November 23, 2026: 1 breaking change.

- **Behavior changed**  

The project now targets Spring Framework 7 and Spring Boot 4, so applications built on older Spring versions must upgrade their Spring dependencies to use it. [github.com](https://github.com/spring-projects/spring-shell/releases/tag/v4.0.0-M1)

## org.springframework.shell:spring-shell 3.2.0-M3 breaking changes

org.springframework.shell:spring-shell 3.2.0-M3, released November 23, 2026: 1 breaking change.

- **Behavior changed**  

Previously StandardOut was written to StandardError in non-interactive mode. Code that reads stderr to capture command output must now read stdout. [github.com](https://github.com/spring-projects/spring-shell/releases/tag/v3.2.0-M3)

## org.springframework.shell:spring-shell 3.0.0-RC1 breaking changes

org.springframework.shell:spring-shell 3.0.0-RC1, released November 23, 2026: 1 breaking change.

- **Behavior changed** `CommandParser`  

Input with unrecognised options that was previously accepted now produces an error. [github.com](https://github.com/spring-projects/spring-shell/releases/tag/v3.0.0-RC1)

## org.springframework.shell:spring-shell 2.1.8 breaking changes

org.springframework.shell:spring-shell 2.1.8, released November 23, 2026: 1 breaking change.

- **Renamed** `setMaskCharater`  

The misspelled setter is renamed; callers must use setMaskCharacter. [github.com](https://github.com/spring-projects/spring-shell/releases/tag/v2.1.8)

## org.springframework.shell:spring-shell 2.1.0 breaking changes

org.springframework.shell:spring-shell 2.1.0, released November 23, 2026: 1 breaking change.

- **Behavior changed** `ShellOption`  

Boolean options annotated with ShellOption are now required, so calls that omit them will fail. [github.com](https://github.com/spring-projects/spring-shell/releases/tag/v2.1.0)

## org.springframework.shell:spring-shell 2.1.0-M4 breaking changes

org.springframework.shell:spring-shell 2.1.0-M4, released November 23, 2026: 3 breaking changes.

- **Removed**  

Support for the legacy Spring Shell 1.x API is removed. [github.com](https://github.com/spring-projects/spring-shell/releases/tag/v2.1.0-M4)
- **Removed**  

JCommander support is removed, so code relying on it must move to the supported option handling. [github.com](https://github.com/spring-projects/spring-shell/releases/tag/v2.1.0-M4)
- **Behavior changed**  

The command subsystem was rewritten, so code that depends on its internals or on how commands are dispatched may need updating. [github.com](https://github.com/spring-projects/spring-shell/releases/tag/v2.1.0-M4)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
