Skip to content

Commit

Permalink
Merge branch 'master' of https:/FasterXML/jackson-databind
Browse files Browse the repository at this point in the history
# By Tatu Saloranta (113) and others
# Via Tatu Saloranta
* 'master' of https:/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
  ...
  • Loading branch information
aryehpro committed Jan 25, 2016
2 parents 4950f44 + 83e5147 commit a8d3520
Show file tree
Hide file tree
Showing 160 changed files with 4,849 additions and 2,319 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ While the original use case for Jackson was JSON data-binding, it can now be use
Naming of classes uses word 'JSON' in many places even though there is no actual hard dependency to JSON format.

[![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)
[![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)

-----

Expand Down
142 changes: 0 additions & 142 deletions backup/TypeSerializerWrapper.java

This file was deleted.

21 changes: 10 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-parent</artifactId>
<version>2.7.0-rc1</version>
<version>2.7</version>
</parent>

<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.7.0-SNAPSHOT</version>
<version>2.7.1-SNAPSHOT</version>
<name>jackson-databind</name>
<packaging>bundle</packaging>
<description>General data-binding functionality for Jackson: works on core streaming API</description>
Expand Down Expand Up @@ -47,30 +47,29 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.7.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.7.0-SNAPSHOT</version>
<version>2.7.0</version>
</dependency>

<!-- and for testing we need a few libraries
libs for which we use reflection for code, but direct dep for testing
-->
<!-- Mock -->
<dependency>
<!-- Mock -->
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>1.6.3</version>
<scope>test</scope>
</dependency>
<dependency>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
<version>1.6.3</version>
<scope>test</scope>
</dependency>
</dependency>
<!-- For testing TestNoClassDefFoundDeserializer -->
<dependency>
<groupId>javax.measure</groupId>
Expand Down Expand Up @@ -108,8 +107,8 @@
<failOnError>false</failOnError>
<links>
<link>http://docs.oracle.com/javase/7/docs/api/</link>
<link>http://fasterxml.github.com/jackson-annotations/javadoc/2.6</link>
<link>http://fasterxml.github.com/jackson-core/javadoc/2.6</link>
<link>http://fasterxml.github.com/jackson-annotations/javadoc/2.7</link>
<link>http://fasterxml.github.com/jackson-core/javadoc/2.7</link>
</links>
</configuration>
</plugin>
Expand Down
39 changes: 39 additions & 0 deletions release-notes/CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,49 @@ Ievgen Pianov (pyanoveugen@github)
* Reported #989: Deserialization from "{}" to java.lang.Object causes "out of END_OBJECT token" error
(2.6.3)

Jayson Minard (apatrida@github)
* Reported #1005: Synthetic constructors confusing Jackson data binding
(2.6.4)

David Bakin (david-bakin@github)
* Reported #1013: `@JsonUnwrapped` is not treated as assuming `@JsonProperty("")`
(2.6.4)
* Suggested #1011: Change ObjectWriter::withAttributes() to take a Map with some kind of wildcard types
(2.7.0)

Dmitry Romantsov (DmRomantsov@github)
* Reported #1036: Problem with case-insensitive deserialization
(2.6.4)

Miles Kaufmann (milesk-amzn@github)
* Reported #432: `StdValueInstantiator` unwraps exceptions, losing context
(2.7.0)

Thomas Mortagne (tmortagne@github)
* Suggested #857: Add support for java.beans.Transient
(2.7.0)

Jonas Konrad (yawkat@github)
* Suggested #905: Add support for `@ConstructorProperties`
(2.7.0)

Jirka Kremser (Jiri-Kremser@github)
* Suggested #924: SequenceWriter.writeAll() could accept Iterable
(2.7.0)

Daniel Mischler (danielmischler@github)
* Requested #963: Add PropertyNameStrategy `KEBAB_CASE`
(2.7.0)

Shumpei Akai (flexfrank@github)
* Reported #978: ObjectMapper#canSerialize(Object.class) returns false even though
FAIL_ON_EMPTY_BEANS is disabled
(2.7.0)

Hugo Wood (hgwood@github)
* Contributed #1010: Support for array delegator
(2.7.0)

Julian Hyde (julianhyde@github)
* Reported #1083: Field in base class is not recognized, when using `@JsonType.defaultImpl`
(2.7.1)
57 changes: 54 additions & 3 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ Project: jackson-databind
=== Releases ===
------------------------------------------------------------------------

2.7.0 (not yet released)
2.7.1 (not yet released)

#1079: Add back `TypeFactory.constructType(Type, Class)` as "deprecated" in 2.7.1
#1083: Field in base class is not recognized, when using `@JsonType.defaultImpl`
(reported by Julian H)

2.7.0 (10-Jan-2016)

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

INCOMPATIBILITIES:

- While unlikely to be problematic, #959 above required an addition of `SerializerProvider`
argument for `depositSchemaProperty()` method `BeanProperty` and `PropertyWriter` interfaces
- JDK baseline now Java 7 (JDK 1.7), from Java 6/JDK 1.6

2.6.5 (not yet released)

#1052: Don't generate a spurious NullNode after parsing an embedded object
(reported by philipa@github)
#1061: Problem with Object Id and Type Id as Wrapper Object (regression in 2.5.1)
#1073: Add try-catch around `java.sql` type serializers
(suggested by claudemt@github)
#1078: ObjectMapper.copy() still does not preserve _registeredModuleTypes
(reported by ajonkisz@github)

2.6.4 (not yet released)
2.6.4 (07-Dec-2015)

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

2.6.3 (12-Oct-2015)

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

2.5.5 (not released)
2.5.5 (07-Dec-2015)

#844: Using JsonCreator still causes invalid path references in JsonMappingException
(reported by Ian B)
Expand Down
Loading

0 comments on commit a8d3520

Please sign in to comment.