---
title: "strum 0.28.0 Breaking Changes on crates.io | Since.dev"
description: "What each strum release removed, renamed or changed: 8 breaking changes in 3 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/strum
last_updated: 2026-12-04
---

# strum breaking changes

strum 0.28.0 (February 22, 2026) is its newest release with breaking changes, 5 of them. The first: Behavior changed EnumDiscriminants. Every breaking API change we have recorded in strum on crates.io: 8 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.28.0`, released February 22, 2026. [Source repository](https://github.com/Peternator7/strum)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.26.0](#v-0-26-0) to [0.28.0](#v-0-28-0): 7 breaking changes in 2 versions.

## strum 0.28.0 breaking changes

strum 0.28.0, released February 22, 2026: 5 breaking changes.

- **Behavior changed** `EnumDiscriminants`  

The generated discriminant enum now derives Default automatically, which may conflict with a manual Default implementation on the same type. [github.com](https://github.com/Peternator7/strum/releases/tag/v0.28.0)
- **Behavior changed** `FromStr`  

When an enum has a default variant, FromStr now always succeeds, so code that expects an error for unknown strings will no longer get one. [github.com](https://github.com/Peternator7/strum/releases/tag/v0.28.0)
- **Behavior changed** `parse_err_ty`  

Enums with a default variant now use the error type set by parse_err_ty, so code relying on the previous error type may need updating. [github.com](https://github.com/Peternator7/strum/releases/tag/v0.28.0)
- **Behavior changed** `TryFrom`  

When an enum has a default variant, TryFrom now always succeeds, so code that expects an error for unknown values will no longer get one. [github.com](https://github.com/Peternator7/strum/releases/tag/v0.28.0)
- **Configuration changed**  

The minimum supported Rust version is now 1.71, so older toolchains may fail to build the crate. [github.com](https://github.com/Peternator7/strum/releases/tag/v0.28.0)

## strum 0.27.0 breaking changes

strum 0.27.0, released February 8, 2025: 2 breaking changes.

- **Signature changed**  

The error methods generated by the FromStr derive now use a Path type instead of String. Code that expects String from these methods must be updated. [github.com](https://github.com/Peternator7/strum/releases/tag/v0.27.0)
- **Signature changed** `strum::EnumProperty::get_int`  

Was fn get_int(&self, \_prop: &str) -> Option\<usize>; now fn get_int(&self, \_prop: &str) -> Option\<i64>. [crates.io](https://crates.io/crates/strum/0.27.0)

## strum 0.26.0 breaking changes

strum 0.26.0, released January 28, 2024: 1 breaking change.

- **Signature changed** `strum::IntoEnumIterator::Iterator`  

Was type Iterator: Iterator\<Item = Self>; now type Iterator: Iterator\<Item = Self> + Clone + DoubleEndedIterator + ExactSizeIterator + FusedIterator. [crates.io](https://crates.io/crates/strum/0.26.0)

## Related packages

- [strum_macros](https://since.dev/packages/crates/strum%5Fmacros.md)

## 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.
