v1.1.0
v1.1.0 - API Enhancement
Breaking Changes
- Changed method-style accessors to properties for better ergonomics:
isSuccess()
→isSuccess
isFailure()
→isFailure
getValue()
→value
getErrors()
→errors
Improvements
- More intuitive property-based API that aligns with TypeScript best practices
- Simplified access to result states and values
- Improved type safety and reduced verbosity in code
- Updated all internal utilities and extensions to use the new property-based API
Migration Guide
Replace all method calls with property access: