repo
stringlengths
5
53
pr_number
int32
1
321k
task_type
stringclasses
2 values
issue_text
stringlengths
0
81.2k
pr_title
stringlengths
1
319
pr_body
stringlengths
0
105k
base_sha
stringlengths
40
40
head_sha
stringlengths
40
40
gold_diff
stringlengths
0
202M
changed_files
listlengths
0
100
review_threads
listlengths
0
100
test_patch
stringlengths
0
23.4M
merged
bool
1 class
typelevel/cats-effect
4,362
comment_to_fix
SN 0.5.6 -> 0.5.7 -> 0.5.8
This is not needed anymore on Scala Native 0.5.7
6e62fc6fc4ded75a98ca798dc64a2faf004634b8
92d92eb49a7bdcbdd3afd375845dd138f06ee2d1
diff --git a/build.sbt b/build.sbt index e2aa5b60d0..2142a705f8 100644 --- a/build.sbt +++ b/build.sbt @@ -362,13 +362,12 @@ Global / tlCommandAliases ++= Map( ) lazy val nativeTestSettings = Seq( - nativeConfig ~= { c => // TODO: remove this when it seems to work - c.withSourceLevelDebuggingConfig(_.enableAll)...
[ "build.sbt" ]
[ { "comment": "This is not needed anymore on Scala Native 0.5.7", "path": "build.sbt", "hunk": "@@ -362,11 +362,14 @@ Global / tlCommandAliases ++= Map(\n )\n \n lazy val nativeTestSettings = Seq(\n- nativeConfig ~= { c => // TODO: remove this when it seems to work\n- c.withSourceLevelDebuggingConfig...
true
typelevel/cats-effect
4,362
comment_to_fix
SN 0.5.6 -> 0.5.7 -> 0.5.8
Have you tried removing this now that you found the culprit to be `generateFunctionSourcePositions`?
6e62fc6fc4ded75a98ca798dc64a2faf004634b8
92d92eb49a7bdcbdd3afd375845dd138f06ee2d1
diff --git a/build.sbt b/build.sbt index e2aa5b60d0..2142a705f8 100644 --- a/build.sbt +++ b/build.sbt @@ -362,13 +362,12 @@ Global / tlCommandAliases ++= Map( ) lazy val nativeTestSettings = Seq( - nativeConfig ~= { c => // TODO: remove this when it seems to work - c.withSourceLevelDebuggingConfig(_.enableAll)...
[ "build.sbt" ]
[ { "comment": "Have you tried removing this now that you found the culprit to be `generateFunctionSourcePositions`?", "path": "build.sbt", "hunk": "@@ -362,11 +362,14 @@ Global / tlCommandAliases ++= Map(\n )\n \n lazy val nativeTestSettings = Seq(\n- nativeConfig ~= { c => // TODO: remove this when it ...
true
typelevel/cats-effect
4,364
issue_to_patch
Merge changes from 3.6.1 into series/3.x
553fdbbe62349a0d059213ed7af099db2cd98af4
b18c4e4d1b0c6d4c78eab7ecfe4f1d7e48512c4b
diff --git a/README.md b/README.md index 5f387b35d7..d0a9556e64 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,11 @@ ## Getting Started -- Wired: **3.6.0** +- Wired: **3.6.1** - Tired: **2.5.5** (end of life) ```scala -libraryDependencies += "org.typelevel" %% "cats-effect" % "3.6.0" +libraryDependencies...
[ "README.md", "core/jvm-native/src/main/scala/cats/effect/unsafe/PollingSystem.scala", "core/shared/src/main/scala/cats/effect/IO.scala", "docs/core/native-image.md", "docs/core/scala-native.md", "docs/core/test-runtime.md", "docs/faq.md", "docs/getting-started.md", "docs/migration-guide.md", "docs...
[ { "comment": "Needs munitification", "path": "tests/shared/src/test/scala-2.13+/not/cats/effect/IOCompilationSpec.scala", "hunk": "@@ -0,0 +1,26 @@\n+/*\n+ * Copyright 2020-2025 Typelevel\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in...
diff --git a/tests/shared/src/test/scala-2.13+/not/cats/effect/IOCompilationSuite.scala b/tests/shared/src/test/scala-2.13+/not/cats/effect/IOCompilationSuite.scala new file mode 100644 index 0000000000..c7f9bab527 --- /dev/null +++ b/tests/shared/src/test/scala-2.13+/not/cats/effect/IOCompilationSuite.scala @@ -0,0 +1...
true
typelevel/cats-effect
4,365
issue_to_patch
PollerMetrics: override toString
That way, we can distinguish one poller from another.
d31b2e4efbc603b109cace017fd762dad3dde7b2
4a6a990291e9b38553e2aa9440aa31edf627d610
diff --git a/core/jvm-native/src/main/scala/cats/effect/unsafe/metrics/PollerMetrics.scala b/core/jvm-native/src/main/scala/cats/effect/unsafe/metrics/PollerMetrics.scala index e8b4de212c..783e32a637 100644 --- a/core/jvm-native/src/main/scala/cats/effect/unsafe/metrics/PollerMetrics.scala +++ b/core/jvm-native/src/mai...
[ "core/jvm-native/src/main/scala/cats/effect/unsafe/metrics/PollerMetrics.scala", "core/jvm/src/main/scala/cats/effect/unsafe/SelectorSystem.scala", "tests/jvm/src/test/scala/cats/effect/SelectorSpec.scala" ]
[ { "comment": "It can just be a `def` because constant `String`s are already pre-allocated in the pool.\r\n\r\n```suggestion\r\n override def classifier: String = \"selector\"\r\n```", "path": "core/jvm/src/main/scala/cats/effect/unsafe/SelectorSystem.scala", "hunk": "@@ -161,6 +161,7 @@ final class S...
diff --git a/tests/jvm/src/test/scala/cats/effect/SelectorSpec.scala b/tests/jvm/src/test/scala/cats/effect/SelectorSpec.scala index 83c37aa45e..77cd7ef120 100644 --- a/tests/jvm/src/test/scala/cats/effect/SelectorSpec.scala +++ b/tests/jvm/src/test/scala/cats/effect/SelectorSpec.scala @@ -16,7 +16,7 @@ package cats...
true
typelevel/cats-effect
4,373
issue_to_patch
Fix sbt scalafmt check
1170aedf71113550bdd936ec5562bd6b1584ff68
52ae5a2956f93fec8f3a724264cb1988af1d59aa
diff --git a/project/CI.scala b/project/CI.scala index 9f545af7d7..0fafd6d517 100644 --- a/project/CI.scala +++ b/project/CI.scala @@ -26,10 +26,10 @@ sealed abstract class CI( override val toString: String = { val commands = (List( + "scalafmtSbtCheck", s"project $rootProject", ...
[ "project/CI.scala" ]
[ { "comment": "We have to run the check before we drop into a specific sub-project.", "path": "project/CI.scala", "hunk": "@@ -26,10 +26,10 @@ sealed abstract class CI(\n override val toString: String = {\n val commands =\n (List(\n+ \"scalafmtSbtCheck\",\n s\"project $rootProj...
true
typelevel/cats-effect
4,375
issue_to_patch
Set `mayInterruptIfRunning = true` when canceling `CompletableFuture`
The `cancel` method of a `CompletableFuture` takes a boolean `mayInterruptIfRunning`. It [is described in the oracle docs](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/CompletableFuture.html#cancel(boolean)): > Parameters: > mayInterruptIfRunning - this value has no effect in t...
344659306351b75507ff470f7704a83e7b6e383b
618d5e65d31ab90ce1a592abf75971ded55b408f
diff --git a/kernel/jvm/src/main/scala/cats/effect/kernel/AsyncPlatform.scala b/kernel/jvm/src/main/scala/cats/effect/kernel/AsyncPlatform.scala index 96dc3eacc5..b0e6492770 100644 --- a/kernel/jvm/src/main/scala/cats/effect/kernel/AsyncPlatform.scala +++ b/kernel/jvm/src/main/scala/cats/effect/kernel/AsyncPlatform.sca...
[ "kernel/jvm/src/main/scala/cats/effect/kernel/AsyncPlatform.scala" ]
[]
true
typelevel/cats-effect
4,378
issue_to_patch
Make IOCompanion consistent between JVM + Native and JVM Based off of findings from https://github.com/typelevel/cats-effect/pull/4316. ClockPlatform is on JVM + Native, while IOCompanion is only split to JVM. We should make this consistent, after https://github.com/typelevel/cats-effect/pull/4201 is merged. Impleme...
`blocking` and `interruptible` on Scala Native
Fixes #4331 Fixes #4374 Closes #4360 This ports `interruptible` and `blocking` to the shared JVM/Native cross-build structure. I had to split apart `IOCompanion` a bit more since the `CompletableFuture` stuff is still JVM-only. Is that implemented on SN now? I'm assuming not. The other weird caveat came from the s...
d1337ac59a31896ccff0ef0f250f28d2dba2785a
c6188de0c8d2a41ae6042766af033994a612d306
diff --git a/core/js-native/src/main/scala/cats/effect/IOFiberPlatform.scala b/core/js/src/main/scala/cats/effect/IOFiberPlatform.scala similarity index 100% rename from core/js-native/src/main/scala/cats/effect/IOFiberPlatform.scala rename to core/js/src/main/scala/cats/effect/IOFiberPlatform.scala diff --git a/core/j...
[ "core/js/src/main/scala/cats/effect/IOFiberPlatform.scala", "core/jvm-native/src/main/scala/cats/effect/IOCompanionMultithreadedPlatform.scala", "core/jvm-native/src/main/scala/cats/effect/IOFiberPlatform.scala", "core/jvm/src/main/scala/cats/effect/IOCompanionPlatform.scala", "core/jvm/src/main/scala/cats/...
[ { "comment": "`ClosedByInterruptException` also landed in SN 0.5.7.", "path": "core/jvm/src/main/scala/cats/effect/InterruptThrowable.scala", "hunk": "@@ -0,0 +1,27 @@\n+/*\n+ * Copyright 2020-2025 Typelevel\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use...
diff --git a/tests/js/src/test/scala/cats/effect/IOPlatformSuite.scala b/tests/js/src/test/scala/cats/effect/IOPlatformSuite.scala index 776d6ef5d0..6db23f6d80 100644 --- a/tests/js/src/test/scala/cats/effect/IOPlatformSuite.scala +++ b/tests/js/src/test/scala/cats/effect/IOPlatformSuite.scala @@ -1,5 +1,5 @@ /* - * C...
true
typelevel/cats-effect
4,378
comment_to_fix
`blocking` and `interruptible` on Scala Native
`ClosedByInterruptException` also landed in SN 0.5.7.
d1337ac59a31896ccff0ef0f250f28d2dba2785a
c6188de0c8d2a41ae6042766af033994a612d306
diff --git a/core/jvm/src/main/scala/cats/effect/InterruptThrowable.scala b/core/jvm/src/main/scala/cats/effect/InterruptThrowable.scala new file mode 100644 index 0000000000..2aa8771ac9 --- /dev/null +++ b/core/jvm/src/main/scala/cats/effect/InterruptThrowable.scala @@ -0,0 +1,32 @@ +/* + * Copyright 2020-2025 Typelev...
[ "core/jvm/src/main/scala/cats/effect/InterruptThrowable.scala" ]
[ { "comment": "`ClosedByInterruptException` also landed in SN 0.5.7.", "path": "core/jvm/src/main/scala/cats/effect/InterruptThrowable.scala", "hunk": "@@ -0,0 +1,27 @@\n+/*\n+ * Copyright 2020-2025 Typelevel\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use...
true
typelevel/cats-effect
4,378
comment_to_fix
`blocking` and `interruptible` on Scala Native
We can remove the duplicate test from the Native-specific test suite: https://github.com/typelevel/cats-effect/blob/8523d8a9b9bb83ffae2c824dafde1f861e138a7b/tests/native/src/test/scala/cats/effect/IOPlatformSuite.scala#L24-L32
d1337ac59a31896ccff0ef0f250f28d2dba2785a
c6188de0c8d2a41ae6042766af033994a612d306
diff --git a/tests/jvm-native/src/test/scala/cats/effect/IOConcurrencySuite.scala b/tests/jvm-native/src/test/scala/cats/effect/IOConcurrencySuite.scala index f6b9ff51e0..eab17f196e 100644 --- a/tests/jvm-native/src/test/scala/cats/effect/IOConcurrencySuite.scala +++ b/tests/jvm-native/src/test/scala/cats/effect/IOConc...
[ "tests/jvm-native/src/test/scala/cats/effect/IOConcurrencySuite.scala" ]
[ { "comment": "We can remove the duplicate test from the Native-specific test suite:\r\n\r\nhttps://github.com/typelevel/cats-effect/blob/8523d8a9b9bb83ffae2c824dafde1f861e138a7b/tests/native/src/test/scala/cats/effect/IOPlatformSuite.scala#L24-L32", "path": "tests/jvm-native/src/test/scala/cats/effect/IOCon...
true
typelevel/cats-effect
4,378
comment_to_fix
`blocking` and `interruptible` on Scala Native
Was the lack of `InterruptedException` here an oversight? Otherwise it seems like this is changing the semantic πŸ€”
d1337ac59a31896ccff0ef0f250f28d2dba2785a
c6188de0c8d2a41ae6042766af033994a612d306
diff --git a/core/jvm/src/main/scala/cats/effect/IOFiberPlatform.scala b/core/jvm-native/src/main/scala/cats/effect/IOFiberPlatform.scala similarity index 95% rename from core/jvm/src/main/scala/cats/effect/IOFiberPlatform.scala rename to core/jvm-native/src/main/scala/cats/effect/IOFiberPlatform.scala index f4e1e80ef9...
[ "core/jvm-native/src/main/scala/cats/effect/IOFiberPlatform.scala" ]
[ { "comment": "Was the lack of `InterruptedException` here an oversight? Otherwise it seems like this is changing the semantic πŸ€” ", "path": "core/jvm-native/src/main/scala/cats/effect/IOFiberPlatform.scala", "hunk": "@@ -65,7 +64,7 @@ private[effect] abstract class IOFiberPlatform[A] extends AtomicBoole...
true
typelevel/cats-effect
4,377
issue_to_patch
The Polling System CPU overhead The new polling system looks interesting for the cases when there are libraries which use it, but when I updated my app to CE 3.6, I faced a significant CPU increase (more than 70%). According to the profiler it is caused by EPoll-related calls from the Cats Effect code. When I overrode...
Dynamically bypass selector polling if no I/O events are present
With this change, every time we park a thread we check to see if the underlying polling system `needsPoll`, which is a hint that is intended to be implemented by checking if any events have been registered with the underlying polling system. If it returns `false`, we don't even bother hitting the poller and instead par...
3cfd017406ed34e8b613a6e440034d3f4e257f93
c33f41520316e64e6bf23855033495b6b108d20d
diff --git a/core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala b/core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala new file mode 100644 index 0000000000..d0e7e27bed --- /dev/null +++ b/core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala @@ -0,0 +1,28 @@ +/* + * Copyright 2020-2025 Type...
[ "core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala", "core/jvm/src/main/scala/cats/effect/unsafe/WorkStealingThreadPool.scala", "core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala", "tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala", "tests/shared/src/test/scala/cats...
[ { "comment": "```suggestion\r\nprivate sealed abstract class ParkedSignal extends Product with Serializable\r\n```", "path": "core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala", "hunk": "@@ -0,0 +1,28 @@\n+/*\n+ * Copyright 2020-2025 Typelevel\n+ *\n+ * Licensed under the Apache License, Ver...
diff --git a/tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala b/tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala index e619031782..9dc054dc34 100644 --- a/tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala +++ b/tests/jvm/src/test/scala/cats/effect/IOPlatformSpecifica...
true
typelevel/cats-effect
4,377
comment_to_fix
Dynamically bypass selector polling if no I/O events are present
```suggestion private sealed abstract class ParkedSignal extends Product with Serializable ```
3cfd017406ed34e8b613a6e440034d3f4e257f93
c33f41520316e64e6bf23855033495b6b108d20d
diff --git a/core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala b/core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala new file mode 100644 index 0000000000..d0e7e27bed --- /dev/null +++ b/core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala @@ -0,0 +1,28 @@ +/* + * Copyright 2020-2025 Type...
[ "core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala" ]
[ { "comment": "```suggestion\r\nprivate sealed abstract class ParkedSignal extends Product with Serializable\r\n```", "path": "core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala", "hunk": "@@ -0,0 +1,28 @@\n+/*\n+ * Copyright 2020-2025 Typelevel\n+ *\n+ * Licensed under the Apache License, Ver...
true
typelevel/cats-effect
4,377
comment_to_fix
Dynamically bypass selector polling if no I/O events are present
```suggestion private object ParkedSignal { ```
3cfd017406ed34e8b613a6e440034d3f4e257f93
c33f41520316e64e6bf23855033495b6b108d20d
diff --git a/core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala b/core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala new file mode 100644 index 0000000000..d0e7e27bed --- /dev/null +++ b/core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala @@ -0,0 +1,28 @@ +/* + * Copyright 2020-2025 Type...
[ "core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala" ]
[ { "comment": "```suggestion\r\nprivate object ParkedSignal {\r\n```", "path": "core/jvm/src/main/scala/cats/effect/unsafe/ParkedSignal.scala", "hunk": "@@ -0,0 +1,28 @@\n+/*\n+ * Copyright 2020-2025 Typelevel\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not us...
true
typelevel/cats-effect
4,377
comment_to_fix
Dynamically bypass selector polling if no I/O events are present
```suggestion val st = parked.get() if (st ne ParkedSignal.Unparked) { if (st eq ParkedSignal.Interrupting) { // our state is being twiddled; wait for that to finish up // this happens when we wake ourselves at the same moment the pool decides to wake us while...
3cfd017406ed34e8b613a6e440034d3f4e257f93
c33f41520316e64e6bf23855033495b6b108d20d
diff --git a/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala b/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala index a82d46c7cc..4c021f1161 100644 --- a/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala +++ b/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala @@ -27,7 ...
[ "core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala" ]
[ { "comment": "```suggestion\r\n val st = parked.get()\r\n\r\n if (st ne ParkedSignal.Unparked) {\r\n if (st eq ParkedSignal.Interrupting) {\r\n // our state is being twiddled; wait for that to finish up\r\n // this happens when we wake ourselves at the same moment the pool dec...
true
typelevel/cats-effect
4,377
comment_to_fix
Dynamically bypass selector polling if no I/O events are present
```suggestion val st = parked.get() if (st eq ParkedSignal.Unparked) { // awakened intentionally false } else if (st eq ParkedSignal.Interrupting) { // awakened intentionally, but waiting for the state publish // we have to block here ...
3cfd017406ed34e8b613a6e440034d3f4e257f93
c33f41520316e64e6bf23855033495b6b108d20d
diff --git a/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala b/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala index a82d46c7cc..4c021f1161 100644 --- a/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala +++ b/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala @@ -27,7 ...
[ "core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala" ]
[ { "comment": "```suggestion\r\n val st = parked.get()\r\n if (st eq ParkedSignal.Unparked) {\r\n // awakened intentionally\r\n false\r\n } else if (st eq ParkedSignal.Interrupting) {\r\n // awakened intentionally, but waiting for the state publish\r\n ...
true
typelevel/cats-effect
4,377
comment_to_fix
Dynamically bypass selector polling if no I/O events are present
This will merge into 3.x better. ```suggestion val delegate = IORuntime.createDefaultPollingSystem() ```
3cfd017406ed34e8b613a6e440034d3f4e257f93
c33f41520316e64e6bf23855033495b6b108d20d
diff --git a/tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala b/tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala index e619031782..9dc054dc34 100644 --- a/tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala +++ b/tests/jvm/src/test/scala/cats/effect/IOPlatformSpecifica...
[ "tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala" ]
[ { "comment": "This will merge into 3.x better.\r\n\r\n```suggestion\r\n val delegate = IORuntime.createDefaultPollingSystem()\r\n```", "path": "tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala", "hunk": "@@ -724,6 +725,48 @@ trait IOPlatformSpecification extends DetectPlatform {...
true
typelevel/cats-effect
4,380
issue_to_patch
Fix #4367: Wrap tracingEvents in Option to handle NPE
**Description**: This PR addresses Issue #4367 by fixing a `NullPointerException` in `IOFiber#toString` when `tracingEvents` is `null` (e.g., with `Tracing.none`). The change wraps `tracingEvents` in an `Option`, using `flatMap` and `getOrElse("")` to safely handle the null case, ensuring `toString` returns a valid st...
ad696840de911ceed6577f6275fe27ad4ea85832
4dcb24190e315cbe628b2668e13fa1e81fd58b1e
diff --git a/core/shared/src/main/scala/cats/effect/IOFiber.scala b/core/shared/src/main/scala/cats/effect/IOFiber.scala index ea9b46b37b..75ffd67b4b 100644 --- a/core/shared/src/main/scala/cats/effect/IOFiber.scala +++ b/core/shared/src/main/scala/cats/effect/IOFiber.scala @@ -1548,7 +1548,11 @@ private final class IO...
[ "core/shared/src/main/scala/cats/effect/IOFiber.scala" ]
[]
true
typelevel/cats-effect
4,381
issue_to_patch
Fix source compatibility with Scala 3.6
This PR enables compiling cats-effect with Scala 3.6. See the Cats PR (https://github.com/typelevel/cats/pull/4737) for the detailed explanations.
d1337ac59a31896ccff0ef0f250f28d2dba2785a
6e214730059411735a81aac7ac371fdd6ad166c7
diff --git a/core/shared/src/main/scala/cats/effect/IO.scala b/core/shared/src/main/scala/cats/effect/IO.scala index 28533f29ca..575680e7cb 100644 --- a/core/shared/src/main/scala/cats/effect/IO.scala +++ b/core/shared/src/main/scala/cats/effect/IO.scala @@ -1234,9 +1234,11 @@ object IO extends IOCompanionPlatform with...
[ "core/shared/src/main/scala/cats/effect/IO.scala", "kernel-testkit/shared/src/main/scala/cats/effect/kernel/testkit/Generators.scala", "kernel/shared/src/main/scala/cats/effect/kernel/Clock.scala", "kernel/shared/src/main/scala/cats/effect/kernel/Outcome.scala", "laws/shared/src/main/scala/cats/effect/laws/...
[]
diff --git a/tests/shared/src/test/scala/cats/effect/ResourceSuite.scala b/tests/shared/src/test/scala/cats/effect/ResourceSuite.scala index 0487f45233..873c1004c0 100644 --- a/tests/shared/src/test/scala/cats/effect/ResourceSuite.scala +++ b/tests/shared/src/test/scala/cats/effect/ResourceSuite.scala @@ -1348,7 +1348,...
true
typelevel/cats-effect
4,384
issue_to_patch
Fix typo in documentation of function tryOfferN of QueueSink and PQueueSink.
Documentation was referring to valus (it was mistyped) to describe the remaining elements, while in the rest of the docs they were referred to as elements. So fixing a typo and making the doc more consistent.
d1337ac59a31896ccff0ef0f250f28d2dba2785a
3a5e6f7e9e70071ce065a40941ab5ce1ea9c2ed2
diff --git a/std/shared/src/main/scala/cats/effect/std/PQueue.scala b/std/shared/src/main/scala/cats/effect/std/PQueue.scala index e1ef407ad2..eb6566e975 100644 --- a/std/shared/src/main/scala/cats/effect/std/PQueue.scala +++ b/std/shared/src/main/scala/cats/effect/std/PQueue.scala @@ -262,7 +262,7 @@ trait PQueueSink[...
[ "std/shared/src/main/scala/cats/effect/std/PQueue.scala", "std/shared/src/main/scala/cats/effect/std/QueueSink.scala" ]
[]
true
typelevel/cats-effect
4,388
issue_to_patch
Fix #4382: Fix thread leak in WSTP by replacing LinkedTransferQueue with SynchronousQueue and ConcurrentHashMap
**Description:** This PR fixes a thread leak in the Work Stealing Thread Pool (Issue #4382), previously caused by FIFO-based reuse of cached blocker threads (introduced in #4295). This FIFO behavior could prevent older cached threads from timing out and exiting during periods of low load, when the number of cached thr...
879c7ebef420a3fd5086e0ed8c324f69568bdad1
40a00ca9d6a2115df5e3b4e25450416737144399
diff --git a/core/jvm/src/main/scala/cats/effect/unsafe/WorkStealingThreadPool.scala b/core/jvm/src/main/scala/cats/effect/unsafe/WorkStealingThreadPool.scala index a7139724e9..07da2bfb5c 100644 --- a/core/jvm/src/main/scala/cats/effect/unsafe/WorkStealingThreadPool.scala +++ b/core/jvm/src/main/scala/cats/effect/unsaf...
[ "core/jvm/src/main/scala/cats/effect/unsafe/WorkStealingThreadPool.scala", "core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala" ]
[ { "comment": "I think that this will always succeed immediately:\r\n> Inserts the specified element at the front of this deque, waiting up to the specified wait time if necessary for space to become available.\r\n\r\nBecause:\r\n> The capacity, if unspecified, is equal to `Integer.MAX_VALUE`\r\n\r\nhttps://docs...
true
typelevel/cats-effect
4,389
issue_to_patch
Add Famly to list of users
e83624bb475ae378abd9cf1a07a38ae985b31b8b
a81ffe042c03b2d2f999eb9f9c1df624460efe9f
diff --git a/website/pages/en/users.js b/website/pages/en/users.js index 15b89b4c27..21f4e58e07 100644 --- a/website/pages/en/users.js +++ b/website/pages/en/users.js @@ -20,6 +20,7 @@ const users = [ ['Eloquentix', 'https://eloquentix.com/'], ['Evolution Gaming', 'https://eng.evolutiongaming.com/'], ['Exeloni...
[ "website/pages/en/users.js" ]
[]
true
typelevel/cats-effect
4,394
issue_to_patch
Add a TestConsole
Implements suggestion in #4393
74cdc89c355fe3239d8e4e56e261fcca1c01ebb4
80aa810eb23ff52442aa051d236e76204dcf25ae
diff --git a/testkit/shared/src/main/scala/cats/effect/testkit/TestConsole.scala b/testkit/shared/src/main/scala/cats/effect/testkit/TestConsole.scala new file mode 100644 index 0000000000..65b5eb73f5 --- /dev/null +++ b/testkit/shared/src/main/scala/cats/effect/testkit/TestConsole.scala @@ -0,0 +1,547 @@ +/* + * Copyr...
[ "testkit/shared/src/main/scala/cats/effect/testkit/TestConsole.scala", "tests/shared/src/test/scala/cats/effect/testkit/TestConsoleSpec.scala" ]
[ { "comment": "I'm kind of surprised at this structure and would have expected something more like a `Queue`. Wouldn't it be more useful to allow users to build tests which supply input more ergonomically?", "path": "testkit/shared/src/main/scala/cats/effect/testkit/TestConsole.scala", "hunk": "@@ -0,0 +...
diff --git a/tests/shared/src/test/scala/cats/effect/testkit/TestConsoleSpec.scala b/tests/shared/src/test/scala/cats/effect/testkit/TestConsoleSpec.scala new file mode 100644 index 0000000000..29770da958 --- /dev/null +++ b/tests/shared/src/test/scala/cats/effect/testkit/TestConsoleSpec.scala @@ -0,0 +1,366 @@ +/* + *...
true
typelevel/cats-effect
4,394
comment_to_fix
Add a TestConsole
Do we need to expose this given that we have `TestConsole.resource`?
74cdc89c355fe3239d8e4e56e261fcca1c01ebb4
80aa810eb23ff52442aa051d236e76204dcf25ae
diff --git a/testkit/shared/src/main/scala/cats/effect/testkit/TestConsole.scala b/testkit/shared/src/main/scala/cats/effect/testkit/TestConsole.scala new file mode 100644 index 0000000000..65b5eb73f5 --- /dev/null +++ b/testkit/shared/src/main/scala/cats/effect/testkit/TestConsole.scala @@ -0,0 +1,547 @@ +/* + * Copyr...
[ "testkit/shared/src/main/scala/cats/effect/testkit/TestConsole.scala" ]
[ { "comment": "Do we need to expose this given that we have `TestConsole.resource`?", "path": "testkit/shared/src/main/scala/cats/effect/testkit/TestConsole.scala", "hunk": "@@ -0,0 +1,350 @@\n+/*\n+ * Copyright 2020-2025 Typelevel\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\"...
true
typelevel/cats-effect
4,395
issue_to_patch
code snippet typo in faq.md
affects runnability of copy and pasting interruptible code example
74cdc89c355fe3239d8e4e56e261fcca1c01ebb4
394a8ea9ad260d04c6539e9e5e79bff8dac764a9
diff --git a/docs/faq.md b/docs/faq.md index d8bb121847..bbc7ff8610 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -173,7 +173,7 @@ This effect will take the full 1 second to complete! This is because the timeout There are two possible ways to address this situation, and the correct one to use depends on a number of di...
[ "docs/faq.md" ]
[]
true
typelevel/cats-effect
4,423
issue_to_patch
Add `awaitEvent` to expose the full featureset of kqueue
Added a `Kqueue` trait with an `awaitEvent` method to enable direct kevent handling in the kqueue-based polling system. This provides access to kqueue-specific functionality beyond standard file descriptor polling.
d5979fb696a35033ef7258d3c4ce299e4f4befd0
bd1a4dc02a45a225d14cfd3cb5d5c8f89ef22b9d
diff --git a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala index 03a60b86fd..baa840ed85 100644 --- a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala +++ b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.sca...
[ "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala" ]
[ { "comment": "Maybe this is simpler for the UX.\r\n\r\n```suggestion\r\n flags: Short,\r\n fflags: Int): IO[Long]\r\n```", "path": "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala", "hunk": "@@ -71,9 +71,17 @@ object KqueueSystem extends PollingSystem {\n \n def metrics(...
true
typelevel/cats-effect
4,423
comment_to_fix
Add `awaitEvent` to expose the full featureset of kqueue
Maybe this is simpler for the UX. ```suggestion flags: Short, fflags: Int): IO[Long] ```
d5979fb696a35033ef7258d3c4ce299e4f4befd0
bd1a4dc02a45a225d14cfd3cb5d5c8f89ef22b9d
diff --git a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala index 03a60b86fd..baa840ed85 100644 --- a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala +++ b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.sca...
[ "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala" ]
[ { "comment": "Maybe this is simpler for the UX.\r\n\r\n```suggestion\r\n flags: Short,\r\n fflags: Int): IO[Long]\r\n```", "path": "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala", "hunk": "@@ -71,9 +71,17 @@ object KqueueSystem extends PollingSystem {\n \n def metrics(...
true
typelevel/cats-effect
4,423
comment_to_fix
Add `awaitEvent` to expose the full featureset of kqueue
```suggestion private final class KqueueImpl private[KqueueSystem] ( ```
d5979fb696a35033ef7258d3c4ce299e4f4befd0
bd1a4dc02a45a225d14cfd3cb5d5c8f89ef22b9d
diff --git a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala index 03a60b86fd..baa840ed85 100644 --- a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala +++ b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.sca...
[ "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala" ]
[ { "comment": "```suggestion\r\n private final class KqueueImpl private[KqueueSystem] (\r\n```", "path": "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala", "hunk": "@@ -71,9 +71,17 @@ object KqueueSystem extends PollingSystem {\n \n def metrics(poller: Poller): PollerMetrics = PollerM...
true
typelevel/cats-effect
4,423
comment_to_fix
Add `awaitEvent` to expose the full featureset of kqueue
Can we reimplement these methods using `awaitEvent`? Then, it will also be tested by our existing tests.
d5979fb696a35033ef7258d3c4ce299e4f4befd0
bd1a4dc02a45a225d14cfd3cb5d5c8f89ef22b9d
diff --git a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala index 03a60b86fd..baa840ed85 100644 --- a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala +++ b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.sca...
[ "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala" ]
[ { "comment": "Can we reimplement these methods using `awaitEvent`? Then, it will also be tested by our existing tests.", "path": "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala", "hunk": "@@ -104,10 +127,10 @@ object KqueueSystem extends PollingSystem {\n if (r.isRight)\n ...
true
typelevel/cats-effect
4,423
comment_to_fix
Add `awaitEvent` to expose the full featureset of kqueue
Instead of passing `awaitEvent` as a lambda, we can make `PollHandle` an inner class of `KqueueImpl` so it has direct access to it.
d5979fb696a35033ef7258d3c4ce299e4f4befd0
bd1a4dc02a45a225d14cfd3cb5d5c8f89ef22b9d
diff --git a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala index 03a60b86fd..baa840ed85 100644 --- a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala +++ b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.sca...
[ "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala" ]
[ { "comment": "Instead of passing `awaitEvent` as a lambda, we can make `PollHandle` an inner class of `KqueueImpl` so it has direct access to it.", "path": "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala", "hunk": "@@ -91,10 +110,10 @@ object KqueueSystem extends PollingSystem {\n ...
true
typelevel/cats-effect
4,423
comment_to_fix
Add `awaitEvent` to expose the full featureset of kqueue
Let's lift this to an outer `trait`, in its own file. In fact, it doesn't even need to be in the `unsafe` package, since there isn't anything unsafe about it. It is basically similar to `FileDescriptorPoller` interface, so we should also add the helper methods. https://github.com/typelevel/cats-effect/blob/122f75057...
d5979fb696a35033ef7258d3c4ce299e4f4befd0
bd1a4dc02a45a225d14cfd3cb5d5c8f89ef22b9d
diff --git a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala index 03a60b86fd..baa840ed85 100644 --- a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala +++ b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.sca...
[ "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala" ]
[ { "comment": "Let's lift this to an outer `trait`, in its own file. In fact, it doesn't even need to be in the `unsafe` package, since there isn't anything unsafe about it. It is basically similar to `FileDescriptorPoller` interface, so we should also add the helper methods.\r\n\r\nhttps://github.com/typelevel/...
true
typelevel/cats-effect
4,423
comment_to_fix
Add `awaitEvent` to expose the full featureset of kqueue
```suggestion def makeApi(ctx: PollingContext[Poller]): Kqueue = ```
d5979fb696a35033ef7258d3c4ce299e4f4befd0
bd1a4dc02a45a225d14cfd3cb5d5c8f89ef22b9d
diff --git a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala index 03a60b86fd..baa840ed85 100644 --- a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala +++ b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.sca...
[ "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala" ]
[ { "comment": "```suggestion\r\n def makeApi(ctx: PollingContext[Poller]): Kqueue =\r\n```", "path": "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala", "hunk": "@@ -46,7 +46,7 @@ object KqueueSystem extends PollingSystem {\n def close(): Unit = ()\n \n def makeApi(ctx: PollingContex...
true
typelevel/cats-effect
4,423
comment_to_fix
Add `awaitEvent` to expose the full featureset of kqueue
```suggestion final class Kqueue private[KqueueSystem] ( ```
d5979fb696a35033ef7258d3c4ce299e4f4befd0
bd1a4dc02a45a225d14cfd3cb5d5c8f89ef22b9d
diff --git a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala index 03a60b86fd..baa840ed85 100644 --- a/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala +++ b/core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.sca...
[ "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala" ]
[ { "comment": "```suggestion\r\n final class Kqueue private[KqueueSystem] (\r\n```", "path": "core/native/src/main/scala/cats/effect/unsafe/KqueueSystem.scala", "hunk": "@@ -71,73 +71,73 @@ object KqueueSystem extends PollingSystem {\n \n def metrics(poller: Poller): PollerMetrics = PollerMetrics.noop...
true
typelevel/cats-effect
4,426
issue_to_patch
PoC for not using a CHM in #4388
This is on top of #4388, see discussion there.
5a050ca918dbdc16cac53b62cb2248d0a2152c98
d4148f7349f1b30b7954ff34e405ff089dac3fd9
diff --git a/core/jvm/src/main/scala/cats/effect/unsafe/WorkStealingThreadPool.scala b/core/jvm/src/main/scala/cats/effect/unsafe/WorkStealingThreadPool.scala index a7139724e9..ab19182b2d 100644 --- a/core/jvm/src/main/scala/cats/effect/unsafe/WorkStealingThreadPool.scala +++ b/core/jvm/src/main/scala/cats/effect/unsaf...
[ "core/jvm/src/main/scala/cats/effect/unsafe/WorkStealingThreadPool.scala", "core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala", "tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala" ]
[]
diff --git a/tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala b/tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala index 9c35359f71..e619031782 100644 --- a/tests/jvm/src/test/scala/cats/effect/IOPlatformSpecification.scala +++ b/tests/jvm/src/test/scala/cats/effect/IOPlatformSpecifica...
true
typelevel/cats-effect
4,424
issue_to_patch
Add `AtomicMap`
On top of #4065 Provides a parallel of `MapRef` for `AtomicCell`, the `AtomicMap`. It also includes some nice improvements for `AtomicCell`, we may move these to its own PR if you prefer.
2172c0013d356ddc68339d842193e164ac52298f
d81546ff9697408c8addc056dcb633e823ffaccd
diff --git a/build.sbt b/build.sbt index 1133848ae9..29a58fe91a 100644 --- a/build.sbt +++ b/build.sbt @@ -1149,7 +1149,21 @@ lazy val std = crossProject(JSPlatform, JVMPlatform, NativePlatform) ProblemFilters.exclude[DirectMissingMethodProblem]( "cats.effect.std.Mutex#ConcurrentImpl.EmptyCell"), ...
[ "build.sbt", "docs/std/atomic-cell.md", "docs/std/atomic-map.md", "std/shared/src/main/scala/cats/effect/std/AtomicCell.scala", "std/shared/src/main/scala/cats/effect/std/AtomicMap.scala", "tests/shared/src/test/scala/cats/effect/std/AtomicCellSuite.scala", "tests/shared/src/test/scala/cats/effect/std/A...
[ { "comment": "Ideally, the implementations here would be part of the `trait` itself.\r\nBut since the `trait` doesn't know that there will be an `Applicative[F]` in scope, we can't provide them there.\r\n\r\n-----\r\n\r\nName suggestions are welcome :)", "path": "std/shared/src/main/scala/cats/effect/std/At...
diff --git a/tests/shared/src/test/scala/cats/effect/std/AtomicCellSuite.scala b/tests/shared/src/test/scala/cats/effect/std/AtomicCellSuite.scala index 87ae78ba6b..c0bd97b76a 100644 --- a/tests/shared/src/test/scala/cats/effect/std/AtomicCellSuite.scala +++ b/tests/shared/src/test/scala/cats/effect/std/AtomicCellSuite...
true
typelevel/cats-effect
4,424
comment_to_fix
Add `AtomicMap`
```suggestion It is conceptually similar to a `AtomicCell[F, Map[K, V]]`, but with better ergonomics when ``` I assume?
2172c0013d356ddc68339d842193e164ac52298f
d81546ff9697408c8addc056dcb633e823ffaccd
diff --git a/docs/std/atomic-map.md b/docs/std/atomic-map.md new file mode 100644 index 0000000000..4b4515fd64 --- /dev/null +++ b/docs/std/atomic-map.md @@ -0,0 +1,78 @@ +--- +id: atomic-map +title: Atomic Map +--- + +A total map from `K` to `AtomicCell[F, V]`. + +```scala mdoc:silent +import cats.effect.std.AtomicCel...
[ "docs/std/atomic-map.md" ]
[ { "comment": "```suggestion\nIt is conceptually similar to a `AtomicCell[F, Map[K, V]]`, but with better ergonomics when\n```\n\nI assume?", "path": "docs/std/atomic-map.md", "hunk": "@@ -0,0 +1,78 @@\n+---\n+id: atomic-map\n+title: Atomic Map\n+---\n+\n+A total map from `K` to `AtomicCell[F, V]`.\n+\n+...
true
typelevel/cats-effect
4,438
issue_to_patch
Add `IOLocal#asLocal[F[_]]:Local[F,A]`
Add `IOLocal#asLocal` method with polymorphic effect type for its return type.
24c21e0543645eea79049d10b06d24aa89c6fa1c
c3bb0cb4b9d100c59c20346ef9cf016f65be1b9e
diff --git a/core/shared/src/main/scala/cats/effect/IOLocal.scala b/core/shared/src/main/scala/cats/effect/IOLocal.scala index 85e2348f38..0c8d8c8515 100644 --- a/core/shared/src/main/scala/cats/effect/IOLocal.scala +++ b/core/shared/src/main/scala/cats/effect/IOLocal.scala @@ -240,6 +240,10 @@ sealed trait IOLocal[A] ...
[ "core/shared/src/main/scala/cats/effect/IOLocal.scala", "tests/shared/src/test/scala/cats/effect/IOMtlLocalSuite.scala" ]
[ { "comment": "In general I think mixing implicit styles like this is pretty confusing. Probably better just to put it in a proper parameter.", "path": "core/shared/src/main/scala/cats/effect/IOLocal.scala", "hunk": "@@ -251,6 +255,18 @@ sealed trait IOLocal[A] extends IOLocalPlatform[A] { self =>\n ...
diff --git a/tests/shared/src/test/scala/cats/effect/IOMtlLocalSuite.scala b/tests/shared/src/test/scala/cats/effect/IOMtlLocalSuite.scala index 8e0f965caa..22b04ddfb0 100644 --- a/tests/shared/src/test/scala/cats/effect/IOMtlLocalSuite.scala +++ b/tests/shared/src/test/scala/cats/effect/IOMtlLocalSuite.scala @@ -17,6 ...
true
typelevel/cats-effect
4,438
comment_to_fix
Add `IOLocal#asLocal[F[_]]:Local[F,A]`
In general I think mixing implicit styles like this is pretty confusing. Probably better just to put it in a proper parameter.
24c21e0543645eea79049d10b06d24aa89c6fa1c
c3bb0cb4b9d100c59c20346ef9cf016f65be1b9e
diff --git a/core/shared/src/main/scala/cats/effect/IOLocal.scala b/core/shared/src/main/scala/cats/effect/IOLocal.scala index 85e2348f38..0c8d8c8515 100644 --- a/core/shared/src/main/scala/cats/effect/IOLocal.scala +++ b/core/shared/src/main/scala/cats/effect/IOLocal.scala @@ -240,6 +240,10 @@ sealed trait IOLocal[A] ...
[ "core/shared/src/main/scala/cats/effect/IOLocal.scala" ]
[ { "comment": "In general I think mixing implicit styles like this is pretty confusing. Probably better just to put it in a proper parameter.", "path": "core/shared/src/main/scala/cats/effect/IOLocal.scala", "hunk": "@@ -251,6 +255,18 @@ sealed trait IOLocal[A] extends IOLocalPlatform[A] { self =>\n ...
true
typelevel/cats-effect
4,444
issue_to_patch
Provide within-process "public" API for fiber dumps For environments without signals or JMX ... that would be Windows/GraalVM and browsers?
Add IORuntime#liveFiberSnapshot
Fixes #2580, #3025. The implementation is based on #3038.
5dd3af9ae722be012b50147e1216886001d7c0b9
f65e27d885fff7d4dce4af8a8ab7cd2e2e805e17
diff --git a/build.sbt b/build.sbt index 921d22eccf..e2aa5b60d0 100644 --- a/build.sbt +++ b/build.sbt @@ -920,7 +920,12 @@ lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform) ProblemFilters.exclude[DirectMissingMethodProblem]( "cats.effect.unsafe.IORuntimeBuilder.extraPollers"), ...
[ "build.sbt", "core/js/src/main/scala/cats/effect/FiberSnapshotPlatform.scala", "core/js/src/main/scala/cats/effect/IOApp.scala", "core/js/src/main/scala/cats/effect/unsafe/FiberMonitor.scala", "core/jvm-native/src/main/scala/cats/effect/FiberSnapshotPlatform.scala", "core/jvm-native/src/main/scala/cats/ef...
[ { "comment": "`workers` will always be empty in Scala.js. Should we add `FiberSnapshotPlatform` and provide a platform-specific API? ", "path": "core/shared/src/main/scala/cats/effect/FiberSnapshot.scala", "hunk": "@@ -0,0 +1,54 @@\n+/*\n+ * Copyright 2020-2025 Typelevel\n+ *\n+ * Licensed under the Apa...
diff --git a/tests/jvm/src/test/scala/cats/effect/unsafe/FiberMonitorSuite.scala b/tests/jvm/src/test/scala/cats/effect/unsafe/FiberMonitorSuite.scala index eeaa4668fe..1cd1ba0798 100644 --- a/tests/jvm/src/test/scala/cats/effect/unsafe/FiberMonitorSuite.scala +++ b/tests/jvm/src/test/scala/cats/effect/unsafe/FiberMoni...
true
typelevel/cats-effect
4,449
issue_to_patch
Fix the spinlock from #4377 and probably also fix #4448
So, #4377 added a spinlock for interrupting a sleeping/polling WorkerThread. That spinlock is incorrect, i.e., a worker thread doesn't necessarily waits (spins) until the spinlock is released by WSTP#notifyParked. The incorrect scenario is when the worker thread observes `parked` being "parked", tries to CAS it to "unp...
1a4eaba731fc4db75092bdb252dbb5be974d8331
b4798eb758b24d673edb33f5b72c4584a02fe0f0
diff --git a/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala b/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala index 4c021f1161..d7b7c9af93 100644 --- a/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala +++ b/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala @@ -636,6...
[ "core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala" ]
[ { "comment": "```suggestion\r\n // lost CAS race, possibly concurrent `Interrupting`,\r\n```", "path": "core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala", "hunk": "@@ -645,9 +646,15 @@ private[effect] final class WorkerThread[P <: AnyRef](\n // this happens when we wake...
true
typelevel/cats-effect
4,449
comment_to_fix
Fix the spinlock from #4377 and probably also fix #4448
```suggestion // lost CAS race, possibly concurrent `Interrupting`, ```
1a4eaba731fc4db75092bdb252dbb5be974d8331
b4798eb758b24d673edb33f5b72c4584a02fe0f0
diff --git a/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala b/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala index 4c021f1161..d7b7c9af93 100644 --- a/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala +++ b/core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala @@ -636,6...
[ "core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala" ]
[ { "comment": "```suggestion\r\n // lost CAS race, possibly concurrent `Interrupting`,\r\n```", "path": "core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala", "hunk": "@@ -645,9 +646,15 @@ private[effect] final class WorkerThread[P <: AnyRef](\n // this happens when we wake...
true
typelevel/cats-effect
4,458
issue_to_patch
Change tutorial CopyFile object name
In the tutorial and in the sample code on GitHub (https://github.com/lrodero/cats-effect-tutorial/blob/series/3.x/src/main/scala/catseffecttutorial/copyfile/CopyFile.scala), the object created to copy a file is called CopyFile and not Main. The instructions in the tutorial assume the object is called CopyFile, so to...
3d929b857c666b315dcecbaf96cbc2c934a61152
1a121de11cfabb082da856f307bc849925caf45e
diff --git a/docs/tutorial.md b/docs/tutorial.md index acaddb85d9..34e2cd509e 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -336,7 +336,7 @@ method can look like this: import cats.effect._ import java.io.File -object Main extends IOApp { +object CopyFile extends IOApp { // copy as defined before d...
[ "docs/tutorial.md" ]
[]
true
typelevel/cats-effect
4,466
issue_to_patch
Scaladoc cats.effect.kernel.Ref.access Example Does Not Make Sense Referring to the example in the cats.effect.kernel.Ref.access Scaladoc ver. 3.6.3, `... r.access.flatMap { case (v, setter) => setter(f(v)) } == r.tryUpdate(f).map(_.isDefined)` Should it not be `r.access.flatMap { case (v, setter) => setter(f(v)) }...
Fix identity in Ref documentation
Fixes #4464. `tryUpdate` returns F[Boolean] not F[Option]
b9cfba53bd70447689a303facb5868f8421a2c81
641e042bc7d54ab1951636f3527c6352eeed419a
diff --git a/kernel/shared/src/main/scala/cats/effect/kernel/Ref.scala b/kernel/shared/src/main/scala/cats/effect/kernel/Ref.scala index 7becfe1da3..355fa87b67 100644 --- a/kernel/shared/src/main/scala/cats/effect/kernel/Ref.scala +++ b/kernel/shared/src/main/scala/cats/effect/kernel/Ref.scala @@ -72,7 +72,7 @@ abstrac...
[ "kernel/shared/src/main/scala/cats/effect/kernel/Ref.scala" ]
[]
true
typelevel/cats-effect
4,478
issue_to_patch
Add `Lift{Value,Kind}` instances for `Resource`
054178695237461c50b0ed2003786696ffd1a77f
68636bf73dc97f19d6309305121e3d1b7c458acc
diff --git a/build.sbt b/build.sbt index 8bd4d40433..03a0605745 100644 --- a/build.sbt +++ b/build.sbt @@ -445,7 +445,8 @@ lazy val kernel = crossProject(JSPlatform, JVMPlatform, NativePlatform) .settings( name := "cats-effect-kernel", libraryDependencies ++= Seq( - "org.typelevel" %%% "cats-core" % C...
[ "build.sbt", "kernel/shared/src/main/scala/cats/effect/kernel/Resource.scala", "laws/shared/src/test/scala/cats/effect/kernel/ResourceSuite.scala" ]
[ { "comment": "This is a meaningful extension of the dependency surface area. It's not something I would rule out, since most people depend on **core** or **std**, but it's still not something to do lightly.", "path": "build.sbt", "hunk": "@@ -445,7 +445,8 @@ lazy val kernel = crossProject(JSPlatform, JV...
diff --git a/laws/shared/src/test/scala/cats/effect/kernel/ResourceSuite.scala b/laws/shared/src/test/scala/cats/effect/kernel/ResourceSuite.scala new file mode 100644 index 0000000000..5ccb4eaedd --- /dev/null +++ b/laws/shared/src/test/scala/cats/effect/kernel/ResourceSuite.scala @@ -0,0 +1,82 @@ +package cats +packa...
true
typelevel/doobie
2,449
issue_to_patch
Publish docs on release, fix manual publish job
9d5582d73b900adc863c3a198893f31475b17bea
0379f3241622072810ecaa46f7575dc9068aac27
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1dffeb42a..cd70068e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,20 @@ on: branches: ['**', '!update/**', '!pr/**'] tags: [v*] +permissions: + actions: none + checks: none + contents: write + dep...
[ ".github/workflows/ci.yml", ".github/workflows/publish-docs.yml", "build.sbt" ]
[]
true
typelevel/doobie
2,442
issue_to_patch
CI workflow for publishing docs
50ad5df57cb9ee7193db7d3642843dd7ff52af93
dc5c266b366fe0a2cf4b59c480fe9e2e65d25924
diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml new file mode 100644 index 000000000..73438d675 --- /dev/null +++ b/.github/workflows/publish-docs.yml @@ -0,0 +1,64 @@ +name: Publish Docs + +on: + workflow_dispatch: + inputs: + version: + description: Version to use ...
[ ".github/workflows/publish-docs.yml" ]
[]
true
typelevel/doobie
2,447
issue_to_patch
Update sbt, sbt-dependency-tree, ... to 1.12.12
## About this PR πŸ“¦ Updates * [org.scala-sbt:sbt](https://github.com/sbt/sbt) * [org.scala-sbt:sbt-dependency-tree](https://github.com/sbt/sbt) * [org.scala-sbt:scripted-plugin](https://github.com/sbt/sbt) from `1.12.11` to `1.12.12` πŸ“œ [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.12.12) - [Ver...
b000a36ea53da543d37225965bee7ca93960bf16
eb2e18f7d676e4628975bae5d7f647243c812a7d
diff --git a/project/build.properties b/project/build.properties index dabdb1590..7c1916d0a 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1,1 +1,1 @@ -sbt.version=1.12.11 +sbt.version=1.12.12
[ "project/build.properties" ]
[]
true
typelevel/doobie
2,445
issue_to_patch
Update sbt-scalafix to 0.14.7
## About this PR πŸ“¦ Updates [ch.epfl.scala:sbt-scalafix](https://github.com/scalacenter/sbt-scalafix) from `0.14.6` to `0.14.7` πŸ“œ [GitHub Release Notes](https://github.com/scalacenter/sbt-scalafix/releases/tag/v0.14.7) - [Version Diff](https://github.com/scalacenter/sbt-scalafix/compare/v0.14.6...v0.14.7) ## Usage βœ…...
b000a36ea53da543d37225965bee7ca93960bf16
49401422304d458aaf85b1bdd7a4791362afe295
diff --git a/project/plugins.sbt b/project/plugins.sbt index 7de605492..dd49a99c9 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -12,7 +12,7 @@ addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.5") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.9.0") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "...
[ "project/plugins.sbt" ]
[]
true
typelevel/doobie
2,446
issue_to_patch
Update sbt-tpolecat to 0.5.6
## About this PR πŸ“¦ Updates [org.typelevel:sbt-tpolecat](https://github.com/typelevel/sbt-tpolecat) from `0.5.5` to `0.5.6` πŸ“œ [GitHub Release Notes](https://github.com/typelevel/sbt-tpolecat/releases/tag/v0.5.6) - [Version Diff](https://github.com/typelevel/sbt-tpolecat/compare/v0.5.5...v0.5.6) ## Usage βœ… **Please m...
b000a36ea53da543d37225965bee7ca93960bf16
c3619535f5c6c875b5a5a6ee5ce668f010404c3e
diff --git a/project/plugins.sbt b/project/plugins.sbt index 7de605492..c9df9515f 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -8,7 +8,7 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.4.4") addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4") addSbtPlugin("pl.project13.scala" % "sbt-jmh...
[ "project/plugins.sbt" ]
[]
true
typelevel/doobie
2,444
issue_to_patch
Update scala3-library to 3.3.8
## About this PR πŸ“¦ Updates [org.scala-lang:scala3-library](https://github.com/scala/scala3) from `3.3.7` to `3.3.8` πŸ“œ [GitHub Release Notes](https://github.com/scala/scala3/releases/tag/3.3.8) - [Version Diff](https://github.com/scala/scala3/compare/3.3.7...3.3.8) ## Usage βœ… **Please merge!** I'll automatically up...
9c9f51f5e0b8d7656ee9530819e8add85f422ec7
f74cd9d64e6045c2192cd0bca92791ddf2d14f07
diff --git a/build.sbt b/build.sbt index f96eadfa2..b8cf5e23e 100644 --- a/build.sbt +++ b/build.sbt @@ -26,7 +26,7 @@ lazy val silencerVersion = "1.7.1" lazy val specs2Version = "4.23.0" lazy val scala212Version = "2.12.21" lazy val scala213Version = "2.13.18" -lazy val scala3Version = "3.3.7" +lazy val scala3Versi...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,443
issue_to_patch
Update munit to 1.3.3
## About this PR πŸ“¦ Updates [org.scalameta:munit](https://github.com/scalameta/munit) from `1.3.2` to `1.3.3` πŸ“œ [GitHub Release Notes](https://github.com/scalameta/munit/releases/tag/v1.3.3) - [Version Diff](https://github.com/scalameta/munit/compare/v1.3.2...v1.3.3) ## Usage βœ… **Please merge!** I'll automatically ...
50ad5df57cb9ee7193db7d3642843dd7ff52af93
3cb57dc7a78795d2541d5f7637d015f1501449d5
diff --git a/build.sbt b/build.sbt index 2f1c5f816..f96eadfa2 100644 --- a/build.sbt +++ b/build.sbt @@ -18,7 +18,7 @@ lazy val refinedVersion = "0.11.3" lazy val scalaCollectionCompatVersion = "2.14.0" lazy val scalaCheckVersion = "1.15.4" lazy val scalatestVersion = "3.2.20" -lazy val munitVersion = "1.3.2" +lazy ...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,440
issue_to_patch
Update weaver-cats to 0.13.0
## About this PR πŸ“¦ Updates [org.typelevel:weaver-cats](https://github.com/typelevel/weaver-test) from `0.12.0` to `0.13.0` πŸ“œ [GitHub Release Notes](https://github.com/typelevel/weaver-test/releases/tag/v0.13.0) - [Version Diff](https://github.com/typelevel/weaver-test/compare/v0.12.0...v0.13.0) ## Usage βœ… **Please ...
3b167a253f74ad0d339502a7746785e73cb5baf2
fe23f8287f6ed43882a626672d4e18b8a67aa28d
diff --git a/build.sbt b/build.sbt index fa336f218..bfec0ea1c 100644 --- a/build.sbt +++ b/build.sbt @@ -31,7 +31,7 @@ lazy val allScalaVersions = List(scala212Version, scala213Version, scala3Version // scala-steward:off lazy val slf4jVersion = "1.7.36" // scala-steward:on -lazy val weaverVersion = "0.12.0" +lazy va...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,438
issue_to_patch
Update opentelemetry-jdbc to 2.26.1-alpha
## About this PR πŸ“¦ Updates [io.opentelemetry.instrumentation:opentelemetry-jdbc](https://github.com/open-telemetry/opentelemetry-java-instrumentation) from `2.26.0-alpha` to `2.26.1-alpha` ## Usage βœ… **Please merge!** I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If...
3b167a253f74ad0d339502a7746785e73cb5baf2
6a3b97cf374fedf811834d28ed4f642cb94bc19e
diff --git a/build.sbt b/build.sbt index fa336f218..c1f663282 100644 --- a/build.sbt +++ b/build.sbt @@ -20,7 +20,7 @@ lazy val scalaCheckVersion = "1.15.4" lazy val scalatestVersion = "3.2.20" lazy val munitVersion = "1.3.1" lazy val otel4sVersion = "1.0.0" -lazy val otelInstrumentationVersion = "2.26.0-alpha" +laz...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,439
issue_to_patch
Update munit to 1.3.2
## About this PR πŸ“¦ Updates [org.scalameta:munit](https://github.com/scalameta/munit) from `1.3.1` to `1.3.2` πŸ“œ [GitHub Release Notes](https://github.com/scalameta/munit/releases/tag/v1.3.2) - [Version Diff](https://github.com/scalameta/munit/compare/v1.3.1...v1.3.2) ## Usage βœ… **Please merge!** I'll automatically ...
3b167a253f74ad0d339502a7746785e73cb5baf2
592a8fab6dd7348d7b62d0d66450195a55d8e250
diff --git a/build.sbt b/build.sbt index fa336f218..fa43620b9 100644 --- a/build.sbt +++ b/build.sbt @@ -18,7 +18,7 @@ lazy val refinedVersion = "0.11.3" lazy val scalaCollectionCompatVersion = "2.14.0" lazy val scalaCheckVersion = "1.15.4" lazy val scalatestVersion = "3.2.20" -lazy val munitVersion = "1.3.1" +lazy ...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,441
issue_to_patch
fix doc update instructions
3b167a253f74ad0d339502a7746785e73cb5baf2
382b263c46c22cab8e1de1f1e05c6c5fd6ec310e
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 56e9d46ff..7236b7697 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -53,9 +53,11 @@ After the version is set correctly: ``` # Make the git worktree where gh-page branch will be checked out and docs copied over git fetch && git worktree add doc_worktree gh-p...
[ "CONTRIBUTING.md" ]
[]
true
typelevel/doobie
2,434
issue_to_patch
Update sbt-typelevel-ci-release, ... to 0.8.6
## About this PR πŸ“¦ Updates * [org.typelevel:sbt-typelevel-ci-release](https://github.com/typelevel/sbt-typelevel) * [org.typelevel:sbt-typelevel-mergify](https://github.com/typelevel/sbt-typelevel) from `0.8.5` to `0.8.6` πŸ“œ [GitHub Release Notes](https://github.com/typelevel/sbt-typelevel/releases/tag/v0.8.6) - [...
6bdd205b4ff8beeae70267f17f9001bacc624d81
4704e3cd00f391f4c3c7a865c30971ed3a2f984b
diff --git a/project/plugins.sbt b/project/plugins.sbt index a7ce92532..45d510e30 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -2,8 +2,8 @@ addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.10.7") addSbtPlugin("com.github.sbt" % "sbt-site" % "1.7.0") addSbtPlugin("com.github.sbt" % "sbt-site-...
[ "project/plugins.sbt" ]
[]
true
typelevel/doobie
2,403
issue_to_patch
Add otel4s documentation
This page covers `doobie-otel4s` usage scenarios. ____ This PR was made with the help of AI.
7b70de7443f3cfc7de45776a20cafb98bb0e2ed6
24d0329cae4c8a4e4f7aa4697767483638359957
diff --git a/build.sbt b/build.sbt index 73d21f7aa..d06e436f8 100644 --- a/build.sbt +++ b/build.sbt @@ -20,6 +20,7 @@ lazy val scalaCheckVersion = "1.15.4" lazy val scalatestVersion = "3.2.20" lazy val munitVersion = "1.3.0" lazy val otel4sVersion = "1.0.0" +lazy val otelInstrumentationVersion = "2.26.0-alpha" laz...
[ "build.sbt", "modules/docs/src/main/mdoc/docs/20-Otel4s-Tracing.md", "modules/docs/src/main/mdoc/docs/index.md" ]
[]
true
typelevel/doobie
2,429
issue_to_patch
Update scalafmt-core to 3.11.1
## About this PR πŸ“¦ Updates [org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt) from `3.11.0` to `3.11.1` πŸ“œ [GitHub Release Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.11.1) - [Version Diff](https://github.com/scalameta/scalafmt/compare/v3.11.0...v3.11.1) ## Usage βœ… **Please merge!*...
7b70de7443f3cfc7de45776a20cafb98bb0e2ed6
4564cd057facb7101ac08a26d8c36ae56f1f04ba
diff --git a/.scalafmt.conf b/.scalafmt.conf index 8c9d7d362..dd752ac72 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version=3.11.0 +version=3.11.1 maxColumn = 120 assumeStandardLibraryStripMargin = true
[ ".scalafmt.conf" ]
[]
true
typelevel/doobie
2,432
issue_to_patch
Update typename to 1.1.2
## About this PR πŸ“¦ Updates [org.tpolecat:typename](https://github.com/tpolecat/typename) from `1.1.0` to `1.1.2` πŸ“œ [GitHub Release Notes](https://github.com/tpolecat/typename/releases/tag/v1.1.2) - [Version Diff](https://github.com/tpolecat/typename/compare/v1.1.0...v1.1.2) ## Usage βœ… **Please merge!** I'll automa...
7b70de7443f3cfc7de45776a20cafb98bb0e2ed6
a3cd2feb8d9e158550a26ff67e255df790e354cc
diff --git a/build.sbt b/build.sbt index 73d21f7aa..1b21dbfad 100644 --- a/build.sbt +++ b/build.sbt @@ -280,7 +280,7 @@ lazy val core = projectMatrix name := "doobie-core", description := "Pure functional JDBC layer for Scala.", libraryDependencies ++= Seq( - "org.tpolecat" %% "typename" % "1.1.0",...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,431
issue_to_patch
Update sbt-scalafmt to 2.6.1
## About this PR πŸ“¦ Updates [org.scalameta:sbt-scalafmt](https://github.com/scalameta/sbt-scalafmt) from `2.6.0` to `2.6.1` πŸ“œ [GitHub Release Notes](https://github.com/scalameta/sbt-scalafmt/releases/tag/v2.6.1) - [Version Diff](https://github.com/scalameta/sbt-scalafmt/compare/v2.6.0...v2.6.1) ## Usage βœ… **Please m...
7b70de7443f3cfc7de45776a20cafb98bb0e2ed6
1a87badc6cd339e5ca68f3f33681298a6ff1fd49
diff --git a/project/plugins.sbt b/project/plugins.sbt index a7ce92532..9c6166d5f 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -10,7 +10,7 @@ addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.8") addSbtPlugin("com.github.sbt" % "sbt-header" % "5.11.0") addSbtPlugin("org.typelevel" % "sbt-tpolecat"...
[ "project/plugins.sbt" ]
[]
true
typelevel/doobie
2,435
issue_to_patch
Update sbt-tpolecat to 0.5.5
## About this PR πŸ“¦ Updates [org.typelevel:sbt-tpolecat](https://github.com/typelevel/sbt-tpolecat) from `0.5.3` to `0.5.5` πŸ“œ [GitHub Release Notes](https://github.com/typelevel/sbt-tpolecat/releases/tag/v0.5.5) - [Version Diff](https://github.com/typelevel/sbt-tpolecat/compare/v0.5.3...v0.5.5) ## Usage βœ… **Please m...
e3e1daade888a9b1327de46847be0f0986b3268c
caf314cf016c09abce6d94f2f65262aded2a401f
diff --git a/build.sbt b/build.sbt index 3ae952e94..a09406601 100644 --- a/build.sbt +++ b/build.sbt @@ -114,9 +114,10 @@ lazy val compilerFlags = Seq( // Disable warning when @nowarn annotation isn't suppressing a warning // to simplify cross-building // because 2.12 @nowarn doesn't actually do anything.. htt...
[ "build.sbt", "modules/postgres/src/test/scala/doobie/postgres/enums/MyEnum.scala", "modules/postgres/src/test/scala/doobie/postgres/enums/OtherEnum.scala", "project/plugins.sbt" ]
[]
diff --git a/modules/postgres/src/test/scala/doobie/postgres/enums/MyEnum.scala b/modules/postgres/src/test/scala/doobie/postgres/enums/MyEnum.scala index 458f3c9b9..cab0c616b 100644 --- a/modules/postgres/src/test/scala/doobie/postgres/enums/MyEnum.scala +++ b/modules/postgres/src/test/scala/doobie/postgres/enums/MyEn...
true
typelevel/doobie
2,436
issue_to_patch
Adjust docs for noticeable fragment constructors according current real behavior
`or`, `and`, `where`, and their combinations wrap operands with parentheses, while doc contains old examples (from RC-5) with unwrapped operands. Made doc consistent with behavior (examples now show parentheses in constructors, where they will appear)
e3e1daade888a9b1327de46847be0f0986b3268c
4abde3b92908b21db8e0706976a4fef012b682a5
diff --git a/modules/core/src/main/scala/doobie/util/fragments.scala b/modules/core/src/main/scala/doobie/util/fragments.scala index 1f441c464..293849711 100644 --- a/modules/core/src/main/scala/doobie/util/fragments.scala +++ b/modules/core/src/main/scala/doobie/util/fragments.scala @@ -103,11 +103,11 @@ object fragme...
[ "modules/core/src/main/scala/doobie/util/fragments.scala" ]
[]
true
typelevel/doobie
2,437
issue_to_patch
Update munit to 1.3.1
## About this PR πŸ“¦ Updates [org.scalameta:munit](https://github.com/scalameta/munit) from `1.3.0` to `1.3.1` πŸ“œ [GitHub Release Notes](https://github.com/scalameta/munit/releases/tag/v1.3.1) - [Version Diff](https://github.com/scalameta/munit/compare/v1.3.0...v1.3.1) ## Usage βœ… **Please merge!** I'll automatically ...
e3e1daade888a9b1327de46847be0f0986b3268c
5d1d793b4924c37025d89209b0ea1293d853aad2
diff --git a/build.sbt b/build.sbt index 3ae952e94..299677d9b 100644 --- a/build.sbt +++ b/build.sbt @@ -18,7 +18,7 @@ lazy val refinedVersion = "0.11.3" lazy val scalaCollectionCompatVersion = "2.14.0" lazy val scalaCheckVersion = "1.15.4" lazy val scalatestVersion = "3.2.20" -lazy val munitVersion = "1.3.0" +lazy ...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,433
issue_to_patch
Remove redundant `crossScalaVersions` from `doobie-otel4s` configuration
6bdd205b4ff8beeae70267f17f9001bacc624d81
1118b38da2d463ec680f9ce62c721bcf767d9a59
diff --git a/build.sbt b/build.sbt index 2757c745f..3ae952e94 100644 --- a/build.sbt +++ b/build.sbt @@ -625,7 +625,6 @@ lazy val otel4s = projectMatrix .settings( name := "doobie-otel4s", description := "otel4s support for doobie.", - crossScalaVersions := Seq(scala213Version, scala3Version), libr...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,430
issue_to_patch
Add `tlVersionIntroduced` to otel4s module
7b70de7443f3cfc7de45776a20cafb98bb0e2ed6
754622bcf5751e9dbcb307f4afe8e786d7fa9091
diff --git a/build.sbt b/build.sbt index 73d21f7aa..2757c745f 100644 --- a/build.sbt +++ b/build.sbt @@ -633,7 +633,8 @@ lazy val otel4s = projectMatrix "io.circe" %% "circe-parser" % circeVersion, "org.typelevel" %% "otel4s-oteljava-trace-testkit" % otel4sVersion % "test", "com.h2database" % "h2" ...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,428
issue_to_patch
Update otel4s to 1.0.0
13a3bf25b10b056e057e4d4fc18b6955fd2e4ff2
865d9797189d464a40f04df5e428a971ed6ce98c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc40792e4..1dffeb42a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,11 +86,11 @@ jobs: - name: Make target directories if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') |...
[ ".github/workflows/ci.yml", "build.sbt", "modules/otel4s/src/test/scala/doobie/otel4s/TracedTransactorSuite.scala" ]
[]
diff --git a/modules/otel4s/src/test/scala/doobie/otel4s/TracedTransactorSuite.scala b/modules/otel4s/src/test/scala/doobie/otel4s/TracedTransactorSuite.scala index d2c187839..0e4884e48 100644 --- a/modules/otel4s/src/test/scala/doobie/otel4s/TracedTransactorSuite.scala +++ b/modules/otel4s/src/test/scala/doobie/otel4s...
true
typelevel/doobie
2,425
issue_to_patch
Update sbt, sbt-dependency-tree, ... to 1.12.11
## About this PR πŸ“¦ Updates * [org.scala-sbt:sbt](https://github.com/sbt/sbt) * [org.scala-sbt:sbt-dependency-tree](https://github.com/sbt/sbt) * [org.scala-sbt:scripted-plugin](https://github.com/sbt/sbt) from `1.12.10` to `1.12.11` ## Usage βœ… **Please merge!** I'll automatically update this PR to resolve conflic...
d173906a17610c655239b65a8da89afe01eec120
a4968e5052a221c322c427819bab9aaaf9f8fadf
diff --git a/project/build.properties b/project/build.properties index 6edd024b6..dabdb1590 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1,1 +1,1 @@ -sbt.version=1.12.10 +sbt.version=1.12.11
[ "project/build.properties" ]
[]
true
typelevel/doobie
2,422
issue_to_patch
Update sbt, sbt-dependency-tree, ... to 1.12.10
## About this PR πŸ“¦ Updates * [org.scala-sbt:sbt](https://github.com/sbt/sbt) * [org.scala-sbt:sbt-dependency-tree](https://github.com/sbt/sbt) * [org.scala-sbt:scripted-plugin](https://github.com/sbt/sbt) from `1.12.9` to `1.12.10` πŸ“œ [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.12.10) - [Vers...
20bfa3d33ee333de32cc22ec38a39093783bfd91
898428f79f5f431e934f301dbe86077beee19bba
diff --git a/project/build.properties b/project/build.properties index df061f4fb..6edd024b6 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1,1 +1,1 @@ -sbt.version=1.12.9 +sbt.version=1.12.10
[ "project/build.properties" ]
[]
true
typelevel/doobie
2,420
issue_to_patch
Update mysql-connector-j to 9.7.0
## About this PR πŸ“¦ Updates [com.mysql:mysql-connector-j](https://github.com/mysql/mysql-connector-j) from `9.6.0` to `9.7.0` πŸ“œ [GitHub Release Notes](https://github.com/mysql/mysql-connector-j/releases/tag/9.7.0) - [Version Diff](https://github.com/mysql/mysql-connector-j/compare/9.6.0...9.7.0) ## Usage βœ… **Please ...
3e218d63c72e22802540845052dd645b1bd07e2d
b0c9ac9a3d64a9805adef61a0f66ccdd2ce2bd41
diff --git a/build.sbt b/build.sbt index c3ca944e2..54fafdda8 100644 --- a/build.sbt +++ b/build.sbt @@ -10,7 +10,7 @@ lazy val fs2Version = "3.13.0" lazy val h2Version = "2.4.240" lazy val hikariVersion = "7.0.2" // N.B. Hikari v4 introduces a breaking change via slf4j v2 lazy val kindProjectorVersion = "0.11.2" -l...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,418
issue_to_patch
Update sbt-scalafmt to 2.6.0
## About this PR πŸ“¦ Updates [org.scalameta:sbt-scalafmt](https://github.com/scalameta/sbt-scalafmt) from `2.5.6` to `2.6.0` πŸ“œ [GitHub Release Notes](https://github.com/scalameta/sbt-scalafmt/releases/tag/v2.6.0) - [Version Diff](https://github.com/scalameta/sbt-scalafmt/compare/v2.5.6...v2.6.0) ## Usage βœ… **Please m...
1f497ca424a9c289b89aeacabee04151388b5280
b1087957ccb217d1b582f39e9d4d39835de1849f
diff --git a/project/plugins.sbt b/project/plugins.sbt index 9808ca140..a7ce92532 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -10,7 +10,7 @@ addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.8") addSbtPlugin("com.github.sbt" % "sbt-header" % "5.11.0") addSbtPlugin("org.typelevel" % "sbt-tpolecat"...
[ "project/plugins.sbt" ]
[]
true
typelevel/doobie
2,415
issue_to_patch
Update munit to 1.3.0
## About this PR πŸ“¦ Updates [org.scalameta:munit](https://github.com/scalameta/munit) from `1.2.4` to `1.3.0` πŸ“œ [GitHub Release Notes](https://github.com/scalameta/munit/releases/tag/v1.3.0) - [Version Diff](https://github.com/scalameta/munit/compare/v1.2.4...v1.3.0) ## Usage βœ… **Please merge!** I'll automatically ...
1f497ca424a9c289b89aeacabee04151388b5280
9e611fff6661ea048a31d8e88fda26ab714b7796
diff --git a/build.sbt b/build.sbt index 3aff08ce2..c3ca944e2 100644 --- a/build.sbt +++ b/build.sbt @@ -18,7 +18,7 @@ lazy val refinedVersion = "0.11.3" lazy val scalaCollectionCompatVersion = "2.14.0" lazy val scalaCheckVersion = "1.15.4" lazy val scalatestVersion = "3.2.20" -lazy val munitVersion = "1.2.4" +lazy ...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,417
issue_to_patch
Update scalafmt-core to 3.11.0
## About this PR πŸ“¦ Updates [org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt) from `3.10.7` to `3.11.0` πŸ“œ [GitHub Release Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.11.0) - [Version Diff](https://github.com/scalameta/scalafmt/compare/v3.10.7...v3.11.0) ## Usage βœ… **Please merge!*...
478c88f823e1a586c7989c201652b7d1cdd8ccc5
b037878e401f6e3999b4098e9dc811822fe078ab
diff --git a/.scalafmt.conf b/.scalafmt.conf index 476820c32..8c9d7d362 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version=3.10.7 +version=3.11.0 maxColumn = 120 assumeStandardLibraryStripMargin = true
[ ".scalafmt.conf" ]
[]
true
typelevel/doobie
2,416
issue_to_patch
Update mdoc, sbt-mdoc to 2.9.0
## About this PR πŸ“¦ Updates * [org.scalameta:mdoc](https://github.com/scalameta/mdoc) * [org.scalameta:sbt-mdoc](https://github.com/scalameta/mdoc) from `2.8.2` to `2.9.0` πŸ“œ [GitHub Release Notes](https://github.com/scalameta/mdoc/releases/tag/v2.9.0) - [Version Diff](https://github.com/scalameta/mdoc/compare/v2.8...
478c88f823e1a586c7989c201652b7d1cdd8ccc5
ab34ebc2ec5b1577f254f869919d29da83da652b
diff --git a/project/plugins.sbt b/project/plugins.sbt index 71b3ef48a..9808ca140 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -9,7 +9,7 @@ addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4") addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.8") addSbtPlugin("com.github.sbt" % "sbt-header" ...
[ "project/plugins.sbt" ]
[]
true
typelevel/doobie
2,413
issue_to_patch
Update sbt, sbt-dependency-tree, ... to 1.12.9
## About this PR πŸ“¦ Updates * [org.scala-sbt:sbt](https://github.com/sbt/sbt) * [org.scala-sbt:sbt-dependency-tree](https://github.com/sbt/sbt) * [org.scala-sbt:scripted-plugin](https://github.com/sbt/sbt) from `1.12.8` to `1.12.9` πŸ“œ [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.12.9) - [Versio...
478c88f823e1a586c7989c201652b7d1cdd8ccc5
8651749c686a5a692dac6286468f863ff81d39c5
diff --git a/project/build.properties b/project/build.properties index 08a6fc019..df061f4fb 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1,1 +1,1 @@ -sbt.version=1.12.8 +sbt.version=1.12.9
[ "project/build.properties" ]
[]
true
typelevel/doobie
2,414
issue_to_patch
Update otel4s-core-trace, ... to 0.16.0
## About this PR πŸ“¦ Updates * [org.typelevel:otel4s-core-trace](https://github.com/typelevel/otel4s) * [org.typelevel:otel4s-oteljava-trace-testkit](https://github.com/typelevel/otel4s) * [org.typelevel:otel4s-semconv](https://github.com/typelevel/otel4s) from `0.15.2` to `0.16.0` πŸ“œ [GitHub Release Notes](https://...
478c88f823e1a586c7989c201652b7d1cdd8ccc5
0f678e31e1588005cc8fca18394f280996457957
diff --git a/build.sbt b/build.sbt index 14193a0ff..3aff08ce2 100644 --- a/build.sbt +++ b/build.sbt @@ -19,7 +19,7 @@ lazy val scalaCollectionCompatVersion = "2.14.0" lazy val scalaCheckVersion = "1.15.4" lazy val scalatestVersion = "3.2.20" lazy val munitVersion = "1.2.4" -lazy val otel4sVersion = "0.15.2" +lazy v...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,411
issue_to_patch
Minor pg range edge type additions
Hey, this PR makes a few minor changes that make the postgres `Range.Edge` type a little easier to work with: `isLower|UpperBoundInclusive` can save you having to match, and the type didn't appear to have an `Eq` instance. Hope this is helpful :slightly_smiling_face:
c8de27c9fb6cca71f4586fe63856fd619ee7ba1a
415748584245b66601d34ae24479438479e0fc46
diff --git a/modules/postgres/src/main/scala/doobie/postgres/types/Range.scala b/modules/postgres/src/main/scala/doobie/postgres/types/Range.scala index 5ce95a98d..ce2bd9a24 100644 --- a/modules/postgres/src/main/scala/doobie/postgres/types/Range.scala +++ b/modules/postgres/src/main/scala/doobie/postgres/types/Range.s...
[ "modules/postgres/src/main/scala/doobie/postgres/types/Range.scala" ]
[ { "comment": "If it was defined like this:\n\n```scala\n sealed abstract class Edge(\n val isLowerBoundInclusive: Boolean,\n val isUpperBoundInclusive: Boolean)\n```\nThen it would be simpler to materialize its instances:\n```scala\ncase object ExclExcl(false, false) extends Edge\ncase object ExclIncl(fa...
true
typelevel/doobie
2,410
issue_to_patch
Update sbt, sbt-dependency-tree, ... to 1.12.8
## About this PR πŸ“¦ Updates * [org.scala-sbt:sbt](https://github.com/sbt/sbt) * [org.scala-sbt:sbt-dependency-tree](https://github.com/sbt/sbt) * [org.scala-sbt:scripted-plugin](https://github.com/sbt/sbt) from `1.12.7` to `1.12.8` ## Usage βœ… **Please merge!** I'll automatically update this PR to resolve conflicts...
f7224f27801b5ece3971d9d6140c74b23e52231b
2f46a8ab3e7f5a260d73567673922bd9334376ee
diff --git a/project/build.properties b/project/build.properties index 038cb31d0..08a6fc019 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1,1 +1,1 @@ -sbt.version=1.12.7 +sbt.version=1.12.8
[ "project/build.properties" ]
[]
true
typelevel/doobie
2,412
issue_to_patch
Update scalatest to 3.2.20
## About this PR πŸ“¦ Updates [org.scalatest:scalatest](https://github.com/scalatest/scalatest) from `3.2.19` to `3.2.20` ## 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 h...
f7224f27801b5ece3971d9d6140c74b23e52231b
f4d23750cbeb82028cc98f3adf092608380a4ff4
diff --git a/build.sbt b/build.sbt index 1a5bb54d3..14193a0ff 100644 --- a/build.sbt +++ b/build.sbt @@ -17,7 +17,7 @@ lazy val postgresVersion = "42.7.10" lazy val refinedVersion = "0.11.3" lazy val scalaCollectionCompatVersion = "2.14.0" lazy val scalaCheckVersion = "1.15.4" -lazy val scalatestVersion = "3.2.19" +...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,409
issue_to_patch
Update sbt, sbt-dependency-tree, ... to 1.12.7
## About this PR πŸ“¦ Updates * [org.scala-sbt:sbt](https://github.com/sbt/sbt) * [org.scala-sbt:sbt-dependency-tree](https://github.com/sbt/sbt) * [org.scala-sbt:scripted-plugin](https://github.com/sbt/sbt) from `1.12.6` to `1.12.7` πŸ“œ [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.12.7) - [Versio...
9ea0d254f21a10838f1226056d27ef4bfd7ed02c
8bd3a8aa73a6cc11eaf12e0c1ed39d60ee997268
diff --git a/project/build.properties b/project/build.properties index 2106fb4fe..038cb31d0 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1,1 +1,1 @@ -sbt.version=1.12.6 +sbt.version=1.12.7
[ "project/build.properties" ]
[]
true
typelevel/doobie
2,402
issue_to_patch
Update weaver-cats to 0.12.0
## About this PR πŸ“¦ Updates [org.typelevel:weaver-cats](https://github.com/typelevel/weaver-test) from `0.11.3` to `0.12.0` πŸ“œ [GitHub Release Notes](https://github.com/typelevel/weaver-test/releases/tag/v0.12.0) - [Version Diff](https://github.com/typelevel/weaver-test/compare/v0.11.3...v0.12.0) ## Usage βœ… **Please ...
435396bbd40bb13e45cf8358335c23d8d34be1ec
1c6b88596c31f03bb3ecda1ff65eb935b9f6249f
diff --git a/build.sbt b/build.sbt index fee26a53f..9cc82d292 100644 --- a/build.sbt +++ b/build.sbt @@ -30,7 +30,7 @@ lazy val allScalaVersions = List(scala212Version, scala213Version, scala3Version // scala-steward:off lazy val slf4jVersion = "1.7.36" // scala-steward:on -lazy val weaverVersion = "0.11.3" +lazy va...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,404
issue_to_patch
Update sbt-updates to 0.6.4
## About this PR πŸ“¦ Updates [com.timushev.sbt:sbt-updates](https://github.com/rtimush/sbt-updates) from `0.6.2` to `0.6.4` πŸ“œ [GitHub Release Notes](https://github.com/rtimush/sbt-updates/releases/tag/0.6.4) - [Version Diff](https://github.com/rtimush/sbt-updates/compare/0.6.2...0.6.4) ## Usage βœ… **Please merge!** I...
0f3c4202d90aa6d78c0bd0a5b3008df60ba3e95a
ea5cb1545480f7f3805331981077a30eba236168
diff --git a/project/plugins.sbt b/project/plugins.sbt index f863701b9..6fe07c310 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -5,7 +5,7 @@ addSbtPlugin("com.github.sbt" % "sbt-ghpages" % "0.9.0") addSbtPlugin("org.typelevel" % "sbt-typelevel-ci-release" % "0.8.5") addSbtPlugin("org.typelevel" % "sbt...
[ "project/plugins.sbt" ]
[]
true
typelevel/doobie
2,405
issue_to_patch
Update sbt-scalafmt to 2.5.6
## About this PR πŸ“¦ Updates [org.scalameta:sbt-scalafmt](https://github.com/scalameta/sbt-scalafmt) from `2.5.5` to `2.5.6` πŸ“œ [GitHub Release Notes](https://github.com/scalameta/sbt-scalafmt/releases/tag/v2.5.6) - [Version Diff](https://github.com/scalameta/sbt-scalafmt/compare/v2.5.5...v2.5.6) ## Usage βœ… **Please m...
0f3c4202d90aa6d78c0bd0a5b3008df60ba3e95a
6371408b7ec7d032bf806e5f773f9eac3ec5775d
diff --git a/project/plugins.sbt b/project/plugins.sbt index f863701b9..2d7366343 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -10,7 +10,7 @@ addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.8") addSbtPlugin("com.github.sbt" % "sbt-header" % "5.11.0") addSbtPlugin("org.typelevel" % "sbt-tpolecat"...
[ "project/plugins.sbt" ]
[]
true
typelevel/doobie
2,406
issue_to_patch
Update scalatest to 3.2.19
## About this PR πŸ“¦ Updates [org.scalatest:scalatest](https://github.com/scalatest/scalatest) from `3.2.18` to `3.2.19` πŸ“œ [GitHub Release Notes](https://github.com/scalatest/scalatest/releases/tag/release-3.2.19) - [Version Diff](https://github.com/scalatest/scalatest/compare/release-3.2.18...release-3.2.19) ## Usag...
0f3c4202d90aa6d78c0bd0a5b3008df60ba3e95a
972d59a18ae1d2bee8651b1d7191d1883c94a990
diff --git a/build.sbt b/build.sbt index fee26a53f..cd10939f6 100644 --- a/build.sbt +++ b/build.sbt @@ -17,7 +17,7 @@ lazy val postgresVersion = "42.7.10" lazy val refinedVersion = "0.11.3" lazy val scalaCollectionCompatVersion = "2.14.0" lazy val scalaCheckVersion = "1.15.4" -lazy val scalatestVersion = "3.2.18" +...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,407
issue_to_patch
Update munit-cats-effect to 2.2.0
## About this PR πŸ“¦ Updates [org.typelevel:munit-cats-effect](https://github.com/typelevel/munit-cats-effect) from `2.1.0` to `2.2.0` πŸ“œ [GitHub Release Notes](https://github.com/typelevel/munit-cats-effect/releases/tag/v2.2.0) - [Version Diff](https://github.com/typelevel/munit-cats-effect/compare/v2.1.0...v2.2.0) #...
0f3c4202d90aa6d78c0bd0a5b3008df60ba3e95a
ab1ddf3c9ef31b239fd14486647d9b507460243e
diff --git a/build.sbt b/build.sbt index fee26a53f..c3e167cae 100644 --- a/build.sbt +++ b/build.sbt @@ -178,7 +178,7 @@ lazy val commonSettings = // MUnit libraryDependencies ++= Seq( "org.typelevel" %% "scalacheck-effect-munit" % "2.1.0" % Test, - "org.typelevel" %% "munit-cats-effect" %...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,408
issue_to_patch
Update weaver-cats to 0.12.0
## About this PR πŸ“¦ Updates [org.typelevel:weaver-cats](https://github.com/typelevel/weaver-test) from `0.11.3` to `0.12.0` πŸ“œ [GitHub Release Notes](https://github.com/typelevel/weaver-test/releases/tag/v0.12.0) - [Version Diff](https://github.com/typelevel/weaver-test/compare/v0.11.3...v0.12.0) ## Usage βœ… **Please ...
0f3c4202d90aa6d78c0bd0a5b3008df60ba3e95a
12377c9ab4a81bbf485caffbb6a0ab6b3a0ae5b3
diff --git a/build.sbt b/build.sbt index fee26a53f..9cc82d292 100644 --- a/build.sbt +++ b/build.sbt @@ -30,7 +30,7 @@ lazy val allScalaVersions = List(scala212Version, scala213Version, scala3Version // scala-steward:off lazy val slf4jVersion = "1.7.36" // scala-steward:on -lazy val weaverVersion = "0.11.3" +lazy va...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,401
issue_to_patch
Update sbt, sbt-dependency-tree, ... to 1.12.6
## About this PR πŸ“¦ Updates * [org.scala-sbt:sbt](https://github.com/sbt/sbt) * [org.scala-sbt:sbt-dependency-tree](https://github.com/sbt/sbt) * [org.scala-sbt:scripted-plugin](https://github.com/sbt/sbt) from `1.12.5` to `1.12.6` πŸ“œ [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.12.6) - [Versio...
435396bbd40bb13e45cf8358335c23d8d34be1ec
a02bea59ee0b58e580358f4b145e099f89032e8e
diff --git a/project/build.properties b/project/build.properties index b49295c71..2106fb4fe 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1,1 +1,1 @@ -sbt.version=1.12.5 +sbt.version=1.12.6
[ "project/build.properties" ]
[]
true
typelevel/doobie
2,395
issue_to_patch
otel4s module: add QueryAnalyzer
Users can plug in a query analyzer, e.g., [SqlQueryAnalyzer](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/4086f8f1386039c50055e8fcb46068e3e26801ba/instrumentation-api-incubator/src/main/java/io/opentelemetry/instrumentation/api/incubator/semconv/db/SqlQueryAnalyzer.java#L75) from OTeL instr...
416f92436b441d3877ca1fcaf2e26d4432bc7e81
ea20bd895438aa3e5ee4b513cc99b0744f3f11e1
diff --git a/build.sbt b/build.sbt index 355f57089..a037da0ee 100644 --- a/build.sbt +++ b/build.sbt @@ -4,7 +4,7 @@ import org.typelevel.sbt.tpolecat.{DevMode, CiMode} // Library versions all in one place, for convenience and sanity. lazy val catsVersion = "2.13.0" -lazy val catsEffectVersion = "3.6.3" +lazy val c...
[ "build.sbt", "modules/otel4s/src/main/scala/doobie/otel4s/QueryAnalyzer.scala", "modules/otel4s/src/main/scala/doobie/otel4s/SpanNamer.scala", "modules/otel4s/src/main/scala/doobie/otel4s/TracedInterpreter.scala", "modules/otel4s/src/main/scala/doobie/otel4s/TracingConfig.scala", "modules/otel4s/src/test/...
[]
diff --git a/modules/otel4s/src/test/scala/doobie/otel4s/QueryAnalyzerSuite.scala b/modules/otel4s/src/test/scala/doobie/otel4s/QueryAnalyzerSuite.scala new file mode 100644 index 000000000..9282f544f --- /dev/null +++ b/modules/otel4s/src/test/scala/doobie/otel4s/QueryAnalyzerSuite.scala @@ -0,0 +1,63 @@ +// Copyright...
true
typelevel/doobie
2,400
issue_to_patch
Update log4cats-core to 2.8.0
## About this PR πŸ“¦ Updates [org.typelevel:log4cats-core](https://github.com/typelevel/log4cats) from `2.7.1` to `2.8.0` πŸ“œ [GitHub Release Notes](https://github.com/typelevel/log4cats/releases/tag/v2.8.0) - [Version Diff](https://github.com/typelevel/log4cats/compare/v2.7.1...v2.8.0) ## Usage βœ… **Please merge!** I'...
d34f8ec4fd5318bc03a23fb625f533636c39b019
957e6bbe4612cd96b0ae0beaa9cf05b9ceaf8812
diff --git a/build.sbt b/build.sbt index fc49f254a..48b136aa9 100644 --- a/build.sbt +++ b/build.sbt @@ -11,7 +11,7 @@ lazy val h2Version = "2.4.240" lazy val hikariVersion = "7.0.2" // N.B. Hikari v4 introduces a breaking change via slf4j v2 lazy val kindProjectorVersion = "0.11.2" lazy val mysqlVersion = "9.6.0" -...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,399
issue_to_patch
Update fs2-core, fs2-io to 3.13.0
## About this PR πŸ“¦ Updates * [co.fs2:fs2-core](https://github.com/typelevel/fs2) * [co.fs2:fs2-io](https://github.com/typelevel/fs2) from `3.12.2` to `3.13.0` πŸ“œ [GitHub Release Notes](https://github.com/typelevel/fs2/releases/tag/v3.13.0) - [Version Diff](https://github.com/typelevel/fs2/compare/v3.12.2...v3.13.0...
d34f8ec4fd5318bc03a23fb625f533636c39b019
7fa2c3e5895d876df684b013cfd1cb106743e22e
diff --git a/build.sbt b/build.sbt index fc49f254a..bcccf8d4c 100644 --- a/build.sbt +++ b/build.sbt @@ -6,7 +6,7 @@ import org.typelevel.sbt.tpolecat.{DevMode, CiMode} lazy val catsVersion = "2.13.0" lazy val catsEffectVersion = "3.7.0" lazy val circeVersion = "0.14.15" -lazy val fs2Version = "3.12.2" +lazy val fs2...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,396
issue_to_patch
Update cats-effect, cats-effect-testkit to 3.7.0
## About this PR πŸ“¦ Updates * [org.typelevel:cats-effect](https://github.com/typelevel/cats-effect) * [org.typelevel:cats-effect-testkit](https://github.com/typelevel/cats-effect) from `3.6.3` to `3.7.0` πŸ“œ [GitHub Release Notes](https://github.com/typelevel/cats-effect/releases/tag/v3.7.0) - [Version Diff](https:/...
a42a07300393e6d4cdea4cd98a9a9d10b16717e1
6658016b28716e1a7899d5766292ad7b082003de
diff --git a/build.sbt b/build.sbt index 1c5de8b0d..2a3d910e7 100644 --- a/build.sbt +++ b/build.sbt @@ -4,7 +4,7 @@ import org.typelevel.sbt.tpolecat.{DevMode, CiMode} // Library versions all in one place, for convenience and sanity. lazy val catsVersion = "2.13.0" -lazy val catsEffectVersion = "3.6.3" +lazy val c...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,398
issue_to_patch
Update scalacheck-effect-munit to 2.1.0
## About this PR πŸ“¦ Updates [org.typelevel:scalacheck-effect-munit](https://github.com/typelevel/scalacheck-effect) from `2.0.0-M2` to `2.1.0` πŸ“œ [GitHub Release Notes](https://github.com/typelevel/scalacheck-effect/releases/tag/v2.1.0) - [Version Diff](https://github.com/typelevel/scalacheck-effect/compare/v2.0.0-M2....
a42a07300393e6d4cdea4cd98a9a9d10b16717e1
d6a6148c858d040830638fcaa1f1216b42c94146
diff --git a/build.sbt b/build.sbt index 1c5de8b0d..ef58442eb 100644 --- a/build.sbt +++ b/build.sbt @@ -177,7 +177,7 @@ lazy val commonSettings = // MUnit libraryDependencies ++= Seq( - "org.typelevel" %% "scalacheck-effect-munit" % "2.0.0-M2" % Test, + "org.typelevel" %% "scalacheck-effe...
[ "build.sbt" ]
[]
true
typelevel/doobie
2,393
issue_to_patch
Update Maven Central badge link in README.md
https://x.com/lukaszlenart/status/2008793083148955905
416f92436b441d3877ca1fcaf2e26d4432bc7e81
e758dea3de699fbf05e810ed935f185fac028327
diff --git a/README.md b/README.md index 3dc59b6a6..76c3f146e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Discord](https://img.shields.io/discord/632277896739946517.svg?label=&logo=discord&logoColor=ffffff&color=404244&labelColor=6A7EC2)](https://discord.gg/7B4VfFTvsS) [![Join the chat at https://gitt...
[ "README.md" ]
[]
true
typelevel/doobie
2,394
issue_to_patch
Update otel4s-core-trace, ... to 0.15.2
## About this PR πŸ“¦ Updates * [org.typelevel:otel4s-core-trace](https://github.com/typelevel/otel4s) * [org.typelevel:otel4s-oteljava-trace-testkit](https://github.com/typelevel/otel4s) * [org.typelevel:otel4s-semconv](https://github.com/typelevel/otel4s) from `0.15.1` to `0.15.2` πŸ“œ [GitHub Release Notes](https://...
416f92436b441d3877ca1fcaf2e26d4432bc7e81
b91b5a6bdac56e6892ce8a93933a464b6a73cad0
diff --git a/build.sbt b/build.sbt index 355f57089..1c5de8b0d 100644 --- a/build.sbt +++ b/build.sbt @@ -19,7 +19,7 @@ lazy val scalaCollectionCompatVersion = "2.14.0" lazy val scalaCheckVersion = "1.15.4" lazy val scalatestVersion = "3.2.18" lazy val munitVersion = "1.2.4" -lazy val otel4sVersion = "0.15.1" +lazy v...
[ "build.sbt" ]
[]
true
typelevel/scalacheck
1,177
issue_to_patch
Update sbt, scripted-plugin to 1.12.12
## About this PR πŸ“¦ Updates * [org.scala-sbt:sbt](https://github.com/sbt/sbt) * [org.scala-sbt:scripted-plugin](https://github.com/sbt/sbt) from `1.12.11` to `1.12.12` πŸ“œ [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.12.12) - [Version Diff](https://github.com/sbt/sbt/compare/v1.12.11...v1.12.12)...
60624a91e3ea4de2cb58ba682a77c55263386d8d
a2b5c81d265fec02d6ad2c422fe7b15dbf43cada
diff --git a/examples/commands-leveldb/project/build.properties b/examples/commands-leveldb/project/build.properties index dabdb159..7c1916d0 100644 --- a/examples/commands-leveldb/project/build.properties +++ b/examples/commands-leveldb/project/build.properties @@ -1,1 +1,1 @@ -sbt.version=1.12.11 +sbt.version=1.12.12...
[ "examples/commands-leveldb/project/build.properties", "examples/commands-nix/project/build.properties", "examples/commands-redis/project/build.properties", "examples/scalajs/project/build.properties", "examples/simple-sbt/project/build.properties", "project/build.properties" ]
[]
true
typelevel/scalacheck
1,176
issue_to_patch
Update scala3-library, ... to 3.3.8
## About this PR πŸ“¦ Updates * [org.scala-lang:scala3-library](https://github.com/scala/scala3) * [org.scala-lang:scala3-library_sjs1](https://github.com/scala/scala3) from `3.3.7` to `3.3.8` πŸ“œ [GitHub Release Notes](https://github.com/scala/scala3/releases/tag/3.3.8) - [Version Diff](https://github.com/scala/scala...
be9472a03f1a72f9397f0515e8552ad322feb7f8
62f79310a0f6a7d73a22cbfc0bbdb2ec2064d740
diff --git a/build.sbt b/build.sbt index 95cdaafc..59f3d1e2 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,6 @@ val Scala212 = "2.12.21" val Scala213 = "2.13.18" -val Scala3 = "3.3.7" +val Scala3 = "3.3.8" name := "scalacheck" ThisBuild / organization := "org.scalacheck"
[ "build.sbt" ]
[]
true
typelevel/scalacheck
1,175
issue_to_patch
Use Scala Native `test-interface-sbt-defs` instead of `test-interface`
See https://github.com/scala-native/scala-native/issues/4844 Testing libraries and frameworks should depend on Scala Native's `test-interface-sbt-defs`, not `test-interface`. - `test-interface-sbt-defs` defines a common interface for unit tests. It follows `early-semver` versioning. - `test-interface` is a serve...
0a659041857af5a578a53abf8a80bbd077697d9a
4a41588d43f06f004df2478f3254dcfc231b8d45
diff --git a/build.sbt b/build.sbt index 990528bc..95cdaafc 100644 --- a/build.sbt +++ b/build.sbt @@ -107,7 +107,7 @@ lazy val core = crossProject(JVMPlatform, JSPlatform, NativePlatform) ) .nativeSettings( libraryDependencies ++= Seq( - "org.scala-native" %%% "test-interface" % nativeVersion + "o...
[ "build.sbt" ]
[]
true
typelevel/scalacheck
1,174
issue_to_patch
Update auxlib, clib, javalib, nativelib, ... to 0.5.12
## About this PR πŸ“¦ Updates * [org.scala-native:auxlib](https://github.com/scala-native/scala-native) * [org.scala-native:clib](https://github.com/scala-native/scala-native) * [org.scala-native:javalib](https://github.com/scala-native/scala-native) * [org.scala-native:nativelib](https://github.com/scala-native/scala-n...
1b98ad4ca2586551fccaf4a6c87a49656b11462d
7ce88622d627129c71c174ec51a2e5fec23f6b31
diff --git a/project/plugin.sbt b/project/plugin.sbt index 4f073a42..32418b65 100644 --- a/project/plugin.sbt +++ b/project/plugin.sbt @@ -1,4 +1,4 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.21.0") -addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.11") +addSbtPlugin("org.scala-native" % "sbt-scala-...
[ "project/plugin.sbt" ]
[]
true
typelevel/scalacheck
1,173
issue_to_patch
Update sbt-typelevel to 0.8.6
## About this PR πŸ“¦ Updates [org.typelevel:sbt-typelevel](https://github.com/typelevel/sbt-typelevel) from `0.8.5` to `0.8.6` πŸ“œ [GitHub Release Notes](https://github.com/typelevel/sbt-typelevel/releases/tag/v0.8.6) - [Version Diff](https://github.com/typelevel/sbt-typelevel/compare/v0.8.5...v0.8.6) ## Usage βœ… **Plea...
e90a4ead11cd906544598c5a98b5f79b83f8704d
de950fe4b2a7105203359231fc93092d9f11e2fc
diff --git a/project/plugin.sbt b/project/plugin.sbt index 520531df..4f073a42 100644 --- a/project/plugin.sbt +++ b/project/plugin.sbt @@ -1,4 +1,4 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.21.0") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.11") addSbtPlugin("pl.project13.scala" % "sbt-jmh"...
[ "project/plugin.sbt" ]
[]
true
typelevel/scalacheck
1,172
issue_to_patch
Update scalafmt-core to 3.11.1
## About this PR πŸ“¦ Updates [org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt) from `3.11.0` to `3.11.1` πŸ“œ [GitHub Release Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.11.1) - [Version Diff](https://github.com/scalameta/scalafmt/compare/v3.11.0...v3.11.1) ## Usage βœ… **Please merge!*...
931c2ecc8bbb2587c499ddc347a32256af01fb4d
0a72d759b3ac12aad92e7fb7850db276d39751f8
diff --git a/.scalafmt.conf b/.scalafmt.conf index 82798a2f..e3735f0b 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version=3.11.0 +version=3.11.1 maxColumn = 120 assumeStandardLibraryStripMargin = true
[ ".scalafmt.conf" ]
[]
true
typelevel/scalacheck
1,171
issue_to_patch
Update sbt, scripted-plugin to 1.12.11
## About this PR πŸ“¦ Updates * [org.scala-sbt:sbt](https://github.com/sbt/sbt) * [org.scala-sbt:scripted-plugin](https://github.com/sbt/sbt) from `1.12.10` to `1.12.11` ## 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...
5fac53d8b2c98ec895d2b4d4ee1c36c128ef3582
3d93c2d952523b1dd8a82bcef818d984b1323a25
diff --git a/examples/commands-leveldb/project/build.properties b/examples/commands-leveldb/project/build.properties index 6edd024b..dabdb159 100644 --- a/examples/commands-leveldb/project/build.properties +++ b/examples/commands-leveldb/project/build.properties @@ -1,1 +1,1 @@ -sbt.version=1.12.10 +sbt.version=1.12.11...
[ "examples/commands-leveldb/project/build.properties", "examples/commands-nix/project/build.properties", "examples/commands-redis/project/build.properties", "examples/scalajs/project/build.properties", "examples/simple-sbt/project/build.properties", "project/build.properties" ]
[]
true
typelevel/scalacheck
1,170
issue_to_patch
Update sbt, scripted-plugin to 1.12.10
## About this PR πŸ“¦ Updates * [org.scala-sbt:sbt](https://github.com/sbt/sbt) * [org.scala-sbt:scripted-plugin](https://github.com/sbt/sbt) from `1.12.9` to `1.12.10` πŸ“œ [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.12.10) - [Version Diff](https://github.com/sbt/sbt/compare/v1.12.9...v1.12.10) ...
0d5f3a2afb6c7e04b7985d42e34fb70dd0364f7e
864fb5aa584f6475ec8bad9b02dfe5d9e8f2d073
diff --git a/examples/commands-leveldb/project/build.properties b/examples/commands-leveldb/project/build.properties index df061f4f..6edd024b 100644 --- a/examples/commands-leveldb/project/build.properties +++ b/examples/commands-leveldb/project/build.properties @@ -1,1 +1,1 @@ -sbt.version=1.12.9 +sbt.version=1.12.10 ...
[ "examples/commands-leveldb/project/build.properties", "examples/commands-nix/project/build.properties", "examples/commands-redis/project/build.properties", "examples/scalajs/project/build.properties", "examples/simple-sbt/project/build.properties", "project/build.properties" ]
[]
true