Skip to content

v1.1.0

Compare
Choose a tag to compare
@Adedoyin-Emmanuel Adedoyin-Emmanuel released this 13 Feb 08:18
· 11 commits to main since this release

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: