Commit Graph

346 Commits

Author SHA1 Message Date
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
Tristan 07b4d61d3f resolve flaky jvm multi threaded coroutine tests
By switching to using the jvm only (hopefully by 1.6 in common) coroutine test lib we can swap to using a fake dispatcher instead of defining threads which should resolve any odd timing issues.
2021-08-13 22:57:27 +01:00
Michael Bull 08cf52bfd4 Bump version 2021-06-12 16:40:42 +01:00
Michael Bull 4e1205e503 Release v1.1.12 2021-06-12 16:38:57 +01:00
Michael Bull e6e919d1f4 Update contributor list 2021-06-12 16:10:41 +01:00
Jordan Bergin d64837f2f8 Update Kotlin to 1.5.10 2021-06-12 16:10:41 +01:00
Mathias Guelton 32b1a9edb6 Fix typo in mapOr KDoc 2021-06-12 15:46:05 +01:00
Tristan Hamilton f2bd9aaa11 Correctly cancel child jobs in suspending variant of binding
Closes #46
2021-05-05 14:31:34 +01:00
Michael Bull a5c153477b Reformat runBlockingTest implementations 2021-05-05 14:05:18 +01:00
Michael Bull eb7d0461d1 Update ktor in example project to 1.5.4 2021-05-05 13:46:04 +01:00
Michael Bull 47f13a0d0f Update dependencies 2021-03-29 20:03:30 +01:00
Michael Bull 3d89a2cfb4 Update Gradle to 6.8.3 2021-03-29 20:00:36 +01:00
Michael Bull c8d300fd8d Update contributor list 2021-03-29 19:58:23 +01:00
gsteckman 77942019c2 Set JS compiler to BOTH
See https://kotlinlang.org/docs/js-ir-compiler.html#authoring-libraries-for-the-ir-compiler-with-backwards-compatibility
2021-03-29 18:50:27 +01:00
Avently c4c70b4d98 Add Linux, Windows and MacOS targets 2021-03-29 18:41:20 +01:00
Michael Bull 52bc1a5c0f Bump version 2021-02-11 12:12:36 +00:00
Michael Bull 4c86dd2dab Release v1.1.11 2021-02-11 11:53:02 +00:00
Michael Bull e1fd6387e5 Add SuspendBindingBenchmark
Closes #27
2021-02-10 23:35:44 +00:00
Michael Bull b2505667d1 Run check on Ubuntu & iosX64Test on macOS 2021-02-10 22:54:59 +00:00
Michael Bull 94bccacb2d Improve wording in README 2021-02-10 22:34:44 +00:00
Tristan Hamilton 0df4c62d4f Move benchmarks to separate subproject 2021-02-10 22:07:29 +00:00
Michael Bull d9662cc8e7 Update Kotlin to 1.4.30 2021-02-10 22:03:36 +00:00
Tristan Hamilton ccb9c5b3aa Add iOS build targets 2021-02-10 15:45:16 +00:00