What's new in version 1.2:
- Added tests
- Deprecated the
StructNullpattern in favour ofValueNull - Fixed a bug which made strict matching with fallthrough unusable
- Fixed null handling in some predefined patterns
- Minor code refactoring
What's new in version 1.1:
Matcherclasses renamed toMatch(breaking change).OptionUnsafeis now used instead ofOptionin patterns to fully supportnullvalues (breaking change).ExecuteOnStrictinMatch<TInput>renamed toExecuteStrict(breaking change).- Implemented matching with fallthrough
- Added two new patterns -
Nullfor classes andStructNullfor nullable structs.
Although there are several breaking changes, the major version is not incremented, as these changes will probably not actually break anything, because not many people have used version 1.0 so far.
The initial version of the PatternMatching library.