Commit Graph

377 Commits

Author SHA1 Message Date
Michael Bull 89ed2955ba Release v1.1.20 2024-03-03 15:52:20 +00:00
Michael Bull a522fbd3e7 Update copyright year in LICENSE 2024-03-03 15:51:50 +00:00
Michael Bull da96ceef8e Add more build targets for coroutines extensions
kotlinx-coroutines has since started publishing more native build
targets since we first became multiplatform. This commit ensures we also
build native targets for the platforms that were previously missing,
namely:

- androidNativeArm32
- androidNativeArm64
- androidNativeX64
- androidNativeX86
- linuxArm64
- wasmJs

This ensures that we are now supporting all three tiers of Kotlin/Native
target support.

See: https://kotlinlang.org/docs/native-target-support.html
2024-03-03 15:24:15 +00:00
Michael Bull a4fe9f6fa8 Set env vars only on publish step 2024-03-03 14:51:03 +00:00
Michael Bull 8893187a3a Pin GitHub actions by commit hash
See: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions
2024-03-03 14:49:28 +00:00
Michael Bull ebf7eedb14 Add names to workflow jobs 2024-03-03 14:24:20 +00:00
Michael Bull c3d28ed771 Simplify configuration of KotlinNpmInstallTask 2024-03-03 14:24:20 +00:00
Michael Bull 76a69a50e8 Merge GitHub workflows 2024-03-03 06:16:38 +00:00
Michael Bull 9f93f45541 Fix build url in Maven POM 2024-03-03 01:56:55 +00:00
Michael Bull bbf1c5d08c Fix workflow badge in README 2024-03-03 01:44:28 +00:00
Michael Bull 34cb35ffd5 Use import in build.gradle.kts 2024-03-03 01:42:25 +00:00
Michael Bull f19b0a9b11 Bump version 2024-03-03 01:41:42 +00:00
Michael Bull 779479b2d9 Release v1.1.19 2024-03-03 01:22:43 +00:00
Michael Bull 546abbfb96 Fix missing url in maven POM 2024-03-03 01:22:43 +00:00
Michael Bull 67990a3b0b Stop running build workflow twice on push to master
The deploy workflow depends on the build one, so it is already
responsible for running it via workflow_call.
2024-03-03 00:17:47 +00:00
Michael Bull a90c0fc92e Update github actions 2024-03-03 00:16:33 +00:00
Michael Bull 88e31cd1ac Extract shared build logic to convention plugins
See: https://docs.gradle.org/current/userguide/sharing_build_logic_between_subprojects.html#sec:convention_plugins
2024-03-03 00:02:54 +00:00
Michael Bull bae2d88e3d Adopt dependencyResolutionManagement in settings.gradle 2024-03-02 21:37:21 +00:00
Michael Bull fca4ec6cab Merge tasks into single runner in workflows 2024-03-02 21:33:27 +00:00
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