Skip to content

Releases: Neargye/magic_enum

Magic Enum v0.9.5

16 Nov 08:36
Compare
Choose a tag to compare

Release v0.9.5

Magic Enum v0.9.4

12 Nov 13:38
Compare
Choose a tag to compare

Release v0.9.4

Magic Enum v0.9.3

22 Jun 13:28
Compare
Choose a tag to compare

Release v0.9.3

  • [hotfix] Fix enum type name in namespace/class (#281)
  • Add enum_next_value and enum_prev_value in <magic_enum_utility.hpp> (#280)
  • Move enum_for_each to <magic_enum_utility.hpp>
  • Add <magic_enum_all.hpp>
  • Add option MAGIC_ENUM_NO_ASSERT
  • Add option MAGIC_ENUM_NO_EXCEPTION
  • Add option MAGIC_ENUM_ENABLE_HASH_SWITCH
  • Fix error with _ITERATOR_DEBUG_LEVEL on msvc

Magic Enum v0.9.2

10 Jun 11:39
Compare
Choose a tag to compare

Release v0.9.2

  • [hotfix] Fix missing enum name in an anonymous namespace on Clang (#276)
  • [hotfix] Re-Fix compiling on >= Clang-16 (#279)
  • [hotfix] Fix missing enum name on Visual Studio 2017 (#278)
  • Add enum_flags_test and enum_flags_test_any functions for flags
  • Move all enum_flags_* to <enum_flags.hpp>

Magic Enum v0.9.1

31 May 11:02
Compare
Choose a tag to compare

Release v0.9.1

  • [hotfix] fix enum name in namespace/class (#274)
  • enable wchar_t as string_view value_type (#193, #194)

Magic Enum v0.9.0

24 May 10:01
Compare
Choose a tag to compare

Release v0.9.0

  • [breaking changes] Remove auto detect enum_range::is_flags. Need to explicitly set enum_range::is_flags, or add define MAGIC_ENUM_AUTO_IS_FLAGS for old behavior.
  • Move iostream_operators to magic_enum_iostream.hpp
  • Remove MAGIC_ENUM_ENABLE_NONASCII. Now it works by default.
  • Add support big range in enum_range. (#268)
  • Add fmt support. (#259)
  • Add support GCC -fno-pretty-templates. (#258)
  • Аdd constexpr containers. (#187)
  • Add support R++ builtins for type/enumerator name. (#238)
  • Include <functional>. (#252)

Magic Enum v0.8.2

09 Dec 12:00
Compare
Choose a tag to compare

Release v0.8.2

  • Compile-time optimization (#219, #207)
  • Add option MAGIC_ENUM_ENABLE_HASH to generate a hash switch, this need more memory and compile-time but functions like 'enum_name', 'enum_switch', etc will have O(1) complexity
  • Add a separate header for enum_switch
  • Add support no default value enum_switch (#199)
  • Fix build clang-16(#204)
  • Fix VS2022 IntelliSence Error (#198)

Magic Enum v0.8.1

04 Aug 12:17
Compare
Choose a tag to compare

Release v0.8.0

  • Add a separate header for std::format
  • Add separate header fuse
  • Fix compilation error, when including magic_enum after windows.h (#189)
  • Fix (#190) (#192)

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