-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Jackson Release 2.6
Tatu Saloranta edited this page Aug 11, 2015
·
40 revisions
Version 2.6.0 was released July 17th, 2015. It is a "minor" release following 2.5, meaning that it adds new functionality but be backwards compatible with earlier 2.x releases.
Beyond initial 2.6.0 (described here), following patch releases have been made or are planned:
No changes to JDK requirements or baseline requirements/supports for external platforms (like Android or Scala versions)
-
#137: Allow filtering content read via
JsonParser
by specifyingJsonPointer
; uses new classcom.fasterxml.jackson.core.filter.FilteringParserDelegate
(and related,TokenFilter
) -
#177: Add a check so
JsonGenerator.writeString()
won't work ifwriteFieldName()
expected. -
#182: Inconsistent
TextBuffer.getTextBuffer()
behavior -
#185: Allow filtering content written via
JsonGenerator
by specifyingJsonPointer
; uses new classcom.fasterxml.jackson.core.filter.FilteringGeneratorDelegate
(and related,TokenFilter
) -
#188:
JsonParser.getValueAsString()
should return field name forJsonToken.FIELD_NAME
, notnull
-
#189: Add
JsonFactory.Feature.USE_THREAD_LOCAL_FOR_BUFFER_RECYCLING
(default: true), which may be disabled to prevent use of ThreadLocal-based buffer recyling. -
#195: Add
JsonGenerator.getOutputBuffered()
to find out amount of content buffered, not yet flushed. -
#196: Add support for
FormatFeature
extension, for format-specifc Enum-backed parser/generator options - Other:
- Minor improvement to construction of "default PrettyPrinter": now overridable by data format modules
- Implement a new yet more optimized symbol table for byte-backed parsers
- Add
JsonParser.Feature.IGNORE_UNDEFINED
, useful for data formats like protobuf
- #312: Support Type Id mappings where two ids map to same Class
-
#649: Make
BeanDeserializer
use newparser.nextFieldName()
and.hasTokenId()
methods - #688: Provide a means for an ObjectMapper to discover mixin annotation classes on demand
-
#696: Copy constructor does not preserve
_injectableValues
- #700: Cannot Change Default Abstract Type Mapper from LinkedHashMap
- #725: Auto-detect multi-argument constructor with implicit names if it is the only visible creator
-
#727: Improve
ObjectWriter.forType()
to avoid forcing base type for container types
-
#39: Build alternate jars with qualifier "no-metainf-services", which do NOT include
META-INF/services
metadata for auto-registration