All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- fixed memory consumption issue in dates serialization
- explicit JPMS module name
com.arangodb.velocypack
- removed all databind capabilities (#31), which are now provided by jackson-dataformat-velocypack.
- fixed escaping in JSON string generation (#29)
- improved performances of
VPackParser.toJson()
- added
VPackSlice.getSchemaDescription()
to return a printable schema description of the VPack slice
- fixed start offset of byte array copy in
VPackSlice.toByteArray
- fixed getting attribute from VPackSlice with
null
key (spring-data#210)
- support deserializing ints as BigDecimals
- removed escaping forward slash in
VPackParser
- fixed base64 encoding for Java version >= 9
- added useTypeHints option to VPack.Builder
- shaded jackson dependency
- bugfix serialization unindexed singleton arrays
- added
add(Byte)
,is(Byte)
,getAsByte()
to VPackBuilder and VPackSlice - use custom VPackBuilder in VPackParser
- improved array iteration performances
- deserialization support for wildcard types
- deserialization support for java.lang.Iterable
- raised the minimum JVM source and target version to 8
- All-Arguments constructor deserialization
- Static Factory Method deserialization
- Support for Kotlin data classes and Scala case classes
- Builder deserialization
- fixed tagging bugs
- fixed custom types byte size
- fixed BCD byte size
- Map and Set VPackInstanceCreators preserve collections entries order (based on
LinkedHashSet
andLinkedHashMap
)
- added tags support
- performance improvements
- raised minimum supported Java version to Java 7
- jackson v2.9.10
- properly (always) close the builder object
1.4.1 - 2018-09-18
- fixed handling of additional fields
1.4.0 - 2018-09-18
-
added support for generic types (issue #1, #3)
Serialize the class name in a field
_class
when necessary. Field name can be configured throughVPack.Builder#typeKey(String)
1.3.0 - 2018-08-02
VPackDeserializationContext#deserialize(VPackSlice, Class)
toVPackDeserializationContext#deserialize(VPackSlice, java.lang.reflect.Type)
1.2.0 - 2018-06-08
- replaced dependency json-simple with jackson
1.1.0 - 2018-04-19
- added support for deserializing
BigInteger
/BigDecimal
from String
- changed serializing
BigInteger
/BigDecimal
to String
1.0.15 - 2017-04-17
- fixed
DateUtil
does incorrect conversion of UTC time (issue #6)
1.0.14 - 2017-11-27
- fixed Json parsing of negative long
1.0.13 - 2017-11-03
- fixed deserialization of BigDecimal
1.0.12 - 2017-10-23
- exclude junit dependency of json-simple
- fixed VPack to JSON parsing of negative
int
- fixed serialization of negative
int
/long
value (issue #5)
1.0.11 - 2017-07-31
- fixed
DateUtil
(thread-safe)
1.0.10 - 2017-07-20
- fixed Json parsing of null within Objects (issue #2)
1.0.9 - 2017-06-20
- fixed deserializing of internal field
_id
1.0.8 - 2017-06-13
- added
VPackSetupContext#registerDeserializer(Type, VPackDeserializer, boolean)
- added
VPackSetupContext#registerDeserializer(String, Type, VPackDeserializer, boolean)
1.0.7 - 2017-06-09
- added
VPackSetupContext#registerKeyMapAdapter(type, adapter)
1.0.6 - 2017-06-09
- added
VPack.Builder#registerKeyMapAdapter(type, adapter)
- added
VPack#serialize(Object, SerializeOptions)
1.0.5 - 2017-04-13
- fixed VPackSlice float/double bug
1.0.4 - 2017-04-11
- optimize
VPack.Builder
andVPackParser.Builder
(thread-safe)
1.0.3 - 2017-03-23
- fixed serialization for parameterized types
1.0.2 - 2017-03-22
- added support for deserializing parameterized types
1.0.1 - 2017-03-17
- added support for registering modules on
VPack
,VPackParser