magic_enum breaking changes
magic_enum 0.10.0 (November 25, 2026) is its newest release with breaking changes, 22 of them. The first: Bitwise operators are no longer in magic_enum.hpp. Every breaking API change we have recorded in magic_enum on Homebrew: 22 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.10.0, released November 25, 2026. MIT license. Source repository
magic_enum 0.10.0 breaking changes
- Removed
Include magic_enum_bitwise.hpp to get the bitwise operators. github.com - Removed
enum_range<E>.is_flags
Read the mode with is_flags_enum_v<E> instead. github.com - Removed
MAGIC_ENUM_ENABLE_HASH_SWITCH
Drop uses of this macro. github.com - Removed
MAGIC_ENUM_SUPPORTED_ALIASES
Drop checks that use this macro. github.com - Behavior changed
Names, counts and indices can change. Set is_flags = false for one enum or define MAGIC_ENUM_NO_AUTO_IS_FLAGS to keep the old reflection. github.com - Behavior changed
Zero counts in iteration and its name is used for formatting and parsing. github.com - Behavior changed
Builds need C++17, GCC 9, Clang 9, Xcode 11, MSVC 19.20, CMake 3.22 and newer tooling than before. github.com - Behavior changed
Several named values, arguments and explicit reference forms are now compile errors and must be fixed. github.com - Behavior changed
An enum with its own format_as overload is formatted by it instead of by name. github.com - Behavior changed
It ignores the scan range and uses the first declared name for aliases, so counts, indices and names can change. Define MAGIC_ENUM_FORCE_COMPILER_SPECIFIC_REFLECTION to keep the previous backend. github.com - Behavior changed
Unnamed values with a character underlying type are printed as numbers. github.com - Behavior changed
containers.bitset
Zero and combinations are masks; invalid input sets failbit instead of throwing. github.com - Behavior changed
containers.set
Code that relied on unknown values being ignored or on the old ordering must change. github.com - Behavior changed
enum_cast
Casting an out-of-range integer now yields an empty result instead of a value. github.com - Behavior changed
enum_reflected
Its result now depends on the reflection rules rather than on names. github.com - Behavior changed
enum_switch
Results are returned by value, also for reference result types. github.com - Behavior changed
enum_type_name
Unnamed enums need a typedef name or name customization. github.com - Behavior changed
magic_enum_define_range_adl
A global magic_enum_define_range_adl for a namespaced enum is ignored; move it to the enum's namespace. github.com - Configuration changed
Set MAGIC_ENUM_MODULE_WITH_FMT=ON, or define MAGIC_ENUM_USE_FMT_HEADER when building without CMake. github.com - Signature changed
containers.bitset
The string constructor is now (sv, sep, cmp). github.com - Signature changed
containers.set
Use set<E>::from_mask(mask) where set<E>(mask) was used. github.com - Signature changed
customize_t
Use its tag and name fields instead of first and second. github.com
Related packages
- magic-enum on vcpkg
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.