-
Notifications
You must be signed in to change notification settings - Fork 919
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 dependencies #4036
Update dependencies #4036
Conversation
ikhoon
commented
Jan 18, 2022
•
edited
Loading
edited
- Brave 5.13.3 -> 5.13.7
- Bouncy Castle 1.69 -> 1.70
- Bucket4J 6.3.0 -> 7.0.0
- Caffeine 2.9.2 -> 2.9.3
- Dropwizard 2.0.25 -> 2.0.28
- Dropwizard Metrics 4.2.4 -> 4.2.7
- gRPC Java 1.41.1 -> 1.41.2
- gRPC Kotlin 1.1.0 -> 1.2.1
- Jackson 2.13.0 -> 2.13.1
- java-jwt 3.18.2 -> 3.18.3
- jcl-over-slf4j 1.7.32 -> 1.7.33
- jboss-logging 3.4.2 -> 3.4.3
- Kafka 3.0.0 -> 3.1.0
- Kotlin 1.5.32 -> 1.6.10
- Logback 1.2.7 -> 1.2.10
- Micrometer 1.7.6 -> 1.8.2
- Netty 4.1.70 -> 4.1.73
- io_uring 0.0.1 -> 0.0.11
- Prometheus 0.12.0 -> 0.14.1
- protobuf-jackson 1.2.0 -> 2.0.0
- protobuf-java 3.17.3 -> 3.19.2
- Reactor 3.4.12 -> 3.4.14
- RESTEasy 4.7.3 -> 5.0.2
- Scala 2.13.7 -> 2.13.8, 3.1.1(new)
- scala-collection-compat 2.5.0 -> 2.6.0
- ScalaPB 0.11.6 -> 0.11.8
- SLF4J 1.7.33 -> 1.7.34
- Spring 5.3.13 -> 5.3.15
- Spring Boot 2.5.7 -> 2.6.2
- Tomcat 9.0.55 -> 9.0.56
- Build
- AssertJ 3.21.0 -> 3.22.0
- Checkstyle 8.45.1 -> 9.2.1
- Dagger 2.37 -> 2.40.5
- Finagle 2.0.25 -> 2.0.28
- graphql-dgs-client 4.9.10 -> 4.9.16
- graphql-kotlin 5.1.1 -> 5.3.2
- gax-grpc 1.67.0 -> 2.10.0
- JMH 1.33 -> 1.34
- ktlint 10.2.0 -> 10.2.1
- Mockito 4.0.0 -> 4.3.0
- TestNG 7.4.0 -> 7.5
- Fixes Support for Scala 3 #3614
TODO: Fix the failed tests in the Actuator module. |
- Brave 5.13.3 -> 5.13.7 - Bouncy Castle 1.69 -> 1.70 - Bucket4J 6.3.0 -> 7.0.0 - Caffeine 2.9.2 -> 2.9.3 - Dropwizard 2.0.25 -> 2.0.28 - Dropwizard Metrics 4.2.4 -> 4.2.7 - gRPC Java 1.41.1 -> 1.41.2 - gRPC Kotlin 1.1.0 -> 1.2.0 - Jackson 2.13.0 -> 2.13.1 - java-jwt 3.18.2 -> 3.18.3 - jcl-over-slf4j 1.7.32 -> 1.7.33 - jboss-logging 3.4.2 -> 3.4.3 - Kotlin 1.5.32 -> 1.6.10 - Logback 1.2.7 -> 1.2.10 - Micrometer 1.7.6 -> 1.8.2 - Netty 4.1.70 -> 4.1.73 - io_uring 0.0.1 -> 0.0.11 - Prometheus 0.12.0 -> 0.14.1 - protobuf-jackson 1.2.0 -> 2.0.0 - protobuf-java 3.17.3 -> 3.19.2 - Reactor 3.4.12 -> 3.4.14 - RESTEasy 4.7.3 -> 5.0.2 - Scala 3.13.7 -> 2.13.8 - scala-collection-compat 2.5.0 -> 2.6.0 - ScalaPB 0.11.6 -> 0.11.8 - Spring 5.3.13 -> 5.3.15 - Spring Boot 2.5.7 -> 2.6.2 - Tomcat 9.0.55 -> 9.0.56 - Build - AssertJ 3.21.0 -> 3.22.0 - Checkstyle 8.45.1 -> 9.2.1 - Dagger 2.37 -> 2.40.5 - Finagle 2.0.25 -> 2.0.28 - graphql-dgs-client 4.9.10 -> 4.9.16 - graphql-kotlin 5.1.1 -> 5.3.2 - gax-grpc 1.67.0 -> 2.9.0 - JMH 1.33 -> 1.34 - ktlint 10.2.0 -> 10.2.1 - Mockito 4.0.0 -> 4.2.0 - TestNG 7.4.0 -> 7.5
Decided that Spring (Boot) be upgraded in a separate PR. |
Codecov Report
@@ Coverage Diff @@
## master #4036 +/- ##
============================================
- Coverage 73.41% 73.40% -0.02%
Complexity 15934 15934
============================================
Files 1386 1386
Lines 60866 60869 +3
Branches 7715 7715
============================================
- Hits 44687 44682 -5
+ Misses 12275 12268 -7
- Partials 3904 3919 +15
Continue to review full report at Codecov.
|
Working on supporting Scala 3. Let me ship it in this PR together. 😀 |
.whenStopping { server: Server => server.activePorts } | ||
.whenStopped { server: Server => println(s"$server is stopped.") } | ||
.whenStopped { server: Server => server.isClosed } | ||
.whenStarting { (server: Server) => println(s"$server is starting.") } |
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.
The parameter of a lambda is now required to be enclosed in parentheses.
https://docs.scala-lang.org/scala3/guides/migration/incompat-syntactic.html#parentheses-around-lambda-parameter
@@ -45,11 +45,13 @@ class ScalaPbRequestConverterFunctionTest { | |||
|
|||
@Test | |||
def failProtobufToCollection(): Unit = { | |||
val typeToken = new TypeToken[List[SimpleRequest]]() {} | |||
val typeToken = new TypeReference[List[SimpleRequest]]() {} |
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.
Scala 3 fails to read the bytecode of TypeToken
properly. 😅
jsonParser: Parser = jsonDefaultParser | ||
) extends GrpcJsonMarshaller { | ||
|
||
// TODO(ikhoon): Remove this forked file if https://github.com/lampepfl/dotty/issues/11332 is fixed. |
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.
Forked to avoid using MethodHandle
which is not supported yet. 😅
Because of some regressions about |
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.
Thanks!
...ia/sangria_2.13/src/test/scala/com/linecorp/armeria/server/sangria/SangriaGraphqlSuite.scala
Outdated
Show resolved
Hide resolved
implementation 'com.fasterxml.jackson.module:jackson-module-scala_3' | ||
} | ||
|
||
// Use the sources from ':scala_2.13'. |
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.
Shouldn't we move sources to scala_3 and copy them to scala_2.13?
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 don't we make Scala 3 main version when scala/scala3#11332 is fixed and clean up the ScalaPB module?
I think Scala 3 is still experimental and we need to wait for it to be stabilized.
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.
SGTM. 😉
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.
Thanks a lot, @ikhoon. Scala 3 users will be excited!
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.
Looking forward to trying out the new scala3
integration! Thank you @ikhoon 🙇 👍 🙇
The changes have been reviewed in line/armeria#4036