-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update zio, zio-streams, zio-test, ... to 2.0.0 #1315
Conversation
28668b5
to
3f57150
Compare
Hi, |
I'm happy to help out with this PR if I can. |
* added implementation for `cross` Gen combinator * added app and spec to izolate the issue * increased max message size in test app * for each strategy the executor should be set on ZIO program before executing the program. * attempt to fix compilation for scala 2.12 * removed test * removed cross
Codecov Report
@@ Coverage Diff @@
## main #1315 +/- ##
==========================================
+ Coverage 60.30% 60.33% +0.02%
==========================================
Files 71 71
Lines 2532 2526 -6
Branches 73 77 +4
==========================================
- Hits 1527 1524 -3
+ Misses 1005 1002 -3
Continue to review full report at Codecov.
|
checkAll(Gen.fromIterable(LogLevel.all)) { level => | ||
assertTrue(LogLevel.fromString(level.toString) == Some(level)) | ||
} | ||
}, | ||
testM("any invalid value should not decode") { | ||
test("any value with the exception of defined values for LogLevel should be set to Error log level.") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description isn't right.
|
||
private def run[R, E](app: HttpApp[R, E]): ZIO[TestClock with R, Option[E], Response] = { | ||
private def runApp[R, E](app: HttpApp[R, E]): ZIO[R, Option[E], Response] = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change req?
project/.bloop/zio-http-build.json
Outdated
@@ -0,0 +1,1996 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this file added?
queue.takeUpTo(max).tap(as => ZIO.foreachDiscard(as)(f)) | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will review if there is a better way, to avoid this.
Is there a release with this coming? 😇 |
Updates
from 1.0.15 to 2.0.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a
.scala-steward.conf
file.Have a fantastic day writing Scala!
Ignore future updates
Add this to your
.scala-steward.conf
file to ignore future updates of this dependency:labels: library-update, early-semver-major, semver-spec-major, commit-count:1