NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #720 most downloaded on pub.dev
Yet another variation of the good old Maybe monad with eager execution written in Dart.
Last release 11 months ago
07 Nov 2025
Ships unpredictably
gaps range from 9 days to 2.6 years
Nearly every release is documented
notes for 20 of 20 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
23 releases · first in 2020
One column per quarter.
### Removed - The .as() method - Dart 2.0 support
ifPresent() and ifNothing() return self
Repackaged to hide internal interfaces
### Added - merge2() method
BC-BREAKING. The generic type of Maybe is made unbounded.
Maybe is made unbounded.Maybe does not have a constructor anymore.Nothing published for this version
This is a BC-breaking change to support null safety. Please refer to the tests and documentation.
ifPresent() and ifNothing() were made void.Nothing published for this version
Nothing published for this version
### Fixed - README update
Allow map to return a null. Hence, the BC-breaking change in Just.map signature.
map to return a null. Hence, the BC-breaking change in Just.map signature.Method chain() now accepts a value instead of a function. The old method is available as fallback()
fallback()chain() now accepts a value instead of a function. The old method is available as fallback()filter()ifPresent() and ifNothing() return Maybe instead of null
### Added - const constructor to Nothing
const constructor to Nothing### Changed - Relaxed cast() type constraint
cast() type constraint### Added - chain() method
chain() method"Future was not exported" in tests
Future was not exported" in testsJust and Nothing return more narrow types in certain cases
Just and Nothing return more narrow types in certain cases### Fixed - Future was not exported
Future was not exportedrelaxed min Dart version to 2.0.0
### Added - where is an alias for filter
where is an alias for filterNew methods: cast(), orAsync(), orGetAsync(), flatMap(), merge()
cast(), orAsync(), orGetAsync(), flatMap(), merge()[0.6.0]: https://github.com/f3ath/maybe-just-nothing/compare/0.5.3...0.6.0 [0.5.3]: https://github.com/f3ath/maybe-just-nothing/compare/0.5.2...0.5.3
Your coding agent can read these notes before it upgrades. Set up the MCP server →