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