Skip to content

0.2.0

Choose a tag to compare

@kmpbits kmpbits released this 20 May 00:24
· 129 commits to main since this release

New modules

  • netflow-paging - Jetpack Paging 3 integration via responsePaginated. Supports network-only and remote+local strategies with RemoteMediator.
  • PagingCollectionViewController - iOS bridge for paging data, exposing loadStateFlow, onPagesUpdatedFlow, getItems(), and loadNextPage() via SKIE.

New features

  • MockNetFlowClient - drop-in NetFlowClient for tests. No real network calls, supports response delays, request recording, and assertion helpers (assertCalled, assertCalledTimes, assertNotCalled).
  • localSourceLong - localSource overload for PagingSource<Long, E>, enabling direct SQLDelight QueryPagingSource integration.
  • onlyLocalCall - skip the network entirely and read only from the local source.
  • wrappedResponse - built-in support for { "data": ... } envelope APIs on both responseFlow and responseAsync.
  • Retry - configurable times, delay, and retryOn condition per request.
  • Custom headers - per-request headers via header().

Bug fixes

  • responseAsync<Unit, Unit> no longer fails on 200 responses with no body (e.g. DELETE endpoints).
  • isSuccess now correctly returns true for any 2xx response regardless of body presence.