Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobaraujo7 committed Dec 11, 2024
1 parent 1b1b945 commit ad7a9fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ If there is a need to type `Failure`, use `ResultDart`.
- Default failure type for `ResultDart` is now `Exception`.
- This change reduces boilerplate and improves usability by eliminating the need to specify the failure type explicitly in most cases.

### Removed

- Remove factories `Result.success` and `Result.failure`.


### Migration Guide
- In version >=2.0.0, the Failure typing is by default an `Exception`, but if there is a need to type it, use `ResultDart<Success, Failure>`.
Expand Down

0 comments on commit ad7a9fd

Please sign in to comment.