Tatu Saloranta | 637b73c | 2013-02-13 10:17:51 -0800 | [diff] [blame] | 1 | Project: jackson-core |
Tatu Saloranta | 1c9e145 | 2014-11-24 18:08:01 -0800 | [diff] [blame] | 2 | |
| 3 | Contains core streaming reader (`JsonParser`) and writer (`JsonGenerator`) abstractions, |
Tatu Saloranta | 3dcedd2 | 2015-01-10 20:15:06 -0800 | [diff] [blame] | 4 | factory for constructing readers/writers (JsonFactory), as well as a minimal set |
Tatu Saloranta | 1c9e145 | 2014-11-24 18:08:01 -0800 | [diff] [blame] | 5 | of interfaces needed for streaming level to make callbacks and call-throughs, |
| 6 | via `ObjectCodec` and `TreeNode`. |
| 7 | |
Tatu Saloranta | 3dcedd2 | 2015-01-10 20:15:06 -0800 | [diff] [blame] | 8 | Also includes implementation of this API for JSON. |
Tatu Saloranta | 1c9e145 | 2014-11-24 18:08:01 -0800 | [diff] [blame] | 9 | Forms the base for other data formats as well, despite naming that suggests |
Tatu Saloranta | 3dcedd2 | 2015-01-10 20:15:06 -0800 | [diff] [blame] | 10 | JSON-specificity: naming is due to history, as Jackson started out as pure |
| 11 | JSON library. |
Tatu Saloranta | 1c9e145 | 2014-11-24 18:08:01 -0800 | [diff] [blame] | 12 | |
| 13 | ------------------------------------------------------------------------ |
| 14 | === Releases === |
| 15 | ------------------------------------------------------------------------ |
| 16 | |
Cowtowncoder | cfeaed0 | 2015-09-08 15:49:09 -0700 | [diff] [blame] | 17 | 2.6.2 (not yet released) |
| 18 | |
| 19 | #213: Parser is sometimes wrong when using CANONICALIZE_FIELD_NAMES |
| 20 | (reported by ichernev@github) |
Cowtowncoder | be43867 | 2015-09-09 10:59:56 -0700 | [diff] [blame] | 21 | #216: ArrayIndexOutOfBoundsException: 128 when repeatedly serializing to a byte array |
| 22 | (reported by geekbeast@github) |
Cowtowncoder | cfeaed0 | 2015-09-08 15:49:09 -0700 | [diff] [blame] | 23 | |
Tatu Saloranta | 7fd2916 | 2015-08-09 22:22:14 -0700 | [diff] [blame] | 24 | 2.6.1 (09-Aug-2015) |
Cowtowncoder | c2823b4 | 2015-07-31 19:43:48 -0700 | [diff] [blame] | 25 | |
| 26 | #207: `ArrayIndexOutOfBoundsException` in `ByteQuadsCanonicalizer` |
| 27 | (reported by Florian S, fschopp@github) |
| 28 | |
Cowtowncoder | 80b8319 | 2015-07-16 17:12:09 -0700 | [diff] [blame] | 29 | 2.6.0 (17-Jul-2015) |
Cowtowncoder | 5cddffa | 2015-01-15 16:10:26 -0800 | [diff] [blame] | 30 | |
Tatu Saloranta | 66e604f | 2015-05-25 20:02:40 -0700 | [diff] [blame] | 31 | #137: Allow filtering content read via `JsonParser` by specifying `JsonPointer`; |
| 32 | uses new class `com.fasterxml.jackson.core.filter.FilteringParserDelegate` |
| 33 | (and related, `TokenFilter`) |
Cowtowncoder | 5cddffa | 2015-01-15 16:10:26 -0800 | [diff] [blame] | 34 | #177: Add a check so `JsonGenerator.writeString()` won't work if `writeFieldName()` expected. |
Cowtowncoder | 7f5065a | 2015-02-23 15:51:38 -0800 | [diff] [blame] | 35 | #182: Inconsistent TextBuffer#getTextBuffer behavior |
| 36 | (contributed by Masaru H) |
Tatu Saloranta | b895aaf | 2015-04-23 22:15:48 -0700 | [diff] [blame] | 37 | #185: Allow filtering content written via `JsonGenerator` by specifying `JsonPointer`; |
| 38 | uses new class `com.fasterxml.jackson.core.filter.FilteringGeneratorDelegate` |
| 39 | (and related, `TokenFilter`) |
Cowtowncoder | 698f3a7 | 2015-03-30 17:26:08 -0700 | [diff] [blame] | 40 | #188: `JsonParser.getValueAsString()` should return field name for `JsonToken.FIELD_NAME`, not `null` |
Tatu Saloranta | 8891c0c | 2015-04-23 22:47:05 -0700 | [diff] [blame] | 41 | #189: Add `JsonFactory.Feature.USE_THREAD_LOCAL_FOR_BUFFER_RECYCLING` (default: true), which may |
| 42 | be disabled to prevent use of ThreadLocal-based buffer recyling. |
| 43 | (suggested by soldierkam@github) |
Cowtowncoder | ff2a73a | 2015-05-27 10:01:22 -0700 | [diff] [blame] | 44 | #195: Add `JsonGenerator.getOutputBuffered()` to find out amount of content buffered, |
| 45 | not yet flushed. |
| 46 | (requested by Ruediger M) |
Cowtowncoder | 97345f7 | 2015-06-09 11:33:42 -0700 | [diff] [blame] | 47 | #196: Add support for `FormatFeature` extension, for format-specifc Enum-backed |
| 48 | parser/generator options |
Cowtowncoder | efc4295 | 2015-02-05 10:18:04 -0800 | [diff] [blame] | 49 | - Minor improvement to construction of "default PrettyPrinter": now overridable by data format |
| 50 | modules |
Tatu Saloranta | 2967c23 | 2015-02-05 20:46:53 -0800 | [diff] [blame] | 51 | - Implement a new yet more optimized symbol table for byte-backed parsers |
Cowtowncoder | 4eeba79 | 2015-02-13 16:17:17 -0800 | [diff] [blame] | 52 | - Add `JsonParser.Feature.IGNORE_UNDEFINED`, useful for data formats like protobuf |
Tatu Saloranta | ad3a43e | 2015-03-30 19:29:05 -0700 | [diff] [blame] | 53 | - Optimize writing of String names (remove intermediate copy; with JDK7 no speed benefit) |
Cowtowncoder | 5cddffa | 2015-01-15 16:10:26 -0800 | [diff] [blame] | 54 | |
Cowtowncoder | cec0479 | 2015-04-24 10:08:26 -0700 | [diff] [blame] | 55 | 2.5.3 (24-Apr-2015) |
Tatu Saloranta | 6a63752 | 2015-04-22 21:33:47 -0700 | [diff] [blame] | 56 | |
| 57 | #191: Longest collision chain in symbol table now exceeds maximum -- suspect a DoS attack |
| 58 | (reported by Paul D) |
| 59 | |
Tatu Saloranta | 8f64a15 | 2015-03-29 16:46:40 -0700 | [diff] [blame] | 60 | 2.5.2 (29-Mar-2015) |
Cowtowncoder | 29a364a | 2015-02-16 13:55:24 -0800 | [diff] [blame] | 61 | |
| 62 | #181: Failure parsing -Infinity on buffer boundary |
| 63 | (reported by brharrington@github) |
Tatu Saloranta | e0a0227 | 2015-03-26 21:05:39 -0700 | [diff] [blame] | 64 | #187: Longest collision chain in symbol table exceeds maximum length routinely |
| 65 | in non-malicious code |
| 66 | (reported by mazzaferri@github) |
Cowtowncoder | 29a364a | 2015-02-16 13:55:24 -0800 | [diff] [blame] | 67 | |
Tatu Saloranta | 725b797 | 2015-02-06 16:03:50 -0800 | [diff] [blame] | 68 | 2.5.1 (06-Feb-2015) |
Tatu Saloranta | 3dcedd2 | 2015-01-10 20:15:06 -0800 | [diff] [blame] | 69 | |
| 70 | #178: Add `Lf2SpacesIndenter.withLinefeed` back to keep binary-compatibility with 2.4.x |
| 71 | (reported by ansell@github) |
Tatu Saloranta | 9bdda3f | 2015-02-02 21:35:52 -0800 | [diff] [blame] | 72 | - Minor fix to alignment of null bytes in the last 4 bytes of name, in case where name |
| 73 | may cross the input boundary |
Tatu Saloranta | 3dcedd2 | 2015-01-10 20:15:06 -0800 | [diff] [blame] | 74 | |
Tatu Saloranta | 41ee304 | 2015-01-01 15:34:50 -0800 | [diff] [blame] | 75 | 2.5.0 (01-Jan-2015) |
Tatu Saloranta | ca94baf | 2014-08-07 20:44:41 -0700 | [diff] [blame] | 76 | |
Tatu | e997287 | 2014-08-13 13:00:57 -0700 | [diff] [blame] | 77 | #148: BytesToNameCanonicalizer can mishandle leading null byte(s). |
| 78 | (reported by rjmac@github) |
Cowtowncoder | 27eb3c1 | 2014-11-07 15:16:45 -0800 | [diff] [blame] | 79 | #164: Add `JsonGenerator.Feature.IGNORE_UNKNOWN` (but support via individual |
| 80 | data format modules) |
Tatu Saloranta | 55cfa31 | 2014-11-28 20:54:50 -0800 | [diff] [blame] | 81 | #166: Allow to configure line endings and indentation |
| 82 | (contributed by Aaron D) |
Cowtowncoder | 7b1d411 | 2014-11-24 11:41:16 -0800 | [diff] [blame] | 83 | #167: `JsonGenerator` not catching problem of writing field name twice in a row |
Tatu Saloranta | 44f42e8 | 2014-11-26 20:38:27 -0800 | [diff] [blame] | 84 | #168: Add methods in `JsonStreamContext` for keeping track of "current value" |
Cowtowncoder | d2c6023 | 2014-12-09 14:39:17 -0800 | [diff] [blame] | 85 | #169: Add `JsonPointer.head()` |
Cowtowncoder | fa0b523 | 2014-12-05 14:01:27 -0800 | [diff] [blame] | 86 | (contributed by Alex S, lordofthejars@github) |
Cowtowncoder | f408795 | 2014-09-29 14:23:37 -0700 | [diff] [blame] | 87 | - Added `ResolvedType.getParameterSource()` to support better resolution |
| 88 | of generic types. |
Cowtowncoder | 7df7c57 | 2014-11-07 17:06:29 -0800 | [diff] [blame] | 89 | - Added `JsonGenerator.writeRawValue(SerializableString)` |
Tatu Saloranta | 39170c0 | 2014-12-12 20:17:13 -0800 | [diff] [blame] | 90 | - Added `JsonParser.hasExpectedStartObjectToken()` convenience method |
Tatu Saloranta | aae5397 | 2014-12-09 20:05:04 -0800 | [diff] [blame] | 91 | - Added `JsonParser.hasTokenId(id)` convenience method |
Cowtowncoder | 2ec3403 | 2014-12-11 10:50:57 -0800 | [diff] [blame] | 92 | - Added `JsonParser.nextFieldName()` (no args) |
Tatu | e997287 | 2014-08-13 13:00:57 -0700 | [diff] [blame] | 93 | |
Cowtowncoder | 44dc429 | 2015-09-11 10:05:02 -0700 | [diff] [blame^] | 94 | 2.4.6 (23-Apr-2015) |
Cowtowncoder | fca10e3 | 2015-02-19 16:39:04 -0800 | [diff] [blame] | 95 | |
| 96 | #184: WRITE_NUMBERS_AS_STRINGS disables WRITE_BIGDECIMAL_AS_PLAIN |
| 97 | (reported by Derek C) |
| 98 | |
Tatu Saloranta | 36c91eb | 2015-01-13 20:20:08 -0800 | [diff] [blame] | 99 | 2.4.5 (13-Jan-2015) |
| 100 | |
| 101 | No changes since 2.4.4. |
| 102 | |
Tatu Saloranta | 1c9e145 | 2014-11-24 18:08:01 -0800 | [diff] [blame] | 103 | 2.4.4 (24-Nov-2014) |
Tatu Saloranta | d533f29 | 2014-09-24 20:14:39 -0700 | [diff] [blame] | 104 | |
Cowtowncoder | 290799a | 2014-10-08 16:06:40 -0700 | [diff] [blame] | 105 | #157: ArrayIndexOutOfBoundsException: 200 on numbers with more than 200 digits. |
| 106 | (reported by Lars P, larsp@github) |
Tatu Saloranta | 0d9cd9f | 2014-12-07 10:16:55 -0800 | [diff] [blame] | 107 | #173: An exception is thrown for a valid JsonPointer expression |
| 108 | (reported by Alex S) |
Cowtowncoder | d999514 | 2014-12-30 17:09:51 -0800 | [diff] [blame] | 109 | #176: `JsonPointer` should not consider "00" to be valid index |
| 110 | (reported by fge@gitub) |
Tatu Saloranta | ffd16b7 | 2014-11-09 12:48:32 -0800 | [diff] [blame] | 111 | - Fix `JsonGenerator.setFeatureMask()` to better handle dynamic changes. |
Tatu Saloranta | d533f29 | 2014-09-24 20:14:39 -0700 | [diff] [blame] | 112 | |
Cowtowncoder | d860a8c | 2014-10-09 11:35:33 -0700 | [diff] [blame] | 113 | 2.4.3 (02-Oct-2014) |
Tatu | 544904d | 2014-08-13 12:31:11 -0700 | [diff] [blame] | 114 | |
Cowtowncoder | d860a8c | 2014-10-09 11:35:33 -0700 | [diff] [blame] | 115 | #152: Exception for property names longer than 256k |
| 116 | (reported by CrendKing@github) |
Tatu | 544904d | 2014-08-13 12:31:11 -0700 | [diff] [blame] | 117 | |
Tatu Saloranta | d533f29 | 2014-09-24 20:14:39 -0700 | [diff] [blame] | 118 | 2.4.2 (13-Aug-2014) |
Tatu | 4ceaba8 | 2014-06-06 13:44:41 -0700 | [diff] [blame] | 119 | |
Tatu Saloranta | 5027dc5 | 2014-07-08 20:27:00 -0700 | [diff] [blame] | 120 | #145: NPE at BytesToNameCanonicalizer |
| 121 | (reported by Shay B) |
Tatu Saloranta | 1f6e1fb | 2012-01-17 22:29:27 -0800 | [diff] [blame] | 122 | #146: Error while parsing negative floats at the end of the input buffer |
| 123 | (reported by rjmac@github) |
Tatu | 4ceaba8 | 2014-06-06 13:44:41 -0700 | [diff] [blame] | 124 | |
Tatu Saloranta | 5027dc5 | 2014-07-08 20:27:00 -0700 | [diff] [blame] | 125 | 2.4.1 (16-Jun-2014) |
| 126 | |
| 127 | #143: Flaw in `BufferRecycler.allocByteBuffer(int,int)` that results in |
| 128 | performance regression |
| 129 | |
| 130 | 2.4.0 (29-May-2014) |
Tatu Saloranta | 1f6e1fb | 2012-01-17 22:29:27 -0800 | [diff] [blame] | 131 | |
Tatu Saloranta | 175a97b | 2014-01-09 21:49:24 -0800 | [diff] [blame] | 132 | #121: Increase size of low-level byte[]/char[] input/output buffers |
| 133 | (from 4k->8k for bytes, 2k->4k for chars) |
Tatu Saloranta | 1d07601 | 2014-03-24 18:29:33 -0700 | [diff] [blame] | 134 | #127: Add `JsonGenerator.writeStartArray(int size)` for binary formats |
Tatu | 64aa9d2 | 2014-04-18 14:07:38 -0700 | [diff] [blame] | 135 | #138: Add support for using `char[]` as input source; optimize handling |
| 136 | of `String` input as well. |
Tatu Saloranta | f633f10 | 2013-12-13 21:15:24 -0800 | [diff] [blame] | 137 | - Refactor `BufferRecycler` to eliminate helper enums |
Tatu Saloranta | 6f91dcf | 2013-12-01 13:16:45 -0800 | [diff] [blame] | 138 | |
Cowtowncoder | 44dc429 | 2015-09-11 10:05:02 -0700 | [diff] [blame^] | 139 | 2.3.5 (13-Jan-2015) |
| 140 | |
| 141 | #152: Exception for property names longer than 256k |
| 142 | #173: An exception is thrown for a valid JsonPointer expression |
| 143 | #176: `JsonPointer` should not consider "00" to be valid index |
| 144 | |
| 145 | 2.3.4 (17-Jul-2014) |
Tatu Saloranta | 9e2d737 | 2014-05-07 08:23:32 -0700 | [diff] [blame] | 146 | 2.3.3 (10-Apr-2014) |
| 147 | |
| 148 | No changes since 2.3.2. |
| 149 | |
| 150 | 2.3.2 (01-Mar-2014) |
Tatu Saloranta | a50f62c | 2014-03-06 20:24:04 -0800 | [diff] [blame] | 151 | |
| 152 | #126: Revert some 1.6 back to make core lib work with Android 2.2 (FroYo) |
| 153 | (contributed by Goncalo S) |
| 154 | #129: Missing delegation method, `JsonParserDelegate.isExpectedStartArrayToken()` |
| 155 | (Pascal G) |
Tatu Saloranta | 9e2d737 | 2014-05-07 08:23:32 -0700 | [diff] [blame] | 156 | #133: Prevent error on JsonPointer expressions for properties that have numeric |
| 157 | ids above 32-bit range |
| 158 | (reported by mrstlee@github) |
Tatu Saloranta | a50f62c | 2014-03-06 20:24:04 -0800 | [diff] [blame] | 159 | |
Tatu | 141c08b | 2014-02-28 14:04:39 -0800 | [diff] [blame] | 160 | 2.3.1 (28-Dec-2013) |
| 161 | |
| 162 | No functional changes. |
| 163 | |
Tatu Saloranta | f633f10 | 2013-12-13 21:15:24 -0800 | [diff] [blame] | 164 | 2.3.0 (13-Nov-2013) |
| 165 | |
Tatu Saloranta | f959361 | 2013-08-07 19:24:25 -0700 | [diff] [blame] | 166 | #8: Add methods in `JsonParser`/`JsonGenerator` for reading/writing Object Ids |
Tatu Saloranta | 098ece8 | 2013-09-19 12:12:22 -0700 | [diff] [blame] | 167 | #47: Support YAML-style comments with `JsonParser.Feature.ALLOW_YAML_COMMENTS` |
Tatu Saloranta | 880ba76 | 2013-09-24 21:32:15 -0700 | [diff] [blame] | 168 | #60: Add a feature (`JsonParser.Feature.STRICT_DUPLICATE_DETECTION`) to verify |
| 169 | that input does not contain duplicate filed names |
Tatu Saloranta | ad28e35 | 2013-07-04 16:40:18 -0700 | [diff] [blame] | 170 | #77: Improve error reporting for unrecognized tokens |
| 171 | (requested by cowwoc@github) |
Tatu Saloranta | 0dba714 | 2013-07-04 21:17:31 -0700 | [diff] [blame] | 172 | #85: Add `JsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAIN` |
Tatu Saloranta | 08f918c | 2013-07-27 19:26:51 -0700 | [diff] [blame] | 173 | #91: Add methods in `JsonGenerator` for writing native Type Ids |
Tatu Saloranta | 567257f | 2013-08-02 22:20:17 -0700 | [diff] [blame] | 174 | #92: Add methods in `JsonParser` for reading native Type Ids |
Tatu Saloranta | caefc68 | 2013-08-07 19:20:50 -0700 | [diff] [blame] | 175 | #93: Add `getFeatureMask()`, `setFeatureMask()` in `JsonGenerator`/`JsonParser` |
Tatu Saloranta | 98c86a9 | 2013-08-10 19:25:43 -0700 | [diff] [blame] | 176 | #94: Allow coercion of String value "null" (similar to handling of null token) |
Tatu Saloranta | 1734a3a | 2013-08-28 19:06:20 -0700 | [diff] [blame] | 177 | #96: Add `JsonFactory.requiresPropertyOrdering()` introspection method |
Tatu Saloranta | 7dc9de6 | 2013-08-30 19:01:20 -0700 | [diff] [blame] | 178 | #97: JsonGenerator's `JsonWriteContext` not maintained properly, loses |
| 179 | current field name |
| 180 | (reported by Sam R) |
Tatu Saloranta | b40ac81 | 2013-08-28 21:04:32 -0700 | [diff] [blame] | 181 | #98: Improve handling of failures for `BigDecimal`, for "NaN" (and infinity) |
Tatu Saloranta | eaa2b0c | 2013-09-21 11:39:53 -0700 | [diff] [blame] | 182 | #102: Unquoted field names can not start with a digit |
Tatu Saloranta | b883544 | 2013-09-14 12:12:57 -0700 | [diff] [blame] | 183 | #103: Add `JsonFactory.canHandleBinaryNatively`, `JsonGenerator.canWriteBinaryNatively` |
| 184 | to let databind module detect level of support for binary data. |
Tatu Saloranta | 38d6e35 | 2013-09-21 11:26:42 -0700 | [diff] [blame] | 185 | #105: Parser parsers numbers eagerly; does not report error with missing space |
Tatu Saloranta | f9ad80f | 2013-09-24 21:31:16 -0700 | [diff] [blame] | 186 | #106: Add `JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION` for preventing dup names |
Tatu Saloranta | 0e10fd5 | 2013-11-02 21:12:49 -0700 | [diff] [blame] | 187 | #110: Improve overridability of `JsonGeneratorDelegate` |
| 188 | (suggested by qpliu@github) |
Tatu Saloranta | 911cca0 | 2013-10-08 10:03:44 -0700 | [diff] [blame] | 189 | #111: _currInputRowStart isn't initialized in UTF8StreamJsonParser() constructor |
| 190 | (reported by dreamershl@github) |
Tatu Saloranta | 5e14c46 | 2013-11-08 19:30:54 -0800 | [diff] [blame] | 191 | #115: JsonGenerator writeRawValue problem with surrogate UTF-8 characters |
| 192 | (reported by Marcin Z) |
Tatu Saloranta | bc54062 | 2013-11-11 16:08:15 -0800 | [diff] [blame] | 193 | #116: WriterBasedJsonGenerator produces truncated Unicode escape sequences |
| 194 | (reported by Steve L-S) |
Tatu Saloranta | 45cc26c | 2013-08-07 23:24:04 -0700 | [diff] [blame] | 195 | - Improve `DefaultPrettyPrinter`, `Lf2SpacesIndenter` (from databind #276) |
Tatu Saloranta | 98cb9a7 | 2013-08-10 15:05:33 -0700 | [diff] [blame] | 196 | - Add `JsonGenerator.canOmitFields()` method to support discovery of |
| 197 | positional formats, needed for handling of filtering for CSV |
Tatu Saloranta | 8475c8b | 2013-09-18 16:21:22 -0700 | [diff] [blame] | 198 | - Rewrite `InternCache` to use `ConcurrentHashMap`, to work more efficiently both |
| 199 | for common case of few misses (no block on access), and slowest cases (lots of |
| 200 | misses). |
Tatu | 879b7cd | 2013-09-24 11:51:37 -0700 | [diff] [blame] | 201 | - Add `JsonPointer` implementation, to be used by tree model, streaming |
Tatu Saloranta | 7ee3878 | 2013-10-03 10:51:06 -0700 | [diff] [blame] | 202 | - Make `UTF8StreamJsonParser` non-final, for potential sub-classing |
Tatu Saloranta | ad28e35 | 2013-07-04 16:40:18 -0700 | [diff] [blame] | 203 | |
Tatu Saloranta | 3da5c04 | 2013-10-08 10:08:24 -0700 | [diff] [blame] | 204 | 2.2.3 (23-Aug-2013) |
| 205 | |
| 206 | #78: ArrayIndexOutOfBoundsException for very long numbers (>500 digits) |
| 207 | (reported by boothen@github) |
| 208 | #81: CharTypes.appendQuoted misencodes first 32 Unicode values as '\0000' |
| 209 | (reported by githubaff0@github) |
| 210 | #84: Support for parsing 'Infinity' when feature ALLOW_NON_NUMERIC_NUMBERS is on |
| 211 | (contributed by ebrevdo@github) |
| 212 | - Add `Base64Variant.decode()` convenience methods |
| 213 | |
Tatu Saloranta | 0ec6bac | 2013-06-06 13:26:26 -0700 | [diff] [blame] | 214 | 2.2.2 (26-May-2013) |
| 215 | |
| 216 | No changes since previous version. |
| 217 | |
Tatu Saloranta | d940b45 | 2013-05-26 22:16:00 -0700 | [diff] [blame] | 218 | 2.2.1 (03-May-2013) |
Tatu Saloranta | 7a9d1d3 | 2013-04-26 16:42:40 -0700 | [diff] [blame] | 219 | |
Tatu Saloranta | 7b796a8 | 2013-04-27 10:18:30 -0700 | [diff] [blame] | 220 | #72: JsonFactory.copy() was not copying settings properly |
| 221 | (reported by Christian S (squiddle@github)) |
Tatu Saloranta | 7a9d1d3 | 2013-04-26 16:42:40 -0700 | [diff] [blame] | 222 | - Moved VERSION/LICENSE contained in jars under META-INF/, to resolve |
| 223 | Android packaging (APK) issues |
| 224 | |
Tatu Saloranta | 7a9d1d3 | 2013-04-26 16:42:40 -0700 | [diff] [blame] | 225 | 2.2.0 (22-Apr-2013) |
Tatu Saloranta | 306524f | 2012-11-12 14:33:10 -0800 | [diff] [blame] | 226 | |
| 227 | Fixes: |
| 228 | |
Tatu Saloranta | 5b7bbe1 | 2013-04-16 19:08:21 -0700 | [diff] [blame] | 229 | #51: JsonLocation had non-serializable field, mark as transient |
Tatu Saloranta | 61d5bdd | 2013-01-11 19:02:01 -0800 | [diff] [blame] | 230 | |
Tatu Saloranta | 4546613 | 2013-01-11 10:20:48 -0800 | [diff] [blame] | 231 | Improvements |
| 232 | |
Tatu Saloranta | 5b7bbe1 | 2013-04-16 19:08:21 -0700 | [diff] [blame] | 233 | #46, #49: Improve VersionUtil to generate PackageVersion, instead of |
Tatu Saloranta | 4546613 | 2013-01-11 10:20:48 -0800 | [diff] [blame] | 234 | reading VERSION.txt from jar -- improves startup perf on Android significantly |
| 235 | (contributed by Ben G) |
Tatu Saloranta | 5b7bbe1 | 2013-04-16 19:08:21 -0700 | [diff] [blame] | 236 | #59: Add more functionality in `TreeNode` interface, to allow some |
Tatu Saloranta | 1252598 | 2013-02-12 22:56:57 -0800 | [diff] [blame] | 237 | level of traversal over any and all Tree Model implementations |
Tatu Saloranta | 5b7bbe1 | 2013-04-16 19:08:21 -0700 | [diff] [blame] | 238 | #69: Add support for writing `short` values in JsonGenerator |
Tatu Saloranta | 4546613 | 2013-01-11 10:20:48 -0800 | [diff] [blame] | 239 | |
Tatu Saloranta | c3ef9f3 | 2013-02-04 20:35:22 -0800 | [diff] [blame] | 240 | 2.1.3 (19-Jan-2013) |
Tatu Saloranta | 1e1bfb6 | 2012-11-15 17:39:03 -0800 | [diff] [blame] | 241 | |
Tatu Saloranta | c3ef9f3 | 2013-02-04 20:35:22 -0800 | [diff] [blame] | 242 | * [JACKSON-884]: JsonStringEncoder.quoteAsStringValue() fails to encode |
| 243 | ctrl chars correctly. |
| 244 | * [Issue#48] Problems with spaces in URLs |
| 245 | (reported by KlausBrunner) |
| 246 | |
| 247 | 2.1.2 (04-Dec-2012) |
| 248 | |
| 249 | * [Issue#42] Problems with UTF32Reader |
| 250 | (reported by James R [jroper@github]) |
| 251 | * Added missing methods (like 'setPrettyPrinter()' in JsonGeneratorDelegate |
| 252 | |
| 253 | 2.1.1 (11-Nov-2012) |
Tatu Saloranta | dc2e72f | 2012-10-05 13:04:07 -0700 | [diff] [blame] | 254 | |
Tatu Saloranta | ab0269c | 2012-10-20 13:19:10 -0700 | [diff] [blame] | 255 | * [Issue#34] `JsonParser.nextFieldName()` fails on buffer boundary |
| 256 | (reported by gsson@github) |
Tatu Saloranta | 9c38644 | 2012-11-08 14:40:26 -0800 | [diff] [blame] | 257 | * [Issue#38] `JsonParser.nextFieldName()` problems when handling |
| 258 | names with trailing spaces |
| 259 | (reported by matjazs@github) |
Tatu Saloranta | dc2e72f | 2012-10-05 13:04:07 -0700 | [diff] [blame] | 260 | |
Tatu Saloranta | ab0269c | 2012-10-20 13:19:10 -0700 | [diff] [blame] | 261 | 2.1.0 (08-Oct-2012) |
| 262 | |
| 263 | A new minor version for 2.x. |
Tatu Saloranta | 1adc898 | 2012-03-30 16:47:59 -0700 | [diff] [blame] | 264 | |
Tatu Saloranta | 84101d7 | 2012-05-14 22:16:28 -0700 | [diff] [blame] | 265 | New features: |
| 266 | |
Tatu Saloranta | e6dfc69 | 2012-09-28 15:34:05 -0700 | [diff] [blame] | 267 | * [Issue#14]: add 'readBinaryValue(...)' method in JsonParser |
| 268 | * [Issue#16]: add 'writeBinary(InputStream, int)' method in JsonGenerator |
Tatu Saloranta | d80a2d0 | 2012-06-11 20:37:35 -0700 | [diff] [blame] | 269 | (and implement for JSON backend) |
Tatu Saloranta | e6dfc69 | 2012-09-28 15:34:05 -0700 | [diff] [blame] | 270 | * [Issue#26]: Allow overriding "root value separator" |
| 271 | (suggested by Henning S) |
Tatu Saloranta | e53c3a9 | 2012-05-23 20:07:23 -0700 | [diff] [blame] | 272 | |
Tatu Saloranta | dc2e72f | 2012-10-05 13:04:07 -0700 | [diff] [blame] | 273 | Improvements: |
| 274 | |
| 275 | * [JACKSON-837]: Made JsonGenerator implement Flushable. |
| 276 | (suggested by Matt G) |
| 277 | * [Issue#10]: add 'JsonProcessingException.getOriginalMessage()' for accessing |
| 278 | message without location info |
| 279 | * [Issue#31]: make `JsonFactory` java.io.Serializable (via JDK) |
| 280 | |
Tatu Saloranta | eeb2fbd | 2012-05-28 22:00:08 -0700 | [diff] [blame] | 281 | Other: |
| 282 | |
Tatu Saloranta | feaabd1 | 2012-07-22 23:03:41 -0700 | [diff] [blame] | 283 | * [Issue-25]: Add 'createParser' and 'createGenerator' (as eventual replacements |
Tatu Saloranta | eeb2fbd | 2012-05-28 22:00:08 -0700 | [diff] [blame] | 284 | for 'createJsonParser'/'createJsonGenerator') in 'JsonFactory' |
Tatu Saloranta | 9c9622d | 2012-07-24 18:37:03 -0700 | [diff] [blame] | 285 | * Try to improve locking aspects of symbol tables, by reducing scope of |
| 286 | synchronized sections when creating, merging table contents. |
Tatu Saloranta | 378ecdc | 2012-08-04 16:27:27 -0700 | [diff] [blame] | 287 | * Added 'JsonFactory.copy()' method to support databinding's 'ObjectMapper.copy()' |
Tatu Saloranta | ad2df5f | 2012-08-22 20:55:49 -0700 | [diff] [blame] | 288 | * Added method 'requiresCustomCodec()' for JsonFactory and JsonParser |
Tatu Saloranta | 5ad18ff | 2012-09-22 16:00:57 -0700 | [diff] [blame] | 289 | * Added 'JsonParser.getValueAsString()' method (to support flexible conversions) |
Tatu Saloranta | 1344de9 | 2012-10-05 21:13:21 -0700 | [diff] [blame] | 290 | * Added META-INF/services/com.fasterxml.jackson.core.JsonFactory SPI to register |
| 291 | `JsonFactory` for even more automatic format discovery in future. |
Tatu Saloranta | eeb2fbd | 2012-05-28 22:00:08 -0700 | [diff] [blame] | 292 | |
Tatu Saloranta | 3409834 | 2012-07-15 11:02:23 -0700 | [diff] [blame] | 293 | 2.0.4 (26-Jun-2012) |
| 294 | |
| 295 | Fixes: |
| 296 | |
| 297 | * [Issue-6] PrettyPrinter, count wrong for end-object case |
| 298 | * 1.9.x fixes up to 1.9.8 |
| 299 | |
| 300 | 2.0.3: skipped; only some modules use this version |
| 301 | |
Tatu Saloranta | 9a36244 | 2012-05-14 19:42:15 -0700 | [diff] [blame] | 302 | 2.0.2 (14-May-2012) |
| 303 | |
Tatu Saloranta | 3409834 | 2012-07-15 11:02:23 -0700 | [diff] [blame] | 304 | * 1.9.x fixes up to 1.9.7 |
Tatu Saloranta | 9a36244 | 2012-05-14 19:42:15 -0700 | [diff] [blame] | 305 | |
Tatu Saloranta | 9340204 | 2012-04-30 18:41:17 -0700 | [diff] [blame] | 306 | 2.0.1 (22-Apr-2012) |
| 307 | |
| 308 | Fixes: |
| 309 | |
| 310 | * [JACKSON-827] Fix incompatibilities with JDK 1.5 (2.0.0 accidentally |
| 311 | required 1.6) |
| 312 | (reported Pascal G) |
| 313 | |
Tatu Saloranta | 1adc898 | 2012-03-30 16:47:59 -0700 | [diff] [blame] | 314 | 2.0.0 (25-Mar-2012) |
Tatu Saloranta | 1f6e1fb | 2012-01-17 22:29:27 -0800 | [diff] [blame] | 315 | |
| 316 | Fixes: |
| 317 | |
Tatu Saloranta | 5e69eec | 2012-03-25 11:52:34 -0700 | [diff] [blame] | 318 | (all fixes up until 1.9.6) |
| 319 | |
Tatu Saloranta | 1f6e1fb | 2012-01-17 22:29:27 -0800 | [diff] [blame] | 320 | Improvements |
| 321 | |
Tatu Saloranta | 9fc55aa | 2012-01-18 17:26:28 -0800 | [diff] [blame] | 322 | * [JACKSON-730]: Add checks to ensure that Features are applicable for |
| 323 | instances (parsers, generators), or if not, throw IllegalArgumentException |
Tatu Saloranta | 1f6e1fb | 2012-01-17 22:29:27 -0800 | [diff] [blame] | 324 | * [JACKSON-742]: Add append-methods in SerializableString |
| 325 | |
| 326 | New features: |
| 327 | |
Tatu Saloranta | 487fe10 | 2012-02-20 17:53:26 -0800 | [diff] [blame] | 328 | * [JACKSON-782]: Add 'JsonParser.overrideCurrentName()', needed as a workaround |
| 329 | for some exotic data binding cases (and/or formats) |
| 330 | |
Tatu Saloranta | 1f6e1fb | 2012-01-17 22:29:27 -0800 | [diff] [blame] | 331 | [entries for versions 1.x and earlier not retained; refer to earlier releases) |