Commit Graph

368 Commits

Author SHA1 Message Date
Matthew Nelson
6f86d20d53 Add more multiplatform build targets
Closes #77, #81
2023-01-09 10:57:12 +00:00
berik
a6eb86da71 Add recoverCatching
recoverCatching tries to recover, exceptions in transformation cause an error result.
2022-08-28 16:42:09 +01:00
Michael Bull
44bb0c5314 Update Gradle 2022-07-27 18:53:11 +01:00
Michael Bull
55474b0f63 Update dependencies 2022-07-27 18:49:19 +01:00
Michael Bull
c7824638cc Bump version 2022-04-20 15:22:36 +01:00
Michael Bull
79d50b7d53 Release v1.1.16 2022-04-20 15:22:07 +01:00
Michael Bull
f0195b5d3f Enable compatibility with non-hierarchical multiplatform projects
See: https://github.com/michaelbull/kotlin-result/issues/71#issuecomment-1101603105
See: https://kotlinlang.org/docs/multiplatform-hierarchy.html#for-library-authors
2022-04-20 15:21:35 +01:00
Michael Bull
1cdecfd1cc Bump version 2022-04-15 16:46:43 +01:00
Michael Bull
ae7cf6a1b4 Release v1.1.15 2022-04-15 16:46:10 +01:00
Michael Bull
6ef843416f Add supported platform badges to README 2022-04-15 16:44:34 +01:00
Michael Bull
07ad45929f Include LICENSE file in META-INF directories of jar files 2022-04-15 16:29:55 +01:00
Michael Bull
3902f40408 Add kotlin-js-store to gitignore 2022-04-15 16:28:17 +01:00
Michael Bull
ead4828559 Update Gradle to 7.4.2 2022-04-15 15:34:25 +01:00
Michael Bull
96a84b227b Update dependencies 2022-04-15 15:34:25 +01:00
Michael Bull
ea9298c8fe Update contributors 2022-02-21 11:26:12 +00:00
Dmitry Suzdalev
fe30193d7c Add iosSimulatorArm64 and macosArm64 targets
Closes #71
2022-02-08 17:34:15 +02:00
Michael Bull
9ced7ac483 Re-enable js benchmarking 2022-01-08 14:34:28 +00:00
Michael Bull
0aad0925f1 Update copyright year in LICENSE 2022-01-08 14:18:58 +00:00
Michael Bull
5c54be1dab Update version in README 2022-01-08 14:15:43 +00:00
Michael Bull
fd1b414ef7 Cache ~/.konan directory in publish workflow 2022-01-08 14:15:25 +00:00
Michael Bull
cf109812a2 Bump version 2022-01-08 13:48:10 +00:00
Michael Bull
a9b4857715 Release v1.1.14 2022-01-08 13:46:00 +00:00
Michael Bull
72df4c0ff6 Update kotlinx-coroutines to 1.6.0
Closes #69
2022-01-08 13:11:58 +00:00
Michael Bull
b3f1edc369 Cache ~/.konan on CI
See: https://kotlinlang.org/docs/native-improving-compilation-time.html#general-recommendations
2022-01-08 13:09:54 +00:00
Michael Bull
0ded6905c3 Use macos-11 in CI workflow
See: https://github.com/actions/virtual-environments/issues/2638
2022-01-08 12:54:35 +00:00
Michael Bull
4b9ca158fc Update dependencies 2022-01-08 12:54:35 +00:00
Michael Bull
7e89f1b6a6 Update Gradle to 7.3.3 2022-01-08 12:19:17 +00:00
Michael Bull
0da5b84286 Update contributors 2022-01-08 12:17:37 +00:00
Michael Bull
6a5523c998 Migrate to Ktor 2 2022-01-08 12:17:37 +00:00
Sebastian Kappen
d07bd589ed Add getOrThrow
Closes #68
2022-01-08 12:17:37 +00:00
Michael Bull
e5c47a46b5 Rename check workflow to build 2021-12-28 17:04:50 +00:00
Michael Bull
a511d6ae8e Run build instead of check on ci 2021-12-27 23:22:10 +00:00
Michael Bull
2f719c8f8e Bump version 2021-11-02 09:52:46 +00:00
Michael Bull
ef30e954bd Release v1.1.13 2021-11-02 09:25:35 +00:00
Michael Bull
8c8aa6f6d4 Remove deprecated & unused maven repositories 2021-10-27 16:00:27 +01:00
Joseph Cooper
2667273015 Add runSuspendCatching and T#runSuspendCatching
Closes #67
2021-10-27 15:53:11 +01:00
Michael Bull
623a360e21 Set gradle release channel in versions plugin
Stops it suggesting release candidate builds.
2021-10-26 17:21:07 +01:00
Michael Bull
4df9985f15 Update dependencies 2021-10-26 17:16:08 +01:00
Michael Bull
421dddf5e5 Disable kotlin MPP alpha warning 2021-10-26 17:14:33 +01:00
Michael Bull
6080f3f190 Fix typo in throwIf/throwUnless kdoc
Missed the word "returns".
2021-10-26 17:09:58 +01:00
Michael Bull
653bc90ffa Increase JVM metaspace size
The public workflow on macOS runners are hanging[1]. This is due to an
upstream bug in the Dokka plugin[2].

[1] https://github.com/michaelbull/kotlin-result/runs/4011488028?check_suite_focus=true
[2] https://github.com/Kotlin/dokka/issues/1405
2021-10-26 16:38:46 +01:00
Michael Bull
3efefdb18b Update contributors 2021-10-26 15:55:57 +01:00
Joseph Cooper
3b87373b23 Add Result#{throwIf,throwUnless}
Closes #64, #66
2021-10-26 15:54:28 +01:00
Michael Bull
f236e2674b Add Result#orElseThrow 2021-10-26 15:51:56 +01:00
Michael Bull
419927f098 Suppress warning in GetTest 2021-10-26 12:32:01 +01:00
Michael Bull
2fc9ba0d35 Upgrade Dokka to 1.5.31
Now publishes the html docs in the javadoc jar files as recommended by
dokka maintainers.

See: https://github.com/Kotlin/dokka/issues/1753
2021-10-26 12:31:27 +01:00
Michael Bull
98c8eaead3 Update Gradle to 7.2 2021-10-26 11:44:33 +01:00
Joseph Cooper
4e1bb9d8de Replace usages of useExperimentalAnnotation
Fix warnings on kotlin-result/build.gradle.kts and
kotlin-result-coroutines/build.gradle.kts caused by using deprecated
useExperimentalAnnotation function.
2021-10-12 08:32:42 +01:00
pablisco
b8d4109eee Update Kotlin to v1.5.31 2021-09-30 13:20:52 +01:00
pablisco
9a49fc096f Update kotlinx.benchmark dependencies 2021-09-30 13:17:53 +01:00