upgrade to jackson 2.17 (#1318)

This commit is contained in:
PJ Fanning 2024-05-07 14:28:52 +01:00 committed by GitHub
parent 42ea8099b5
commit 977e3091ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 5 deletions

View file

@ -1,5 +1,5 @@
updates.pin = [
{ groupId = "com.fasterxml.jackson.core", version = "2.16." }
{ groupId = "com.fasterxml.jackson.core", version = "2.17." }
# Pin logback to v1.3.x because v1.4.x needs JDK11
{ groupId = "ch.qos.logback", version="1.3." }
# Pin sbt-paradox to v0.9.x because 0.10.x needs JDK 11
@ -19,6 +19,7 @@ updates.ignore = [
{ groupId = "com.fasterxml.jackson.module" }
{ groupId = "com.fasterxml.jackson.dataformat" }
{ groupId = "com.fasterxml.jackson.datatype" }
{ groupId = "com.fasterxml.jackson.jaxrs" }
{ groupId = "com.typesafe", artifactId = "ssl-config-core" }
{ groupId = "org.agrona", artifactId = "agrona" }
{ groupId = "org.mockito", artifactId = "mockito-core" }

View file

@ -37,7 +37,7 @@ object Dependencies {
val nettyVersion = "4.1.109.Final"
val logbackVersion = "1.3.14"
val jacksonCoreVersion = "2.16.2"
val jacksonCoreVersion = "2.17.1"
val jacksonDatabindVersion = jacksonCoreVersion
val scala212Version = "2.12.19"

View file

@ -36,7 +36,7 @@ pekko.serialization.jackson {
}
# Controls the Buffer Recycler Pool implementation used by Jackson.
# https://javadoc.io/static/com.fasterxml.jackson.core/jackson-core/2.16.2/com/fasterxml/jackson/core/util/JsonRecyclerPools.html
# https://javadoc.io/static/com.fasterxml.jackson.core/jackson-core/2.17.1/com/fasterxml/jackson/core/util/JsonRecyclerPools.html
# The default is "thread-local" which is the same as the default in Jackson 2.16.
buffer-recycler {
# the supported values are "thread-local", "lock-free", "shared-lock-free", "concurrent-deque",
@ -51,7 +51,7 @@ pekko.serialization.jackson {
#//#stream-read-constraints
pekko.serialization.jackson {
read {
# see https://www.javadoc.io/static/com.fasterxml.jackson.core/jackson-core/2.16.2/com/fasterxml/jackson/core/StreamReadConstraints.html
# see https://www.javadoc.io/static/com.fasterxml.jackson.core/jackson-core/2.17.1/com/fasterxml/jackson/core/StreamReadConstraints.html
# these defaults are the same as the defaults in `StreamReadConstraints`
max-nesting-depth = 1000
max-number-length = 1000
@ -62,7 +62,7 @@ pekko.serialization.jackson {
}
write {
# see https://www.javadoc.io/static/com.fasterxml.jackson.core/jackson-core/2.16.2/com/fasterxml/jackson/core/StreamWriteConstraints.html
# see https://www.javadoc.io/static/com.fasterxml.jackson.core/jackson-core//com/fasterxml/jackson/core/StreamWriteConstraints.html
# these defaults are the same as the defaults in `StreamWriteConstraints`
max-nesting-depth = 1000
}