Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Resource.allocated() to decompose Resource into it's allocate and… #2820

Merged
merged 12 commits into from Sep 14, 2022

Conversation

custommonkey
Copy link
Contributor

… release

Decomposes a [Resource] into a Pair<suspend () -> A, suspend (A, ExitCase) -> Unit>, containing the allocation and release functions which make up the [Resource].

This can be used to integrate Resources with code which cannot be run within the [use] function.

… release

Decomposes a [Resource]<A> into a Pair<suspend () -> A, suspend (A, ExitCase) -> Unit>, containing the allocation and release functions which make up the [Resource].

This can be used to integrate Resources with code which cannot be run within the [use] function.
@nomisRev
Copy link
Member

nomisRev commented Sep 8, 2022

Hey @custommonkey!

Thanks for this contribution, this is great! 😍 I've implemented this operator some time ago, and I am using it in 2 separate projects already but was not able to port it here yet 😅 (Kotest, and low-level Arrow Fx Utility). What is your use-case for adding this operator?

This is a very delicate/low-level API, and I am thinking we should follow the same pattern as KotlinX Coroutines to "protect" it. @DelicateCoroutineApi.

WDYT @custommonkey? cc\ @i-walker @raulraja.


allocate() shouldBe seed

release(1, ExitCase.Completed)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're only testing the happy path with ExitCase.Completed, we should also test ExitCase.Failed and ExitCase.Cancelled code branches.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the tests to call release with each of the three exist cases, although I'm not sure that I'm really testing the error path effectively.

Copy link
Member

@nomisRev nomisRev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of nits, but in general looks great! Very nice work @custommonkey for your first-contribution 🙌 🥳

@nomisRev
Copy link
Member

nomisRev commented Sep 8, 2022

I see CI failed over the Binary API Validator. For some reason the CI task to automatically update this doesn't work for forks :/
To fix this you should run ./gradlew apiDump and push the changes ;)

@custommonkey
Copy link
Contributor Author

Thanks for the great feedback.

The use case I have in mind is kotest integration, we've been using Resource for testing in scala for a couple of years, so very nice to see you've already been looking at this space.

@nomisRev
Copy link
Member

nomisRev commented Sep 8, 2022

Btw @custommonkey, if you have experience with Resource in Scala you might find this PR interesting. #2786

If you have any feedback I'd love to hear it 🙏 Feel free to comment on the closed PR, here or create a ticket requesting functionality for Arrow 2.0. A lot of Arrow users/maintainers also hang around in the KotlinLang #arrow channel, if you're looking for a place to chat about Arrow ;)

@custommonkey custommonkey marked this pull request as ready for review September 9, 2022 13:23
Copy link
Member

@nomisRev nomisRev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me!
This could even be used to write a @JUnitRule for Arrow's Resource 🥳

Copy link
Member

@i-walker i-walker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A small nit other than that it looks really great thanks @custommonkey !

Copy link
Member

@i-walker i-walker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @custommonkey for your contribution !! 🙌🏾

@nomisRev nomisRev merged commit e5f42ec into arrow-kt:main Sep 14, 2022
nomisRev added a commit that referenced this pull request Oct 5, 2022
* Add Resource.allocated() to decompose Resource into it's allocate and… (#2820)
* [2743] Migrate internal use of CircuitBreaker double to duration (#2748)
* Fix typo (#2824)
* Make the server disconnect test more general (#2822)
* Update NonEmptyList.fromList deprecation to suggest `toOption()` instead (#2832)
* Improve Either.getOrHandle() docs (#2833)
* Improve allocated, and fix knit examples
Co-authored-by: Jeff Martin <jeff@custommonkey.org>
Co-authored-by: Martin Moore <martinmoorej@gmail.com>
Co-authored-by: valery1707 <valery1707@gmail.com>
Co-authored-by: Lukasz Kalnik <70261110+lukasz-kalnik-gcx@users.noreply.github.com>
Co-authored-by: stylianosgakis <stylianos.gakis98@gmail.com>
sgammon added a commit to elide-dev/elide that referenced this pull request Jan 15, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [io.arrow-kt:arrow-fx-coroutines](https://togithub.com/arrow-kt/arrow)
| `1.0.1` -> `1.1.3` |
[![age](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-fx-coroutines/1.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-fx-coroutines/1.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-fx-coroutines/1.1.3/compatibility-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-fx-coroutines/1.1.3/confidence-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
|
[io.arrow-kt:arrow-optics-ksp-plugin](https://togithub.com/arrow-kt/arrow)
| `1.0.1` -> `1.1.3` |
[![age](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-optics-ksp-plugin/1.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-optics-ksp-plugin/1.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-optics-ksp-plugin/1.1.3/compatibility-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-optics-ksp-plugin/1.1.3/confidence-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
| [io.arrow-kt:arrow-optics](https://togithub.com/arrow-kt/arrow) |
`1.0.1` -> `1.1.3` |
[![age](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-optics/1.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-optics/1.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-optics/1.1.3/compatibility-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-optics/1.1.3/confidence-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
| [io.arrow-kt:arrow-core](https://togithub.com/arrow-kt/arrow) |
`1.0.1` -> `1.1.3` |
[![age](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-core/1.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-core/1.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-core/1.1.3/compatibility-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-core/1.1.3/confidence-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
| [io.arrow-kt:arrow-stack](https://togithub.com/arrow-kt/arrow) |
`1.0.1` -> `1.1.3` |
[![age](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-stack/1.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-stack/1.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-stack/1.1.3/compatibility-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/maven/io.arrow-kt:arrow-stack/1.1.3/confidence-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>arrow-kt/arrow</summary>

### [`v1.1.3`](https://togithub.com/arrow-kt/arrow/releases/tag/1.1.3)

[Compare
Source](https://togithub.com/arrow-kt/arrow/compare/1.1.2...1.1.3)

#### What's Changed

- Fix license url by [@&#8203;i-walker](https://togithub.com/i-walker)
in
[arrow-kt/arrow#2712
- Add new workflow for publishing the landing page by
[@&#8203;franciscodr](https://togithub.com/franciscodr) in
[arrow-kt/arrow#2716
- Fix publish sync by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
in
[arrow-kt/arrow#2717
- invert resource release order by
[@&#8203;tKe](https://togithub.com/tKe) in
[arrow-kt/arrow#2714
- Fix traversal code samples of docs by
[@&#8203;b-schwab](https://togithub.com/b-schwab) in
[arrow-kt/arrow#2719
- Adding kotlin-js-store folder by
[@&#8203;franciscodr](https://togithub.com/franciscodr) in
[arrow-kt/arrow#2724
- rename traverseX and sequenceX functions in core by
[@&#8203;i-walker](https://togithub.com/i-walker) in
[arrow-kt/arrow#2715
- feat: contravariance for R, A in Effect, EagerEffect and `in` for
\*EffectScope by [@&#8203;i-walker](https://togithub.com/i-walker) in
[arrow-kt/arrow#2722
- deprecate flatMap and map in EagerEffect by
[@&#8203;i-walker](https://togithub.com/i-walker) in
[arrow-kt/arrow#2726
- add Continuations and programs to overview section in arrow core by
[@&#8203;i-walker](https://togithub.com/i-walker) in
[arrow-kt/arrow#2723
- Update all dependencies by
[@&#8203;renovate](https://togithub.com/renovate) in
[arrow-kt/arrow#2709
- revert java setup by [@&#8203;i-walker](https://togithub.com/i-walker)
in
[arrow-kt/arrow#2730
- Add command to install bundler by
[@&#8203;franciscodr](https://togithub.com/franciscodr) in
[arrow-kt/arrow#2729
- Improve Nel constructor by
[@&#8203;nomisRev](https://togithub.com/nomisRev) in
[arrow-kt/arrow#2728
- improve generate-tag workflow by
[@&#8203;i-walker](https://togithub.com/i-walker) in
[arrow-kt/arrow#2731
- revert arrow-gradle-config to 0.10.1 by
[@&#8203;i-walker](https://togithub.com/i-walker) in
[arrow-kt/arrow#2738
- Rename duplicated test by [@&#8203;wojda](https://togithub.com/wojda)
in
[arrow-kt/arrow#2740
- Fix some compilation and test warnings by
[@&#8203;wojda](https://togithub.com/wojda) in
[arrow-kt/arrow#2741
- Convert Arrow core effect into a non-inline function by
[@&#8203;franciscodr](https://togithub.com/franciscodr) in
[arrow-kt/arrow#2734
- add merge to validated by
[@&#8203;agusotto96](https://togithub.com/agusotto96) in
[arrow-kt/arrow#2739
- Fix compilation warnings by replacing usages of deprecated methods by
[@&#8203;wojda](https://togithub.com/wojda) in
[arrow-kt/arrow#2742
- Bump versions by [@&#8203;nomisRev](https://togithub.com/nomisRev) in
[arrow-kt/arrow#2745
- Add `kotlin.mpp.enableCompatibilityMetadataVariant=true` by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
in
[arrow-kt/arrow#2747
- fix alpha tag build task by
[@&#8203;i-walker](https://togithub.com/i-walker) in
[arrow-kt/arrow#2749
- Fix build, inject kotlin.mpp.enableCompatibilityMetadataVariant in CI
by [@&#8203;nomisRev](https://togithub.com/nomisRev) in
[arrow-kt/arrow#2751
- add merge function for \*Effect by
[@&#8203;i-walker](https://togithub.com/i-walker) in
[arrow-kt/arrow#2752
- Small docs fix for widen function by
[@&#8203;lenguyenthanh](https://togithub.com/lenguyenthanh) in
[arrow-kt/arrow#2754
- max and min methods for NonEmptyList by
[@&#8203;dorians](https://togithub.com/dorians) in
[arrow-kt/arrow#2622
- Deprecate arrow test modules by
[@&#8203;i-walker](https://togithub.com/i-walker) in
[arrow-kt/arrow#2753
- Update kotlin-js-store/yarn.lock by
[@&#8203;serras](https://togithub.com/serras) in
[arrow-kt/arrow#2756
- Update all dependencies except the compiler version by
[@&#8203;serras](https://togithub.com/serras) in
[arrow-kt/arrow#2757
- Resource deprecate traverseResource, fixes arity-4 by
[@&#8203;nomisRev](https://togithub.com/nomisRev) in
[arrow-kt/arrow#2750
- Fix [#&#8203;2764](https://togithub.com/arrow-kt/arrow/issues/2764) &
[#&#8203;2760](https://togithub.com/arrow-kt/arrow/issues/2760) by
[@&#8203;nomisRev](https://togithub.com/nomisRev) in
[arrow-kt/arrow#2765
- \[2761] Add explicit visibility modifier for all the generated optics
by [@&#8203;aangairbender](https://togithub.com/aangairbender) in
[arrow-kt/arrow#2763
- catch for EffectScope by [@&#8203;serras](https://togithub.com/serras)
in
[arrow-kt/arrow#2746
- Refine the Arrow version selector by
[@&#8203;franciscodr](https://togithub.com/franciscodr) in
[arrow-kt/arrow#2770
- update gradle wrapper by
[@&#8203;i-walker](https://togithub.com/i-walker) in
[arrow-kt/arrow#2771
- Consent management osano by
[@&#8203;israelperezglez](https://togithub.com/israelperezglez) in
[arrow-kt/arrow#2755
- Add ruby setup for publication task by
[@&#8203;i-walker](https://togithub.com/i-walker) in
[arrow-kt/arrow#2774
- fix ruby set up by [@&#8203;i-walker](https://togithub.com/i-walker)
in
[arrow-kt/arrow#2775
- Fix [#&#8203;2779](https://togithub.com/arrow-kt/arrow/issues/2779) by
[@&#8203;nomisRev](https://togithub.com/nomisRev) in
[arrow-kt/arrow#2783
- deprecate orNull Either extension function by
[@&#8203;i-walker](https://togithub.com/i-walker) in
[arrow-kt/arrow#2773
- Support generics and inner classes in `@optics` by
[@&#8203;serras](https://togithub.com/serras) in
[arrow-kt/arrow#2776
- Generalized copy for optics by
[@&#8203;serras](https://togithub.com/serras) in
[arrow-kt/arrow#2777
- Fix usage of startCoroutineUninterceptedOrReturn by
[@&#8203;nomisRev](https://togithub.com/nomisRev) in
[arrow-kt/arrow#2789
- Fix example in documentation by
[@&#8203;obecker](https://togithub.com/obecker) in
[arrow-kt/arrow#2790
- Backport flattening token/shift into Cont by
[@&#8203;nomisRev](https://togithub.com/nomisRev) in
[arrow-kt/arrow#2791
- Enable builder inference for optics `copy` by
[@&#8203;serras](https://togithub.com/serras) in
[arrow-kt/arrow#2792
- Update API compatibility validator version by
[@&#8203;serras](https://togithub.com/serras) in
[arrow-kt/arrow#2794
- \[BUGFIX] Result.zip by
[@&#8203;nomisRev](https://togithub.com/nomisRev) in
[arrow-kt/arrow#2804
- Update docs from version 1.0.1 to 1.1.2 by
[@&#8203;Dobiasd](https://togithub.com/Dobiasd) in
[arrow-kt/arrow#2808
- add separateEither and separateValidated test by
[@&#8203;hoc081098](https://togithub.com/hoc081098) in
[arrow-kt/arrow#2814
- Refactor -
[#&#8203;2812](https://togithub.com/arrow-kt/arrow/issues/2812) iterable
separate performance by [@&#8203;Khepu](https://togithub.com/Khepu) in
[arrow-kt/arrow#2815
- Add Resource.allocated() to decompose Resource into it's allocate and…
by [@&#8203;custommonkey](https://togithub.com/custommonkey) in
[arrow-kt/arrow#2820

#### New Contributors

- [@&#8203;tKe](https://togithub.com/tKe) made their first contribution
in
[arrow-kt/arrow#2714
- [@&#8203;b-schwab](https://togithub.com/b-schwab) made their first
contribution in
[arrow-kt/arrow#2719
- [@&#8203;wojda](https://togithub.com/wojda) made their first
contribution in
[arrow-kt/arrow#2740
- [@&#8203;agusotto96](https://togithub.com/agusotto96) made their first
contribution in
[arrow-kt/arrow#2739
- [@&#8203;dorians](https://togithub.com/dorians) made their first
contribution in
[arrow-kt/arrow#2622
- [@&#8203;aangairbender](https://togithub.com/aangairbender) made their
first contribution in
[arrow-kt/arrow#2763
- [@&#8203;obecker](https://togithub.com/obecker) made their first
contribution in
[arrow-kt/arrow#2790
- [@&#8203;Dobiasd](https://togithub.com/Dobiasd) made their first
contribution in
[arrow-kt/arrow#2808
- [@&#8203;hoc081098](https://togithub.com/hoc081098) made their first
contribution in
[arrow-kt/arrow#2814
- [@&#8203;Khepu](https://togithub.com/Khepu) made their first
contribution in
[arrow-kt/arrow#2815
- [@&#8203;custommonkey](https://togithub.com/custommonkey) made their
first contribution in
[arrow-kt/arrow#2820

**Full Changelog**:
arrow-kt/arrow@1.1.2...1.1.3

### [`v1.1.2`](https://togithub.com/arrow-kt/arrow/releases/tag/1.1.2)

[Compare
Source](https://togithub.com/arrow-kt/arrow/compare/1.1.0...1.1.2)

#### What's Changed

- Update all dependencies to v1.6.21-1.0.5
([#&#8203;2708](https://togithub.com/arrow-kt/arrow/issues/2708)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)

**Full Changelog**:
arrow-kt/arrow@1.1.0...1.1.2

### [`v1.1.0`](https://togithub.com/arrow-kt/arrow/releases/tag/1.1.0)

[Compare
Source](https://togithub.com/arrow-kt/arrow/compare/1.0.1...1.1.0)

#### What's Changed

- Define Dsl as public
([#&#8203;2706](https://togithub.com/arrow-kt/arrow/issues/2706)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Update all dependencies
([#&#8203;2705](https://togithub.com/arrow-kt/arrow/issues/2705)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Update link to Arrow Analysis documentation
([#&#8203;2701](https://togithub.com/arrow-kt/arrow/issues/2701)) by
[@&#8203;franciscodr](https://togithub.com/franciscodr)
- Update all dependencies
([#&#8203;2703](https://togithub.com/arrow-kt/arrow/issues/2703)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Update plugin dokka to v1.6.20
([#&#8203;2702](https://togithub.com/arrow-kt/arrow/issues/2702)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Update stefanzweifel/git-auto-commit-action action to v4.14.1
([#&#8203;2700](https://togithub.com/arrow-kt/arrow/issues/2700)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Update all dependencies
([#&#8203;2699](https://togithub.com/arrow-kt/arrow/issues/2699)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Update all dependencies
([#&#8203;2696](https://togithub.com/arrow-kt/arrow/issues/2696)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Update
([#&#8203;2698](https://togithub.com/arrow-kt/arrow/issues/2698)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Update libs.versions.toml
([#&#8203;2697](https://togithub.com/arrow-kt/arrow/issues/2697)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Fix Either#isNotEmpty()'s KDoc sample
([#&#8203;2694](https://togithub.com/arrow-kt/arrow/issues/2694)) by
[@&#8203;ChristianGarcia](https://togithub.com/ChristianGarcia)
- Update gradle/gradle-build-action action to v2.1.5
([#&#8203;2695](https://togithub.com/arrow-kt/arrow/issues/2695)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Update all dependencies
([#&#8203;2665](https://togithub.com/arrow-kt/arrow/issues/2665)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Rename traverseX and sequenceX for Iterable
([#&#8203;2692](https://togithub.com/arrow-kt/arrow/issues/2692)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Rename Sequence sequenceX, traverseX and deprecate Sequence.some
([#&#8203;2686](https://togithub.com/arrow-kt/arrow/issues/2686)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Deprecate combineAll in favour of fold
([#&#8203;2687](https://togithub.com/arrow-kt/arrow/issues/2687)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- rm snapshot and update Kotlin label
([#&#8203;2690](https://togithub.com/arrow-kt/arrow/issues/2690)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Resource tap deprecation
([#&#8203;2684](https://togithub.com/arrow-kt/arrow/issues/2684)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Update Set up Documentation
([#&#8203;2685](https://togithub.com/arrow-kt/arrow/issues/2685)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Fix TOC
([#&#8203;2688](https://togithub.com/arrow-kt/arrow/issues/2688)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Generate optics based on targets or all
([#&#8203;2683](https://togithub.com/arrow-kt/arrow/issues/2683)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Schedule.repeatAsFlow
([#&#8203;2676](https://togithub.com/arrow-kt/arrow/issues/2676)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- File name generation fix
([#&#8203;2681](https://togithub.com/arrow-kt/arrow/issues/2681)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Update all dependencies (major)
([#&#8203;2673](https://togithub.com/arrow-kt/arrow/issues/2673)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- fix imports for ksp plugin
([#&#8203;2678](https://togithub.com/arrow-kt/arrow/issues/2678)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- add Nullable proposal
([#&#8203;2675](https://togithub.com/arrow-kt/arrow/issues/2675)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Resource.asFlow
([#&#8203;2677](https://togithub.com/arrow-kt/arrow/issues/2677)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- remove design doc of Effect
([#&#8203;2674](https://togithub.com/arrow-kt/arrow/issues/2674)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Fix typos reorg resource computation block
([#&#8203;2671](https://togithub.com/arrow-kt/arrow/issues/2671)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- deprecate signatures in computations and add Result for continuations
([#&#8203;2669](https://togithub.com/arrow-kt/arrow/issues/2669)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Fix bug in the transaction example
([#&#8203;2667](https://togithub.com/arrow-kt/arrow/issues/2667)) by
[@&#8203;SaberCon](https://togithub.com/SaberCon)
- deprecate arrow.continuation
([#&#8203;2672](https://togithub.com/arrow-kt/arrow/issues/2672)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- fix sitemap titles
([#&#8203;2670](https://togithub.com/arrow-kt/arrow/issues/2670)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Transfer Cont from [@&#8203;nomisrev](https://togithub.com/nomisrev)
to arrow
([#&#8203;2661](https://togithub.com/arrow-kt/arrow/issues/2661)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Non throwing Retrofit Either adapter
([#&#8203;2621](https://togithub.com/arrow-kt/arrow/issues/2621)) by
[@&#8203;lukaszkalnik](https://togithub.com/lukaszkalnik)
- Retrofit adapter: allow null response body for methods returning Unit
([#&#8203;2625](https://togithub.com/arrow-kt/arrow/issues/2625)) by
[@&#8203;lukaszkalnik](https://togithub.com/lukaszkalnik)
- Fix broken build main Optics Reflect
([#&#8203;2666](https://togithub.com/arrow-kt/arrow/issues/2666)) by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Update documentation links in README
([#&#8203;2664](https://togithub.com/arrow-kt/arrow/issues/2664)) by
[@&#8203;fo2rist](https://togithub.com/fo2rist)
- Optics based on kotlin.reflect
([#&#8203;2612](https://togithub.com/arrow-kt/arrow/issues/2612)) by
[@&#8203;serras](https://togithub.com/serras)
- \[Optics] Optional getter
([#&#8203;2611](https://togithub.com/arrow-kt/arrow/issues/2611)) by
[@&#8203;serras](https://togithub.com/serras)
- Update all dependencies
([#&#8203;2663](https://togithub.com/arrow-kt/arrow/issues/2663)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Fix link to /patterns/error_handling/
([#&#8203;2627](https://togithub.com/arrow-kt/arrow/issues/2627)) by
[@&#8203;IlyaPomaskin](https://togithub.com/IlyaPomaskin)
- Update all dependencies
([#&#8203;2659](https://togithub.com/arrow-kt/arrow/issues/2659)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Update gradle/gradle-build-action action to v2.1.1
([#&#8203;2653](https://togithub.com/arrow-kt/arrow/issues/2653)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- \[Optics KSP] Update docs to talk about IDEs
([#&#8203;2655](https://togithub.com/arrow-kt/arrow/issues/2655)) by
[@&#8203;serras](https://togithub.com/serras)
- Use first, .. instead of a,..
([#&#8203;2654](https://togithub.com/arrow-kt/arrow/issues/2654)) by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Update README.md
([#&#8203;2631](https://togithub.com/arrow-kt/arrow/issues/2631)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- CU-23dm3ye support maven publication
([#&#8203;2652](https://togithub.com/arrow-kt/arrow/issues/2652)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Update arrow gradle version
([#&#8203;2651](https://togithub.com/arrow-kt/arrow/issues/2651)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Move Arrow Optics KSP to main/test hierarchy
([#&#8203;2649](https://togithub.com/arrow-kt/arrow/issues/2649)) by
[@&#8203;serras](https://togithub.com/serras)
- Update libs.versions.toml
([#&#8203;2648](https://togithub.com/arrow-kt/arrow/issues/2648)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Link Analysis from home page
([#&#8203;2595](https://togithub.com/arrow-kt/arrow/issues/2595)) by
[@&#8203;serras](https://togithub.com/serras)
- Clean up README after gradle upgrade
([#&#8203;2642](https://togithub.com/arrow-kt/arrow/issues/2642)) by
[@&#8203;felixdivo](https://togithub.com/felixdivo)
- Update plugin kotest-multiplatform to v5.1.0
([#&#8203;2645](https://togithub.com/arrow-kt/arrow/issues/2645)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Update libs.versions.toml
([#&#8203;2644](https://togithub.com/arrow-kt/arrow/issues/2644)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Update all dependencies to v5.1.0
([#&#8203;2643](https://togithub.com/arrow-kt/arrow/issues/2643)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- revert ksp plugin to jvm only
([#&#8203;2640](https://togithub.com/arrow-kt/arrow/issues/2640)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- update arrow gradle
([#&#8203;2639](https://togithub.com/arrow-kt/arrow/issues/2639)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Update all dependencies
([#&#8203;2638](https://togithub.com/arrow-kt/arrow/issues/2638)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- fix typo comment of circuitbreaker
([#&#8203;2637](https://togithub.com/arrow-kt/arrow/issues/2637)) by
larryjung
- Fixes a few typos on the Fx docs
([#&#8203;2620](https://togithub.com/arrow-kt/arrow/issues/2620)) by
[@&#8203;legzo](https://togithub.com/legzo)
- Update contributing guide with Knit
([#&#8203;2634](https://togithub.com/arrow-kt/arrow/issues/2634)) by
[@&#8203;lukaszkalnik](https://togithub.com/lukaszkalnik)
- \[Optics] Show error for generic classes in KSP plug-in
([#&#8203;2636](https://togithub.com/arrow-kt/arrow/issues/2636)) by
[@&#8203;serras](https://togithub.com/serras)
- Pass Arrow version to publish_doc job
([#&#8203;2633](https://togithub.com/arrow-kt/arrow/issues/2633)) by
[@&#8203;franciscodr](https://togithub.com/franciscodr)
- Fix 404 error in the Core library documentation
([#&#8203;2623](https://togithub.com/arrow-kt/arrow/issues/2623)) by
[@&#8203;devmarkpro](https://togithub.com/devmarkpro)
- Fix Retrofit adapter test configuration
([#&#8203;2624](https://togithub.com/arrow-kt/arrow/issues/2624)) by
[@&#8203;lukaszkalnik](https://togithub.com/lukaszkalnik)
- Update all dependencies
([#&#8203;2628](https://togithub.com/arrow-kt/arrow/issues/2628)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- run on windows only windows test
([#&#8203;2630](https://togithub.com/arrow-kt/arrow/issues/2630)) by
[@&#8203;i-walker](https://togithub.com/i-walker)
- Update CONTRIBUTING.md with the new build guide
([#&#8203;2600](https://togithub.com/arrow-kt/arrow/issues/2600)) by
[@&#8203;lukaszkalnik](https://togithub.com/lukaszkalnik)
- Bump Arrow Gradle Config to 0.6.1-rc.4 by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- \[Github Action] Run build on all platforms
([#&#8203;2626](https://togithub.com/arrow-kt/arrow/issues/2626)) by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Disable Gradle scan, and Gradle daemon by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Update all dependencies
([#&#8203;2617](https://togithub.com/arrow-kt/arrow/issues/2617)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Disable ksp, and ksp test in Arrow Optics by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Use gradle action everywhere, revery permSize, and add
--full-stacktrace everywhere by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Make KSP plugin a JVM module by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Use gradle action, and add --full-stacktrace by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Bump to arrow gradle config rc3 by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Revert back to ./gradlew by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Fix publish file by [@&#8203;nomisRev](https://togithub.com/nomisRev)
- Use gradle action for publish, and increase timeout time by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Setup Java publish.yml by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Update publish workflow by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Run ./gradlew before get-arrow-version by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Update publish.yml by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Add lib_version
([#&#8203;2616](https://togithub.com/arrow-kt/arrow/issues/2616)) by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Bump Gradle Config to 0.6.1-RC.1
([#&#8203;2615](https://togithub.com/arrow-kt/arrow/issues/2615)) by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Update all dependencies
([#&#8203;2566](https://togithub.com/arrow-kt/arrow/issues/2566)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Disable parallel gradle
([#&#8203;2614](https://togithub.com/arrow-kt/arrow/issues/2614)) by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Fix Gradle an existing connection was forcibly closed by the remote
host ([#&#8203;2610](https://togithub.com/arrow-kt/arrow/issues/2610))
by [@&#8203;nomisRev](https://togithub.com/nomisRev)
- Update publish gradle opts, and remove gradle cache from tag workflows
by [@&#8203;nomisRev](https://togithub.com/nomisRev)
- Remove gradle cache from publish workflow by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Fix Windows env settings in publish workflow
([#&#8203;2609](https://togithub.com/arrow-kt/arrow/issues/2609)) by
[@&#8203;raulraja](https://togithub.com/raulraja)
- Fix `publish` and `pull_request` workflows
([#&#8203;2608](https://togithub.com/arrow-kt/arrow/issues/2608)) by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
- Change Java memory settings by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
- Add Java and Gradle settings for both generate tag workflows by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
- Add `generate-alpha-tag` by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
- Change `tags` regex by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
- Merge remote-tracking branch 'origin/main' into
rr-js-add-versioning-plugin by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
- Re-organize Optics docs
([#&#8203;2583](https://togithub.com/arrow-kt/arrow/issues/2583)) by
[@&#8203;serras](https://togithub.com/serras)
- Fixing documentation workflow
([#&#8203;2594](https://togithub.com/arrow-kt/arrow/issues/2594)) by
[@&#8203;franciscodr](https://togithub.com/franciscodr)
- Upgrade to kotlinx-coroutines 1.6.0
([#&#8203;2606](https://togithub.com/arrow-kt/arrow/issues/2606)) by
[@&#8203;serras](https://togithub.com/serras)
- Job to update the API files
([#&#8203;2605](https://togithub.com/arrow-kt/arrow/issues/2605)) by
[@&#8203;serras](https://togithub.com/serras)
- Rename arrow-optics-ksp to arrow-optics-ksp-plugin
([#&#8203;2604](https://togithub.com/arrow-kt/arrow/issues/2604)) by
[@&#8203;serras](https://togithub.com/serras)
- Remove legacy Meta, bring Optics KSP
([#&#8203;2599](https://togithub.com/arrow-kt/arrow/issues/2599)) by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- docs(Either): describe the `all` method
([#&#8203;2551](https://togithub.com/arrow-kt/arrow/issues/2551)) by
[@&#8203;codymikol](https://togithub.com/codymikol)
- Make sure listHead set works properly
([#&#8203;2589](https://togithub.com/arrow-kt/arrow/issues/2589)) by
[@&#8203;lenguyenthanh](https://togithub.com/lenguyenthanh)
- Code block style
([#&#8203;2596](https://togithub.com/arrow-kt/arrow/issues/2596)) by
[@&#8203;israelperezglez](https://togithub.com/israelperezglez)
- Add `JAVA_OPTS` and `GRADLE_OPTS` to `publish` and `pull_request` by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
- Refactor `publish` and `pull-request` workflows by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
- Fix tag regex in `publish` workflow by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
- Refactor `publish.yml` workflow and add `generate-tag` workflow by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
- Refactor `publish.yml` workflow by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
- Add `vcs.xml` by
[@&#8203;JavierSegoviaCordoba](https://togithub.com/JavierSegoviaCordoba)
- versioning plugin by [@&#8203;raulraja](https://togithub.com/raulraja)
- Remove base directory for gradle.properties file
([#&#8203;2585](https://togithub.com/arrow-kt/arrow/issues/2585)) by
[@&#8203;franciscodr](https://togithub.com/franciscodr)
- Simplify Gradle layout, + KNIT, - ANK and fix site code fences
([#&#8203;2584](https://togithub.com/arrow-kt/arrow/issues/2584)) by
[@&#8203;raulraja](https://togithub.com/raulraja)
- Fix bug cancellation parMap
([#&#8203;2579](https://togithub.com/arrow-kt/arrow/issues/2579)) by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- Resource computation block
([#&#8203;2571](https://togithub.com/arrow-kt/arrow/issues/2571)) by
[@&#8203;nomisRev](https://togithub.com/nomisRev)
- make Semigroup a fun interface
([#&#8203;2569](https://togithub.com/arrow-kt/arrow/issues/2569)) by
[@&#8203;brezinajn](https://togithub.com/brezinajn)
- Update all dependencies (major)
([#&#8203;2567](https://togithub.com/arrow-kt/arrow/issues/2567)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- Configure Renovate
([#&#8203;2533](https://togithub.com/arrow-kt/arrow/issues/2533)) by
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)

#### New Contributors

- [@&#8203;brezinajn](https://togithub.com/brezinajn) made their first
contribution in
[arrow-kt/arrow#2569
- [@&#8203;devmarkpro](https://togithub.com/devmarkpro) made their first
contribution in
[arrow-kt/arrow#2623
- [@&#8203;IlyaPomaskin](https://togithub.com/IlyaPomaskin) made their
first contribution in
[arrow-kt/arrow#2627
- [@&#8203;felixdivo](https://togithub.com/felixdivo) made their first
contribution in
[arrow-kt/arrow#2642
- [@&#8203;fo2rist](https://togithub.com/fo2rist) made their first
contribution in
[arrow-kt/arrow#2664
- [@&#8203;SaberCon](https://togithub.com/SaberCon) made their first
contribution in
[arrow-kt/arrow#2667
- [@&#8203;ChristianGarcia](https://togithub.com/ChristianGarcia) made
their first contribution in
[arrow-kt/arrow#2694

**Full Changelog**:
arrow-kt/arrow@1.0.1...1.1.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/elide-dev/v3).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDIuMCIsInVwZGF0ZWRJblZlciI6IjM0LjEwMi4wIn0=-->
nomisRev added a commit that referenced this pull request Apr 24, 2024
* The beginning of Arrow 2.0

* Resource Arrow 2.0 (#2786)

* Flatten Resource ADT, maintain API

* [Arrow 2.0] Effect without suspending shift (#2797)

* Shift without suspend, inline all the rest
* Add new error handlers signatures
* Make ShiftCancellationException private

* Rename Shift to Raise according to Slack Poll, and add some initial docs (#2827)

* Remove all references to shift from new Arrow 2.0 code (#2834)

* Remove all references to shift from new code

* Update API files

* Fixes merge conflict between main and arrow-2 (#2835)

* Add Resource.allocated() to decompose Resource into it's allocate and… (#2820)
* [2743] Migrate internal use of CircuitBreaker double to duration (#2748)
* Fix typo (#2824)
* Make the server disconnect test more general (#2822)
* Update NonEmptyList.fromList deprecation to suggest `toOption()` instead (#2832)
* Improve Either.getOrHandle() docs (#2833)
* Improve allocated, and fix knit examples
Co-authored-by: Jeff Martin <jeff@custommonkey.org>
Co-authored-by: Martin Moore <martinmoorej@gmail.com>
Co-authored-by: valery1707 <valery1707@gmail.com>
Co-authored-by: Lukasz Kalnik <70261110+lukasz-kalnik-gcx@users.noreply.github.com>
Co-authored-by: stylianosgakis <stylianos.gakis98@gmail.com>

* Add Atomic module, and StateShift (#2817)

* Two small deprecations

* Add Atomic module, and StateShift. Implement ior through StateShift

* Fix build

* Fix atomic knit

* Fix knit attempt #2

* Update API files

* Remove references to shift

* Change return type of raise to Nothing (#2839)

* Change return type of raise to Nothing

Implements #2805

* Update public api with ./gradlew apiDump

* Suppress warnings for unreachable calls to fail in tests

The test is verifying that no code will be executed after a call to
raise, so it's actually testing the very behaviour that the compiler is
warning us about.

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Update API files

* Increase timeout

* Fix compiler bug with nested inline + while + return

* Clean up ExitCase.fromError

* Update API files@

* Feature/remove validated (#2795)

Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>
Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Remove CancellationExceptionNoTrace.kt after merge, and run apiDump

* Add missing runnerJUnit5 for arrow-atomic JVM

* Publish Arrow 2.0.0-SNAPSHOT (#2871)

Co-authored-by: Javier Segovia Córdoba <7463564+JavierSegoviaCordoba@users.noreply.github.com>

* Simplify optics to Traversal/Optional/Lens/Prism (#2873)

* 'mapOrAccumulate' for Raise (#2872)

Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>

* Fix problems with Atomic

* Smaller timeouts

* Remove Tuple10 to Tuple22, Const, Eval, computation blocks, and arrow-continuations (#2784)

* Revert typo

* Fix build

* Fix ParMapJvmTest

* Implement NonEmptyList using value class (#2911)

* Fix merge w.r.t. Saga

* apiDump

* Test other return expression

* change unalign signature (#2972)

see discussion in
#2960 (comment)
#2960 (comment)

---------

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Update after merge main

* Fix :arrow-optics-ksp-plugin:compileKotlin

* Fix Every instances

* Move functions to arrow functions (#3014)

* Bring back `Iso` (#3013)

* Bring back Iso

* API Dump

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update BOM (#3019)

* Fix andThen duplication (#3020)

* Fix Knit

* Fix weird problem with value classes

* Update API docs

* Update publish workflow

Following the instructions in #3090 (comment)

* No closing repo on snapshot

* knit

* Fix optics tests

* Fix after merge

* Refactor ParMapTest from Kotest Plugin to Kotlin-test runtime #3191 (#3221)

Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>
Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Refactor: Use Kotlin-test runtime for arrow-fx-stm tests (#3224)

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Update all Gradle files to mention kotlin.test

* Refactor ParZip2Test from Kotest Plugin to Kotlin-test runtime #3192 (#3222)

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Refactor ParZip3Test from Kotest Plugin to Kotlin-test runtime #3193 (#3223)

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Refactor GuaranteeCaseTest to use kotlin test (#3226)

Closes #3190

* refactor: migrate NotEmptySetTest to kotlin-test (#3230)

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* refactor: migrate EagerEffectSpec to kotlin-test (#3233)

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Refactor NullableSpec from Kotest Plugin to Kotlin-test runtime (#3236)

#3153

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Refactor BracketCaseTest to use kotlin test (#3237)

Closes #3186

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Move arrow-functions tests to kotlin.test (#3243)

* Inline `AtomicBoolean` (#3240)

* Inline AtomicBoolean

* Update API files

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* refactor: migrate MappersSpec to kotlin-test (#3248)

* Refactor ResourceTestJvm from Kotest Plugin to Kotlin-test runtime (#3244)

Closes #3213

* refactor: migrate FlowJvmTest to Kotlin-test (#3228)

* Refactor ParZip9JvmTest from Kotest Plugin to Kotlin-test runtime (#3245)

Closes #3211

* Refactor ParZip8JvmTest from Kotest Plugin to Kotlin-test runtime (#3246)

Closes #3210

* refactor: migrate NumberInstancesTest to kotlin-test (#3232)

* refactor: OptionTest to kotlin-test runtime (#3229)

* Revert "Inline `AtomicBoolean` (#3240)" (#3279)

This reverts commit a6f1e73.

* Refactor ParZip6JvmTest from Kotest Plugin to Kotlin-test runtime (#3255)

Closes #3208

* Refactor ParZip5JvmTest from Kotest Plugin to Kotlin-test runtime (#3256)

Closes #3207

* Refactor ParZip3JvmTest from Kotest Plugin to Kotlin-test runtime (#3258)

Closes #3205

* Refactor ParZip2JvmTest from Kotest Plugin to Kotlin-test runtime (#3259)

Closes #3204

* Refactor ParMapJvmTest from Kotest Plugin to Kotlin-test runtime (#3260)

Closes #3203

* Refactor ParZip4JvmTest from Kotest Plugin to Kotlin-test runtime (#3257)

Closes #3206

* refactor: migrate RaiseAccumulateSpec to kotlin-test (#3250)

* Refactor ParZip7JvmTest from Kotest Plugin to Kotlin-test runtime (#3247)

Closes #3209

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Update ComparisonKtTest.kt (#3274)

Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>

* Update OptionSpec.kt (#3271)

Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>

* Update TraceJvmSpec.kt (#3276)

* Update TraceJvmSpec.kt

* Update TraceJvmSpec.kt

---------

Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>

* Update ParZip9Test.kt (#3265)

* Update ParZip9Test.kt

* Update ParZip9Test.kt

* Update ParZip8Test.kt (#3266)

* Update ParZip7Test.kt (#3267)

* Update ParZip6Test.kt (#3268)

* Update ParZip5Test.kt (#3269)

* Update ParZip4Test.kt (#3270)

* Refactor CountDownLatchSpec and CyclicBarrierSpec to use kotlin test (#3227)

* Refactor CountDownLatchSpec to use kotlin test

Closes #3187

* Refactor CyclicBarrierSpec to use kotlin test

Closes #3188

---------

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Refactor NonEmptyListTest to kotlin-test (#3231)

* Add kotlin test dependency

* Refactor NonEmptyList Test to use kotlin test

---------

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* refactor: migrate EffectSpec to kotlin-test (#3234)

* Refactor FlowTest to use kotlin test (#3238)

Closes #3189

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* refactor: migrate IorSpec to kotlin-test (#3249)

Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>

* refactor: migrate ResultSpec to kotlin-test (#3251)

Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>

* refactor: migrate StructuredConcurrencySpec to kotlin-test (#3252)

* refactor: migrate TraceSpec to kotlin-test (#3253)

* refactor: migrate GeneratorsTest to kotlin-test (#3254)

* Refactor RaceNJvmTest from Kotest Plugin to Kotlin-test runtime (#3261)

Closes #3212

Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Update ArrowResponseEAdapterTest.kt (#3264)

* Update ArrowResponseEAdapterTest.kt

* Update ArrowResponseEAdapterTest.kt

---------

Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>
Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Update CollectionsSyntaxTests.kt (#3273)

* Update CollectionsSyntaxTests.kt

* Update CollectionsSyntaxTests.kt

---------

Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>
Co-authored-by: Alejandro Serrano <trupill@gmail.com>

* Update NonFatalJvmTest.kt (#3277)

* Update ArrowEitherCallAdapterTest.kt (#3278)

* Update ArrowEitherCallAdapterTest.kt

* Update ArrowEitherCallAdapterTest.kt

* Move tests from `serialization` and `functions` completely to `kotlin.test` (#3289)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix problems with tests

* Remove a bunch of warnings in `arrow-2` (#3282)

Co-authored-by: serras <serras@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Finish transition to `kotlin.test` of `retrofit` and `fx-coroutines` (#3291)

* Fix problems with concurrency in tests, take 8

* Port rest of `arrow-core` to `kotlin.test` (#3292)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Implement `fixedRate` using monotonic time source (#3294)

Co-authored-by: serras <serras@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Port `optics` tests to `kotlin.test` (#3295)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Add or fix contracts in Raise (#3293)

* Add or fix contracts in Raise

* Make contracts less strict

* Get back contract on Either

* ignoreErrors should also be AT_MOST_ONCE

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Alternate `SingletonRaise` (#3328)

Co-authored-by: Youssef Shoaib <canonballt@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: serras <serras@users.noreply.github.com>

* Remove (unused) tests for high-arity module

* Fix tests + Knit

* Fix merge NullableSpec

* Regression in Arb.list?

* Fix test for nonEmptyList

* Develocity warning

* Fix merge problem with optics-ksp-plugin

* Fix timeout in test

---------

Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>
Co-authored-by: Sam Cooper <54266448+roomscape@users.noreply.github.com>
Co-authored-by: Marc Moreno Ferrer <ignis.fatue@gmail.com>
Co-authored-by: Javier Segovia Córdoba <7463564+JavierSegoviaCordoba@users.noreply.github.com>
Co-authored-by: Alphonse Bendt <370821+abendt@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Storesund Madsen <andreas@asmadsen.no>
Co-authored-by: molikuner <molikuner@gmail.com>
Co-authored-by: Jonathan Lagneaux <lagneaux.j@gmail.com>
Co-authored-by: Marcus Ilgner <mail@marcusilgner.com>
Co-authored-by: Chris Black <2538545+chrsblck@users.noreply.github.com>
Co-authored-by: Tejas Mate <hi.tejas@pm.me>
Co-authored-by: HyunWoo Lee (Nunu Lee) <54518925+l2hyunwoo@users.noreply.github.com>
Co-authored-by: serras <serras@users.noreply.github.com>
Co-authored-by: Youssef Shoaib <canonballt@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants