Releases: respawn-app/KMPUtils
Releases · respawn-app/KMPUtils
1.1.2
- Graduated
inputforms
to stable - New range and collections extensions
- New ApiResult extensions + improvements to the functions' contracts
- Kotlin 1.9.0, data objects are used where possible
What's Changed
- 1.1.0: InputForms module by @Nek-12 in #6
- Fixes for forms, better docs for inputforms by @Nek-12 in #7
- 1.1.1: New form validations + new extensions, deps update by @Nek-12 in #8
Full Changelog: 1.0.2...1.1.1
1.1.0-alpha02
- 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
Breaking changes:
- An issue where
runResulting
had the parameter as anit
instead ofthis
was fixed. If you usedrunResulting
, you need to changeit
tothis
- Removed
CoroutineScope
receiver frommapParallel
andforEachParallel
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
andchain
, 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, andrequire
andrequireNotNull
functions.
1.0.2: More functions, fixes, and better sourceSet publishing, JS support
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:
Full Changelog: 1.0.1...1.0.2
1.0.1 : Initial release
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)