Skip to content

Commit 9ee05fe

Browse files
committed
feat: add 2.0.0 to CHANGELOG.md
1 parent 58f4bdf commit 9ee05fe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [2.0.0] - 12/03/2022
2+
3+
* BREAKING: Rename `getSuccess` to `tryGetSuccess` and `getError` to `tryGetError` methods.
4+
* BREAKING: Flip the order of the Success and Error types. Thanks to [JoDeveloper](https://github.com/JoDeveloper) for executing and [RalphBergmannKMB](https://github.com/RalphBergmannKMB) for proposing.
5+
* If you `Result<Exception, String>` now you must use `Result<String, Exception>` to improve readability.
6+
* Add `onSuccess` and `onError` methods to handle the result only in these cases.
7+
18
## [1.0.4] - 07/19/2021
29

310
* Adds getSuccess and getError methods

0 commit comments

Comments
 (0)