Skip to content

Releases: Neargye/magic_enum

Magic Enum v0.8.0

10 May 19:41
Compare
Choose a tag to compare

Release v0.8.0

  • [breaking changes] New enum-flags API. Added is_flags option in enum_range.

  • [breaking changes] New customize. (#166)

  • Add enum_fuse - fusing function in separate header.

  • Add support for non-ASCII characters (UNIX/Linux) (#95)

  • Add enum_switch and enum_for_each.

  • Add istream operators.

  • Add compile-time enum_index and enum_value.

  • Add support gcc8 with defined MAGIC_ENUM_NO_CHECK_SUPPORT. (#137)

  • Many small fixes underflow in out of range check, bool enum, etc.

Magic Enum v0.7.3

21 Jun 18:05
Compare
Choose a tag to compare

Release v0.7.3

  • Add detect values out of range and fail compilation (#70)
  • Add ability to include external configuration header (#86)
  • Fix std::array in some cases is missing constexpr on some of it's functions (#76)
  • Fix using leak (#80)
  • Fix hard error if enum is empty or non-reflected (#79)
  • Fix some warning

Magic Enum v0.7.2

23 Dec 19:33
Compare
Choose a tag to compare

Release v0.7.2

  • Fix build error in clang #69

Magic Enum v0.7.1

02 Dec 12:43
Compare
Choose a tag to compare

Release v0.7.1

  • Fix build error in gcc #62
  • Fix build msvc with clang

Magic Enum v0.7.0

14 Oct 17:32
Compare
Choose a tag to compare

Release v0.7.0

  • Add namespace flags with API for enum-flags #40
  • Add syntax for defining custom enum names #50
  • Add way to switch std::optional, std::string and std::string_view to custom type #45
  • Add support for bazel #56
  • Add MAGIC_ENUM_OPT_INSTALL option in CMakeLists.txt #54
  • Add macro MAGIC_ENUM_SUPPORTED_ALIASES to check whether enum-aliases supported #36
  • Improve API usability #55
  • Fix build error in clang #53
  • [breaking changes] enum_range moved to namespace magic_enum::customize #52

Magic Enum v0.6.6

05 Jun 13:20
Compare
Choose a tag to compare

Release v0.6.5

  • Fix compiler check #39
  • Fix hangs Intellisense #34
  • Fix compatibility with legacy C-Style APIs #37
  • Add comparison predicate for enum_cast #35
  • Add enum_contains #30
  • Add enum_type_name #25

Magic Enum v0.6.5

31 Jan 10:13
Compare
Choose a tag to compare

Magic Enum v0.6.4

30 Dec 12:19
Compare
Choose a tag to compare

Release v0.6.4

  • Fix some warnings.
  • Add enum concept.

Magic Enum v0.6.3

18 Oct 08:39
Compare
Choose a tag to compare

Release v0.6.3

  • Fix bug signed casts to unsigned in min()/max(), #18.

  • Fix calculate reflected range, #19.

  • Improving compile times.

Magic Enum v0.6.2

08 Oct 08:26
Compare
Choose a tag to compare

Release v0.6.2

  • Fix cvref regression, fix #16.

  • Add documentation.

  • Improve enum_value for dense enums.

  • Add check if the enum is a forward declaration or valid enum_range::max and enum_range::min, fix #15.

  • Add macro MAGIC_ENUM_SUPPORTED to check compiler support.

  • Caching enum_values, enum_names, enum_entries.

  • Remove is_fixed_enum.