Commit Graph

408 Commits

Author SHA1 Message Date
Michael Bull
350ef94e5d Run deploy workflow on every push to master 2024-03-02 19:49:01 +00:00
Michael Bull
a73b69a54a Remove kotlin-js-store from gitignore
The official docs[1] recommend comitting the kotlin-js-store directory
and its contents to ensure the application is being built with the same
dependency tree on all machines.

[1] https://kotlinlang.org/docs/js-project-setup.html#version-locking-via-kotlin-js-store
2024-03-02 19:25:12 +00:00
Michael Bull
402999a1da Refactor Gradle workflows
Uses the actions found in the Kotlin mpp template gallery[1].

[1] https://kmp.jetbrains.com/#templateGallery
2024-03-02 19:18:07 +00:00
Michael Bull
d3d0381d2c Restrict CI workflow permissions to readonly contents 2024-03-02 18:13:29 +00:00
Michael Bull
13dfdae6ab Only run CI workflow on master branch 2024-03-02 18:13:29 +00:00
Michael Bull
3f1dc0a2c7 Fix yaml indentation in editorconfig 2024-03-02 18:13:29 +00:00
Michael Bull
1102e5c932 Fix link in README 2024-03-02 17:13:29 +00:00
Michael Bull
0eaf919c4c Update dependencies 2024-03-02 17:12:26 +00:00
Michael Bull
1b24e1f718 Update README 2024-03-02 17:10:53 +00:00
Michael Bull
5ded43d3b4 Add flatten
Converts from Result<Result<V, E>, E> to Result<V, E>

See: https://doc.rust-lang.org/std/result/enum.Result.html#method.flatten
2024-03-02 16:51:45 +00:00
Michael Bull
73a71154e9 Add Rust reference comments for on{Success,Failure} 2024-03-02 16:39:14 +00:00
Michael Bull
05d50b7fec Facilitate mapping to arbitrary types in and/or functions
Closes #95
2024-03-02 16:36:56 +00:00
Michael Bull
6c155362dc Update Gradle to 8.6 2024-02-06 13:34:52 +00:00
Michael Bull
d0af071d33 Update dependencies 2024-02-06 13:31:17 +00:00
Michael Bull
54b53d36e6 Extract recover functions to separate file 2024-02-06 13:29:05 +00:00
Michael Bull
325cebc8f3 Update contributors 2024-02-06 13:23:31 +00:00
Dmitry Bock
d4414b1a08 Add andThen{Recover,RecoverIf,RecoverUnless} 2024-02-06 11:40:46 +00:00
Michael Bull
05a1e91298 Update Kotlin to 1.9.20
Adopts the new default project template[1] and removed mpp targets[2].

[1] https://kotlinlang.org/docs/whatsnew1920.html#template-for-configuring-multiplatform-projects
[2] https://kotlinlang.org/docs/whatsnew1920.html#change-to-our-target-tiers-policy

See: https://kotl.in/native-targets-tiers
2024-01-23 13:14:37 +00:00
Michael Bull
008cfabc78 Update Gradle to 8.4 2023-11-28 14:23:25 +00:00
Michael Bull
97ffb430f8 Update contributors 2023-11-28 14:18:17 +00:00
YuitoSato
27f0a63847 Add zipOrAccumulate
Closes #89, closes #90
2023-11-28 14:09:54 +00:00
Peter Cunderlik
e81f581436 Document the order of output lists in Iterable.kt
Closes #91
2023-10-11 15:14:18 +01:00
Michael Bull
96ce1c18d9 Simplify EditorConfig 2023-07-20 19:30:56 +01:00
Michael Bull
9c8b8b3996 Bump version 2023-05-23 10:13:38 +01:00
Michael Bull
346fa78865 Release version v1.1.18 2023-05-23 10:12:25 +01:00
Kirill Zhukov
d7dbf35bcf Improve type constraint on toErrorIfNull
Closes #84 and closes #86
2023-05-23 10:09:20 +01:00
Michael Bull
ebe8f33a1b Update copyright year in LICENSE 2023-04-03 14:55:57 +01:00
Michael Bull
2e2739419b Update README 2023-04-03 14:48:07 +01:00
Michael Bull
89e1e63096 Bump version 2023-04-03 14:09:55 +01:00
Michael Bull
faf2ce19cb Release v1.1.17 2023-04-03 14:07:25 +01:00
Michael Bull
fd2160c7a6 Add toErrorIfNull & toErrorUnlessNull
Closes #84
2023-04-03 14:05:36 +01:00
Michael Bull
c6aeb9619f Configure toolchain download repository
https://docs.gradle.org/current/userguide/toolchains.html#sub:download_repositories
2023-04-03 13:14:23 +01:00
Michael Bull
6e1c4dd5f1 Update dependencies 2023-04-03 12:36:11 +01:00
Michael Bull
c1c5036991 Disable compatibility with non-hierarchical multiplatform projects
See: https://github.com/michaelbull/kotlin-result/issues/71#issuecomment-1138645759
2023-04-03 12:27:25 +01:00
Michael Bull
8229a29f62 Update Gradle to 8.0.2 2023-04-03 12:16:37 +01:00
Matthias Geisler
41fff9eb9c Migrate to Gradle version catalog
Closes #83
2023-04-03 11:46:53 +01:00
Michael Bull
ce6131be3d Update dependencies 2023-02-07 15:51:36 +00:00
Michael Bull
cc3b3cea05 Migrate to IR-based JavaScript compiler
The build fails when adopting Kotlin 1.8 otherwise.
2023-02-07 15:48:13 +00:00
Michael Bull
3a4d3be364 Update Gradle to 7.6 2023-02-07 15:41:01 +00:00
Matthew Nelson
bdd29833a7 Use api in lieu of implementation
Closes #82
2023-02-07 15:34:01 +00:00
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