From ad7a9fd56846d08ecc6b2757e7f212f51ccc8079 Mon Sep 17 00:00:00 2001 From: Jacob Moura Date: Wed, 11 Dec 2024 17:40:34 -0300 Subject: [PATCH] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 918c889..43e108e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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`.