Compare commits

1 Commits
main ... 1.1

5 changed files with 173 additions and 195 deletions

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

Binary file not shown.

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

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@@ -1,111 +1,11 @@
-------------------------------------------------------------------
Wed Nov 6 07:55:24 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Update to 2.17.3
* #4718: Should not fail on trying to serialize
'java.time.DateTimeException'
-------------------------------------------------------------------
Mon Oct 28 07:07:17 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Remove LGPL-2.1-or-later license, since not found in the package
-------------------------------------------------------------------
Thu Oct 10 14:07:26 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Build the module-info.java source too (with release=9)
-------------------------------------------------------------------
Wed Aug 7 09:01:52 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Update to 2.17.2
* #4561: Issues using jackson-databind 2.17.1 with Reactor
* #4575: StdDelegatingSerializer does not consider a Converter
that may return null for a non-null input
* #4577: Cannot deserialize value of type 'java.math.BigDecimal'
from String "3." (not a valid representation)
* #4595: No way to explicitly disable wrapping in custom
annotation processor
* #4607: 'MismatchedInput': No Object Id found for an instance of
X to assign to property '@id'
* #4610: 'DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS'
does not work when used with Polymorphic type handling
-------------------------------------------------------------------
Mon May 20 12:26:44 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
- Update to 2.17.1
* 2.17.1 (04-May-2024)
+ #4428: 'ByteBuddy' scope went beyond 'test' in version 2.17.0
+ #4430: Use 'ReentrantLock' instead of 'synchronized' in
'DeserializerCache' to avoid deadlock on pinning
+ #4435: Cannot deserialize value of type 'java.math.BigDecimal'
from String ".05": not a valid representation
+ #4441: '@JsonSetter(nulls = Nulls.SKIP)' doesn't work in some
situations
+ #4450: Empty QName deserialized as 'null'
+ #4471: Reconsider deprecation of
'JsonNode.asText(defaultValue)'
+ #4481: Unable to override
'DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_AS_NULL' with
'JsonFormat.Feature.READ_UNKNOWN_ENUM_VALUES_AS_NULL'
+ #4489: Unable to override 'DeserializationFeature
.READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE' with
'JsonFormat.Feature.READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE'
* 2.17.0 (12-Mar-2024)
+ #437: Support throwing 'MismatchedInputException' when
deserializing properties that are not part of the view
+ #736: 'MapperFeature.REQUIRE_SETTERS_FOR_GETTERS' has no effect
+ #2543: Introspection includes delegating ctor's only parameter
as a property in 'BeanDescription'
+ #4160: Deprecate 'DefaultTyping.EVERYTHING' in '2.x' and
remove in '3.0'
+ #4194: Add 'JsonNodeFeature
.FAIL_ON_NAN_TO_BIG_DECIMAL_COERCION' option to fail on
attempting to coerce 'NaN' into 'BigDecimal'
+ #4205: Consider types in 'sun.*' package(s) to be JDK
(platform) types for purposes of handling
+ #4209: Make 'BeanDeserializerModifier'/'BeanSerializerModifier'
implement 'java.io.Serializable'
+ #4214: 'EnumSet' deserialization does not work when we
activate default typing in 'ObjectMapper'
+ #4248: 'ThrowableDeserializer' does not handle 'null' well for
'cause'
+ #4250: Add input validation for 'NumberDeserializers'
deserializers for "stringified" FP numbers
+ #4262: Improve handling of 'null' insertion failure for
'TreeSet'
+ #4263: Change 'ObjectArrayDeserializer' to use "generic" type
parameter ('java.lang.Object') to remove co-variant return
type
+ #4299: Some 'Collection' and 'Map' fallbacks don't work in
GraalVM native image
+ #4309: '@JsonSetter(nulls=...)' handling of 'Collection'
'null' values during deserialization with
'READ_UNKNOWN_ENUM_VALUES_AS_NULL' and
'FAIL_ON_INVALID_SUBTYPE' wrong
+ #4327: '@JsonAlias' not respected by polymorphic deduction
+ #4337: 'AtomicReference' serializer does not support
'@JsonSerialize(contentConverter=...)'
+ #4364: '@JsonProperty' and equivalents should merge with
'AnnotationIntrospectorPair'
+ #4394: Better Base64 support for 'java.util.UUIDs' without
padding
+ #4403: Deserialization of unknown value for enums does not
yield default enum value
+ #4416: Deprecate 'JsonNode.asText(String)'
* 2.16.2 (09-Mar-2024)
+ #4302: Problem deserializing some type of Enums when using
'PropertyNamingStrategy'
+ #4303: 'ObjectReader' is not serializable if it's configured
for polymorphism
+ #4316: NPE when deserializing 'JsonAnySetter' in 'Throwable'
+ #4355: Jackson 2.16 fails attempting to obtain 'ObjectWriter'
for an 'Enum' of which some value returns null from
'toString()'
+ #4409: Deserialization of enums with name defined with
different cases leads to 'InvalidDefinitionException':
Multiple fields representing property
* 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>

View File

@@ -16,14 +16,11 @@
#
# The automatic requires would be java-headless >= 9, but the
# binaries are java 8 compatible
%define __requires_exclude java-headless
Name: jackson-databind
Version: 2.17.3
Version: 2.17.1
Release: 0
Summary: General data-binding package for Jackson (2.x)
License: Apache-2.0
License: Apache-2.0 AND LGPL-2.1-or-later
URL: https://github.com/FasterXML/jackson-databind/
Source0: https://github.com/FasterXML/jackson-databind/archive/%{name}-%{version}.tar.gz
Source1: %{name}-build.xml
@@ -31,9 +28,8 @@ BuildRequires: ant
BuildRequires: fdupes
BuildRequires: jackson-annotations
BuildRequires: jackson-core
BuildRequires: java-devel >= 9
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local >= 6
Requires: java-headless >= 1.8
BuildArch: noarch
%description
@@ -57,7 +53,7 @@ sed -i 's/\r//' LICENSE NOTICE
%build
build-jar-repository -s lib jackson-annotations jackson-core
ant jar javadoc
%{ant} -Dtest.skip=true jar javadoc
%install
install -dm 0755 %{buildroot}%{_javadir}