Repository navigation
Releases: becelli/ooptional
Release list
v2.1.0
Release Version 2.1.0
In this release, we've introduced exciting new functional methods and enhanced our documentation for a smoother developer experience. Here are the key highlights:
-
New Functional Methods: We've added powerful new methods like
fold(in deprecation ofmatch) andsatisfies(formerly known asexists) to provide more ways to work with optional values. These methods expand the versatility of OOptional, making it even more convenient to handle optional values in your code. -
Enhanced Documentation: Our documentation has received significant improvements, offering more detailed explanations, concise examples, and a clearer understanding of how to use OOptional effectively. We believe that good documentation is crucial for a seamless developer experience, and we've put in the effort to make it even better.
-
Minor Typing Fixes: We've addressed minor typing issues to ensure a smoother integration with your TypeScript projects. These fixes enhance the overall typing consistency and correctness of OOptional.
We hope you enjoy using OOptional version 2.1.0! Please feel free to provide feedback or report any issues on our GitHub repository. Thank you for your continued support!
v2.0.0
This release removes the effect of handling exceptions. Instead of instantiating a none when an exception is raised, the error won't be caught and it's user responsibility to handle it.
Also, we improved typing inference when we know the option is a Some.
v1.0.0
OOptional - Optional type for your OOP needs
OOptional is a TypeScript library that provides an optional type that fits nicely with Object Oriented Programming. It provides a way to handle optional values without resorting to null or undefined.