Commit Graph

333 Commits

Author SHA1 Message Date
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
Michael Bull
754aa5aaa4 Fix typo in recoverUnless kdoc 2021-02-07 13:32:51 +00:00
Michael Bull
71eb67653e Update copyright year in LICENSE 2021-01-31 13:38:26 +00:00
Michael Bull
2236b41cc6 Fix typo in README 2021-01-30 22:38:09 +00:00
Michael Bull
f6df46ec5e Rename section in README 2021-01-30 22:31:32 +00:00
Michael Bull
0dcc1f0e8d Add "Read More" section to README 2021-01-30 22:26:15 +00:00
Michael Bull
3f569568a8 Replace usage of deprecated mainClassName in example gradle file 2021-01-30 21:48:07 +00:00
Michael Bull
d2a08230ce Bump version 2021-01-30 18:37:45 +00:00
Michael Bull
f26ac88f15 Release v1.1.10 2021-01-30 18:22:24 +00:00
Michael Bull
e56e6f6b33 Downgrade dokka
The latest version does not support multi-platform projects.
2021-01-30 17:23:22 +00:00
Michael Bull
89c1b8a6fb Configure publish job to only run on push events 2021-01-30 17:08:00 +00:00
Michael Bull
3b75ebd6e4 Merge ci & publish workflows 2021-01-30 17:00:12 +00:00
Michael Bull
6bce98aa2b Add publish GitHub action 2021-01-30 16:48:05 +00:00
Michael Bull
e13334a034 Update contributor list in POM 2021-01-30 16:43:04 +00:00