New
2.0.0
- Migrate to Kotlin Multiplatform. Structurally, the core EitherNet APIs now live in
commoncode and are implemented by integration modules. - Move Retrofit/OkHttp integration to separate
eithernet-integration-retrofitartifact. - Move test fixtures to new
eithernet-test-fixturesartifact. Most of its implementation is still JVM-only for now.- Note: Due to limitations in KMP, we no longer ship a native test fixtures attribute and Gradle's native
java-test-fixturesplugin does not work on KMP JVM artifacts. Please star these issues:- https://youtrack.jetbrains.com/issue/KT-69482
- https://youtrack.jetbrains.com/issue/KT-63142
- Note: Due to limitations in KMP, we no longer ship a native test fixtures attribute and Gradle's native
- Remove deprecated APIs.
- Add
outvariance toApiResult.Failuregeneric type. - Update Okio to
3.9.0. - Update Kotlin to
2.1.0.
What's Changed
- Migrate to KMP project structure by @ZacSweers in https://github.com/slackhq/EitherNet/pull/76
- Fix ktype overrides by @ZacSweers in https://github.com/slackhq/EitherNet/pull/77
- Add out variance to ApiResult.Failure generic type by @serge-slack in https://github.com/slackhq/EitherNet/pull/81
- Update to Kotlin 2.1.0 by @ZacSweers in https://github.com/slackhq/EitherNet/pull/82
New Contributors
- @serge-slack made their first contribution in https://github.com/slackhq/EitherNet/pull/81
Full Changelog: https://github.com/slackhq/EitherNet/compare/1.9.0...2.0.0