Releases: yaroslavche/BitMask
Releases · yaroslavche/BitMask
v3.2.0
v3.1.0
Key Changes
- Automatic int-backed Enum Support: The EnumBitMask constructor now automatically detects int-backed enums and uses their values instead of their position. This allows for non-sequential bitmask values (e.g., 1, 4, 8), solving a major limitation of the previous version (see #33).
- Value Validation: Added a validation step to ensure that all int-backed enum values are single-bit values (powers of two). An InvalidEnumException is thrown for invalid values (e.g., 3, 5).
This is a breaking change that requires updating any int-backed enums to use single-bit values.
v3.0.2
v3.0.1
Minified source code archive
v3.0.0
V3 (#28) * BC. Reduced BitMaskInterface and change implementations * Updated README, BitMask final * README bit shorter * Updated README
v2.0.1
V2 deprecated
v2.0.0
v2.0.0
v1.1.0
Added EnumBitMask
v1.0.1
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Fixed infection badge