Repository navigation
chore(main): release 2.0.0 - #39
Merged
Merged
Conversation
Added detailed highlights and performance improvements for version 2.0.0.
Contributor
Author
|
🤖 Created releases: 🌻 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 I have created a release beep boop
2.0.0 (2026-11-12)
Highlights
A ground-up rewrite for .NET 11 and C# 15 unions. The 1.x line is retired.
Maybe<T>is a C# 15 union with exactly two cases,TandNone: values convert implicitly, aswitchoverboth is exhaustive, and pattern matching works in generic code too.
default(Maybe<T>)isNone, anullnever becomes a value, and there is no.Valueorany other throwing accessor.
Match,OrDefault,Map,Bind,Filter,OrElse,Zip,Fold,Iter,Tap,Flatten, and query syntax (from,where,let,select).Choose,Traverse,Sequence,FirstOrNone,SingleOrNone,GetValueOrNone,FromNullable,ToNullableandMaybe.Parse<T>.Optionin F# (Nonefirst), with no</>operators on purpose.System.Text.Jsonwithout configuration: a value is written as itself andNoneasnull. Works withsource-generated contexts.
*Asynccounterparts returningValueTask, plus pipelines and query syntax overTask<Maybe<T>>andValueTask<Maybe<T>>with a singleawait.T(checked on every build); trimming and Native AOT compatible.Performance Improvements
fromclauses (590045a)This PR was generated with Release Please. See documentation.