Skip to content

Commit a8d3520

Browse files
committed
# By Tatu Saloranta (113) and others # Via Tatu Saloranta * 'master' of https://github.com/FasterXML/jackson-databind: (124 commits) Minor addition related to FasterXML#1087: resolve context type, assuming type bindings from that are expected to work. Add unit test for FasterXML#999 minor warnings cleanup Add Javadoc badge with automatic version detection Fix FasterXML#1083 Add failing test for FasterXML#1083 add a unit test to verify that Object Id works via AtomicReference too Minor javadoc improvement wrt FasterXML#1076, making `SimpleType.construct(Class)` deprecated (was not yet, for some reason, should have been) Fix FasterXML#1078 Fix FasterXML#1079 [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release jackson-databind-2.7.0 prepare for 2.7.0 final Fix FasterXML#1073 Try to reproduce FasterXML#1074 javadoc trimming Try to reproduce FasterXML#825 again, still passes. minor improvement to ensure base64 encoding uses configured setting Undo part of change done for StringDeserializer; caused issues with XML handling further minor cleanups to cleanup ...
2 parents 4950f44 + 83e5147 commit a8d3520

File tree

160 files changed

+4849
-2319
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+4849
-2319
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ While the original use case for Jackson was JSON data-binding, it can now be use
1010
Naming of classes uses word 'JSON' in many places even though there is no actual hard dependency to JSON format.
1111

1212
[![Build Status](https://travis-ci.org/FasterXML/jackson-databind.svg?branch=master)](https://travis-ci.org/FasterXML/jackson-databind) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.fasterxml.jackson.core/jackson-databind/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.fasterxml.jackson.core/jackson-databind)
13+
[![Javadoc](https://javadoc-emblem.rhcloud.com/doc/com.fasterxml.jackson.core/jackson-databind/badge.svg)](http://www.javadoc.io/doc/com.fasterxml.jackson.core/jackson-databind)
1314

1415
-----
1516

backup/TypeSerializerWrapper.java

-142
This file was deleted.

pom.xml

+10-11
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<parent>
66
<groupId>com.fasterxml.jackson</groupId>
77
<artifactId>jackson-parent</artifactId>
8-
<version>2.7.0-rc1</version>
8+
<version>2.7</version>
99
</parent>
1010

1111
<groupId>com.fasterxml.jackson.core</groupId>
1212
<artifactId>jackson-databind</artifactId>
13-
<version>2.7.0-SNAPSHOT</version>
13+
<version>2.7.1-SNAPSHOT</version>
1414
<name>jackson-databind</name>
1515
<packaging>bundle</packaging>
1616
<description>General data-binding functionality for Jackson: works on core streaming API</description>
@@ -47,30 +47,29 @@
4747
<dependency>
4848
<groupId>com.fasterxml.jackson.core</groupId>
4949
<artifactId>jackson-annotations</artifactId>
50-
<version>2.7.0-SNAPSHOT</version>
5150
</dependency>
5251
<dependency>
5352
<groupId>com.fasterxml.jackson.core</groupId>
5453
<artifactId>jackson-core</artifactId>
55-
<version>2.7.0-SNAPSHOT</version>
54+
<version>2.7.0</version>
5655
</dependency>
5756

5857
<!-- and for testing we need a few libraries
5958
libs for which we use reflection for code, but direct dep for testing
6059
-->
61-
<!-- Mock -->
62-
<dependency>
60+
<!-- Mock -->
61+
<dependency>
6362
<groupId>org.powermock</groupId>
6463
<artifactId>powermock-module-junit4</artifactId>
6564
<version>1.6.3</version>
6665
<scope>test</scope>
67-
</dependency>
68-
<dependency>
66+
</dependency>
67+
<dependency>
6968
<groupId>org.powermock</groupId>
7069
<artifactId>powermock-api-mockito</artifactId>
7170
<version>1.6.3</version>
7271
<scope>test</scope>
73-
</dependency>
72+
</dependency>
7473
<!-- For testing TestNoClassDefFoundDeserializer -->
7574
<dependency>
7675
<groupId>javax.measure</groupId>
@@ -108,8 +107,8 @@
108107
<failOnError>false</failOnError>
109108
<links>
110109
<link>http://docs.oracle.com/javase/7/docs/api/</link>
111-
<link>http://fasterxml.github.com/jackson-annotations/javadoc/2.6</link>
112-
<link>http://fasterxml.github.com/jackson-core/javadoc/2.6</link>
110+
<link>http://fasterxml.github.com/jackson-annotations/javadoc/2.7</link>
111+
<link>http://fasterxml.github.com/jackson-core/javadoc/2.7</link>
113112
</links>
114113
</configuration>
115114
</plugin>

release-notes/CREDITS

+39
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,49 @@ Ievgen Pianov (pyanoveugen@github)
355355
* Reported #989: Deserialization from "{}" to java.lang.Object causes "out of END_OBJECT token" error
356356
(2.6.3)
357357

358+
Jayson Minard (apatrida@github)
359+
* Reported #1005: Synthetic constructors confusing Jackson data binding
360+
(2.6.4)
361+
362+
David Bakin (david-bakin@github)
363+
* Reported #1013: `@JsonUnwrapped` is not treated as assuming `@JsonProperty("")`
364+
(2.6.4)
365+
* Suggested #1011: Change ObjectWriter::withAttributes() to take a Map with some kind of wildcard types
366+
(2.7.0)
367+
368+
Dmitry Romantsov (DmRomantsov@github)
369+
* Reported #1036: Problem with case-insensitive deserialization
370+
(2.6.4)
371+
358372
Miles Kaufmann (milesk-amzn@github)
359373
* Reported #432: `StdValueInstantiator` unwraps exceptions, losing context
360374
(2.7.0)
361375

376+
Thomas Mortagne (tmortagne@github)
377+
* Suggested #857: Add support for java.beans.Transient
378+
(2.7.0)
379+
380+
Jonas Konrad (yawkat@github)
381+
* Suggested #905: Add support for `@ConstructorProperties`
382+
(2.7.0)
383+
362384
Jirka Kremser (Jiri-Kremser@github)
363385
* Suggested #924: SequenceWriter.writeAll() could accept Iterable
364386
(2.7.0)
387+
388+
Daniel Mischler (danielmischler@github)
389+
* Requested #963: Add PropertyNameStrategy `KEBAB_CASE`
390+
(2.7.0)
391+
392+
Shumpei Akai (flexfrank@github)
393+
* Reported #978: ObjectMapper#canSerialize(Object.class) returns false even though
394+
FAIL_ON_EMPTY_BEANS is disabled
395+
(2.7.0)
396+
397+
Hugo Wood (hgwood@github)
398+
* Contributed #1010: Support for array delegator
399+
(2.7.0)
400+
401+
Julian Hyde (julianhyde@github)
402+
* Reported #1083: Field in base class is not recognized, when using `@JsonType.defaultImpl`
403+
(2.7.1)

release-notes/VERSION

+54-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ Project: jackson-databind
44
=== Releases ===
55
------------------------------------------------------------------------
66

7-
2.7.0 (not yet released)
7+
2.7.1 (not yet released)
8+
9+
#1079: Add back `TypeFactory.constructType(Type, Class)` as "deprecated" in 2.7.1
10+
#1083: Field in base class is not recognized, when using `@JsonType.defaultImpl`
11+
(reported by Julian H)
12+
13+
2.7.0 (10-Jan-2016)
814

915
#76: Problem handling datatypes Recursive type parameters
1016
(reported by Aram K)
@@ -13,8 +19,17 @@ Project: jackson-databind
1319
#432: `StdValueInstantiator` unwraps exceptions, losing context
1420
(reported by Miles K)
1521
#497: Add new JsonInclude.Include feature to exclude maps after exclusion removes all elements
22+
#803: Allow use of `StdDateFormat.setLenient()`
23+
(suggested by raj-ghodke@github)
1624
#819: Add support for setting `FormatFeature` via `ObjectReader`, `ObjectWriter`
25+
#857: Add support for java.beans.Transient (requires Java 7)
26+
(suggested by Thomas M)
1727
#898: Add `ObjectMapper.getSerializerProviderInstance()`
28+
#905: Add support for `@ConstructorProperties` (requires Java 7)
29+
(requested by Jonas K)
30+
#909: Rename PropertyNamingStrategy CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES as SNAKE_CASE,
31+
PASCAL_CASE_TO_CAMEL_CASE as UPPER_CAMEL_CASE
32+
(suggested by marcottedan@github)
1833
#915: ObjectMapper default timezone is GMT, should be UTC
1934
(suggested by Infrag@github)
2035
#918: Add `MapperFeature.ALLOW_EXPLICIT_PROPERTY_RENAMING`
@@ -27,24 +42,60 @@ Project: jackson-databind
2742
(reported by adamjoeldavis@github)
2843
#948: Support leap seconds, any number of millisecond digits for ISO-8601 Dates.
2944
(contributed by Jesse W)
45+
#952: Revert non-empty handling of primitive numbers wrt `NON_EMPTY`; make
46+
`NON_DEFAULT` use extended criteria
3047
#957: Merge `datatype-jdk7` stuff in (java.nio.file.Path handling)
3148
#959: Schema generation: consider active view, discard non-included properties
49+
#963: Add PropertyNameStrategy `KEBAB_CASE`
50+
(requested by Daniel M)
51+
#978: ObjectMapper#canSerialize(Object.class) returns false even though FAIL_ON_EMPTY_BEANS is disabled
52+
(reported by Shumpei A)
3253
#997: Add `MapperFeature.OVERRIDE_PUBLIC_ACCESS_MODIFIERS`
3354
#998: Allow use of `NON_DEFAULT` for POJOs without default constructor
55+
#1000: Add new mapping exception type for enums and UUIDs
56+
(suggesed by natnan@github)
57+
#1010: Support for array delegator
58+
(contributed by Hugo W)
59+
#1011: Change ObjectWriter::withAttributes() to take a Map with some kind of wildcard types
60+
(suggested by David B)
61+
#1043: @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY) does not work on fields
62+
(reported by fabiolaa@github)
63+
#1044: Add `AnnotationIntrospector.resolveSetterConflict(...)` to allow custom setter conflict resolution
64+
(suggested by clydebarrow@github)
3465
- Make `JsonValueFormat` (self-)serializable, deserializable, to/from valid external
3566
value (as per JSON Schema spec)
3667

3768
INCOMPATIBILITIES:
3869

3970
- While unlikely to be problematic, #959 above required an addition of `SerializerProvider`
4071
argument for `depositSchemaProperty()` method `BeanProperty` and `PropertyWriter` interfaces
72+
- JDK baseline now Java 7 (JDK 1.7), from Java 6/JDK 1.6
73+
74+
2.6.5 (not yet released)
75+
76+
#1052: Don't generate a spurious NullNode after parsing an embedded object
77+
(reported by philipa@github)
78+
#1061: Problem with Object Id and Type Id as Wrapper Object (regression in 2.5.1)
79+
#1073: Add try-catch around `java.sql` type serializers
80+
(suggested by claudemt@github)
81+
#1078: ObjectMapper.copy() still does not preserve _registeredModuleTypes
82+
(reported by ajonkisz@github)
4183

42-
2.6.4 (not yet released)
84+
2.6.4 (07-Dec-2015)
4385

4486
#984: JsonStreamContexts are not build the same way for write.. and convert methods
4587
(reported by Antibrumm@github)
4688
#989: Deserialization from "{}" to java.lang.Object causes "out of END_OBJECT token" error
4789
(reported by Ievgen P)
90+
#1003: JsonTypeInfo.As.EXTERNAL_PROPERTY does not work with a Delegate
91+
(reported by alexwen@github)
92+
#1005: Synthetic constructors confusing Jackson data binding
93+
(reported by Jayson M)
94+
#1013: `@JsonUnwrapped` is not treated as assuming `@JsonProperty("")`
95+
(reported by David B)
96+
#1036: Problem with case-insensitive deserialization
97+
(repoted by Dmitry R)
98+
- Fix a minor problem with `@JsonNaming` not recognizing default value
4899

49100
2.6.3 (12-Oct-2015)
50101

@@ -173,7 +224,7 @@ INCOMPATIBILITIES:
173224
- Remove old cglib compatibility tests; cause problems in Eclipse
174225
- Add `withFilterId()` method in `JsonSerializer` (demote from `BeanSerializer`)
175226

176-
2.5.5 (not released)
227+
2.5.5 (07-Dec-2015)
177228

178229
#844: Using JsonCreator still causes invalid path references in JsonMappingException
179230
(reported by Ian B)

0 commit comments

Comments
 (0)