diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a51c71..5cf538d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,16 @@ Changelog ========= +1.8.0 +----- + +_2023-11-03_ + +- **Fix**: Deprecate old `fold()` functions and introduce new ones that use the underlying value rather than `Success`. This was an oversight in the previous implementation. Binary compatibility is preserved. +- **Enhancement:** Mark functions `inline` where possible to allow carried over context (i.e. in suspend functions, etc) +- **Enhancement:** Use contracts to inform the compiler about possible calls to lambdas. +- **New:** Add fluent `onSuccess` and `onFailure*` functional extension APIs to `ApiResult`. + 1.7.0 ----- diff --git a/gradle.properties b/gradle.properties index b8c3393..664db2f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ POM_NAME=EitherNet POM_ARTIFACT_ID=eithernet POM_PACKAGING=jar GROUP=com.slack.eithernet -VERSION_NAME=1.8.0-SNAPSHOT +VERSION_NAME=1.8.0 POM_DESCRIPTION=A pluggable sealed API result type for modeling Retrofit responses. POM_URL=https://github.com/slackhq/eithernet/ POM_SCM_URL=https://github.com/slackhq/eithernet/