Releases: aliak00/optional
Releases · aliak00/optional
v1.2.1
v1.0.0-beta.1
Big changes for version 1.0.0
- Added: dip1000/dip25 conformance
- Added: Can use optionals with @disabled copy types
- Added: Tests for vibe-d integration
- Added: Address sanitization to testing
- Added: frontOr that works on ranges, optionals, and nullables
- Changed: renamed orElse to or
- Changed: renamed dispatch to oc
- Changed: or will return only rhs or lhs, and not front of optional
- Changed: or now accepts ranges, nullables, and references
- Changed: or accepts void lambda
- Changed: match returns void if either lambda returns void
- Changed: pointer semantics to be the same as class semantics (i.e. some!(int*)(null) == none)
- Fixed: Unsafe return values
- Removed: NotNull
- Removed: unwrap
v0.16.0
v0.10.0
v0.8.0
v0.7.0
- Added: support for array indexing and slicing
- Added: support for opOpAssign
- Added: safe pure nogc dispatch
- Added: dispatching on non optional nullable types
- Changed: dispatch does not mutate value types
- Changed: dispatching is automatically flattened
- Added: covariant assignment to optional