Skip to content

Releases: quicknir/wise_enum

3.1.0

08 Feb 22:03
Compare
Choose a tag to compare

I went over the changes as best I could since the 3.0.0 release (it's been a while); I don't think there are breaking changes, so I'm releasing this as 3.1.0. Almost all the work since 3.0.0 has been done by contributors; thanks to everyone who contributed and improved this project tremendously!

What's Changed

  • Support for MSVC!
  • Improved support for avoiding exceptions in compact optional
  • cmake and pkg-config support
  • Many improvements to CI
  • Minor bug fixes
  • Documentation fixes and improvements
  • cmake and pkg-config support
  • Improved repo organization of examples and other things

New Contributors

Full Changelog: 3.0.0...3.1.0

11 support and minor breaks

11 Oct 01:44
Compare
Choose a tag to compare

Release 3.0.0 adds several major features:

  1. full support for C++11
  2. a compact optional type.
  3. Support for adapting enums not defined by the wise enum macro API.
  4. Support for enums nested in classes.

It's a breaking change because:

  1. I slightly changed the interface surrounding fixed storage enums
  2. I also slightly changed how the defaults for string and optional types work between 14 and 17.
  3. Changed the macro names to override the types slightly.

All very minor changes, but still breaking.

Major bugfix, reduced limitations

02 Sep 00:05
Compare
Choose a tag to compare

Removed a major bug introduced in 2.0.0 where the library actually stopped working for enum classes.

The library now partially supports enums that have multiple enumerators with the same value. This used to cause a hard failure immediately in the to_string implementation. Now, the failure only occurs if to_string is actually called.