Skip to content

Releases: respawn-app/KMPUtils

1.1.0-alpha02

30 May 17:52
c709ddb
Compare
Choose a tag to compare
1.1.0-alpha02 Pre-release
Pre-release
  • Made Form an open class
  • Fixed input() builder function behavior and default parameter
  • Made some functions public

Full Changelog: 1.1.0-alpha01...1.1.0-alpha02

1.1.0-alpha01

29 May 18:43
a44070c
Compare
Choose a tag to compare
1.1.0-alpha01 Pre-release
Pre-release

Breaking changes:

  • An issue where runResulting had the parameter as an it instead of this was fixed. If you used runResulting, you need to change it to this
  • Removed CoroutineScope receiver from mapParallel and forEachParallel that was added by mistake, as coroutine scope in a suspend lambda is ambiguous.
  • Javadocs were not working correctly for MPP targets with Dokka. In this release we disabled them completely for now.

Other changes:

  • Updated deps, notably Kotlin 1.8.21
  • some ApiResult functions are now infix, allowing for a cleaner dsl, such as then and chain, if you prefer the infix style.
  • New module: inputforms, a stateful framework for form validation. Will graduate from alpha once tested properly. Initially opensourced from Respawn.
  • Fixed an issue with ApiResult.errorIf had no default parameter
  • Fixed some documentation
  • New ways to build an ApiResult, such as starting with ApiResult(Unit) (ApiResult() constructor) and mapping that, and require and requireNotNull functions.

1.0.2: More functions, fixes, and better sourceSet publishing, JS support

05 Apr 10:05
c80949e
Compare
Choose a tag to compare

What's Changed

  • Added more targets and js support (node, browser)
  • Updated docs
  • Published and deployed javadocs
  • Added new core and datetime extensions
  • Breaking: Removed CoroutineScope from ApiResult.flow (it was ambiguous what scope is used)
  • Updated kotlin to 1.8.20 and other deps

PRs:

  • 1.0.2: Javadocs, more extensions, fixes, sources publishing by @Nek-12 in #5

Full Changelog: 1.0.1...1.0.2

1.0.1 : Initial release

04 Feb 12:29
11d11ec
Compare
Choose a tag to compare

This is the first public release of KMMUtils
KMMUtils is a successor to AndroidUtils.

Since AndroidUtils 0.7.15, we've taken the opportunity to make some important changes:

  • Artifact is now published on Maven Central with a new group and id
  • New package and group - pro.respawn
  • Rewritten ApiResult for a better api, many more extensions, and made the class inline (value)
  • Added datetime extensions for kotlinx.datetime
  • New extensions for STL library in the common module
  • Made ApiResult a separate module (it deserves that as one of the most used features of AndroidUtils)