Sync from SUSE:SLFO:Main jackson-databind revision cfafb3260306578487e8281de5a0ea8e

This commit is contained in:
Adrian Schröter 2024-05-31 14:39:16 +02:00
parent 86bcffb1ad
commit 362a51709d
5 changed files with 111 additions and 7 deletions

BIN
jackson-databind-2.15.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
jackson-databind-2.17.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -11,12 +11,13 @@
<property name="project.groupId" value="com.fasterxml.jackson.core"/>
<property name="project.artifactId" value="jackson-databind"/>
<property name="project.name" value="jackson-databind"/>
<property name="project.version" value="2.15.2"/>
<property name="project.version" value="2.17.1"/>
<property name="project.vendor" value="FasterXML"/>
<property name="project.description" value="General data-binding functionality for Jackson: works on core streaming API"/>
<property name="bundle.version" value="${project.version}"/>
<property name="compiler.source" value="1.8"/>
<property name="compiler.release" value="8"/>
<property name="compiler.source" value="1.${compiler.release}"/>
<property name="compiler.target" value="${compiler.source}"/>
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
@ -81,6 +82,7 @@
debug="true"
optimize="false"
deprecation="true"
release="${compiler.release}"
target="${compiler.target}"
verbose="false"
fork="false"
@ -110,6 +112,7 @@
debug="true"
optimize="false"
deprecation="true"
release="${compiler.release}"
target="${compiler.target}"
verbose="false"
fork="false"

View File

@ -1,3 +1,104 @@
-------------------------------------------------------------------
Mon May 20 12:26:44 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
- Update to 2.17.1
* No changes since 2.17.0
- Includes changes from 2.17.0
* #242: Allow `@JsonAnySetter` on `ElementType.PARAMETER` (for
use on constructor parameters)
-------------------------------------------------------------------
Fri Mar 8 08:33:47 UTC 2024 - Gus Kenion <gkenion@suse.com>
- Update to 2.16.1
* 2.16.1 (24-Dec-2023)
+ #4200: JsonSetter(contentNulls = FAIL) is ignored in
delegating @JsonCreator argument
+ #4216: Primitive array deserializer not being captured by
DeserializerModifier
+ #4219: JsonNode.findValues() and findParents() missing
expected values in 2.16.0
* 2.16.0 (15-Nov-2023)
+ #1770: Incorrect deserialization for BigDecimal numbers
+ #2502: Add a way to configure caches Jackson uses
+ #2787: Mix-ins do not work for Enums
+ #3133: Map deserialization results in different numeric
classes based on json ordering (BigDecimal / Double) when
used in combination with @JsonSubTypes
+ #3251: Generic class with generic field of runtime type
Double is deserialized as BigDecimal when used with
@JsonTypeInfo and JsonTypeInfo.As.EXISTING_PROPERTY
+ #3277: Combination of @JsonUnwrapped and @JsonAnySetter
results in BigDecimal instead of Double
+ #3647: @JsonIgnoreProperties not working with @JsonValue
+ #3780: Deprecated JsonNode.with(String) suggests using
JsonNode.withObject(String) but it is not the same thing
+ #3838: Difference in the handling of ObjectId-property in
JsonIdentityInfo depending on the deserialization route
+ #3877: Add new OptBoolean valued property in @JsonTypeInfo,
handling, to allow per-polymorphic type loose Type Id
handling
+ #3906: Regression: 2.15.0 breaks deserialization for records
when
mapper.setVisibility(PropertyAccessor.ALL, Visibility.NONE)
+ #3924: Incorrect target type when disabling coercion, trying
to deserialize String from Array/Object
+ #3928: @JsonProperty on constructor parameter changes default
field serialization order
+ #3950: Create new JavaType subtype IterationType
(extending SimpleType)
+ #3953: Use JsonTypeInfo.Value for annotation handling
+ #3965: Add JsonNodeFeature.WRITE_PROPERTIES_SORTED for
sorting ObjectNode properties on serialization
(for Canonical JSON)
+ #4008: Optimize ObjectNode findValue(s) and findParent(s)
fast paths
+ #4009: Locale "" is deserialised as null if
ACCEPT_EMPTY_STRING_AS_NULL_OBJECT is enabled
+ #4011: Add guardrail setting for TypeParser handling of type
parameters
+ #4036: Use @JsonProperty for Enum values also when READ_ENUMS
USING_TO_STRING enabled
+ #4037: Fix Enum deserialization to use @JsonProperty,
@JsonAlias even if EnumNamingStrategy used
+ #4039: Use @JsonProperty and lowercase feature when
serializing Enums despite using toString()
+ #4040: Use @JsonProperty over EnumNamingStrategy for Enum
serialization
+ #4041: Actually cache EnumValues#internalMap
+ #4047: ObjectMapper.valueToTree() will ignore the
configuration SerializationFeature.WRAP_ROOT_VALUE
+ #4056: Provide the "ObjectMapper.treeToValue(TreeNode,
TypeReference)" method
+ #4060: Expose NativeImageUtil.isRunningInNativeImage() method
+ #4061: Add JsonTypeInfo.Id.SIMPLE_NAME which defaults type id
to Class.getSimpleName()
+ #4071: Impossible to deserialize custom Throwable sub-classes
that do not have single-String constructors
+ #4078: java.desktop module is no longer optional
+ #4082: ClassUtil fails with
java.lang.reflect.InaccessibleObjectException trying to
setAccessible on OptionalInt with JDK 17+
+ #4090: Support sequenced collections (JDK 21)
+ #4095: Add withObjectProperty(String),
withArrayProperty(String) in JsonNode
+ #4096: Change JsonNode.withObject(String) to work similar to
withArray() wrt argument
+ #4144: Log WARN if deprecated subclasses of
PropertyNamingStrategy is used
+ #4145: NPE when transforming a tree to a model class object,
at ArrayNode.elements()
+ #4153: Deprecated ObjectReader.withType(Type) has no direct
replacement; need forType(Type)
+ #4159: Add new DefaultTyping.NON_FINAL_AND_ENUMS to allow
Default Typing for Enums
+ #4164: Do not rewind position when serializing direct
ByteBuffer
+ #4175: Exception when deserialization of private record with
default constructor
+ #4184: BeanDeserializer updates currentValue incorrectly when
deserialising empty Object
-------------------------------------------------------------------
Mon Aug 21 13:38:28 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package jackson-databind
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: jackson-databind
Version: 2.15.2
Version: 2.17.1
Release: 0
Summary: General data-binding package for Jackson (2.x)
License: Apache-2.0 AND LGPL-2.1-or-later