From 362a51709d0af64baf5c7961e5c7537ee271688946d0daf7fa42cf70cf75dcf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 31 May 2024 14:39:16 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main jackson-databind revision cfafb3260306578487e8281de5a0ea8e --- jackson-databind-2.15.2.tar.gz | 3 - jackson-databind-2.17.1.tar.gz | 3 + jackson-databind-build.xml | 7 ++- jackson-databind.changes | 101 +++++++++++++++++++++++++++++++++ jackson-databind.spec | 4 +- 5 files changed, 111 insertions(+), 7 deletions(-) delete mode 100644 jackson-databind-2.15.2.tar.gz create mode 100644 jackson-databind-2.17.1.tar.gz diff --git a/jackson-databind-2.15.2.tar.gz b/jackson-databind-2.15.2.tar.gz deleted file mode 100644 index d8262b8..0000000 --- a/jackson-databind-2.15.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8c0d96d4a8c853b5789735981715b0005abdde9a4bc42d7325b165315f54c5c4 -size 1667907 diff --git a/jackson-databind-2.17.1.tar.gz b/jackson-databind-2.17.1.tar.gz new file mode 100644 index 0000000..43bc5a2 --- /dev/null +++ b/jackson-databind-2.17.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ece72b44e9106d6eef6a303f6d370adbf3a11f144cca2cad601b6883d495f0a3 +size 1674692 diff --git a/jackson-databind-build.xml b/jackson-databind-build.xml index ef44d4e..e0f2ca6 100644 --- a/jackson-databind-build.xml +++ b/jackson-databind-build.xml @@ -11,12 +11,13 @@ - + - + + @@ -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" diff --git a/jackson-databind.changes b/jackson-databind.changes index 0d48f2f..5e0d72b 100644 --- a/jackson-databind.changes +++ b/jackson-databind.changes @@ -1,3 +1,104 @@ +------------------------------------------------------------------- +Mon May 20 12:26:44 UTC 2024 - Gus Kenion + +- 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 + +- 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 diff --git a/jackson-databind.spec b/jackson-databind.spec index 65ec561..3d49db8 100644 --- a/jackson-databind.spec +++ b/jackson-databind.spec @@ -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