nebius/SWE-rebench-V2-PRs huggingface dataset:
Repository: 7mind/izumi
Pull request #2116 (2024-05-15 13:30:00)

Update zio, zio-managed to 2.1.1
## About this PR
📦 Updates 
* [dev.zio:zio](https://github.com/zio/zio)
* [dev.zio:zio-managed](https://github.com/zio/zio)

 from `2.0.22` to `2.1.1`

📜 [GitHub Release Notes](https://github.com/zio/zio/releases/tag/v2.1.1) - [Version Diff](https://github.com/zio/zio/compare/v2.0.22...v2.1.1)

## Usage
✅ **Please merge!**

I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/667eedacde4083e60af01a5c28b1746a3e0d5abb/docs/repo-specific-configuration.md) file.

_Have a fantastic day writing Scala!_

<details>
<summary>⚙ Adjust future updates</summary>

Add this to your `.scala-steward.conf` file to ignore future updates of this dependency:
```
updates.ignore = [ { groupId = "dev.zio" } ]
```
Or, add this to slow down future updates of this dependency:
```
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]
```
</details>

<sup>
labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1
</sup>


Patch:
diff --git a/project/Versions.scala b/project/Versions.scala
index 03b4dbc6c..acc25d367 100644
--- a/project/Versions.scala
+++ b/project/Versions.scala
@@ -15,7 +15,7 @@ object V {
   val discipline = "1.7.0"
   val discipline_scalatest = "2.3.0"
 
-  val zio = "2.0.22"
+  val zio = "2.1.1"
   val zio_interop_cats = "23.1.0.2"
 
   val monix = "3.4.0"


Test patch:
diff --git a/distage/distage-core/.jvm/src/test/scala/izumi/distage/injector/ZIOHasInjectionTest.scala b/distage/distage-core/.jvm/src/test/scala/izumi/distage/injector/ZIOHasInjectionTest.scala
index 806cd3dd7..f7812997e 100644
--- a/distage/distage-core/.jvm/src/test/scala/izumi/distage/injector/ZIOHasInjectionTest.scala
+++ b/distage/distage-core/.jvm/src/test/scala/izumi/distage/injector/ZIOHasInjectionTest.scala
@@ -287,14 +287,13 @@ class ZIOHasInjectionTest extends AnyWordSpec with MkInjector with ZIOTest with
       trait MyEndpoints[F[_, _]]
 
       trait ZioStreams
-      trait WebSockets
 
       trait MyPublisher
       trait MyClient
 
       object MyPlugin extends ModuleDef {
         make[MyClient].fromZIOEnv {
-          ZIO.succeed(???): ZIO[OpenTracingService & MyPublisher & SttpBackend[Task, ZioStreams & WebSockets] & MyEndpoints[IO], Nothing, MyClient]
+          ZIO.succeed(???): ZIO[OpenTracingService & MyPublisher & SttpBackend[Task, ZioStreams] & MyEndpoints[IO], Nothing, MyClient]
         }
       }
       val _ = MyPlugin
Repository: 7mind/izumi
Pull request #967 (2020-03-23 10:46:05)

BIO: ambiguous implicit bug on wildcard import


Patch:
diff --git a/fundamentals/fundamentals-bio/src/main/scala/izumi/functional/bio/BIOFunctor3.scala b/fundamentals/fundamentals-bio/src/main/scala/izumi/functional/bio/BIOFunctor3.scala
index cb0a613b8..1000b30e7 100644
--- a/fundamentals/fundamentals-bio/src/main/scala/izumi/functional/bio/BIOFunctor3.scala
+++ b/fundamentals/fundamentals-bio/src/main/scala/izumi/functional/bio/BIOFunctor3.scala
@@ -45,14 +45,15 @@ sealed trait BIOFunctorInstancesLowPriority2 extends BIOFunctorInstancesLowPrior
   @inline implicit final def AttachBIOMonadAsk[FR[-_, +_, +_], R](@deprecated("unused", "") self: BIOFunctor3[FR])(implicit BIOMonadAsk: BIOMonadAsk[FR]): BIOMonadAsk.type = BIOMonadAsk
 }
 
-sealed trait BIOFunctorInstancesLowPriority3 {
+sealed trait BIOFunctorInstancesLowPriority3 extends BIOFunctorInstancesLowPriority4 {
   // place ZIO instance at the root of the hierarchy, so that it's visible when summoning any class in hierarchy
   @inline implicit final def BIOZIO: Predefined.Of[BIOAsync3[ZIO]] = Predefined(BIOAsyncZio)
-//  @inline implicit final def BIOZIOR[R]: BIOAsync[ZIO[R, +?, +?]] = convert3To2(BIOAsyncZio)
 
   @inline implicit final def AttachBIOProfunctor[FR[-_, +_, +_]](@deprecated("unused", "") self: BIOFunctor3[FR])(implicit BIOProfunctor: BIOProfunctor[FR]): BIOProfunctor.type = BIOProfunctor
   @inline implicit final def AttachBIOAsk[FR[-_, +_, +_], R](@deprecated("unused", "") self: BIOFunctor3[FR])(implicit BIOAsk: BIOAsk[FR]): BIOAsk.type = BIOAsk
+}
 
+sealed trait BIOFunctorInstancesLowPriority4 {
   @inline implicit final def BIOConvert3To2[C[_[-_, +_, +_]], FR[-_, +_, +_], R0](
     implicit BIOFunctor3: C[FR] with BIOFunctor3[FR] {
       type Divergence = Nondivergent


Test patch:
diff --git a/fundamentals/fundamentals-bio/src/test/scala/izumi/fundamentals/bio/test/BIOSyntaxTest.scala b/fundamentals/fundamentals-bio/src/test/scala/izumi/fundamentals/bio/test/BIOSyntaxTest.scala
index a0712c905..6c31a0c6b 100644
--- a/fundamentals/fundamentals-bio/src/test/scala/izumi/fundamentals/bio/test/BIOSyntaxTest.scala
+++ b/fundamentals/fundamentals-bio/src/test/scala/izumi/fundamentals/bio/test/BIOSyntaxTest.scala
@@ -87,6 +87,13 @@ class BIOSyntaxTest extends AnyWordSpec {
     )
   }
 
+  "Support BIO syntax for ZIO with wildcard import" in {
+    import izumi.functional.bio._
+    zio.IO.effectTotal(List(4)).flatMap{
+      F.traverse(_)(_ => zio.IO.unit)
+    } *> F.unit
+  }
+
   "FR: Local/Ask summoners examples" in {
     def x[FR[-_, +_, +_]: BIOMonad3: BIOAsk] = {
       F.unit *> F.ask[Int].map {