cowtowncoder | a93a598 | 2012-11-08 22:42:29 +0000 | [diff] [blame] | 1 | Version: 1.9.12 |
cowtowncoder | 0300aa9 | 2013-01-26 02:03:47 +0000 | [diff] [blame^] | 2 | Release date: 25-Jan-2013 |
cowtowncoder | 8a1d419 | 2011-10-13 04:36:28 +0000 | [diff] [blame] | 3 | Description: |
cowtowncoder | 0300aa9 | 2013-01-26 02:03:47 +0000 | [diff] [blame^] | 4 | |
cowtowncoder | ca78ef1 | 2011-11-05 03:42:28 +0000 | [diff] [blame] | 5 | Another patch release for 1.9. |
cowtowncoder | 080f15e | 2012-03-27 03:38:22 +0000 | [diff] [blame] | 6 | |
cowtowncoder | 113b0ef | 2012-05-02 18:00:32 +0000 | [diff] [blame] | 7 | Fixes: |
cowtowncoder | 539f8fa | 2012-09-24 03:42:19 +0000 | [diff] [blame] | 8 | |
cowtowncoder | 9716f30 | 2012-11-17 03:34:08 +0000 | [diff] [blame] | 9 | * One more case for [JACKSON-802] (class loading using Class.forName()) |
cowtowncoder | 92f67e2 | 2012-11-08 21:33:12 +0000 | [diff] [blame] | 10 | * [JACKSON-875]: Enums are not properly serialized when |
| 11 | Feature.USE_ANNOTATIONS is disabled |
| 12 | (reported by Laurent P) |
cowtowncoder | 42a780a | 2013-01-19 01:56:22 +0000 | [diff] [blame] | 13 | * [JACKSON-884]: JsonStringEncoder.quoteAsStringValue() fails to encode |
| 14 | ctrl chars correctly. |
cowtowncoder | a93a598 | 2012-11-08 22:42:29 +0000 | [diff] [blame] | 15 | * [Issue#38]: Infinite loop in `JsonParser.nextFieldName()` with trailing |
| 16 | space after field name |
| 17 | (reported by matjazs@github) |
cowtowncoder | d0dc1f9 | 2012-11-16 02:52:20 +0000 | [diff] [blame] | 18 | * [Issue#42]: NPE in UTF-32 parser |
| 19 | (reported by James R) |
cowtowncoder | 126f5d0 | 2012-09-29 17:08:03 +0000 | [diff] [blame] | 20 | |
cowtowncoder | 539f8fa | 2012-09-24 03:42:19 +0000 | [diff] [blame] | 21 | ------------------------------------------------------------------------ |
| 22 | === History: === |
| 23 | ------------------------------------------------------------------------ |
| 24 | |
cowtowncoder | 92f67e2 | 2012-11-08 21:33:12 +0000 | [diff] [blame] | 25 | 1.9.11 (06-Nov-2012) |
| 26 | |
| 27 | Fixes: |
| 28 | |
| 29 | * [Issue#8]: Problem with 'SmileGenerator', addSeenName() |
| 30 | |
cowtowncoder | 539f8fa | 2012-09-24 03:42:19 +0000 | [diff] [blame] | 31 | 1.9.10 (23-Sep-2012) |
| 32 | |
| 33 | Fixes: |
cowtowncoder | 89ca8f5 | 2012-08-26 18:25:23 +0000 | [diff] [blame] | 34 | * [JACKSON-855]: add StackOverflowError as root cause |
cowtowncoder | 8662d23 | 2012-09-24 02:29:54 +0000 | [diff] [blame] | 35 | * [JACKSON-867]: missing Export-Package header for "org.codehaus.jackson.map.ext" |
| 36 | (reported by Duncan B) |
cowtowncoder | 89ca8f5 | 2012-08-26 18:25:23 +0000 | [diff] [blame] | 37 | * [Issue#57]: Allow serialization of JDK proxy types |
cowtowncoder | ef96c5a | 2012-09-11 05:25:10 +0000 | [diff] [blame] | 38 | * [Issue#71]: java.util.concurrent.ConcurrentNavigableMap support was failing |
cowtowncoder | 113b0ef | 2012-05-02 18:00:32 +0000 | [diff] [blame] | 39 | |
cowtowncoder | 869dc7a | 2012-08-01 15:35:58 +0000 | [diff] [blame] | 40 | 1.9.9 (28-Jul-2012) |
| 41 | |
| 42 | Fixes: |
cowtowncoder | 37ec337 | 2012-07-14 04:03:50 +0000 | [diff] [blame] | 43 | * [Issue-21]: Improve handling of String hash code collisions for |
| 44 | symbol tables; exception for degenerate cases (attacks), improvements |
| 45 | for calculation otherwise |
cowtowncoder | 9034a65 | 2012-07-18 23:45:38 +0000 | [diff] [blame] | 46 | * [Issue-24]: ArrayIndexOutOfBoundsException with TextBuffer.append() |
cowtowncoder | 8e7b039 | 2012-07-15 17:52:21 +0000 | [diff] [blame] | 47 | * [JACKSON-853]: JsonStringEncoder.quoteAsString() problem with buffer boundary |
cowtowncoder | 37ec337 | 2012-07-14 04:03:50 +0000 | [diff] [blame] | 48 | |
cowtowncoder | 39ae7c2 | 2012-07-28 17:26:09 +0000 | [diff] [blame] | 49 | Other: |
| 50 | * Improved multi-threader handling of byte-based symbol table; should |
| 51 | reduce lock contention for heavily multi-threaded cases, esp. when |
| 52 | parsing short documents. |
| 53 | |
cowtowncoder | ad0b40a | 2012-06-29 00:18:04 +0000 | [diff] [blame] | 54 | |
| 55 | 1.9.8 (28-Jun-2012) |
| 56 | |
| 57 | Fixes: |
| 58 | |
cowtowncoder | 22c0421 | 2012-06-12 06:11:32 +0000 | [diff] [blame] | 59 | * [Issue-6]: element count for PrettyPrinter, endObject wrong |
| 60 | (reported by "thebluemountain") |
cowtowncoder | 509a0db | 2012-05-24 02:57:41 +0000 | [diff] [blame] | 61 | * [JACKSON-838]: Utf8StreamParser._reportInvalidToken() skips letters |
| 62 | from reported token name |
| 63 | (reported by Lóránt Pintér) |
cowtowncoder | 214addd | 2012-06-06 01:00:28 +0000 | [diff] [blame] | 64 | * [JACKSON-841] Data is doubled in SegmentedStringWriter output |
cowtowncoder | 4e0d8d5 | 2012-06-06 16:53:36 +0000 | [diff] [blame] | 65 | (reported by Scott S) |
| 66 | * [JACKSON-842] ArrayIndexOutOfBoundsException when skipping C-style comments |
| 67 | (reported by Sebastien R) |
cowtowncoder | dd4c844 | 2012-06-28 23:58:30 +0000 | [diff] [blame] | 68 | * [JACKSON-845] Problem with Object[][] deserialization, default typing |
| 69 | (reported by Pawel J) |
cowtowncoder | 509a0db | 2012-05-24 02:57:41 +0000 | [diff] [blame] | 70 | |
cowtowncoder | ad0b40a | 2012-06-29 00:18:04 +0000 | [diff] [blame] | 71 | 1.9.7 (02-May-2012) |
cowtowncoder | 113b0ef | 2012-05-02 18:00:32 +0000 | [diff] [blame] | 72 | |
cowtowncoder | 080f15e | 2012-03-27 03:38:22 +0000 | [diff] [blame] | 73 | Fixes: |
| 74 | |
cowtowncoder | d8532d1 | 2012-04-27 04:33:29 +0000 | [diff] [blame] | 75 | * [Smile/Issue-2] SmileParser failed to decode surrogate-pair characters for |
| 76 | long Strings |
| 77 | (reported by Steven S) |
cowtowncoder | 07eb299 | 2012-04-18 01:02:46 +0000 | [diff] [blame] | 78 | * [Issue-11] JsonParser.getValueAsLong() returning int, not long |
| 79 | (reported by Daniel L) |
cowtowncoder | dc2ba79 | 2012-05-02 06:20:52 +0000 | [diff] [blame] | 80 | * [Issue-13] Runtime error passing multiple injected values to a constructor |
| 81 | (reported by Stuart D) |
cowtowncoder | dd6c895 | 2012-04-28 07:43:17 +0000 | [diff] [blame] | 82 | * [Issue-14]: Annotations were not included from parent classes of |
| 83 | mix-in classes |
| 84 | (reported by @guillaup) |
cowtowncoder | d5a4225 | 2012-05-02 06:13:12 +0000 | [diff] [blame] | 85 | * [JACKSON-823] MissingNode does not return default value for 'asXxx()' |
| 86 | methods |
| 87 | (reported by Adam V) |
cowtowncoder | 618d716 | 2012-04-20 02:55:59 +0000 | [diff] [blame] | 88 | * [JACKSON-829] Custom serializers not working for List<String> properties, |
| 89 | @JsonSerialize(contentUsing) |
| 90 | (reported by James R) |
cowtowncoder | 66163e4 | 2012-05-02 17:46:02 +0000 | [diff] [blame] | 91 | * [JACKSON-831] External type id, explicit property do not work well together |
| 92 | (reported by Laurent P) |
cowtowncoder | 2e13f04 | 2012-05-01 01:44:38 +0000 | [diff] [blame] | 93 | * [JACKSON-832] (partial) Fix numeric range check for Longs (was not working) |
| 94 | (reported by Jan J) |
cowtowncoder | 8f28054 | 2012-05-02 16:48:06 +0000 | [diff] [blame] | 95 | * [JACKSON-834] Could not use @JsonFactory with non-String argument with Enums |
| 96 | (reported by Klaus R) |
cowtowncoder | 07eb299 | 2012-04-18 01:02:46 +0000 | [diff] [blame] | 97 | |
cowtowncoder | 080f15e | 2012-03-27 03:38:22 +0000 | [diff] [blame] | 98 | 1.9.6 [26-Mar-2012] |
| 99 | |
cowtowncoder | 348f2b3 | 2011-12-20 04:35:27 +0000 | [diff] [blame] | 100 | Fixes: |
| 101 | |
cowtowncoder | 4edfe25 | 2012-03-07 03:50:59 +0000 | [diff] [blame] | 102 | * [JACKSON-763] State of base64/byte[] decoding not reset when |
| 103 | using 'convertValue()' for list of byte[] values. |
| 104 | (reported by Erik G) |
cowtowncoder | ce261fe | 2012-03-04 00:38:00 +0000 | [diff] [blame] | 105 | * [JACKSON-794]: JDK 7 has new property for Exceptions ("suppressable"), |
| 106 | needs to be ignored during deserialization |
cowtowncoder | b5a02c4 | 2012-03-10 02:00:36 +0000 | [diff] [blame] | 107 | * [JACKSON-799]: JsonSerialize.as not working as class annotation, for root values |
cowtowncoder | 65f61be | 2012-03-09 05:46:07 +0000 | [diff] [blame] | 108 | * [JACKSON-802]: Improvements to class loading to use both contextual |
| 109 | class loader and Class.forName, as necessary |
cowtowncoder | 4edfe25 | 2012-03-07 03:50:59 +0000 | [diff] [blame] | 110 | * [JACKSON-803]: Problems with Smile, parsing of long names |
| 111 | (reported by D Lam) |
cowtowncoder | dc9a2ef | 2012-03-10 02:30:30 +0000 | [diff] [blame] | 112 | * [JACKSON-804]: Allow byte range up to 255, for interoperability with unsigned bytes |
cowtowncoder | ce1390b | 2012-03-13 06:18:17 +0000 | [diff] [blame] | 113 | * [JACKSON-806]: REQUIRE_SETTERS_FOR_GETTERS ignores explicitly annotated getters |
| 114 | (reported by Harold M) |
cowtowncoder | 5954654 | 2012-03-20 01:27:12 +0000 | [diff] [blame] | 115 | * [JACKSON-812]: BigIntegerNode.equals(...) using '==' for equality |
cowtowncoder | 49531ec | 2012-03-25 02:42:04 +0000 | [diff] [blame] | 116 | * [JACKSON-820]: WriterBasedGenerator with CharacterEscapes produces unescaped output |
| 117 | for strings > 2k in length |
| 118 | (reported by Matt S) |
cowtowncoder | ce261fe | 2012-03-04 00:38:00 +0000 | [diff] [blame] | 119 | |
cowtowncoder | 55e4882 | 2012-02-25 06:27:58 +0000 | [diff] [blame] | 120 | 1.9.5 [24-Feb-2012] |
| 121 | |
| 122 | Fixes: |
| 123 | |
cowtowncoder | bef82c4 | 2012-01-25 20:14:49 +0000 | [diff] [blame] | 124 | * [JACKSON-757]: further fixing (1.9.4 had partial fix) |
cowtowncoder | 3e3b8d5 | 2012-01-31 02:57:34 +0000 | [diff] [blame] | 125 | * [JACKSON-773]: Bug in SimpleFilterProvider constructor |
| 126 | (reported by Kenny M) |
cowtowncoder | e829a16 | 2012-02-02 20:46:36 +0000 | [diff] [blame] | 127 | * [JACKSON-774]: PropertyBasedCreator was not using JsonDeserializer.getNullValue() |
| 128 | (reported by Nathaniel B) |
cowtowncoder | b4f1b9c | 2012-02-02 20:13:08 +0000 | [diff] [blame] | 129 | * [JACKSON-775]: MissingNode.asText() should return "", not null |
| 130 | (reported by Ittai Z) |
cowtowncoder | 75a6103 | 2012-02-23 07:11:33 +0000 | [diff] [blame] | 131 | * [JACKSON-778]: Incorrect detection of generic types with TypeReference |
| 132 | (reported by Vladimir P) |
cowtowncoder | 8db4907 | 2012-02-11 22:28:49 +0000 | [diff] [blame] | 133 | * [JACKSON-779]: Problems with multi-byte UTF-8 chars in JSON comments |
| 134 | (reported by Alexander K) |
cowtowncoder | b1c3303 | 2012-02-20 22:47:23 +0000 | [diff] [blame] | 135 | * [JACKSON-789]: Add support for 'java.nio.charset.Charset' |
cowtowncoder | b4335d8 | 2012-02-24 23:47:41 +0000 | [diff] [blame] | 136 | * [JACKSON-796]: Problems with byte[] conversion to/from JsonNode. |
| 137 | (reported by Christopher B) |
cowtowncoder | bef82c4 | 2012-01-25 20:14:49 +0000 | [diff] [blame] | 138 | |
cowtowncoder | bb796dd | 2012-01-21 01:25:58 +0000 | [diff] [blame] | 139 | 1.9.4 [20-Jan-2012] |
| 140 | |
| 141 | Fixes: |
| 142 | |
cowtowncoder | c850e71 | 2011-12-30 06:14:01 +0000 | [diff] [blame] | 143 | * [JACKSON-712] Issue with @JsonCreator + DefaultImpl |
| 144 | (suggested by Eric T) |
cowtowncoder | 824496b | 2011-12-29 23:18:57 +0000 | [diff] [blame] | 145 | * [JACKSON-744] @JsonAnySetter problems with 1.9 |
cowtowncoder | b376500 | 2012-01-12 22:57:24 +0000 | [diff] [blame] | 146 | * [JACKSON-746] Problems with JsonTypeInfo.Id.NONE, default typing |
| 147 | (reported by Steve L) |
cowtowncoder | 59177ce | 2012-01-13 22:23:25 +0000 | [diff] [blame] | 148 | (reported by Sebastian T) |
cowtowncoder | 2576aaa | 2012-01-18 00:21:26 +0000 | [diff] [blame] | 149 | * [JACKSON-756] Problems with enums, @JsonCreator, when used as keys |
| 150 | of EnumMap, regular Map, or contents of EnumSet |
| 151 | (reported by Mika M) |
cowtowncoder | 100b54f | 2012-01-17 22:08:19 +0000 | [diff] [blame] | 152 | * [JACKSON-757] Problems with Enum values, annotations on constructors |
cowtowncoder | bef82c4 | 2012-01-25 20:14:49 +0000 | [diff] [blame] | 153 | -- but note, some issues remained for 1.9.5 to tackle |
cowtowncoder | 100b54f | 2012-01-17 22:08:19 +0000 | [diff] [blame] | 154 | (reported by Stephan B) |
cowtowncoder | 824496b | 2011-12-29 23:18:57 +0000 | [diff] [blame] | 155 | |
cowtowncoder | 348f2b3 | 2011-12-20 04:35:27 +0000 | [diff] [blame] | 156 | (all fixes up to 1.8.8) |
| 157 | |
cowtowncoder | 348f2b3 | 2011-12-20 04:35:27 +0000 | [diff] [blame] | 158 | 1.9.3 [16-Dec-2011] |
| 159 | |
cowtowncoder | 542a7c3 | 2011-11-03 03:19:09 +0000 | [diff] [blame] | 160 | Improvements: |
cowtowncoder | 26ba2dc | 2011-11-16 03:05:59 +0000 | [diff] [blame] | 161 | |
cowtowncoder | c392f7c | 2011-11-23 22:37:21 +0000 | [diff] [blame] | 162 | * [JACKSON-657] Add Date/Calendar key deserializers |
| 163 | (contributed by Andreas K, Tobias S) |
cowtowncoder | 1a4a30a | 2011-11-29 06:01:20 +0000 | [diff] [blame] | 164 | * [JACKSON-717] ObjectReader.updateValues(): use configured 'valueToUpdate' |
| 165 | * [JACKSON-726] Add java.util.UUID key deserializer |
| 166 | (suggested by Steven S) |
cowtowncoder | 06f1335 | 2011-12-09 05:57:08 +0000 | [diff] [blame] | 167 | * [JACKSON-729] Add 'ObjectMapper.readValues(byte[])' convenience method |
cowtowncoder | 26ba2dc | 2011-11-16 03:05:59 +0000 | [diff] [blame] | 168 | |
| 169 | Fixes: |
cowtowncoder | 8a8ca74 | 2011-12-13 16:00:36 +0000 | [diff] [blame] | 170 | |
| 171 | (all fixes up to 1.8.7) |
cowtowncoder | ca78ef1 | 2011-11-05 03:42:28 +0000 | [diff] [blame] | 172 | |
| 173 | 1.9.2 [04-Nov-2011] |
| 174 | |
| 175 | Improvements: |
| 176 | |
cowtowncoder | 542a7c3 | 2011-11-03 03:19:09 +0000 | [diff] [blame] | 177 | * [JACKSON-706] Joda support: add support for "org.joda.time.Period" |
| 178 | (suggested by Dain S) |
| 179 | |
cowtowncoder | 8a1d419 | 2011-10-13 04:36:28 +0000 | [diff] [blame] | 180 | Fixes: |
cowtowncoder | 35b4099 | 2011-10-27 05:27:21 +0000 | [diff] [blame] | 181 | |
| 182 | * [JACKSON-700] Type problems with properties that have different types |
| 183 | for constructor property, setter and/or field |
| 184 | (reported by Ben H) |
cowtowncoder | 8a4e15f | 2011-10-31 21:20:32 +0000 | [diff] [blame] | 185 | * [JACKSON-703] 'SerializationConfig.isEnabled(...)', |
| 186 | 'DeserializationConfig.isEnabled(...)' incompatible due to signature change |
cowtowncoder | b54ac9f | 2011-10-24 01:32:42 +0000 | [diff] [blame] | 187 | |
cowtowncoder | 8a4e15f | 2011-10-31 21:20:32 +0000 | [diff] [blame] | 188 | 1.9.1 [23-Oct-2011] |
cowtowncoder | b54ac9f | 2011-10-24 01:32:42 +0000 | [diff] [blame] | 189 | |
| 190 | Fixes: |
| 191 | |
cowtowncoder | 8a1d419 | 2011-10-13 04:36:28 +0000 | [diff] [blame] | 192 | * [JACKSON-687] Problems with PropertyNamingStrategy, property merging |
| 193 | (reported by Pascal G) |
cowtowncoder | 1c5941f | 2011-10-17 03:34:18 +0000 | [diff] [blame] | 194 | * [JACKSON-689] Deserialization of Iterable fails |
| 195 | (reported by Pascal G) |
cowtowncoder | 6f21941 | 2011-10-20 02:39:30 +0000 | [diff] [blame] | 196 | * [JACKSON-693] @JsonBackReference not used during deserialization if it's annotated |
| 197 | on a getter method. |
| 198 | (reported by Pascal G) |
cowtowncoder | d456a6f | 2011-06-03 04:42:48 +0000 | [diff] [blame] | 199 | |
cowtowncoder | 8a1d419 | 2011-10-13 04:36:28 +0000 | [diff] [blame] | 200 | 1.9.0 [04-Oct-2011] |
| 201 | |
cowtowncoder | 84ce1be | 2011-07-12 06:17:18 +0000 | [diff] [blame] | 202 | Fixes: |
| 203 | |
cowtowncoder | 98a2f51 | 2011-08-31 13:24:36 +0000 | [diff] [blame] | 204 | * [JACKSON-539] Incorrect handling of combination of JAXB annotations |
| 205 | (@XmlTransient with property renaming) |
| 206 | (reported Ryan H) |
cowtowncoder | 84ce1be | 2011-07-12 06:17:18 +0000 | [diff] [blame] | 207 | * [JACKSON-605] Handle deserialization of typed Class properties correctly |
| 208 | (reported by Bruce P) |
| 209 | |
cowtowncoder | 952e6a8 | 2011-07-12 05:45:48 +0000 | [diff] [blame] | 210 | Improvements: |
cowtowncoder | d456a6f | 2011-06-03 04:42:48 +0000 | [diff] [blame] | 211 | |
cowtowncoder | 805d041 | 2011-08-31 13:41:26 +0000 | [diff] [blame] | 212 | * [JACKSON-242] Rewrite property introspection part of framework to combine |
| 213 | getter/setter/field annotations |
cowtowncoder | 5e6b0a6 | 2011-08-12 06:12:39 +0000 | [diff] [blame] | 214 | * [JACKSON-505] Handle missing type information gracefully by checking for |
| 215 | abstract type mapping to find default implementation, if no valid type |
| 216 | information found for @JsonTypeInfo |
cowtowncoder | b396368 | 2011-07-21 06:03:31 +0000 | [diff] [blame] | 217 | * [JACKSON-531] Comparing actual and default value (for JsonSerialize.Inclusion.NON_DEFAULT) |
| 218 | should check array contents |
| 219 | (suggested by Christoph S) |
cowtowncoder | fa29167 | 2011-07-19 06:22:09 +0000 | [diff] [blame] | 220 | * [JACKSON-584] Serialize type info for non-static anonymous inner classes |
| 221 | as that of declared (static) type |
| 222 | (suggested by Earl B) |
cowtowncoder | 2ddce71 | 2011-06-28 19:56:49 +0000 | [diff] [blame] | 223 | * [JACKSON-593] Add ObjectMapper.readTree(byte[]), (URL) variants |
| 224 | (suggested by Bruce P) |
cowtowncoder | c1db633 | 2011-07-10 03:38:43 +0000 | [diff] [blame] | 225 | * [JACKSON-594] Allow deserializing non-static inner class valued properties |
| 226 | (suggested by Bruce P) |
cowtowncoder | df284da | 2011-07-19 02:26:40 +0000 | [diff] [blame] | 227 | * [JACKSON-595] Terse Visibility Config (ObjectMapper.setVisibility, related) |
| 228 | (suggested by Bruce P) |
cowtowncoder | 50e56a1 | 2011-09-24 06:27:10 +0000 | [diff] [blame] | 229 | * [JACKSON-598] Add set of standard naming-strategy implementations |
| 230 | (suggested by Bruce P) |
cowtowncoder | 9c1b297 | 2011-07-04 16:57:10 +0000 | [diff] [blame] | 231 | * [JACKSON-599] Expose Settability Of SimpleModule Serializers/Deserializers |
| 232 | (suggested by Bruce P) |
cowtowncoder | 7e027ae | 2011-08-10 03:30:47 +0000 | [diff] [blame] | 233 | * [JACKSON-606] Add Built-in Support for Date Map Keys as Timestamps |
| 234 | (SerializationConfig.Feature#WRITE_DATE_KEYS_AS_TIMESTAMPS) |
cowtowncoder | 952e6a8 | 2011-07-12 05:45:48 +0000 | [diff] [blame] | 235 | * [JACKSON-612] Expose 'readValues()' methods via ObjectCodec, JsonParser |
| 236 | (suggested by Bruce P) |
cowtowncoder | 979e950 | 2011-07-18 22:44:49 +0000 | [diff] [blame] | 237 | * [JACKSON-613] Add ArrayNode/ObjectNode methods for dealing with wrapper |
| 238 | values, unboxing, nulls |
| 239 | (suggested by Bruce P) |
cowtowncoder | 1e12be1 | 2011-07-31 17:15:48 +0000 | [diff] [blame] | 240 | * [JACKSON-615] Make JavaType serializable/deserializable |
cowtowncoder | 0c16615 | 2011-07-22 03:15:11 +0000 | [diff] [blame] | 241 | * [JACKSON-616] Better handling of primitive deserializers, to avoid NPEs |
| 242 | (suggested by Bruce P) |
cowtowncoder | dc833de | 2011-07-19 20:21:24 +0000 | [diff] [blame] | 243 | * [JACKSON-619] SmileParser.getCurrentLocation(), getTokenLocation() did not |
| 244 | report actual byte offsets. |
| 245 | (reported by Ray R) |
cowtowncoder | b396368 | 2011-07-21 06:03:31 +0000 | [diff] [blame] | 246 | * [JACKSON-620] Allow empty String to mean null Map, Collection, array, |
| 247 | if 'DeserializationConfig.Feature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT' enabled |
cowtowncoder | 7e56b52 | 2011-07-18 22:28:19 +0000 | [diff] [blame] | 248 | * [JACKSON-621] Add new fluent method, VisibilityChecker.with(Visibility) |
| 249 | (suggested by Bruce P) |
cowtowncoder | 3151931 | 2011-07-31 23:33:39 +0000 | [diff] [blame] | 250 | * [JACKSON-638] TypeFactory methods for constructing "raw" map or collection types |
| 251 | (suggested by Christopher C) |
cowtowncoder | 5a8ac5a | 2011-07-29 16:44:35 +0000 | [diff] [blame] | 252 | * [JACKSON-639] Change BasicClassIntrospector.forClassAnnotations to take |
| 253 | JavaType (not raw Class) |
| 254 | (requested by Chris C) |
cowtowncoder | bc21dfe | 2011-07-31 05:17:36 +0000 | [diff] [blame] | 255 | * [JACKSON-643] ObjectMapper.readValue() should check JsonDeserializer.getNullValue() |
| 256 | when encountering root-level JsonToken.VALUE_NULL |
cowtowncoder | fb5dcfe | 2011-07-30 02:47:47 +0000 | [diff] [blame] | 257 | * [JACKSON-644] Add SimpleModule.setMixInAnnotations() |
cowtowncoder | 40a21df | 2011-08-01 05:22:26 +0000 | [diff] [blame] | 258 | * [JACKSON-648] ObjectWriter: allow changing default serialization DateFormat |
| 259 | (ObjectMapper.writer(DateFormat), ObjectWriter.withDateFormat(DateFormat)) |
cowtowncoder | 28c97f2 | 2011-09-25 06:34:46 +0000 | [diff] [blame] | 260 | * [JACKSON-650] Allow dealing with missing filter ids, by adding |
| 261 | 'SimpleFilterProvider.setFailOnUnknownId()' to specify if exception is thrown or not. |
| 262 | (suggested by Kirill S) |
cowtowncoder | 9534e91 | 2011-08-13 06:44:58 +0000 | [diff] [blame] | 263 | * [JACKSON-661] Add shorter 'JsonNode.asXxx' methods to replace 'JsonNode.getValueAsXxx' |
cowtowncoder | 3547387 | 2011-08-13 07:19:08 +0000 | [diff] [blame] | 264 | * [JACKSON-662] Add 'ObjectMapper.enable()' and 'ObjectMapper.disable()' to allow |
| 265 | enabling/disabling multiple features with a single call. |
cowtowncoder | 3ec4ba8 | 2011-08-17 04:30:33 +0000 | [diff] [blame] | 266 | * [JACKSON-665] Add 'AnnotatedWithParams.getIndex()' for accessing index of a |
| 267 | method or constructor parameter |
| 268 | (requested by Chistropher C) |
cowtowncoder | cc7a649 | 2011-09-11 01:23:15 +0000 | [diff] [blame] | 269 | * [JACKSON-671] Add convenience constructor for 'MinimalPrettyPrinter' |
| 270 | (requested by David P) |
cowtowncoder | 97e7c8f | 2011-09-30 05:15:46 +0000 | [diff] [blame] | 271 | * [JACKSON-683] Mr Bean: Fail gracefully if attempt is made to materialize |
| 272 | non-public type (since impl class on different package than base class) |
cowtowncoder | a806c53 | 2011-10-02 23:51:05 +0000 | [diff] [blame] | 273 | * [JACKSON-684] Add SerializationConfig.Feature.WRITE_ENUMS_USING_INDEX to serialize |
| 274 | Enums as int (index) |
cowtowncoder | 2ddce71 | 2011-06-28 19:56:49 +0000 | [diff] [blame] | 275 | |
cowtowncoder | d456a6f | 2011-06-03 04:42:48 +0000 | [diff] [blame] | 276 | New features: |
cowtowncoder | 38d0581 | 2011-07-09 03:07:39 +0000 | [diff] [blame] | 277 | |
| 278 | * [JACKSON-132] Support "unwrapped" properties, using @JsonUnwrapped. |
cowtowncoder | d456a6f | 2011-06-03 04:42:48 +0000 | [diff] [blame] | 279 | * [JACKSON-254] Add 'SerializationConfig.Feature.WRITE_EMPTY_JSON_ARRAYS', |
| 280 | which can be used to suppress serialization of empty JSON arrays (unless |
| 281 | overridden by per-property annotations). |
| 282 | (suggested by Fabrice D) |
cowtowncoder | 9cc8f28 | 2011-09-20 06:06:39 +0000 | [diff] [blame] | 283 | * [JACKSON-406] Allow injecting of values (with @JacksonInject) during deserialization |
cowtowncoder | 8f1d3d3 | 2011-08-14 07:14:38 +0000 | [diff] [blame] | 284 | * [JACKSON-453] Support "external type id" with new @JsonTypeInfo.As enum value, |
| 285 | EXTERNAL_PROPERTY |
cowtowncoder | 932ad17 | 2011-08-13 03:27:13 +0000 | [diff] [blame] | 286 | * [JACKSON-558] Add 'DeserializationConfig.Feature.UNWRAP_ROOT_VALUE' as |
| 287 | matching counterpart for 'SerializationConfig.Feature.WRAP_ROOT_VALUE' |
| 288 | (requested by Anand H) |
cowtowncoder | b396368 | 2011-07-21 06:03:31 +0000 | [diff] [blame] | 289 | * [JACKSON-578] Allow use of @JsonView on JAX-RS resource, with JacksonJsonProvider |
| 290 | (suggested by Matt G) |
cowtowncoder | 025435f | 2011-07-06 03:13:41 +0000 | [diff] [blame] | 291 | * [JACKSON-580] Allow registering instantiators (ValueInstantiator) for types (classes) |
cowtowncoder | b60989d | 2011-06-16 01:20:04 +0000 | [diff] [blame] | 292 | * [JACKSON-581] Add 'ObjectMapper.readTree(File)' |
| 293 | (suggested by Pascal G) |
cowtowncoder | b3b18ce | 2011-07-23 03:43:47 +0000 | [diff] [blame] | 294 | * [JACKSON-602] Add 'JsonSerialize.Inclusion.NON_EMPTY' option |
| 295 | (suggested by Ed A) |
cowtowncoder | dd7618c | 2011-08-01 01:54:40 +0000 | [diff] [blame] | 296 | * [JACKSON-614] Add JsonTypeInfo.defaultImpl property to indicate type to use if type name missing |
cowtowncoder | 5d4115c | 2011-07-31 22:46:29 +0000 | [diff] [blame] | 297 | * [JACKSON-630] Add @JsonRootName annotation for specifying name of root-level wrapper |
| 298 | (requested by Lukasz Strzelecki) |
cowtowncoder | 8dedd50 | 2011-08-04 03:38:11 +0000 | [diff] [blame] | 299 | * [JACKSON-633] Add @JsonValueInstantiator to allow annotating which ValueInstantiator |
| 300 | a type uses. |
cowtowncoder | 043aee6 | 2011-08-05 19:56:48 +0000 | [diff] [blame] | 301 | * [JACKSON-652] Add 'DeserializationConfig.Feature.USE_JAVA_ARRAY_FOR_JSON_ARRAY' to |
| 302 | allow mapping JSON Array to Object[] |
| 303 | (suggested by Simone B) |
cowtowncoder | 6365b6f | 2011-08-06 03:51:11 +0000 | [diff] [blame] | 304 | * [JACKSON-653] Add 'JsonParser.isNextTokenName()' for more efficient field name matching |
cowtowncoder | ed14236 | 2011-09-24 02:23:47 +0000 | [diff] [blame] | 305 | * [JACKSON-666] Add 'Add SerializationConfig.Feature.REQUIRE_SETTERS_FOR_GETTERS' to allow |
| 306 | suppressing use of getters for which there is no matching mutator. |
| 307 | |
cowtowncoder | 4ef01b9 | 2011-07-10 03:43:19 +0000 | [diff] [blame] | 308 | Issues handled by new external projects: |
| 309 | |
| 310 | * [JACKSON-51]: Implement Just-In-Time code generation for serialization |
| 311 | created "jackson-module-afterburner" at [https://github.com/FasterXML/jackson-module-afterburner] |
| 312 | |
cowtowncoder | fbfd511 | 2011-07-01 03:34:29 +0000 | [diff] [blame] | 313 | Potential backwards compatibility issues (compared to 1.8.x): |
| 314 | |
| 315 | * Removed 'org.codehaus.jackson.annotate.JsonClass, JsonKeyClass and |
| 316 | JsonContentClass (deprecated since 1.1) |
cowtowncoder | 1e12be1 | 2011-07-31 17:15:48 +0000 | [diff] [blame] | 317 | * Move TokenBufferDeserializer to separate class (from inside StdDeserializer) |
cowtowncoder | fbfd511 | 2011-07-01 03:34:29 +0000 | [diff] [blame] | 318 | |
cowtowncoder | ce1390b | 2012-03-13 06:18:17 +0000 | [diff] [blame] | 319 | 1.8.8 [20-Jan-2012] |
| 320 | |
| 321 | Fixes: |
| 322 | |
| 323 | * [JACKSON-701] ArrayIndexOutOfBoundsException when trying to serialize |
| 324 | non-static inner classes with annotations on last ctor param |
| 325 | (reported Lloyd S) |
| 326 | * [JACKSON-741] Add missing linkage from ObjectMapper to JsonFactory |
| 327 | by calling 'JsonFactory.setCodec()' from ObjectMapper constructor |
| 328 | * [JACKSON-753] JsonParserDelegate missing delegation of getBooleanValue(), |
| 329 | getEmbeddedObject() |
| 330 | (reported by Sebastian T) |
| 331 | * Partial fix for [JACSON-756]: EnumMap, EnumSet work with enums that use |
| 332 | @JsonCreator; regular Maps only with 1.9 |
| 333 | (reported by Mika M) |
| 334 | |
| 335 | 1.8.7 [16-Dec-2011] |
| 336 | |
| 337 | Fixes: |
| 338 | |
| 339 | * [JACKSON-462] (REGRESSION?) Buffer overflow in Utf8Generator#writeFieldName(String) |
| 340 | (reported by Ryan K) |
| 341 | * [JACKSON-696] Problems accessing "any getter" that is not public |
| 342 | (reported by Brian M) |
| 343 | * [JACKSON-709] Problems converting base64-encoded Strings between |
| 344 | JsonNode, POJOs |
| 345 | (reported by Tom B) |
| 346 | * [JACKSON-733] Smile-based mapper could not properly bind byte[] values |
| 347 | (reported by Jacques-Olivier G) |
| 348 | * [JACKSON-738] Parsing fails for Unicode 1Fxxx symbols when skipping |
| 349 | (reported by Alex T) |
| 350 | |
cowtowncoder | b1d7f07 | 2011-10-20 19:52:50 +0000 | [diff] [blame] | 351 | 1.8.6 [04-Oct-2011] |
| 352 | |
| 353 | Fixes: |
| 354 | |
| 355 | * [JACKSON-288] Problems (de)serializing values with JAXB adapters |
| 356 | * [JACKSON-668] Problems with 'JsonParser.getDecimalValue' not |
| 357 | clearing earlier state |
| 358 | (reported by Ransom B) |
| 359 | * [JACKSON-677] Inner generic type references not working properly |
| 360 | (reported by William B) |
| 361 | |
| 362 | 1.8.5 [04-Aug-2011] |
| 363 | |
| 364 | Fixes: |
| 365 | |
| 366 | * [JACKSON-401] Further fixes to ensure FLUSH_PASSED_TO_STREAM works |
| 367 | * [JACKSON-637] NumberSerializer was missing proper handling of Integer, Long |
| 368 | (reported by Paul M) |
| 369 | * [JACKSON-640] SmileParser.getTextCharacters() missing value in some |
| 370 | cases (value back-references) |
| 371 | * [JACKSON-647] ResolvableSerializer.resolve() not called after creating |
| 372 | contextual instance |
| 373 | |
cowtowncoder | e55c953 | 2011-07-27 06:35:52 +0000 | [diff] [blame] | 374 | 1.8.4 [25-Jul-2011] |
| 375 | |
| 376 | Fixes: |
| 377 | |
| 378 | * [JACKSON-605] Handle deserialization of Class<T> properties |
| 379 | * [JACKSON-627] WriterBasedGenerator failure for long Strings, |
| 380 | custom character escaping |
| 381 | (reported by Lawrence C) |
| 382 | * [JACKSON-629] Fix a buffer boundary problem with SmileParser, 5-7 |
| 383 | character names |
| 384 | (reported by Maxxan) |
| 385 | * [JACKSON-631] Problems decoding Base64Variants.MODIFIED_FOR_URL |
| 386 | (reported by Tim B) |
| 387 | * [JACKSON-632] Handling of UTF-8 BOM incorrect, causing "Internal Error" |
| 388 | (reported by Edward A) |
| 389 | |
| 390 | 1.8.3 [08-Jul-2011] |
| 391 | |
| 392 | Fixes: |
| 393 | |
| 394 | * [JACKSON-587] TextNode.getValueAsLong() does not work properly |
| 395 | (reported by Chris P) |
| 396 | * [JACKSON-591] JodaDeserializers not throwing wrongTokenException |
| 397 | (reported by Tom L) |
| 398 | * [JACKSON-597] Make ClassDeserializer support primitive types |
| 399 | (suggested by Bruce P) |
| 400 | (plus all 1.7 fixes up to 1.7.8) |
| 401 | |
| 402 | 1.8.2 [15-Jun-2011] |
| 403 | |
| 404 | Fixes: |
| 405 | |
| 406 | * Problem with FilteredBeanPropertyWriter: was not delegating call |
| 407 | to wrapped BeanPropertyWriter, causing problems with modules |
| 408 | |
cowtowncoder | d456a6f | 2011-06-03 04:42:48 +0000 | [diff] [blame] | 409 | 1.8.1 [17-May-2011] |
cowtowncoder | 4631be7 | 2011-04-22 04:06:56 +0000 | [diff] [blame] | 410 | |
| 411 | Fixes: |
| 412 | |
| 413 | * [JACKSON-557] CollectionLikeType#equals() casts parameter to CollectionType |
| 414 | (reported by Coda H) |
cowtowncoder | 457e1e0 | 2011-05-16 23:47:52 +0000 | [diff] [blame] | 415 | * [JACKSON-560] Mix-in annotations ignored when used with views |
| 416 | (reported by Ruben E-G) |
cowtowncoder | fb7e94d | 2011-05-14 19:59:12 +0000 | [diff] [blame] | 417 | * [JACKSON-568] Package 'org.codehaus.jackson.util' missing from |
| 418 | core/lgpl jar |
| 419 | (reported by Christoph S) |
cowtowncoder | 5b239e6 | 2011-05-15 04:18:04 +0000 | [diff] [blame] | 420 | * [JACKSON-570] Caching of MapSerializer not thread-safe |
| 421 | (reported by Jamie R) |
cowtowncoder | 4c57646 | 2011-05-14 02:28:03 +0000 | [diff] [blame] | 422 | * [JACKSON-573] Failure to serialize certain Unicode Strings |
| 423 | (reported by Young J-P) |
cowtowncoder | a0d42bb | 2011-05-18 04:31:54 +0000 | [diff] [blame] | 424 | (plus all 1.7 fixes up to 1.7.7) |
cowtowncoder | 4631be7 | 2011-04-22 04:06:56 +0000 | [diff] [blame] | 425 | |
cowtowncoder | 4631be7 | 2011-04-22 04:06:56 +0000 | [diff] [blame] | 426 | 1.8.0 [20-Apr-2011] |
cowtowncoder | e81d4a1 | 2011-02-14 22:52:18 +0000 | [diff] [blame] | 427 | |
cowtowncoder | 70e7892 | 2011-04-21 05:27:51 +0000 | [diff] [blame] | 428 | Another minor release. Main improvements are: |
cowtowncoder | 722e8f2 | 2011-02-26 22:48:37 +0000 | [diff] [blame] | 429 | |
| 430 | - Proper configurability for key serializers, deserializers |
| 431 | - Ability to control details of low-level character escaping |
| 432 | - Pluggable format auto-detection (for JSON and Smile in core packages) |
| 433 | - Fully configurable type-defaulting (abstract-to-concrete) for deserialization |
cowtowncoder | 70e7892 | 2011-04-21 05:27:51 +0000 | [diff] [blame] | 434 | - Pass-through FormatSchema abstraction to help support schema-based formats |
cowtowncoder | 377a0c5 | 2011-02-05 03:24:14 +0000 | [diff] [blame] | 435 | |
cowtowncoder | bbbd1b6 | 2011-02-19 00:12:47 +0000 | [diff] [blame] | 436 | New features: |
| 437 | |
cowtowncoder | c825479 | 2011-04-02 02:46:26 +0000 | [diff] [blame] | 438 | * [JACKSON-43]: Add "ObjectMapper.readValues()", "ObjectReader.readValues()" for |
| 439 | more convenient binding of arrays (and root-level sequences) of homogenous types |
cowtowncoder | f24e993 | 2011-03-05 00:09:45 +0000 | [diff] [blame] | 440 | * [JACKSON-102]: Ability to force escaping of non-ASCII characters; using |
cowtowncoder | 7851d8b | 2011-02-28 04:31:01 +0000 | [diff] [blame] | 441 | JsonGenerator.Feature.ESCAPE_NON_ASCII and JsonGenerator.setHighestNonEscapedChar |
cowtowncoder | ea1a1e0 | 2011-03-12 05:42:23 +0000 | [diff] [blame] | 442 | * [JACKSON-106]: Add 'org.codehaus.jackson.io.CharacterEscapes' which can be |
| 443 | registered with JsonFactory, JsonGenerator, to add fully customized |
| 444 | character escaping handling |
cowtowncoder | f24e993 | 2011-03-05 00:09:45 +0000 | [diff] [blame] | 445 | (suggested by Scott A) |
cowtowncoder | 8854054 | 2011-03-30 04:37:58 +0000 | [diff] [blame] | 446 | * [JACKSON-142]: Add 'JsonParser.Feature.ALLOW_NON_NUMERIC_NUMBERS' to allow |
| 447 | non-standard use of 'NaN', '+INF'/'+Infinite', '-INF'/'-Infinite' as numbers |
cowtowncoder | ea1a1e0 | 2011-03-12 05:42:23 +0000 | [diff] [blame] | 448 | * [JACKSON-178]: Add support for custom property name strategies (with |
| 449 | PropertyNamingStrategy) |
cowtowncoder | 7851d8b | 2011-02-28 04:31:01 +0000 | [diff] [blame] | 450 | * [JACKSON-204]: Add DeserializationConfig.Feature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT |
| 451 | to allow binding empty JSON String as null for POJOs |
cowtowncoder | 722e8f2 | 2011-02-26 22:48:37 +0000 | [diff] [blame] | 452 | * [JACKSON-358]: Add JsonParser.Feature.ALLOW_NUMERIC_LEADING_ZEROS, to allow |
cowtowncoder | bbbd1b6 | 2011-02-19 00:12:47 +0000 | [diff] [blame] | 453 | optional (and non-standard) support for numbers like 00006 |
| 454 | (suggested by Bryce M) |
cowtowncoder | 2b7bf93 | 2011-03-30 02:59:28 +0000 | [diff] [blame] | 455 | * [JACKSON-427]: Added "JsonNode.with()" which is similar to "JsonNode.path()" but |
| 456 | creates ObjectNode for property if no value exists (similar to "upsert" (update-or-insert)) |
cowtowncoder | b0e8208 | 2011-03-17 05:35:33 +0000 | [diff] [blame] | 457 | * [JACKSON-464]: Allow defining default mappings for abstract types, with |
| 458 | SimpleAbstractTypeResolver |
cowtowncoder | ea1a1e0 | 2011-03-12 05:42:23 +0000 | [diff] [blame] | 459 | * [JACKSON-494]: Add support for format auto-detection (via JsonFactory); add |
| 460 | support for basic JSON, Smile (and as many modules as possible) |
cowtowncoder | 65affa8 | 2011-04-20 04:52:11 +0000 | [diff] [blame] | 461 | * [JACKSON-512]: Allow wrapping InputStream/Reader, OutputStream/Writer when |
| 462 | constructing JsonParser, JsonGenerator; JsonFactory allows registering |
| 463 | InputDecorator, OutputDecorator instances. |
cowtowncoder | ea1a1e0 | 2011-03-12 05:42:23 +0000 | [diff] [blame] | 464 | * [JACKSON-513]: Add methods for registering key serializers, deserializers, |
| 465 | via Module API |
cowtowncoder | 077ef67 | 2011-04-19 02:42:16 +0000 | [diff] [blame] | 466 | * [JACKSON-520]: Add minimal FormatSchema abstraction, passed through by ObjectMapper |
| 467 | to JsonGenerator, JsonParser; needed for supporting schema-based formats. |
cowtowncoder | ecc0aa6 | 2011-04-06 03:56:30 +0000 | [diff] [blame] | 468 | * [JACKSON-521]: Add support for new 'MapLikeType' and 'CollectionLikeType', to |
| 469 | support Map/Collection types of languages like Scala |
cowtowncoder | ea1a1e0 | 2011-03-12 05:42:23 +0000 | [diff] [blame] | 470 | * [JACKSON-523]: Allow passing actual type for TypeSerializer to use, to |
| 471 | force specific super type to be used (instead of a concrete sub type) |
cowtowncoder | c0b7cf8 | 2011-03-16 02:46:20 +0000 | [diff] [blame] | 472 | * [JACKSON-526]: Add DeserializationConfig.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY |
| 473 | which allows implicit conversion from JSON scalars and Objects into single-element |
| 474 | collections/arrays (for interoperability with XML-to-JSON converers like Jettison) |
cowtowncoder | 3fdded9 | 2011-03-21 20:16:07 +0000 | [diff] [blame] | 475 | * [JACKSON-527]: Add 'HandlerInstantiator' abstraction, which can be implemented and |
| 476 | registered with ObjectMapper to get more control over how handlers (serializers, |
| 477 | deserializers, type id resolver) are constructed. |
| 478 | (requested by Sven J) |
cowtowncoder | 70e7892 | 2011-04-21 05:27:51 +0000 | [diff] [blame] | 479 | * [JACKSON-555]: Add 'JsonParser.getInputSource()' and 'JsonGenerator.getOutputTarget()' |
| 480 | to give direct access to low-level stream/reader/writer instances |
cowtowncoder | 4a392b9 | 2011-02-19 19:58:53 +0000 | [diff] [blame] | 481 | |
| 482 | Improvements: |
cowtowncoder | 8c90663 | 2011-02-19 20:18:56 +0000 | [diff] [blame] | 483 | |
cowtowncoder | ea1a1e0 | 2011-03-12 05:42:23 +0000 | [diff] [blame] | 484 | * [JACKSON-480]: Added missing @JsonSerialize properties: keyAs, keyUsing, |
| 485 | contentAs, contentUsing |
| 486 | * [JACKSON-502]: Convert mr Bean functionality to be basic Module |
cowtowncoder | 4a392b9 | 2011-02-19 19:58:53 +0000 | [diff] [blame] | 487 | * [JACKSON-503]: Allow registering AbstractTypeResolvers via Module API |
cowtowncoder | 722e8f2 | 2011-02-26 22:48:37 +0000 | [diff] [blame] | 488 | * [JACKSON-519]: Add support for contextual key serializers, deserializers |
cowtowncoder | d43a7d5 | 2011-04-05 02:12:26 +0000 | [diff] [blame] | 489 | * [JACKSON-548]: enabling ALLOW_SINGLE_QUOTES should allow backslash-escaping |
| 490 | of apostrophes |
| 491 | (suggested by Tim W) |
cowtowncoder | e730c89 | 2011-04-06 01:53:39 +0000 | [diff] [blame] | 492 | * [JACKSON-551]: Add new methods to 'Serializers' and 'Deserializers' interfaces to |
| 493 | support CollectionLikeType, MapLikeType. |
cowtowncoder | bbbd1b6 | 2011-02-19 00:12:47 +0000 | [diff] [blame] | 494 | |
cowtowncoder | 377a0c5 | 2011-02-05 03:24:14 +0000 | [diff] [blame] | 495 | Fixes: |
| 496 | |
cowtowncoder | e81d4a1 | 2011-02-14 22:52:18 +0000 | [diff] [blame] | 497 | * [JACKSON-459]: Add mapper-level configuration to set default serialization |
| 498 | order be alphabetic (by property name). |
| 499 | (suggested by Chris W) |
cowtowncoder | ebddfb2 | 2011-02-15 00:58:10 +0000 | [diff] [blame] | 500 | * [JACKSON-487]: Block all annotation access if SerializationConfig.Feature.USE_ANNOTATIONS |
| 501 | (and ditto for DeserializationConfig) is disabled; to help with Android, missing JAXB annotations |
cowtowncoder | e642e04 | 2011-02-25 04:36:43 +0000 | [diff] [blame] | 502 | * [JACKSON-498]: Fix issues with type names, abstract types, collections |
| 503 | (reported by John V) |
cowtowncoder | 85ea0fb | 2011-02-23 08:17:00 +0000 | [diff] [blame] | 504 | * [JACKSON-509] @JsonSubTypes was not allowed for fields/methods/ctor-parameters (although |
| 505 | @JsonTypeInfo was, starting with 1.7) |
cowtowncoder | 86d465d | 2011-03-13 04:30:43 +0000 | [diff] [blame] | 506 | * [JACKSON-510] Registered subtypes not used for @JsonTypeInfo used with properties |
cowtowncoder | 377a0c5 | 2011-02-05 03:24:14 +0000 | [diff] [blame] | 507 | |
cowtowncoder | 5f94e49 | 2011-03-02 04:08:03 +0000 | [diff] [blame] | 508 | Potential backwards compatibility issues (compared to 1.7.x): |
| 509 | |
| 510 | * [JACKSON-523]: Added method "idFromValueAndType()" in TypeIdResolver interface, |
| 511 | which is needed to properly handle types such as InetAddress, TimeZone -- unfortunately |
| 512 | this would break custom TypeIdResolver instances. |
cowtowncoder | e730c89 | 2011-04-06 01:53:39 +0000 | [diff] [blame] | 513 | * [JACKSON-551]: Addition of new methods to 'Serializers' and 'Deserializers' interfaces |
| 514 | means that existing code (1.7 only) that directly implements interfaces will not compile |
| 515 | (i.e. source and binary incompatible change) |
cowtowncoder | 5f94e49 | 2011-03-02 04:08:03 +0000 | [diff] [blame] | 516 | |
cowtowncoder | 8dd4b04 | 2011-03-10 07:12:21 +0000 | [diff] [blame] | 517 | Issues handled by new external projects: |
| 518 | |
| 519 | * [JACKSON-532]: Add support for org.json.JSONObject, org.json.JSONArray; |
| 520 | created "jackson-module-json-org" at [https://github.com/FasterXML/jackson-module-json-org] |
| 521 | |
cowtowncoder | e55c953 | 2011-07-27 06:35:52 +0000 | [diff] [blame] | 522 | 1.7.8 [08-Jul-2011] |
| 523 | |
| 524 | Fixes: |
| 525 | |
| 526 | * [JACKSON-586] Problems with @JsonValue, method access (failed on |
| 527 | non-public methods, or public method of non-public class) |
| 528 | (reported by Pierre-Alexander M) |
| 529 | * [JACKSON-587] TextNode.getValueAsLong() does not work properly |
| 530 | (reported by Chris P) |
| 531 | * [JACKSON-591] JodaDeserializers not throwing wrongTokenException |
| 532 | (reported by Tom L) |
| 533 | * [JACKSON-597] Make ClassDeserializer support primitive types |
| 534 | (suggested by Bruce P) |
| 535 | |
cowtowncoder | d456a6f | 2011-06-03 04:42:48 +0000 | [diff] [blame] | 536 | 1.7.7 [17-May-2011] |
| 537 | |
| 538 | Fixes: |
| 539 | |
| 540 | * [JACKSON-542] Base64 decoder couldn't handle escaped characters |
| 541 | (reported by Luis N) |
| 542 | * [JACKSON-543] Root-level static type information incorrectly handled |
| 543 | with Maps (losing parameterization) |
| 544 | (reported by Steven S) |
| 545 | * [JACKSON-553] SerializationConfig.Feature.DEFAULT_VIEW_INCLUSION |
| 546 | did not work correctly |
| 547 | (reported by Xun W) |
| 548 | * [JACKSON-554] ObjectMapper.readValue(JsonNode) was not properly passing |
| 549 | itself as ObjectCodec, making secondary conversions fail |
| 550 | (reported by Pascal G) |
| 551 | * [JACKSON-556] @XmlElement.name property ignored in some cases |
| 552 | (reported by Alex P) |
| 553 | * [JACKSON-562] Smile property name decoding issue |
| 554 | (reported by Jeffrey Damick, Shay Banon) |
| 555 | * [JACKSON-563] JSON Schema uses "required" (not "optional") |
| 556 | (reported by Oleg E) |
| 557 | * [JACKSON-569] ContextualSerializer not resolved for serializers |
| 558 | defined with @JsonSerialize annotation |
| 559 | (reported by Gregor O) |
| 560 | * [JACKSON-572] Problems serializing generic non-static inner classes |
| 561 | (reported by Steven S) |
| 562 | |
| 563 | 1.7.6 [12-Apr-2011] |
| 564 | |
| 565 | Fixes: |
| 566 | |
| 567 | * [JACKSON-547] Problems relaying exceptions from creator methods |
| 568 | (reported by Gili) |
| 569 | * [JACKSON-550] Registration of serializers was not completely working |
| 570 | with SimpleModule (interfaces implemented by superclasses skipped) |
| 571 | (reported by Andrei P) |
| 572 | * [JACKSON-552] SmileParser not handling long field names properly, |
| 573 | failed with "this code path should never get executed" exception |
| 574 | (reported by Shay B) |
| 575 | |
| 576 | 1.7.5 [01-Apr-2011] |
| 577 | |
| 578 | Fixes: |
| 579 | |
| 580 | * [JACKSON-530] Default SerializationInclusion value not properly |
| 581 | passed when "USE_ANNOTATION" set to false |
| 582 | (Suchema O) |
| 583 | * [JACKSON-533] Failed to serialize LinkedHashMap.value() |
| 584 | (reported by Linghu C) |
| 585 | * [JACKSON-540] Side-effects with ObjectMapper.canSerialize(), |
| 586 | canDeserialize() |
| 587 | (reported by Maik J) |
| 588 | * [JACKSON-541] Remove the need for @JsonCreator on multi-arg constructor |
| 589 | iff all parameters have @JsonProperty |
cowtowncoder | b60989d | 2011-06-16 01:20:04 +0000 | [diff] [blame] | 590 | (suggested by Pascal Glinas) |
cowtowncoder | d456a6f | 2011-06-03 04:42:48 +0000 | [diff] [blame] | 591 | * [JACKSON-545] UTF8Writer.flush() should check against NPE |
| 592 | (reported by Michel G) |
| 593 | |
cowtowncoder | 48aee8d | 2011-03-10 07:18:21 +0000 | [diff] [blame] | 594 | 1.7.4 [04-Mar-2011] |
| 595 | |
| 596 | Fixes: |
| 597 | |
| 598 | * [JACKSON-484]: improve serialization of InetAddress |
| 599 | (reported by Brian H) |
| 600 | * [JACKSON-506]: problems with type handling for java.util.Date |
| 601 | when using @JsonTypeInfo on field/method |
| 602 | (reported by Kirill S) |
| 603 | * [JACKSON-504]: FilterProvider registration directly via SerializationConfig |
| 604 | was not working |
| 605 | (reported by Kirill S) |
| 606 | * [JACKSON-508]: Type information lost when serializing List<List<X>> |
| 607 | (reported by Christopher B) |
| 608 | * [JACKSON-518]: Problems with JAX-RS, type variables |
| 609 | (reported by Kirill S) |
| 610 | * [JACKSON-522]: java.util.TimeZone was not correctly handled |
| 611 | * [JACKSON-525]: Problem with SmileGenerator, shared-names buffer recycling |
| 612 | (reported by Shay B) |
| 613 | |
| 614 | 1.7.3 [14-Feb-2011] |
| 615 | |
| 616 | Fixes: |
| 617 | |
| 618 | * [JACKSON-483]: allow deserializing CharSequence (also: support |
| 619 | conversion from byte[] to char[], assuming base64 encoding) |
| 620 | * [JACKSON-492]: problem encoding 1 byte length "raw" UTF8 Strings |
| 621 | (reported by David Y) |
| 622 | |
| 623 | (plus all fixes up to and including 1.6.6) |
| 624 | |
cowtowncoder | 377a0c5 | 2011-02-05 03:24:14 +0000 | [diff] [blame] | 625 | 1.7.2 [02-Feb-2011] |
cowtowncoder | e7ca32d | 2011-01-23 04:22:56 +0000 | [diff] [blame] | 626 | |
| 627 | Fixes: |
| 628 | |
cowtowncoder | fd1dc70 | 2011-02-01 05:09:29 +0000 | [diff] [blame] | 629 | * [JACKSON-476] ContextualDeserializer handling not completely working |
| 630 | (reported by Sean P) |
cowtowncoder | 7612aaa | 2011-02-02 21:20:17 +0000 | [diff] [blame] | 631 | * [JACKSON-481] OSGi headers must include 1.5 AND 1.6 |
| 632 | (reported by drozzy@gmail.com) |
cowtowncoder | fd1dc70 | 2011-02-01 05:09:29 +0000 | [diff] [blame] | 633 | |
cowtowncoder | e7ca32d | 2011-01-23 04:22:56 +0000 | [diff] [blame] | 634 | (plus all fixes up to and including 1.6.5) |
| 635 | |
cowtowncoder | 1c6e6f9 | 2011-01-30 04:58:13 +0000 | [diff] [blame] | 636 | Improvements: |
| 637 | |
| 638 | * [JACKSON-474] Add ability to pass externally allocated buffer |
cowtowncoder | 43f6b59 | 2011-02-02 02:25:00 +0000 | [diff] [blame] | 639 | for Utf8Generator, SmileGenerator |
cowtowncoder | 1c6e6f9 | 2011-01-30 04:58:13 +0000 | [diff] [blame] | 640 | (suggested by David Y) |
| 641 | |
cowtowncoder | e7ca32d | 2011-01-23 04:22:56 +0000 | [diff] [blame] | 642 | 1.7.1 [12-Jan-2010] |
cowtowncoder | 815274a | 2011-01-10 22:22:55 +0000 | [diff] [blame] | 643 | |
| 644 | Fixes: |
| 645 | |
cowtowncoder | 088777c | 2011-01-11 00:52:51 +0000 | [diff] [blame] | 646 | * [JACKSON-456]: Type check issues with Jackson JAX-RS provider |
| 647 | (reported by Kirill S) |
cowtowncoder | 815274a | 2011-01-10 22:22:55 +0000 | [diff] [blame] | 648 | * [JACKSON-457]: Typo in Module method "getSeserializationConfig" ("bananana error"); renamed |
| 649 | as "getSerializationConfig" (version with old spelling retained as deprecated for compatibility) |
| 650 | (reported by Chris W) |
cowtowncoder | 43a4a1b | 2011-01-10 22:56:43 +0000 | [diff] [blame] | 651 | * [JACKSON-458]: Problems with ObjectMapper.convertValue(), TokenBuffer, SerializedString |
| 652 | (reported by Larry Y) |
cowtowncoder | 0ebfd59 | 2011-01-12 18:50:01 +0000 | [diff] [blame] | 653 | * [JACKSON-462]: Buffer overflow in Utf8Generator#writeFieldName(String) |
| 654 | (reported by Coda H) |
cowtowncoder | 815274a | 2011-01-10 22:22:55 +0000 | [diff] [blame] | 655 | |
cowtowncoder | 815274a | 2011-01-10 22:22:55 +0000 | [diff] [blame] | 656 | 1.7.0 [06-Jan-2010] |
cowtowncoder | 619ccf1 | 2010-10-08 04:44:14 +0000 | [diff] [blame] | 657 | |
cowtowncoder | 0bd7f84 | 2010-10-15 21:14:44 +0000 | [diff] [blame] | 658 | Fixes: |
cowtowncoder | 5e7a2a1 | 2010-09-23 06:05:32 +0000 | [diff] [blame] | 659 | |
cowtowncoder | ebc1b93 | 2010-11-03 21:32:22 +0000 | [diff] [blame] | 660 | * [JACKSON-356]: Type information not written for nested-generics root types |
| 661 | (reported by Alex R on mailing list) |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 662 | * [JACKSON-450] JAXB annotations chosen incorrectly from interface method |
| 663 | (instead of method definition in class), when serializing |
| 664 | (reported by Sean P) |
cowtowncoder | ebc1b93 | 2010-11-03 21:32:22 +0000 | [diff] [blame] | 665 | |
cowtowncoder | 0bd7f84 | 2010-10-15 21:14:44 +0000 | [diff] [blame] | 666 | Improvements: |
cowtowncoder | 619ccf1 | 2010-10-08 04:44:14 +0000 | [diff] [blame] | 667 | |
cowtowncoder | 96d290b | 2010-12-09 22:18:59 +0000 | [diff] [blame] | 668 | * [JACKSON-280]: Allow use of @JsonTypeInfo for properties (fields, methods) |
cowtowncoder | b042c44 | 2010-10-15 20:45:27 +0000 | [diff] [blame] | 669 | * [JACKSON-345]: Make BeanSerializer use SerializedString for even faster serialization |
cowtowncoder | 562eea4 | 2010-10-15 21:49:27 +0000 | [diff] [blame] | 670 | * [JACKSON-393]: Allow deserializing UUIDs from VALUE_EMBEDDED_OBJECT |
cowtowncoder | 114c7eb | 2010-10-27 03:37:50 +0000 | [diff] [blame] | 671 | * [JACKSON-399]: JAX-RS is not passing generic type information as root type |
| 672 | (reported by Kirill S) |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 673 | * [JACKSON-409] Add SmileGenerator.writeRaw(byte) |
| 674 | * [JACKSON-414] Add 'JsonNode.getValueAsBoolean()' (and 'JsonParser.getValueAsBoolean()') |
| 675 | (suggested by Tauren M) |
cowtowncoder | becc9a3 | 2010-12-03 19:16:49 +0000 | [diff] [blame] | 676 | * [JACKSON-419]: Add explicit support for handling 'java.util.Locale' |
| 677 | (suggested by Brian R) |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 678 | * [JACKSON-432]: Add 'ObjectMapper.enableDefaultTypingAsProperty()' to allow |
| 679 | specifying inclusion type 'As.PROPERTY' and property name to use |
cowtowncoder | 0815ba8 | 2010-12-17 19:42:36 +0000 | [diff] [blame] | 680 | (suggested by Peter L) |
cowtowncoder | 521f4f4 | 2010-12-13 20:00:40 +0000 | [diff] [blame] | 681 | * [JACKSON-434]: Add 'JsonGenerator.writeString(SerializableString)' |
cowtowncoder | 3ddd57e | 2010-12-16 22:47:32 +0000 | [diff] [blame] | 682 | * [JACKSON-438]: Wrap exceptions thrown by Creator methods as JsonMappingException |
| 683 | (suggested by Tim W) |
cowtowncoder | b042c44 | 2010-10-15 20:45:27 +0000 | [diff] [blame] | 684 | |
cowtowncoder | 0bd7f84 | 2010-10-15 21:14:44 +0000 | [diff] [blame] | 685 | New features: |
cowtowncoder | 619ccf1 | 2010-10-08 04:44:14 +0000 | [diff] [blame] | 686 | |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 687 | * [JACKSON-163] Add 'SerializationConfig.Feature.WRAP_ROOT_VALUE' which |
| 688 | allows wrapping of output within single-property JSON Object. |
| 689 | * [JACKSON-297] Add simple Module abstraction to allow pluggable support |
cowtowncoder | 3378a39 | 2010-11-27 17:43:57 +0000 | [diff] [blame] | 690 | tor third-party libraries, data types |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 691 | * [JACKSON-312] Add ability to dynamically filter out serialized properties |
| 692 | * [JACKSON-351]: Add @JsonRawValue for injecting literal textual |
cowtowncoder | b7c6ede | 2010-10-19 06:29:41 +0000 | [diff] [blame] | 693 | value into JSON |
cowtowncoder | 70b9d03 | 2010-12-04 23:58:53 +0000 | [diff] [blame] | 694 | (contributed by Ga�l Marziou) |
cowtowncoder | 3378a39 | 2010-11-27 17:43:57 +0000 | [diff] [blame] | 695 | * [JACKSON-369]: Allow registering custom Collection and Map deserializers |
| 696 | (implemented via 'org.codehaus.jackson.map.Deserializers') |
cowtowncoder | c02d3bd | 2010-12-18 00:01:32 +0000 | [diff] [blame] | 697 | * [JACKSON-385]: Support contextual serializers, deserializers; works by |
| 698 | implementing 'org.codehaus.jackson.map.ser.ContextualSerializer' or |
| 699 | 'org.codehaus.jackson.map.deser.ContextualDeserializer' |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 700 | * [JACKSON-401] Add features 'SerializationConfig.FLUSH_AFTER_WRITE_VALUE' |
| 701 | and 'JsonGenerator.FLUSH_PASSED_TO_STREAM' to allow blocking of flush() |
| 702 | calls to underlying output stream or writer |
| 703 | * [JACKSON-405]: Add command-line tool for manual Smile encoding/decoding |
cowtowncoder | d044bf3 | 2010-12-23 07:23:24 +0000 | [diff] [blame] | 704 | * [JACKSON-407]: Add features (SerializationConfig.Feature.WRAP_EXCEPTIONS, |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 705 | DeserializationConfig.Feature.WRAP_EXCEPTIONS) to disable exception wrapping |
cowtowncoder | 87e22e5 | 2010-12-03 22:32:38 +0000 | [diff] [blame] | 706 | * [JACKSON-412] Add 'DeserializationConfig.Feature.FAIL_ON_NUMBERS_FOR_ENUMS' |
| 707 | to optionally prevent mapping JSON integers into Java Enum values |
| 708 | (suggested by Patrick L) |
cowtowncoder | dfdca37 | 2010-12-03 20:52:31 +0000 | [diff] [blame] | 709 | * [JACKSON-420] Add 'DeserializationConfig.Feature.FAIL_ON_NULL_FOR_PRIMITIVES' |
| 710 | to optionally prevent JSON null from mapping to default value |
| 711 | (suggested by Thomas D) |
cowtowncoder | 3378a39 | 2010-11-27 17:43:57 +0000 | [diff] [blame] | 712 | * [JACKSON-421] Add ability to register multiple sets of serializers |
cowtowncoder | 59f1567 | 2010-12-08 20:21:26 +0000 | [diff] [blame] | 713 | without extending SerializerFactory (related to [JACKSON-297]) |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 714 | * [JACKSON-429] Add @JsonIgnoreType to allow ignoring any and all properties |
| 715 | of specified type; useful to exclude well-known proxy/facade/handler types |
| 716 | * [JACKSON-440] Add ability to process serializers, deserializers during their |
| 717 | construction (to allow adding, removing, modifying properties to handle) |
| 718 | * [JACKSON-448] Add 'JsonGenerator.writeString()' alternatives that accept |
| 719 | pre-encoded UTF-8 byte sequences (writeUTF8String() and writeRawUTF8String()) |
cowtowncoder | ff766d8 | 2010-12-29 03:15:37 +0000 | [diff] [blame] | 720 | (requested by Shay B) |
cowtowncoder | b7c6ede | 2010-10-19 06:29:41 +0000 | [diff] [blame] | 721 | |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 722 | Issues handled by new external projects: |
| 723 | |
| 724 | * [JACKSON-317] Add support for Guava (ex-Google-collections); implemented |
| 725 | as a new module, see: https://github.com/FasterXML/jackson-module-guava |
| 726 | * [JACKSON-394] Add support for using data binding to/from XML (Stax) sources; |
| 727 | sort of "mini-JAXB". |
| 728 | |
| 729 | Potential backwards compatibility issues (compared to 1.6.x): |
cowtowncoder | 79bc9e2 | 2010-12-03 19:20:53 +0000 | [diff] [blame] | 730 | |
| 731 | * [JACKSON-419] (see above) 'java.util.Locale' now serialized as JSON String |
| 732 | (using Locale.toString()), instead of as bean-like JSON Object |
cowtowncoder | e16e515 | 2011-01-06 21:48:08 +0000 | [diff] [blame] | 733 | * Added 'BeanProperty' argument for many methods in SerializerFactory / |
| 734 | DeserializerFactory, SerializerProvider / DeserializerProvider implementations. |
| 735 | * Related to [JACKSON-407], will wrap some previously unwrapped exceptions from |
| 736 | deserializer (to have symmetric handling; serializer already wrapped); new |
| 737 | features to allow disabling wrapping on serialization and/or deserialization. |
cowtowncoder | 619ccf1 | 2010-10-08 04:44:14 +0000 | [diff] [blame] | 738 | |
cowtowncoder | 43f6b59 | 2011-02-02 02:25:00 +0000 | [diff] [blame] | 739 | 1.6.5 [01-Feb-2011] |
| 740 | |
| 741 | Fixes: |
| 742 | |
| 743 | * [JACKSON-454] JSON Schema generator was adding bogus "items" property |
| 744 | for JSON object types (only allowed for arrays) |
| 745 | * [JACKSON-461] ArrayIndexOutOfBoundsException when property is subclass of |
| 746 | Map with fewer type parameters |
| 747 | (reported by Tim W) |
| 748 | * [JACKSON-465] Deserialization with @JsonCreator that takes in a Map fails |
| 749 | (reported by Tim W) |
| 750 | * [JACKSON-468] Method-bound type variables (public <T> T getValue()) not handled |
| 751 | (reported by Christian N) |
| 752 | * [JACKSON-470] ArrayIndexOutOfBoundsException if @JsonCreator constructor |
| 753 | has @JsonParameter parameters with same name |
| 754 | (reported by Tim W) |
| 755 | * [JACKSON-472] Custom bean deserializers are not cached when using |
| 756 | JAXB annotation introspector |
| 757 | (reported by Seam P) |
| 758 | * [JACKSON-473] JsonMapping$Reference not Serializable |
| 759 | (reported by Steven S) |
| 760 | * [JACKSON-478] Improve support for 'java.sql.Timestamp' type by allowing |
| 761 | deserializing textual representations |
| 762 | (reported by John L) |
| 763 | |
cowtowncoder | 1e0786a | 2011-01-07 01:07:52 +0000 | [diff] [blame] | 764 | 1.6.4 [21-Dec-2010] |
| 765 | |
| 766 | Fixes: |
| 767 | |
| 768 | * [JACKSON-364] @JsonTypeInfo not included properly for Collection types |
| 769 | when using JsonView functionality |
| 770 | * [JACKSON-428] Type information, Map key deserializer definitions don't |
| 771 | work together |
| 772 | (reported by Patrick R) |
| 773 | * [JACKSON-431] Deserialization fails with JSON array with beans with |
| 774 | @JsonCreator, unmapped properties before and after creator properties |
| 775 | (reported by Hannu L) |
| 776 | * [JACKSON-436] @XmlElementType not working correctly with Collection type |
| 777 | properties |
| 778 | (reported by Sean P) |
| 779 | |
cowtowncoder | 3ddd57e | 2010-12-16 22:47:32 +0000 | [diff] [blame] | 780 | 1.6.3 [04-Dec-2010] |
| 781 | |
| 782 | Fixes: |
| 783 | |
| 784 | * [JACKSON-228], [JACKSON-411] XmlJavaTypeAdapter, package-level annotations not |
| 785 | working |
| 786 | (reported by Claudio R, Raymond F) |
| 787 | * [JACKSON-387]: Deserialization fails for certain objects serialized with |
| 788 | enableDefaultTyping |
| 789 | (reported by Peter L) |
| 790 | * [JACKSON-415] XMLElement annotation ignored during schema generation |
| 791 | (reported by Sean P) |
| 792 | * [JACKSON-416] XmlElement.type() doesn't override type during serialization |
| 793 | (reported by Sean P) |
| 794 | * [JACKSON-417] Deserialization of "native" types (String, Integer, Boolean) |
| 795 | failed with abstract types |
| 796 | (reported by Joe J) |
| 797 | * [JACKSON-423] Incorrect serialization of BigDecimal, BigInteger, |
| 798 | when using TokenBuffer |
| 799 | (reported by Sean P) |
| 800 | * [JACKSON-424] ArrayIndexOutOfBounds with SmileGenerator, long Unicode |
| 801 | Strings |
| 802 | (reported by Shay B) |
| 803 | |
cowtowncoder | 2cb66ad | 2010-11-22 02:26:35 +0000 | [diff] [blame] | 804 | 1.6.2 [02-Nov-2010] |
| 805 | |
| 806 | Fixes: |
| 807 | |
| 808 | * [JACKSON-288] Problems with JAXB annotation handling for combination of |
| 809 | @XmlJavaTypeAdapter, @XmlElement |
| 810 | (reported by Kent R) |
| 811 | * [JACKSON-366] Type metadata not written for empty beans |
| 812 | (reported by Patrick R) |
| 813 | * [JACKSON-388] Deserialization of Throwable fails with Inclusion.NON_NULL |
| 814 | (reported by Kirill S) |
| 815 | * [JACKSON-391] ObjectReader.withValueUpdate() passing wrong object |
| 816 | (reported by Kurtis) |
| 817 | * [JACKSON-392] Beans with only @JsonAnyGetter fail on serialization |
| 818 | (reported by Kirill S) |
| 819 | * [JACKSON-395]: JsonParser.getCurrentName() not working with |
| 820 | JsonParser.nextValue() for nested JSON Arrays, Objects |
| 821 | * [JACKSON-397] Reverted most of [JACKSON-371] from 1.6 branch, since it caused |
| 822 | externally visible change in exception handling; behavior now back to 1.6.0 |
| 823 | (will change to catch and rethrow in 1.7.0) |
| 824 | (reported by Jon Berg) |
| 825 | * [JACKSON-398]: Root type information not correctly passed by |
| 826 | ObjectWriter when using JsonGenerator |
| 827 | (reported by Kirill S) |
| 828 | * [JACKSON-403]: XMLGregorianCalendar could not be deserialized from timestamp |
| 829 | (reported by Manual F) |
| 830 | * [JACKSON-404] Problem with XmlAdapter, generic types, deserialization |
| 831 | (reported by Davide) |
| 832 | |
cowtowncoder | 619ccf1 | 2010-10-08 04:44:14 +0000 | [diff] [blame] | 833 | 1.6.1 [06-Oct-2010] |
cowtowncoder | 137ac3a | 2010-10-06 20:16:20 +0000 | [diff] [blame] | 834 | |
cowtowncoder | 0bd7f84 | 2010-10-15 21:14:44 +0000 | [diff] [blame] | 835 | Fixes: |
cowtowncoder | 5e7a2a1 | 2010-09-23 06:05:32 +0000 | [diff] [blame] | 836 | |
cowtowncoder | b042c44 | 2010-10-15 20:45:27 +0000 | [diff] [blame] | 837 | * [JACKSON-359] TypeIdResolver.init() was not being called properly |
| 838 | (reported by Peter L) |
| 839 | * [JACKSON-372] handle missing primitive type values for @JsonCreator gracefully (with defaults) |
| 840 | * [JACKSON-376] writing binary data as object field value with Smile failed |
| 841 | (reported by Shay B) |
| 842 | * [JACKSON-371] Provide path of type error in ObjectMapper.convertValue() |
| 843 | (reported by Larry Y) |
| 844 | * [JACKSON-383] @JsonAnySetter gets called for ignorable properties if |
| 845 | FAIL_ON_UNKNOWN_PROPERTIES set to false (related to [JACKSON-313]) |
| 846 | (reported by Kirill S) |
| 847 | * [JACKSON-384] @JsonAnyGetter values were duplicated if method name was valid as a regular |
| 848 | getter name |
| 849 | (reported by Bruce R) |
| 850 | * all fixes from 1.5.x up to 1.5.7 |
cowtowncoder | 5e7a2a1 | 2010-09-23 06:05:32 +0000 | [diff] [blame] | 851 | |
cowtowncoder | 0bd7f84 | 2010-10-15 21:14:44 +0000 | [diff] [blame] | 852 | Improvements: |
cowtowncoder | 619ccf1 | 2010-10-08 04:44:14 +0000 | [diff] [blame] | 853 | |
| 854 | * [JACKSON-360] Convert empty String to null values for Joda |
| 855 | (suggested by Shilpa P) |
| 856 | * [JACKSON-386] Improve registration for optional/external types (javax.xml, joda) |
| 857 | |
cowtowncoder | 5e7a2a1 | 2010-09-23 06:05:32 +0000 | [diff] [blame] | 858 | 1.6.0 [06-Sep-2010] |
cowtowncoder | fb21c8c | 2010-03-19 01:55:21 +0000 | [diff] [blame] | 859 | |
| 860 | Fixes: |
| 861 | |
cowtowncoder | 72451f4 | 2010-10-06 23:39:13 +0000 | [diff] [blame] | 862 | * [JACKSON-265] Problems with generic wildcard type, type info |
cowtowncoder | 92adb19 | 2010-06-08 03:28:53 +0000 | [diff] [blame] | 863 | (reported by Fabrice D) |
cowtowncoder | 4c5caf1 | 2010-08-20 23:53:32 +0000 | [diff] [blame] | 864 | * [JACKSON-268] Property ordering for JAXB did not work with "raw" property |
| 865 | names (but just with renamed names like with Jackson annotations) |
| 866 | (reported by Valentin B) |
cowtowncoder | 488ca49 | 2010-08-20 23:12:36 +0000 | [diff] [blame] | 867 | * [JACKSON-303] JAXB annotation @XmlAccessorType(XmlAccessType.NONE) seems |
| 868 | to not work correctly during deserialisation process |
| 869 | (reported by David M) |
cowtowncoder | 72451f4 | 2010-10-06 23:39:13 +0000 | [diff] [blame] | 870 | * [JACKSON-313] Ignorable properties should not be passed to any-setter |
cowtowncoder | aaa94e5 | 2010-08-05 05:05:22 +0000 | [diff] [blame] | 871 | * [JACKSON-336] Generics handling: Map type not handled if intermediate types |
| 872 | with just one generic parameter |
cowtowncoder | 92adb19 | 2010-06-08 03:28:53 +0000 | [diff] [blame] | 873 | |
cowtowncoder | eb4d91a | 2010-03-23 06:29:32 +0000 | [diff] [blame] | 874 | Improvements: |
| 875 | |
cowtowncoder | db0ba3e | 2010-05-15 05:53:23 +0000 | [diff] [blame] | 876 | * [JACKSON-193] @JsonCreator-annotated factory methods and @JsonValue annotated |
| 877 | output methods now work with enums, allowing more customizable enum ser/deser. |
| 878 | (requested by Paul B) |
cowtowncoder | 4ecd4dd | 2010-08-17 03:48:27 +0000 | [diff] [blame] | 879 | * [JACKSON-253] Support combination of @XmlAnyElement + @XmlElementRefs |
cowtowncoder | 43c72f8 | 2010-04-09 20:48:29 +0000 | [diff] [blame] | 880 | * [JACKSON-261] @JsonView now implies that associated element (field, |
| 881 | getter/setter) is to be considered a property; similar to how |
| 882 | @JsonSerialize/@JsonDeserialize/@JsonProperty are used. |
cowtowncoder | 809a62a | 2010-05-13 07:08:17 +0000 | [diff] [blame] | 883 | * [JACKSON-274] Un-deprecated @JsonGetter and @JsonSetter. |
cowtowncoder | a5eb9a6 | 2010-05-15 06:35:48 +0000 | [diff] [blame] | 884 | * [JACKSON-283] JDK atomic types (java.util.concurrent.atomic) supported |
cowtowncoder | b180beb | 2010-05-13 06:18:43 +0000 | [diff] [blame] | 885 | * [JACKSON-289] Added "SerializationConfig.Feature.WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS" |
| 886 | to allow serializing char[]s as JSON Arrays with single-char-String values |
| 887 | (also fixed issues with deserializing the same on deserializer side) |
| 888 | (requested by Brian O) |
cowtowncoder | 5fbe176 | 2010-05-13 05:43:27 +0000 | [diff] [blame] | 889 | * [JACKSON-290] @JsonWriteNullProperties can be used with fields too; |
| 890 | annotation itself is now deprecated (use JsonSerialize#include instead). |
cowtowncoder | 58e85b4 | 2010-06-10 06:08:36 +0000 | [diff] [blame] | 891 | * [JACKSON-301] Allow JsonMappingException to return name of "bad" (unrecognized) |
| 892 | field |
| 893 | (requested by Rob O) |
cowtowncoder | 42ac83f | 2010-06-08 00:13:36 +0000 | [diff] [blame] | 894 | * [JACKSON-302] Add JsonNode.has(String/int) to allow for more convenient checking |
| 895 | of whether JSON Object/Array nodes have specified value. |
cowtowncoder | 2ca5a75 | 2010-09-01 04:00:26 +0000 | [diff] [blame] | 896 | * [JACKSON-308] Configurable date formatting support for XMLGregorianCalendar: |
| 897 | XMLGregorianCalendar now uses same Date/Calendar serialization as other date types. |
| 898 | (suggested by Igor K) |
cowtowncoder | 72976cd | 2010-07-14 23:56:08 +0000 | [diff] [blame] | 899 | * [JACKSON-321] Allow passing JsonNodeFactory to use for ObjectMapper, ObjectReader, |
| 900 | to allow use of custom JsonNode types. |
cowtowncoder | dc5d36b | 2010-07-31 06:54:29 +0000 | [diff] [blame] | 901 | * [JACKSON-326] Add 'JsonParser.hasTextCharacters()' to make it easier to optimize |
cowtowncoder | 181ab0a | 2010-07-20 19:35:47 +0000 | [diff] [blame] | 902 | text access (esp. when copying events) |
cowtowncoder | 0c21af1 | 2010-07-23 00:58:38 +0000 | [diff] [blame] | 903 | * [JACKSON-328] Precedence of "getters-as-setters" (for Maps, Collections) was |
| 904 | accidentally higher than that of property fields (public, @JsonProperty) |
| 905 | (reported by Thomas D) |
cowtowncoder | f31edb8 | 2010-08-20 00:39:38 +0000 | [diff] [blame] | 906 | * [JACKSON-333] Add JsonNode.getValueAsInt()/.getValueAsDouble() for more convenient |
| 907 | coercion; including parsing of JSON text values to numbers if necessary |
cowtowncoder | ed86a0c | 2010-08-11 01:27:13 +0000 | [diff] [blame] | 908 | * [JACKSON-339] Support Joda ReadableDateTime, ReadableInstant out of the box |
cowtowncoder | 8e4979b | 2010-08-28 01:24:45 +0000 | [diff] [blame] | 909 | * [JACKSON-349] Accept empty String as number (null for wrappers, 0 for primitives) |
cowtowncoder | 43c72f8 | 2010-04-09 20:48:29 +0000 | [diff] [blame] | 910 | |
cowtowncoder | eb4d91a | 2010-03-23 06:29:32 +0000 | [diff] [blame] | 911 | New features: |
| 912 | |
cowtowncoder | aaa94e5 | 2010-08-05 05:05:22 +0000 | [diff] [blame] | 913 | * [JACKSON-41] Add code generation to allow deserialization into arbitrary Bean interfaces. |
cowtowncoder | b7ffce9 | 2010-08-05 06:47:30 +0000 | [diff] [blame] | 914 | * [JACKSON-210] Add method(s) in JsonNode for finding values of named property |
cowtowncoder | 152f12d | 2010-06-15 03:52:25 +0000 | [diff] [blame] | 915 | * [JACKSON-212] Allow serializer/deserializing Enums using toString() method |
| 916 | instead name() |
cowtowncoder | 95900f0 | 2010-06-26 15:14:47 +0000 | [diff] [blame] | 917 | * [JACKSON-235] Handle bi-directional (parent/child, double-linked lists) references |
cowtowncoder | 17d7537 | 2010-08-15 07:26:29 +0000 | [diff] [blame] | 918 | * [JACKSON-257] Add ability to register sub-types for Polymetric Type Handling |
cowtowncoder | eb4d91a | 2010-03-23 06:29:32 +0000 | [diff] [blame] | 919 | * [JACKSON-264] Ability to "update" values; to read and bind JSON |
| 920 | content as properties of existing beans. This is done by using |
| 921 | "ObjectMapper.updatingReader()" (and "reader.readValue(source)") |
cowtowncoder | ed2715e | 2010-04-14 04:46:31 +0000 | [diff] [blame] | 922 | * [JACKSON-267] Allow unquoted field names to start with '@' in |
| 923 | (when unquoted name support is enabled, to support polymorphic |
cowtowncoder | 5fbe176 | 2010-05-13 05:43:27 +0000 | [diff] [blame] | 924 | typing (which defaults to property names like "@class"). |
cowtowncoder | ed2715e | 2010-04-14 04:46:31 +0000 | [diff] [blame] | 925 | (requested by Michel G) |
cowtowncoder | 76c7aa1 | 2010-09-02 06:03:25 +0000 | [diff] [blame] | 926 | * [JACKSON-278] Allow access to version information (via new Versioned interface) |
| 927 | (requested by Andrei V) |
cowtowncoder | 5fbe176 | 2010-05-13 05:43:27 +0000 | [diff] [blame] | 928 | * [JACKSON-282] Added SerializationConfig.Feature.CLOSE_CLOSEABLE |
| 929 | which when enabled forced a call to value.close() right after |
| 930 | serialization of a (root-level) value. |
cowtowncoder | b1f5ba6 | 2010-07-31 03:41:49 +0000 | [diff] [blame] | 931 | * [JACKSON-287] Add JsonParser.releaseBufferedContent() which can be called |
| 932 | to "push back" content read but not (yet) consumed by JsonParser |
cowtowncoder | dc5d36b | 2010-07-31 06:54:29 +0000 | [diff] [blame] | 933 | * [JACKSON-292] Add "any-getter" (using @JsonAnyGetter) to complement @JsonAnySetter, |
| 934 | more convenient mapping of miscellaneous extra properties. |
cowtowncoder | 6c00aa9 | 2010-07-29 06:24:58 +0000 | [diff] [blame] | 935 | * [JACKSON-295] Add 'jackson-all' jar |
| 936 | (suggested by Ant E) |
cowtowncoder | ad8a2ca | 2010-06-08 18:45:54 +0000 | [diff] [blame] | 937 | * [JACKSON-299] Added 'org.codehaus.jackson.impl.MinimalPrettyPrinter' |
| 938 | to make it easier to add simple output customizations |
cowtowncoder | dc5d36b | 2010-07-31 06:54:29 +0000 | [diff] [blame] | 939 | (suggested by David P) |
cowtowncoder | f4aef57 | 2010-06-10 06:35:30 +0000 | [diff] [blame] | 940 | * [JACKSON-300] Add 'JsonParser.Feature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER |
| 941 | to allow non-standard character escapes like \'. |
| 942 | (requested by Ketan G) |
cowtowncoder | 1940d07 | 2010-06-30 00:07:33 +0000 | [diff] [blame] | 943 | * [JACKSON-314] (go Pi, go!) Add 'SerializationConfig.Feature.WRITE_NULL_MAP_VALUES' |
| 944 | to suppress writing of Map entries with null values. |
cowtowncoder | aaa94e5 | 2010-08-05 05:05:22 +0000 | [diff] [blame] | 945 | * [JACKSON-316] Allow per-call enable/disable of pretty printing (added |
| 946 | methods in ObjectWriter; .withPrettyPrinter()) |
cowtowncoder | 68958fb | 2010-07-23 02:58:13 +0000 | [diff] [blame] | 947 | * [JACKSON-325] Add new Jackson "internal" annotation (@JacksonStdCodec?) to allow |
| 948 | marking default/standard serializers, deserializers |
cowtowncoder | 7d1efbc | 2010-08-07 04:57:50 +0000 | [diff] [blame] | 949 | * [JACKSON-337] Add "ObjectMapper.valueToTree()" |
cowtowncoder | 0c21af1 | 2010-07-23 00:58:38 +0000 | [diff] [blame] | 950 | |
cowtowncoder | 2ca5a75 | 2010-09-01 04:00:26 +0000 | [diff] [blame] | 951 | Backwards incompatible changes |
cowtowncoder | 0c21af1 | 2010-07-23 00:58:38 +0000 | [diff] [blame] | 952 | |
| 953 | * [JACKSON-328] (see above) fixes precedence of "getter-as-setter" (for Maps, Collections) |
| 954 | to be LOWER than that of fields; this is the original intended behavior. However, |
| 955 | versions 1.1 - 1.5 accidentally had fields at lower precedence. This fix can |
| 956 | change behavior of code. |
cowtowncoder | 2ca5a75 | 2010-09-01 04:00:26 +0000 | [diff] [blame] | 957 | * [JACKSON-308] (see above) Configurable date formatting support for XMLGregorianCalendar: |
| 958 | since default Date/Calendar formatting uses timestamp instead of textual serialization, |
| 959 | default XMLGregorianCalendar serialization is changing. |
cowtowncoder | 0c21af1 | 2010-07-23 00:58:38 +0000 | [diff] [blame] | 960 | |
cowtowncoder | 137ac3a | 2010-10-06 20:16:20 +0000 | [diff] [blame] | 961 | 1.5.7 [03-Oct-2010] |
| 962 | |
| 963 | Fixes: |
| 964 | |
| 965 | * [JACKSON-352] Polymorphic deserialization for Object always assumes |
| 966 | array-wrapper style |
| 967 | (reported by Henry L) |
| 968 | * [JACKSON-355] Handling of BigInteger with JsonNode not correct |
| 969 | (reported by Adam S) |
| 970 | * [JACKSON-363] CustomDeserializerFactory did not work for custom |
| 971 | array deserializers. |
| 972 | (reported by Lubomir K) |
| 973 | * [JACKSON-370] TreeTraversingParser.skipChildren() not working correctly |
| 974 | (reported by Dmitry L) |
| 975 | * [JACKSON-373] Interface inheritance not traversed when looking up |
| 976 | custom serializers |
| 977 | (reported by Lubomir K) |
| 978 | * [JACKSON-377] ThrowableDeserializer was not properly using information from |
| 979 | @JsonCreator or @JsonAnySetter |
| 980 | (reported by Kirill S) |
| 981 | * [JACKSON-380] Incorrect type information serialized for some Enums |
| 982 | |
cowtowncoder | 97b29c9 | 2010-09-07 03:46:17 +0000 | [diff] [blame] | 983 | 1.5.6 [17-Aug-2010] |
| 984 | |
| 985 | Fixes: |
| 986 | |
| 987 | * [JACKSON-329] type information was not properly serialized for |
| 988 | Iterator or Iterable serializers |
| 989 | (reported by Yuanchen Z) |
| 990 | * [JACKSON-330] ObjectMapper.convertValue(): base64 conversions |
| 991 | do not work as expected |
| 992 | * [JACKSON-334] Support ISO-8601 date without milliseconds |
| 993 | * [JACKSON-340] Meta annotations missing for @JsonTypeResolver |
| 994 | (reported by Yuanchen Z) |
| 995 | * [JACKSON-341] Issue with static typing, array and subtyping |
| 996 | (reported by Yuanchen Z) |
| 997 | |
| 998 | 1.5.5 [25-Jul-2010] |
| 999 | |
| 1000 | Fixes: |
| 1001 | |
| 1002 | * [JACKSON-309] Serialization of null properties not working correctly |
| 1003 | when using JAXB annotation introspector |
| 1004 | * [JACKSON-318] Deserializer missing support for java.util.Currency |
| 1005 | (reported by Geoffrey A) |
| 1006 | * [JACKSON-319] Issues when trying to deserialize polymorphic type |
| 1007 | with no data (just type information) |
| 1008 | (reported by Chris C) |
| 1009 | * [JACKSON-324] JsonParserBase: call releaseBuffers() in finally |
| 1010 | block (within close()) |
| 1011 | (suggested by Steve C) |
| 1012 | * [JACKSON-327] CustomSerializerFactory had a bug in handling of |
| 1013 | interface registrations |
| 1014 | (reported by Yuanchen Z) |
| 1015 | |
| 1016 | (and all fixes from 1.4.x branch up to 1.4.5) |
| 1017 | |
| 1018 | 1.5.4 [25-Jun-2010] |
| 1019 | |
| 1020 | Fixes: |
| 1021 | |
| 1022 | * [JACKSON-296]: Add support for JAXB/@XmlElementRef(s), fix related |
| 1023 | issues uncovered (wrt. handling of polymorphic collection fields) |
| 1024 | (reported by Ryan H) |
| 1025 | * [JACKSON-311]: Problems handling polymorphic type information for |
| 1026 | 'untyped' (Object) bean properties, default typing |
| 1027 | (reported by Eric S) |
| 1028 | |
cowtowncoder | 4fbc10e | 2010-06-08 17:45:34 +0000 | [diff] [blame] | 1029 | 1.5.3 [31-May-2010] |
| 1030 | |
| 1031 | Fixes: |
| 1032 | |
| 1033 | * [JACKSON-285]: Problem with @JsonCreator annotated constructor that |
| 1034 | also uses @JsonDeserialize annotations |
| 1035 | |
| 1036 | Improvements: |
| 1037 | |
| 1038 | * [JACKSON-284]: Reduce scope of sync block in |
| 1039 | SerializerCache.getReadOnlyLookupMap() |
| 1040 | * Partial fix for [JACKSON-289]: allow JSON Array with single-character |
| 1041 | Strings to be bound to char[] during deserialization |
| 1042 | (suggested by Brian O) |
| 1043 | |
cowtowncoder | c011bbe | 2010-04-27 03:26:51 +0000 | [diff] [blame] | 1044 | 1.5.2 [25-Apr-2010] |
| 1045 | |
| 1046 | Fixes: |
| 1047 | |
| 1048 | * [JACKSON-273] Yet another OSGi issue, "org.codehaus.jackson.map.util" |
| 1049 | not exported by mapper module, needed by jax-rs module. |
| 1050 | (reported by Lukasz D) |
| 1051 | * [JACKSON-281] JsonGenerator.writeObject() only supports subset of |
| 1052 | wrapper types (when not specifying ObjectCodec) |
| 1053 | (reported by Aron A) |
| 1054 | |
| 1055 | (and all fixes from 1.4.x branch up to 1.4.4) |
| 1056 | |
cowtowncoder | 43be184 | 2010-04-13 00:41:41 +0000 | [diff] [blame] | 1057 | 1.5.1 [09-Apr-2010] |
| 1058 | |
| 1059 | Fixes: |
| 1060 | |
cowtowncoder | 43be184 | 2010-04-13 00:41:41 +0000 | [diff] [blame] | 1061 | * [JACKSON-265]: problems with generic type handling for serialization |
| 1062 | (reported by Fabrice D) |
| 1063 | * [JACKSON-269]: missing OSGi export by mapper (o.c.j.m.jsontype.impl), |
| 1064 | needed by jackson-xc module |
| 1065 | (reported by Raymond F) |
| 1066 | |
cowtowncoder | c011bbe | 2010-04-27 03:26:51 +0000 | [diff] [blame] | 1067 | (and all fixes from 1.4.x branch up to 1.4.3) |
| 1068 | |
| 1069 | |
cowtowncoder | fb21c8c | 2010-03-19 01:55:21 +0000 | [diff] [blame] | 1070 | 1.5.0 [14-Mar-2010] |
cowtowncoder | 37fd0b1 | 2009-12-22 03:48:25 +0000 | [diff] [blame] | 1071 | |
cowtowncoder | 176480e | 2010-02-28 05:40:17 +0000 | [diff] [blame] | 1072 | Fixes: |
| 1073 | |
| 1074 | * [JACKSON-246] JAXB property name determination not working correctly. |
| 1075 | (reported by Lars C) |
| 1076 | |
cowtowncoder | 37fd0b1 | 2009-12-22 03:48:25 +0000 | [diff] [blame] | 1077 | Improvements: |
| 1078 | |
cowtowncoder | b1a1539 | 2010-01-06 04:43:14 +0000 | [diff] [blame] | 1079 | * [JACKSON-160] Factory Creator methods now handle polymorphic |
| 1080 | construction correctly, allowing manual polymorphic deserialization |
cowtowncoder | 0cec35c | 2010-03-10 02:41:48 +0000 | [diff] [blame] | 1081 | * [JACKSON-218] Extended support for Joda date/time types like |
| 1082 | LocalDate, LocalDateTime and DateMidnight |
cowtowncoder | 063fb7f | 2009-12-22 04:49:07 +0000 | [diff] [blame] | 1083 | * [JACKSON-220] @JsonSerialize.using() was not working properly for |
| 1084 | non-Bean types (Collections, Maps, wrappers) |
cowtowncoder | 5f12a1f | 2010-02-14 22:37:03 +0000 | [diff] [blame] | 1085 | * [JACKSON-236] Allow deserialization of timestamps-as-Strings (not |
| 1086 | just timestamps as JSON integer numbers). |
| 1087 | (requested by Chris C) |
cowtowncoder | 0cec35c | 2010-03-10 02:41:48 +0000 | [diff] [blame] | 1088 | * [JACKSON-255] Allow setter override even with incompatible type |
| 1089 | (as long as only one setter per class, so there is no ambiguity) |
cowtowncoder | 9b6a4d6 | 2010-03-10 06:00:15 +0000 | [diff] [blame] | 1090 | * [JACKSON-256] AnnotationIntrospector.findSerializationInclusion |
| 1091 | was not combining values correctly for JAXB annotations. |
| 1092 | (reported by John L) |
cowtowncoder | 063fb7f | 2009-12-22 04:49:07 +0000 | [diff] [blame] | 1093 | |
cowtowncoder | 37fd0b1 | 2009-12-22 03:48:25 +0000 | [diff] [blame] | 1094 | New features: |
| 1095 | |
cowtowncoder | fb21c8c | 2010-03-19 01:55:21 +0000 | [diff] [blame] | 1096 | * [JACKSON-91] Polymorphic Type Handling: automatic handling of |
| 1097 | polymorphic types, based on annotations (@JsonTypeInfo) and/or |
| 1098 | global settings (ObjectMapper.enableDefaultTyping()) |
| 1099 | * [JACKSON-175] Add "org.codehaus.jackson.util.TokenBuffer", used for |
| 1100 | much more efficient type conversions (and other internal buffering) |
| 1101 | * [JACKSON-195] Add methods to ObjectMapper to allow specification of |
| 1102 | root object serialization type. |
cowtowncoder | c74cc82 | 2010-02-12 07:35:47 +0000 | [diff] [blame] | 1103 | * [JACKSON-221] Add 'ObjectMapper.writeValueAsBytes()' convenience |
| 1104 | method to simplify a common usage pattern |
cowtowncoder | 9c5c51d | 2010-01-20 07:27:10 +0000 | [diff] [blame] | 1105 | * [JACKSON-229] TypeFactory should have methods to construct parametric |
| 1106 | types programmatically (TypeFactory.parametricType()) |
cowtowncoder | d6f3fef | 2010-02-23 06:55:56 +0000 | [diff] [blame] | 1107 | * [JACKSON-232] Add 'SerializationConfig.Feature.DEFAULT_VIEW_INCLUSION' |
| 1108 | to disable inclusion of non-annotated properties with explicit views |
| 1109 | (suggested by Andrei V) |
cowtowncoder | 6baa79e | 2010-02-06 07:37:46 +0000 | [diff] [blame] | 1110 | * [JACKSON-234] Add support for JSONP, by adding JSONPObject wrapper |
| 1111 | that serializes as expected. |
cowtowncoder | 55b8ed0 | 2010-02-21 00:25:55 +0000 | [diff] [blame] | 1112 | * [JACKSON-241] Add a mechanism for adding new "untouchable" types for |
| 1113 | JAX-RS JSON provider, to allow excluding types from being handled |
| 1114 | (added method "JacksonJsonProvider.addUntouchable()") |
cowtowncoder | 2790b59 | 2010-03-09 06:50:55 +0000 | [diff] [blame] | 1115 | * [JACKSON-244] Allow specifying specific minimum visibility levels for |
| 1116 | auto-detecting getters, setters, fields and creators |
| 1117 | (requested by Pierre-Yves R) |
cowtowncoder | fd8468d | 2010-03-06 19:56:56 +0000 | [diff] [blame] | 1118 | * [JACKSON-245] Add configuration setting in JAX-RS provider to allow |
| 1119 | automatic JSONP wrapping (provider.setJSONPFunctionName()) |
cowtowncoder | 5f5cb82 | 2010-03-13 07:25:21 +0000 | [diff] [blame] | 1120 | * [JACKSON-259] Add JsonParser.Feature to allow disabling field name |
| 1121 | canonicalization (JsonParser.Feature.CANONICALIZE_FIELD_NAMES) |
cowtowncoder | 9c5c51d | 2010-01-20 07:27:10 +0000 | [diff] [blame] | 1122 | |
cowtowncoder | 9497298 | 2010-01-31 21:45:13 +0000 | [diff] [blame] | 1123 | Backwards incompatible changes: |
cowtowncoder | 37fd0b1 | 2009-12-22 03:48:25 +0000 | [diff] [blame] | 1124 | |
cowtowncoder | 4cebdb3 | 2010-01-02 05:32:34 +0000 | [diff] [blame] | 1125 | * Moved following serializers out of BasicSerializerFactory |
| 1126 | JdkSerializers: ClassSerializer (into JdkSerializers), |
| 1127 | NullSerializer (separate class) |
cowtowncoder | 656203d | 2010-01-05 07:55:51 +0000 | [diff] [blame] | 1128 | * Add one parameter to StdDeserializer.handleUnknownProperty: |
| 1129 | addition was required for handling polymorphic cases that |
| 1130 | can use nested JsonParser instances. |
cowtowncoder | e703113 | 2010-01-30 19:17:24 +0000 | [diff] [blame] | 1131 | * Fixed issues in generic type handling (was not resolving all named |
| 1132 | types completely) |
cowtowncoder | 9497298 | 2010-01-31 21:45:13 +0000 | [diff] [blame] | 1133 | * Annotation changes: |
| 1134 | * Moved "NoClass" into "org.codehaus.jackson.map.annotate" package |
| 1135 | * Removed @JsonUseSerializer and @JsonUseDeserializer annotations |
| 1136 | (which has been deprecated for 1.1; replaced by |
| 1137 | @JsonSerialize.using and @JsonDeserialize.using, respectively) |
| 1138 | * @JsonGetter and @JsonSetter are marked as deprecated, since |
| 1139 | @JsonProperty can (and should) be used instead. |
cowtowncoder | 4cebdb3 | 2010-01-02 05:32:34 +0000 | [diff] [blame] | 1140 | |
cowtowncoder | c011bbe | 2010-04-27 03:26:51 +0000 | [diff] [blame] | 1141 | 1.4.4 [25-Apr-2010] |
| 1142 | |
| 1143 | Fixes: |
| 1144 | |
| 1145 | * [JACKSON-263] BooleanNode.asToken() incorrectly returns 'true' token |
| 1146 | for all nodes (not just 'false' ones) |
| 1147 | (reported by Gennadiy S) |
| 1148 | * [JACKSON-266] Deserialization issues when binding data from JsonNode |
| 1149 | (reported by Martin T) |
| 1150 | |
cowtowncoder | fb21c8c | 2010-03-19 01:55:21 +0000 | [diff] [blame] | 1151 | 1.4.3 [18-Feb-2010] |
| 1152 | |
| 1153 | Fixes: |
| 1154 | |
| 1155 | * [JACKSON-237]: NPE in deserialization due to race condition |
| 1156 | (reported by Benjamin D) |
| 1157 | |
cowtowncoder | 37fd0b1 | 2009-12-22 03:48:25 +0000 | [diff] [blame] | 1158 | |
cowtowncoder | 67ce648 | 2010-02-14 22:14:58 +0000 | [diff] [blame] | 1159 | 1.4.2 [31-Jan-2010] |
| 1160 | |
| 1161 | Fixes: |
| 1162 | |
| 1163 | * [JACKSON-238]: Fix to ensure custom serializers can override |
| 1164 | default serializers (like DOM, Joda serializers) |
| 1165 | (reported by Pablo L) |
| 1166 | * other fixes from 1.3.4 release |
| 1167 | |
| 1168 | 1.4.1 [10-Jan-2010] |
| 1169 | |
| 1170 | Fixes: |
| 1171 | |
| 1172 | fixes from 1.3.x branch up to 1.3.3. |
| 1173 | |
cowtowncoder | 37fd0b1 | 2009-12-22 03:48:25 +0000 | [diff] [blame] | 1174 | 1.4.0 [19-Dec-2009] |
cowtowncoder | a5021a4 | 2009-11-03 06:33:14 +0000 | [diff] [blame] | 1175 | |
| 1176 | Improvements: |
| 1177 | |
cowtowncoder | 5e4e261 | 2009-11-29 04:28:53 +0000 | [diff] [blame] | 1178 | * [JACKSON-38] Allow serializing/deserializing DOM trees (Node, Document) |
| 1179 | (suggested by Scott D) |
cowtowncoder | 55386fb | 2009-11-10 07:11:23 +0000 | [diff] [blame] | 1180 | * [JACKSON-89] Make ignored field/creator-backed properties quietly |
| 1181 | skippable during deserialization (that is, without having to explicitly |
| 1182 | declare such properties as ignorable as per [JACKSON-77]) |
cowtowncoder | 39e94cc | 2009-11-28 07:55:21 +0000 | [diff] [blame] | 1183 | * [JACKSON-161] Added basic support for Joda, ser/deser DateTime class |
cowtowncoder | a5021a4 | 2009-11-03 06:33:14 +0000 | [diff] [blame] | 1184 | * [JACKSON-170] Serialize Creator properties before other properties |
cowtowncoder | 39e94cc | 2009-11-28 07:55:21 +0000 | [diff] [blame] | 1185 | * [JACKSON-196] Schema generation does not respect the annotation |
| 1186 | configured serializer on a bean property |
| 1187 | (reported by Gil M) |
cowtowncoder | 55013c6 | 2009-11-30 01:57:19 +0000 | [diff] [blame] | 1188 | * [JACKSON-208] Add feature (JsonParser.Feature.ALLOW_UNQUOTED_CONTROL_CHARS) |
| 1189 | to allow unquoted control characters (esp. tabs) in Strings and |
| 1190 | field names |
| 1191 | (requested by Mark S) |
cowtowncoder | 6d7ce8f | 2009-12-17 04:48:41 +0000 | [diff] [blame] | 1192 | * [JACKSON-216] Jackson JAXB annotation handler does not use @XmlElement.type |
| 1193 | property for figuring out actual type |
| 1194 | (reported by Mike R) |
cowtowncoder | a5021a4 | 2009-11-03 06:33:14 +0000 | [diff] [blame] | 1195 | |
cowtowncoder | 961593e | 2009-11-04 06:51:57 +0000 | [diff] [blame] | 1196 | New features: |
| 1197 | |
cowtowncoder | 55386fb | 2009-11-10 07:11:23 +0000 | [diff] [blame] | 1198 | * [JACKSON-77] Add class annotation @JsonIgnoreProperties to allow |
| 1199 | for ignoring specific set of properties for serialization/deserialization |
cowtowncoder | 961593e | 2009-11-04 06:51:57 +0000 | [diff] [blame] | 1200 | * [JACKSON-90] Added @JsonPropertyOrder, which allows for specifying |
| 1201 | order in which properties are serialized. |
cowtowncoder | 499a1f0 | 2009-12-08 07:34:25 +0000 | [diff] [blame] | 1202 | * [JACKSON-138] Implement JsonView; ability to suppress subsets of |
| 1203 | properties, based on view definition. Views are defined using @JsonView |
| 1204 | annotation. |
cowtowncoder | 20743cc | 2009-11-15 05:04:22 +0000 | [diff] [blame] | 1205 | * [JACKSON-191] Add access to basic statistics on number of cached |
| 1206 | serializers, deserializers (and methods to flush these caches) |
cowtowncoder | a6282ce | 2009-11-14 06:59:30 +0000 | [diff] [blame] | 1207 | * [JACKSON-192] Added basic delegate implementations (JsonParserDelegate, |
| 1208 | JsonGeneratorDelegate) to make it easier to override core parser and |
| 1209 | generate behavior |
cowtowncoder | e065093 | 2009-11-28 04:12:38 +0000 | [diff] [blame] | 1210 | * [JACKSON-201] Allow serialization of "empty beans" (classes without |
| 1211 | getters), if SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS is |
| 1212 | disabled; or if class has recognized Jackson annotation |
| 1213 | (suggested by Mike P) |
cowtowncoder | 961593e | 2009-11-04 06:51:57 +0000 | [diff] [blame] | 1214 | |
cowtowncoder | 9da20fa | 2009-11-08 22:37:09 +0000 | [diff] [blame] | 1215 | Other: |
| 1216 | |
| 1217 | * Removed "BasicSerializerFactory.StringLikeSerializer" that was |
| 1218 | deprecated for 1.0, replaced by public "ToStringSerializer" |
| 1219 | |
cowtowncoder | 67ce648 | 2010-02-14 22:14:58 +0000 | [diff] [blame] | 1220 | 1.3.4 [31-Jan-2010] |
| 1221 | |
| 1222 | Fixes: |
| 1223 | |
| 1224 | * [JACKSON-225], [JACKSON-227], missing null checks/conversions when |
| 1225 | adding entries to ArrayNode and ObjectNode |
| 1226 | (reported by Kenny M) |
| 1227 | * [JACKSON-230]: wrong NumberType reported for big ints, longs |
| 1228 | (reported by Henning S) |
| 1229 | * [JACKSON-231]: ArrayDeserializer for byte[] should be able to |
| 1230 | use VALUE_EMBEDDED_OBJECT (if Object is byte[]) |
| 1231 | |
cowtowncoder | fa1dc34 | 2009-12-31 23:07:31 +0000 | [diff] [blame] | 1232 | 1.3.3 [21-Dec-2009] |
| 1233 | |
| 1234 | Fixes: |
| 1235 | |
| 1236 | * [JACKSON-214] Enum types with sub-classes failed to serialize |
| 1237 | (reported by Elliot S) |
| 1238 | * [JACKSON-215] Add JAX-RS provider annotations on JacksonJaxbJsonProvider |
| 1239 | (suggested by Matthew R) |
| 1240 | * [JACKSON-220] JsonSerialize.using() not recognized for Collection and |
| 1241 | Map types (and similarly for JsonDeserialize) |
| 1242 | |
cowtowncoder | a7ec537 | 2009-12-11 07:19:35 +0000 | [diff] [blame] | 1243 | 1.3.2 [02-Dec-2009] |
| 1244 | |
| 1245 | Fixes: |
| 1246 | |
| 1247 | * [JACKSON-103] (additional work) Groovy setMetaClass() setter caused |
| 1248 | problems when deserializing (although serialization was fixed earlier) |
| 1249 | (reported by Stephen F) |
| 1250 | * [JACKSON-187] Issues with GAE security model, Class.getEnclosingMethod() |
| 1251 | * [JACKSON-188] Jackson not working on Google App Engine (GAE) due to |
| 1252 | unintended dependency from JacksonJsonProvider to JAXB API classes |
| 1253 | (reported by Jeff S) |
| 1254 | * [JACKSON-206] Support parsing dates of form "1984-11-13T00:00:00" |
| 1255 | |
cowtowncoder | 0298b22 | 2009-11-25 07:25:08 +0000 | [diff] [blame] | 1256 | 1.3.1 [23-Nov-2009] |
| 1257 | |
| 1258 | Fixes: |
| 1259 | |
| 1260 | * [JACKSON-190] Problems deserializing certain nested generic types |
| 1261 | (reported by Nathan C) |
| 1262 | * [JACKSON-194] ObjectMapper class loading issues on Android |
| 1263 | (reported by Martin L) |
| 1264 | * [JACKSON-197] Remove 2 debug messages that print out to System.err |
| 1265 | (reported by Edward T) |
| 1266 | * [JACKSON-200] java.sql.Date deserialization not working well |
| 1267 | (reported by Steve L) |
| 1268 | * [JACKSON-202] Non-public fields not deserialized properly with |
| 1269 | JAXB annotations |
| 1270 | (reported by Mike P) |
| 1271 | * [JACKSON-203] Date deserializers should map empty String to null |
| 1272 | (reported by Steve L) |
| 1273 | |
cowtowncoder | a5021a4 | 2009-11-03 06:33:14 +0000 | [diff] [blame] | 1274 | 1.3.0 [30-Oct-2009] |
cowtowncoder | 641f594 | 2009-08-23 19:24:30 +0000 | [diff] [blame] | 1275 | |
| 1276 | Fixes: |
| 1277 | |
cowtowncoder | 0d2f912 | 2009-08-25 14:56:10 +0000 | [diff] [blame] | 1278 | * [JACKSON-150] Some JAXB-required core types (XMLGregorianCalendar, |
cowtowncoder | 3733408 | 2009-10-03 04:09:57 +0000 | [diff] [blame] | 1279 | Duration, QName, DataHandler) were not completely supported |
cowtowncoder | 1875f86 | 2009-09-05 06:18:57 +0000 | [diff] [blame] | 1280 | * [JACKSON-155] Failed to serialize java.io.File (with infinite |
| 1281 | recursion) |
| 1282 | (reported by Gabe S) |
cowtowncoder | 7282763 | 2009-09-27 05:57:45 +0000 | [diff] [blame] | 1283 | * [JACKSON-167] Map and Collection sub-classes seem to lose generic |
| 1284 | information for deserialization |
cowtowncoder | 605c870 | 2009-10-22 03:32:12 +0000 | [diff] [blame] | 1285 | * [JACKSON-177] Problems with Hibernate, repackaged cglib |
| 1286 | (reported by Ted B) |
cowtowncoder | 61842a8 | 2009-10-23 03:42:17 +0000 | [diff] [blame] | 1287 | * [JACKSON-179] Single-long-arg factory Creators were not working |
cowtowncoder | 3a153a7 | 2009-10-31 02:11:28 +0000 | [diff] [blame] | 1288 | (reported by Brian M) |
cowtowncoder | ae0f9c0 | 2009-10-27 04:08:39 +0000 | [diff] [blame] | 1289 | * [JACKSON-183] Root-level 'JsonDeserialize' annotation was not handled |
| 1290 | completely; 'as' setting was not taking effect |
cowtowncoder | 3a153a7 | 2009-10-31 02:11:28 +0000 | [diff] [blame] | 1291 | (reported by Nick P) |
cowtowncoder | 0d2f912 | 2009-08-25 14:56:10 +0000 | [diff] [blame] | 1292 | |
cowtowncoder | 8f5d8c7 | 2009-08-29 03:21:17 +0000 | [diff] [blame] | 1293 | Improvements: |
| 1294 | |
| 1295 | * [JACKSON-152] Add "ObjectMapper.writeValueAsString()" convenience |
| 1296 | method to simplify serializing JSON into String. |
cowtowncoder | 7ba2684 | 2009-09-17 06:52:55 +0000 | [diff] [blame] | 1297 | * [JACKSON-153] Allow use of @JsonCreator with Map types too |
cowtowncoder | fd8ee05 | 2009-09-10 06:41:44 +0000 | [diff] [blame] | 1298 | * [JACKSON-158] Bean serializer now checks for direct self-references |
| 1299 | (partial, trivial cycle detection) |
cowtowncoder | 7f6f241 | 2009-09-26 06:50:23 +0000 | [diff] [blame] | 1300 | * [JACKSON-164] Improve null handling for JsonGenerator.writeStringValue |
cowtowncoder | 3a153a7 | 2009-10-31 02:11:28 +0000 | [diff] [blame] | 1301 | (suggested by Benjamin Darfler) |
cowtowncoder | 263b727 | 2009-09-26 04:16:35 +0000 | [diff] [blame] | 1302 | * [JACKSON-165] Add JsonParser.getBooleanValue() convenience method |
| 1303 | (suggested by Benjamin Darfler) |
| 1304 | * [JACKSON-166] Add ability to control auto-detection of |
| 1305 | "is getters" (boolean isXxx()) methods separate from regular getters |
cowtowncoder | 7fe4bb5 | 2009-10-04 22:09:38 +0000 | [diff] [blame] | 1306 | * [JACKSON-168] Make JsonLocation serializable (and deserializable) |
cowtowncoder | 3a153a7 | 2009-10-31 02:11:28 +0000 | [diff] [blame] | 1307 | (suggested by Shay B) |
cowtowncoder | feb086f | 2009-10-28 04:10:52 +0000 | [diff] [blame] | 1308 | * [JACKSON-182] Improved handling of SerializationConfig.AUTO_DETECT_GETTERS |
| 1309 | with JAXB annotations (uses Jackson-specified default, not JAXB defaults) |
cowtowncoder | 8f5d8c7 | 2009-08-29 03:21:17 +0000 | [diff] [blame] | 1310 | |
cowtowncoder | ab98d6e | 2009-09-12 06:56:42 +0000 | [diff] [blame] | 1311 | New features: |
| 1312 | |
cowtowncoder | 58fa584 | 2009-10-07 06:41:36 +0000 | [diff] [blame] | 1313 | * [JACKSON-129] Allow constructing JsonParser to read from JsonNode |
| 1314 | (tree representation) |
cowtowncoder | ab98d6e | 2009-09-12 06:56:42 +0000 | [diff] [blame] | 1315 | * [JACKSON-154] Added JsonDeserialize.keyUsing and .contentUsing, |
| 1316 | to allow for overriding key and content/value deserializers for |
| 1317 | properties of structured (array, Collection, Map) types |
cowtowncoder | 48f7ad8 | 2009-10-30 07:04:45 +0000 | [diff] [blame] | 1318 | * [JACKSON-159] Added 'org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider' |
| 1319 | to improve use of Jackson as JSON converter for JAX-RS services. |
cowtowncoder | a13ae23 | 2009-10-11 06:27:34 +0000 | [diff] [blame] | 1320 | * [JACKSON-173] Add "JsonParser.Feature.ALLOW_SINGLE_QUOTES" to |
| 1321 | handle some more invalid JSON content |
cowtowncoder | 3a153a7 | 2009-10-31 02:11:28 +0000 | [diff] [blame] | 1322 | (requested by Brian M) |
cowtowncoder | ae4bfc7 | 2009-10-17 18:31:38 +0000 | [diff] [blame] | 1323 | * [JACKSON-174] Add "ObjectMapper.convertValue()" convenience method |
| 1324 | for simple Object-to-Object conversions, using Jackson's data binding |
| 1325 | functionality |
cowtowncoder | 2f4a50b | 2009-10-26 02:41:54 +0000 | [diff] [blame] | 1326 | * [JACKSON-176] Added 'JsonGenerator.Feature.WRITE_NUMBER_AS_STRINGS' |
| 1327 | as a work-around for Javascript problems with big longs (due to |
| 1328 | always representing numbers as 64-bit doubles internally) |
| 1329 | (requested by Doug D) |
cowtowncoder | 51c0897 | 2009-10-24 07:23:52 +0000 | [diff] [blame] | 1330 | * [JACKSON-180] Added 'JsonParser.Feature.INTERN_FIELD_NAMES' to allow |
| 1331 | disabling field name intern()ing. |
cowtowncoder | 3a153a7 | 2009-10-31 02:11:28 +0000 | [diff] [blame] | 1332 | (suggested by Jeff Y) |
cowtowncoder | c9364d6 | 2009-10-24 06:10:15 +0000 | [diff] [blame] | 1333 | * [JACKSON-181] Added convenience methods in TypeFactory to allow |
| 1334 | dynamically constructed fully typed structured types (map, collection |
| 1335 | array types), similar to using TypeReference but without inner classes |
cowtowncoder | d5fe507 | 2009-10-11 00:14:09 +0000 | [diff] [blame] | 1336 | * Added method in AnnotationIntrospector to find declared namespace |
| 1337 | for JAXB annotations, needed for XML compatibility (future features) |
cowtowncoder | ab98d6e | 2009-09-12 06:56:42 +0000 | [diff] [blame] | 1338 | |
cowtowncoder | c1a6ea9 | 2009-10-18 04:17:07 +0000 | [diff] [blame] | 1339 | Other: |
| 1340 | |
| 1341 | * Removed obsolete class 'org.codehaus.jackson.map.type.TypeReference' |
| 1342 | (obsoleted by 'org.codehaus.jackson.type.TypeReference) -- was supposed |
| 1343 | to have been removed by 1.0 but had not been. |
cowtowncoder | be07693 | 2009-10-21 03:09:37 +0000 | [diff] [blame] | 1344 | * Added support to handle 'java.util.regex.Pattern' |
cowtowncoder | c1a6ea9 | 2009-10-18 04:17:07 +0000 | [diff] [blame] | 1345 | |
cowtowncoder | a5021a4 | 2009-11-03 06:33:14 +0000 | [diff] [blame] | 1346 | 1.2.1 [03-Oct-2009] |
| 1347 | |
| 1348 | Problems fixed: |
| 1349 | |
| 1350 | * [JACKSON-162] OSGi packaging problems for xc package. |
| 1351 | (reported by Troy Waldrep) |
| 1352 | * [JACKSON-171] Self-referential types cause infinite recursion when |
| 1353 | using only JAXB annotation introspector |
| 1354 | (reported by Randy L) |
cowtowncoder | 641f594 | 2009-08-23 19:24:30 +0000 | [diff] [blame] | 1355 | |
| 1356 | 1.2.0 [02-Aug-2009] |
cowtowncoder | 69a78d2 | 2009-05-23 01:55:23 +0000 | [diff] [blame] | 1357 | |
cowtowncoder | f060fc6 | 2009-06-29 00:45:12 +0000 | [diff] [blame] | 1358 | Improvements: |
| 1359 | |
cowtowncoder | 92ecc03 | 2009-07-07 20:55:58 +0000 | [diff] [blame] | 1360 | * Added "-use" flag for generating javadocs |
| 1361 | (suggested by Dain S) |
| 1362 | * [JACKSON-136] JsonParser and JsonGenerator should implement |
| 1363 | java.io.Closeable (since they already have close() method) |
| 1364 | (suggested by Dain S) |
cowtowncoder | e87d991 | 2009-07-30 05:34:23 +0000 | [diff] [blame] | 1365 | * [JACKSON-148] Changed configuration methods to allow chaining, |
| 1366 | by returning 'this' (instead of 'void') |
cowtowncoder | 92ecc03 | 2009-07-07 20:55:58 +0000 | [diff] [blame] | 1367 | |
cowtowncoder | f060fc6 | 2009-06-29 00:45:12 +0000 | [diff] [blame] | 1368 | New features: |
| 1369 | |
cowtowncoder | c3f9e37 | 2009-07-27 05:49:48 +0000 | [diff] [blame] | 1370 | * [JACKSON-33] Allow use of "non-default constructors" and |
| 1371 | multiple-argument factory methods for constructing beans to |
| 1372 | deserialize |
cowtowncoder | 5db34e4 | 2009-08-02 03:59:50 +0000 | [diff] [blame] | 1373 | * [JACKSON-69] Support parsing non-standard JSON where Object keys are not quoted |
cowtowncoder | 4c95521 | 2009-07-16 06:50:44 +0000 | [diff] [blame] | 1374 | * [JACKSON-76] Mix-in annotations: allow dynamic attachment of |
| 1375 | annotations to existing classes, for purposes of configuring |
| 1376 | serialization/deserialization behavior |
cowtowncoder | 696b4f0 | 2009-07-09 05:29:55 +0000 | [diff] [blame] | 1377 | * [JACKSON-92] Allow use of @JsonCreator for constructors and |
| 1378 | static methods that take a single deserializable type as argument |
| 1379 | (so-called delegating creators) |
cowtowncoder | 754c79d | 2009-06-29 02:44:50 +0000 | [diff] [blame] | 1380 | * [JACKSON-114] Add feature and annotations to make serialization use |
| 1381 | static (declared) type over concrete (actual/runtime) type |
cowtowncoder | f060fc6 | 2009-06-29 00:45:12 +0000 | [diff] [blame] | 1382 | * [JACKSON-131] Allow constructing and passing of non-shared |
| 1383 | SerializationConfig/DeserializationConfig instances to ObjectMapper |
cowtowncoder | 2ac29b0 | 2009-06-30 06:07:09 +0000 | [diff] [blame] | 1384 | * [JACKSON-135] Add basic JsonNode construction support in ObjectMapper |
cowtowncoder | 7876b4e | 2009-07-29 06:17:27 +0000 | [diff] [blame] | 1385 | * [JACKSON-147] Add global deserialization feature for suppressing error |
| 1386 | reporting for unknown properties |
cowtowncoder | e87d991 | 2009-07-30 05:34:23 +0000 | [diff] [blame] | 1387 | * [JACKSON-149] Add ser/deser features |
| 1388 | (DeserializationConfig.Feature.USE_ANNOTATIONS, |
| 1389 | SerializationConfig.Feature.USE_ANNOTATIONS) to allow disabling |
| 1390 | use of annotations for serialization and/or deserialization config |
cowtowncoder | f060fc6 | 2009-06-29 00:45:12 +0000 | [diff] [blame] | 1391 | |
cowtowncoder | a588562 | 2009-08-01 06:39:22 +0000 | [diff] [blame] | 1392 | 1.1.2 [31-Jul-2009] |
| 1393 | |
| 1394 | Fixes: |
| 1395 | |
| 1396 | * [JACKSON-143] NPE on ArrayNode.equals() when comparing empty array |
| 1397 | node to non-empty array node |
| 1398 | (reported by Gregory G) |
| 1399 | * [JACKSON-144] Static "getter-like" methods mistaken for getters (for |
| 1400 | serialization) |
| 1401 | (reported by Dan S) |
| 1402 | |
cowtowncoder | c4af0bd | 2009-07-20 05:03:27 +0000 | [diff] [blame] | 1403 | 1.1.1 [18-Jul-2009] |
| 1404 | |
| 1405 | Fixes: |
| 1406 | |
| 1407 | * [JACKSON-139] Non-numeric double values (NaN, Infinity) are serialized |
| 1408 | as invalid JSON tokens |
| 1409 | (reported by Peter H) |
| 1410 | * Core jar incorrectly included much of "mapper" classes (in addition |
| 1411 | to core classes) |
| 1412 | * Now compiles again using JDK 1.5 javac (1.1.0 didn't) |
| 1413 | |
cowtowncoder | f060fc6 | 2009-06-29 00:45:12 +0000 | [diff] [blame] | 1414 | 1.1.0 [22-Jun-2009] |
| 1415 | |
| 1416 | Fixes: |
| 1417 | |
cowtowncoder | 7aecca1 | 2009-06-17 06:08:47 +0000 | [diff] [blame] | 1418 | * [JACKSON-109] Allow deserializing into generics Bean classes |
| 1419 | (like Wrapper<Bean>) not just generic Maps and Collections |
cowtowncoder | 69a78d2 | 2009-05-23 01:55:23 +0000 | [diff] [blame] | 1420 | * [JACKSON-121] Problems deserializing Date values of some ISO-8601 |
| 1421 | variants (like one using 'Z' to indicate GMT timezone) |
cowtowncoder | 4ec4b3f | 2009-06-13 03:08:37 +0000 | [diff] [blame] | 1422 | * [JACKSON-122] Annotated serializers and deserializers had to |
| 1423 | be public classes with public default constructor; not any more. |
cowtowncoder | 69a78d2 | 2009-05-23 01:55:23 +0000 | [diff] [blame] | 1424 | |
cowtowncoder | 8faf5fa | 2009-05-20 06:00:46 +0000 | [diff] [blame] | 1425 | Improvements: |
cowtowncoder | f86628d | 2009-05-24 02:11:40 +0000 | [diff] [blame] | 1426 | |
cowtowncoder | 07c8e08 | 2009-06-11 04:22:05 +0000 | [diff] [blame] | 1427 | * [JACKSON-111] Added "jackson-xc" jar to contains XML Compatibility |
| 1428 | extensions. |
| 1429 | |
cowtowncoder | f24d39b | 2009-05-21 05:23:29 +0000 | [diff] [blame] | 1430 | New features: |
cowtowncoder | 8faf5fa | 2009-05-20 06:00:46 +0000 | [diff] [blame] | 1431 | |
cowtowncoder | 3d90638 | 2009-06-02 22:10:51 +0000 | [diff] [blame] | 1432 | * [JACKSON-70] Add support for generating JSON Schema |
cowtowncoder | 93dc7eb | 2009-06-10 06:25:12 +0000 | [diff] [blame] | 1433 | * [JACKSON-98] Allow serializing/deserializing field-accessible properties, |
| 1434 | in addition to method-accessible ones. |
cowtowncoder | c5e4225 | 2009-05-27 06:42:40 +0000 | [diff] [blame] | 1435 | * [JACKSON-105] Allow suppressing output of "default values"; which |
| 1436 | means value of a property when bean is constructed using the default |
| 1437 | no-arg constructor |
| 1438 | (requested by Christoph S) |
cowtowncoder | 86f6b32 | 2009-05-28 23:27:59 +0000 | [diff] [blame] | 1439 | * [JACKSON-119] Add (optional) support for using JAXB annotations |
| 1440 | (by using JaxbAnnotationIntrospector) |
| 1441 | (requested by Ryan H) |
cowtowncoder | f86628d | 2009-05-24 02:11:40 +0000 | [diff] [blame] | 1442 | * [JACKSON-120] Add annotations @JsonSerialize, @JsonDeserialize, |
| 1443 | to streamline annotation by replacing host of existing annotations. |
cowtowncoder | 966e396 | 2009-06-15 05:02:41 +0000 | [diff] [blame] | 1444 | * [JACKSON-123] Add "chaining" AnnotationIntrospector (implemented |
| 1445 | as inner class, AnnotationIntrospector.Pair) that allows combining |
| 1446 | functionality of 2 introspectors. |
cowtowncoder | f86628d | 2009-05-24 02:11:40 +0000 | [diff] [blame] | 1447 | |
cowtowncoder | c4af0bd | 2009-07-20 05:03:27 +0000 | [diff] [blame] | 1448 | 1.0.1 [04-Jun-2009] |
| 1449 | |
| 1450 | Fixes: |
| 1451 | |
| 1452 | * [JACKSON-104] Build fails on JDK 1.5, assorted other minor issues |
| 1453 | (reported by Oleksander A) |
| 1454 | * [JACKSON-121] Problems deserializing Date values of some ISO-8601 |
| 1455 | variants (like one using 'Z' to indicate GMT timezone) |
| 1456 | |
cowtowncoder | 30ad7e4 | 2009-05-12 01:00:00 +0000 | [diff] [blame] | 1457 | 1.0.0 [09-May-2009] |
cowtowncoder | c0ae540 | 2009-05-06 20:58:03 +0000 | [diff] [blame] | 1458 | |
cowtowncoder | cbfb6ab | 2009-05-01 06:29:51 +0000 | [diff] [blame] | 1459 | Fixes: |
| 1460 | |
| 1461 | * [JACKSON-103] Serializing Groovy objects; need to exclude getter method |
| 1462 | "getMetaClass" from serialization to prevent infinite recursion |
| 1463 | (reported by Ray T) |
cowtowncoder | cbfb6ab | 2009-05-01 06:29:51 +0000 | [diff] [blame] | 1464 | |
cowtowncoder | 30ad7e4 | 2009-05-12 01:00:00 +0000 | [diff] [blame] | 1465 | Improvements: |
cowtowncoder | cbfb6ab | 2009-05-01 06:29:51 +0000 | [diff] [blame] | 1466 | |
cowtowncoder | 30ad7e4 | 2009-05-12 01:00:00 +0000 | [diff] [blame] | 1467 | * Removed JAX-RS META-INF/services - based auto-registration for |
| 1468 | JAX-RS MessageBodyReader/MessageBodyWriter, because it could |
| 1469 | conflict with other application/json content handlers. |
cowtowncoder | cbfb6ab | 2009-05-01 06:29:51 +0000 | [diff] [blame] | 1470 | |
cowtowncoder | 30ad7e4 | 2009-05-12 01:00:00 +0000 | [diff] [blame] | 1471 | 0.9.9-6 [27-Apr-2009] |
cowtowncoder | cbfb6ab | 2009-05-01 06:29:51 +0000 | [diff] [blame] | 1472 | |
cowtowncoder | 63bbd5c | 2009-04-28 06:05:15 +0000 | [diff] [blame] | 1473 | Improvements: |
| 1474 | |
| 1475 | * Improved jax-rs provider integration with jersey; now properly |
| 1476 | auto-registers as handler for json media type(s), and allows |
| 1477 | for defining custom ObjectMapper to be injected. |
| 1478 | |
cowtowncoder | 63bbd5c | 2009-04-28 06:05:15 +0000 | [diff] [blame] | 1479 | 0.9.9-5 [20-Apr-2009] |
cowtowncoder | 64472f8 | 2009-02-04 22:58:57 +0000 | [diff] [blame] | 1480 | |
cowtowncoder | 13685d9 | 2009-04-19 05:55:33 +0000 | [diff] [blame] | 1481 | New features: |
| 1482 | |
| 1483 | * [JACKSON-88]: Support for "Setter-less" collection (and Map) types |
| 1484 | |
cowtowncoder | 962fbd2 | 2009-04-18 05:34:51 +0000 | [diff] [blame] | 1485 | Improvements: |
| 1486 | |
cowtowncoder | 9e217a3 | 2009-04-18 06:37:08 +0000 | [diff] [blame] | 1487 | * [JACKSON-100]: Allow specifying that BigInteger should be used instead |
| 1488 | of Integer or Long for "generic" integral numeric types (Object, Number) |
| 1489 | (DeserializationConfig.Feature.USE_BIG_INTEGER_FOR_INTS) |
cowtowncoder | 962fbd2 | 2009-04-18 05:34:51 +0000 | [diff] [blame] | 1490 | * [JACKSON-101]: Allow disabling of access modifier overrides |
| 1491 | (SerializationgConfig.Feature.CAN_OVERRIDE_ACCESS_MODIFIERS) |
| 1492 | to support more security-constrainted running environments. |
| 1493 | |
cowtowncoder | 962fbd2 | 2009-04-18 05:34:51 +0000 | [diff] [blame] | 1494 | 0.9.9-4 [14-Apr-2009] |
| 1495 | |
cowtowncoder | 685be08 | 2009-04-03 21:49:26 +0000 | [diff] [blame] | 1496 | Fixes: |
| 1497 | |
| 1498 | * [JACKSON-94] Added missing "JsonParser.readValueAsTree()" method. |
cowtowncoder | a90bc03 | 2009-04-06 19:19:34 +0000 | [diff] [blame] | 1499 | * JacksonJsonProvider was using strict equality comparison against |
cowtowncoder | 6979ab3 | 2009-04-07 18:53:26 +0000 | [diff] [blame] | 1500 | JSON type; instead needs to use "isCompatible". There were other |
| 1501 | similar problems |
| 1502 | (reported by Stephen D) |
cowtowncoder | e349e9c | 2009-04-07 20:47:48 +0000 | [diff] [blame] | 1503 | * [JACKSON-97] Generic types (with bound wildcards) caused problems |
cowtowncoder | 6979ab3 | 2009-04-07 18:53:26 +0000 | [diff] [blame] | 1504 | when Class introspector could not figure out that a concrete method |
cowtowncoder | e349e9c | 2009-04-07 20:47:48 +0000 | [diff] [blame] | 1505 | was overriding/implementing generic method; as well as having |
| 1506 | problems with synthetic bridge methods. |
cowtowncoder | 685be08 | 2009-04-03 21:49:26 +0000 | [diff] [blame] | 1507 | |
cowtowncoder | 713a2f9 | 2009-04-08 06:07:20 +0000 | [diff] [blame] | 1508 | Improvements: |
| 1509 | |
| 1510 | * [JACKSON-95] Added support for deserializing simple exceptions |
| 1511 | (Throwable and its sub-classes): anything with a String constructor |
| 1512 | (assumed to take "message") should work to some degree. |
cowtowncoder | 30f197c | 2009-04-15 05:03:55 +0000 | [diff] [blame] | 1513 | * [JACKSON-99] IOExceptions should not be wrapped during object |
cowtowncoder | 8030548 | 2009-04-13 04:53:04 +0000 | [diff] [blame] | 1514 | mapping. |
| 1515 | (reported by Eldar A) |
cowtowncoder | 713a2f9 | 2009-04-08 06:07:20 +0000 | [diff] [blame] | 1516 | |
cowtowncoder | 685be08 | 2009-04-03 21:49:26 +0000 | [diff] [blame] | 1517 | New features: |
cowtowncoder | 73e6189 | 2009-04-03 21:37:07 +0000 | [diff] [blame] | 1518 | |
cowtowncoder | 5b5cf63 | 2009-04-04 06:49:33 +0000 | [diff] [blame] | 1519 | * [JACKSON-85]: Make Date deserialization (more) configurable (add |
| 1520 | DeserializationConfig.setDateFormat()) |
cowtowncoder | 713a2f9 | 2009-04-08 06:07:20 +0000 | [diff] [blame] | 1521 | * [JACKSON-93]: Allow overriding the default ClassIntrospector. |
cowtowncoder | e349e9c | 2009-04-07 20:47:48 +0000 | [diff] [blame] | 1522 | * [JACKSON-96]: Allow enabling pretty-printing with data binding, |
| 1523 | through SerializationConfig object. |
cowtowncoder | 5b5cf63 | 2009-04-04 06:49:33 +0000 | [diff] [blame] | 1524 | |
cowtowncoder | 73e6189 | 2009-04-03 21:37:07 +0000 | [diff] [blame] | 1525 | 0.9.9-3 [03-Apr-2009] |
| 1526 | |
cowtowncoder | be4efa3 | 2009-02-19 06:26:45 +0000 | [diff] [blame] | 1527 | Fixes: |
| 1528 | |
cowtowncoder | 2ce26af | 2009-03-25 23:21:24 +0000 | [diff] [blame] | 1529 | * [JACKSON-79]: Primitive value deserialization fragile wrt nulls |
| 1530 | * [JACKSON-81]: Data binding code could lead to unnecessary blocking |
| 1531 | because it tried to advance parser (and stream) after binding |
| 1532 | (reported by Eldar A) |
| 1533 | |
cowtowncoder | 2dcb3f4 | 2009-03-20 06:23:00 +0000 | [diff] [blame] | 1534 | New features: |
| 1535 | |
| 1536 | * [JACKSON-61]: Allow suppressing writing of bean properties with null values |
| 1537 | (requested by Justin F) |
cowtowncoder | b4b8b45 | 2009-04-01 05:21:14 +0000 | [diff] [blame] | 1538 | * [JACKSON-63]: Create CustomDeserializerFactory to allow for adding |
| 1539 | custom deserializers for non-structured/generic types. |
cowtowncoder | 8a349d6 | 2009-03-24 03:20:34 +0000 | [diff] [blame] | 1540 | * [JACKSON-75]: Add "any setter" method; ability to catch otherwise |
| 1541 | unknown (unmapped) properties and call a method with name+value. |
cowtowncoder | 4d9d4ef | 2009-04-01 22:51:22 +0000 | [diff] [blame] | 1542 | * [JACKSON-80]: Add @JsonValue annotation, to specify that a Bean value |
| 1543 | is to be serialized as value returned by annotated method: can for |
| 1544 | example annotate "toString()" method. |
cowtowncoder | 49593ad | 2009-03-25 19:41:40 +0000 | [diff] [blame] | 1545 | * [JACKSON-84]: Added JsonGenerator.writeRawValue methods to augment |
| 1546 | existing JsonGenerator.writeRaw() method |
| 1547 | (requested by Scott A) |
cowtowncoder | 7ee4955 | 2009-03-26 23:37:26 +0000 | [diff] [blame] | 1548 | * [JACKSON-86]: Added JsonParser.isClosed() and JsonGenerator.isClosed() |
| 1549 | methods. |
cowtowncoder | 061684d | 2009-03-28 07:12:55 +0000 | [diff] [blame] | 1550 | * [JACKSON-87]: Added ability to customized Date/Calendar serialization, |
| 1551 | both by toggling between timestamp (number) and textual (ISO-8601), |
| 1552 | and by specifying alternate DateFormat to use. |
cowtowncoder | 2dcb3f4 | 2009-03-20 06:23:00 +0000 | [diff] [blame] | 1553 | |
cowtowncoder | 2dcb3f4 | 2009-03-20 06:23:00 +0000 | [diff] [blame] | 1554 | 0.9.9-2 [19-Mar-2009]: |
| 1555 | |
| 1556 | Fixes: |
| 1557 | |
cowtowncoder | 8378280 | 2009-03-19 21:52:29 +0000 | [diff] [blame] | 1558 | * [JACKSON-75]: Didn't have Deserializer for Number.class. |
cowtowncoder | e969d1e | 2009-03-17 06:50:47 +0000 | [diff] [blame] | 1559 | |
cowtowncoder | 05573a3 | 2009-03-06 03:34:42 +0000 | [diff] [blame] | 1560 | Improvements: |
| 1561 | |
cowtowncoder | e27b2d9 | 2009-03-17 22:30:20 +0000 | [diff] [blame] | 1562 | * [JACKSON-68]: Add DeserializationProblemListener, and |
| 1563 | DeserializationConfig.addHandler to add instances to ObjectMapper. |
cowtowncoder | 05573a3 | 2009-03-06 03:34:42 +0000 | [diff] [blame] | 1564 | * [JACKSON-71]: Add support ser/deser of Class.class. |
cowtowncoder | 638db53 | 2009-03-17 23:51:58 +0000 | [diff] [blame] | 1565 | * [JACKSON-72]: Allow specifying that BigDecimal should be used instead |
| 1566 | of Double for "generic" numeric types (Object, Number) |
cowtowncoder | 9e217a3 | 2009-04-18 06:37:08 +0000 | [diff] [blame] | 1567 | (DeserializationConfig.Feature.USE_BIG_DECIMAL_FOR_FLOATS) |
cowtowncoder | 7b5527e | 2009-03-14 06:14:23 +0000 | [diff] [blame] | 1568 | * [JACKSON-73]: Refactored ser/deser configuration settings into |
| 1569 | separate configuration classes. |
cowtowncoder | 7f97b4f | 2009-03-19 20:34:02 +0000 | [diff] [blame] | 1570 | * [JACKSON-78]: Should be able to deserialize ints into Booleans (0 == false) |
cowtowncoder | 05573a3 | 2009-03-06 03:34:42 +0000 | [diff] [blame] | 1571 | |
cowtowncoder | 4e0f1ca | 2009-03-09 05:00:32 +0000 | [diff] [blame] | 1572 | New features: |
| 1573 | |
| 1574 | * [JACKSON-45]: Add convenience methods to help writing custom |
| 1575 | serializers |
| 1576 | (requested by Scott A) |
| 1577 | |
cowtowncoder | 2dcb3f4 | 2009-03-20 06:23:00 +0000 | [diff] [blame] | 1578 | 0.9.9 [02-Mar-2009]: |
cowtowncoder | 05573a3 | 2009-03-06 03:34:42 +0000 | [diff] [blame] | 1579 | |
| 1580 | Fixes: |
| 1581 | |
cowtowncoder | be4efa3 | 2009-02-19 06:26:45 +0000 | [diff] [blame] | 1582 | * [JACKSON-59]: NPE with String[] serializer |
| 1583 | (reported by Kevin G) |
cowtowncoder | 3f1dee8 | 2009-02-19 20:11:55 +0000 | [diff] [blame] | 1584 | * [JACKSON-62]: NPE with JsonMappingException if source exception used |
| 1585 | null message. |
| 1586 | (reported by Justin F) |
cowtowncoder | f4d18c7 | 2009-02-27 06:57:32 +0000 | [diff] [blame] | 1587 | * [JACKSON-64]: Handling of property name (with @JsonGetter, @JsonSetter) |
| 1588 | made bit more intuitive; uses bean naming convention if no explicit |
| 1589 | name given. |
cowtowncoder | be4efa3 | 2009-02-19 06:26:45 +0000 | [diff] [blame] | 1590 | |
cowtowncoder | 4a5d5fd | 2009-02-27 23:07:54 +0000 | [diff] [blame] | 1591 | Improvements: |
| 1592 | |
| 1593 | * [JACKSON-60]: Method annotations did not follow intuitive expectations |
| 1594 | of inheritability; now do. |
| 1595 | * [JACKSON-65]: Need to support typing using "java.lang.reflect.Type", to |
| 1596 | help integration with frameworks. |
cowtowncoder | 889d5ab | 2009-02-28 07:28:24 +0000 | [diff] [blame] | 1597 | * [JACKSON-66]: ObjectMapper now has "canSerialize" and "canDeserialize" |
| 1598 | methods to help frameworks figure out what is supported. |
cowtowncoder | 4a5d5fd | 2009-02-27 23:07:54 +0000 | [diff] [blame] | 1599 | |
cowtowncoder | e12853f | 2009-02-17 07:11:21 +0000 | [diff] [blame] | 1600 | New features: |
| 1601 | |
cowtowncoder | 65148ec | 2009-02-25 23:16:28 +0000 | [diff] [blame] | 1602 | * [JACKSON-52]: Allow disabling name-based auto-detection of |
| 1603 | getter methods |
| 1604 | (requested by Justin F) |
cowtowncoder | 3de7eaf | 2009-02-19 07:14:00 +0000 | [diff] [blame] | 1605 | * [JACKSON-58]: Allow defining custom global Enum serializer |
| 1606 | (to, for example, make Enums be serialized using Enum.toString(), |
| 1607 | or lower-case name or such) |
cowtowncoder | e0a3f24 | 2009-03-02 18:43:09 +0000 | [diff] [blame] | 1608 | * [JACKSON-67]: Add JAX-RS provider based on Jackson that can handle |
| 1609 | JSON content type; initially as a separate jar. |
cowtowncoder | 3de7eaf | 2009-02-19 07:14:00 +0000 | [diff] [blame] | 1610 | |
cowtowncoder | 3a5b79b | 2009-02-25 23:19:52 +0000 | [diff] [blame] | 1611 | Other: |
| 1612 | |
| 1613 | * [JACKSON-22]: all contributors now have submitted contributor |
| 1614 | agreement, stored under 'DEV/agreements-received' in svn trunk. |
| 1615 | |
cowtowncoder | 3de7eaf | 2009-02-19 07:14:00 +0000 | [diff] [blame] | 1616 | 0.9.8 [18-Feb-2009]: |
| 1617 | |
| 1618 | Fixes: |
| 1619 | |
| 1620 | * [JACKSON-49]: Incorrect bounds check for Float values resulted in |
| 1621 | exception when trying to serializer 0.0f. |
| 1622 | |
| 1623 | New features: |
| 1624 | |
cowtowncoder | 0383371 | 2009-02-17 07:14:18 +0000 | [diff] [blame] | 1625 | * [JACKSON-32]: add annotations to configure serialization process |
| 1626 | (@JsonClass/@JsonContentClass/@JsonKeyClass; @JsonUseSerializer, |
| 1627 | @JsonUseDeserializer, @JsonIgnore) |
cowtowncoder | e12853f | 2009-02-17 07:11:21 +0000 | [diff] [blame] | 1628 | * [JACKSON-36]: add annotations to define property names that differ |
| 1629 | from bean naming convention (@JsonGetter/@JsonSetter) |
| 1630 | |
cowtowncoder | cd6a959 | 2009-02-17 07:06:04 +0000 | [diff] [blame] | 1631 | Improvements: |
| 1632 | |
cowtowncoder | 64472f8 | 2009-02-04 22:58:57 +0000 | [diff] [blame] | 1633 | * [JACKSON-47]: Change DeserializerProvider.findValueDeserializer to |
| 1634 | take "referrer" information. This is needed to be able to give |
| 1635 | contextual mappings where a given type may be deserialized differently |
| 1636 | (by different deserializer, and possibly to a different java class) |
| 1637 | depending on where the reference is from. |
cowtowncoder | 5ec1545 | 2009-02-17 05:56:37 +0000 | [diff] [blame] | 1638 | * [JACKSON-48]: Integrate ObjectMapper with JsonGenerator, JsonParser; |
| 1639 | add MappingJsonFactory. |
| 1640 | (suggested by Scott A) |
cowtowncoder | e34beeb | 2009-02-10 23:30:17 +0000 | [diff] [blame] | 1641 | * [JACKSON-50]: JsonNode.getElements() and .iterator() now work for |
| 1642 | ObjectNodes too, not just ArrayNodes. Also added convenience factory |
| 1643 | methods to allow constructing child nodes directly from container |
| 1644 | nodes. |
cowtowncoder | e7179c3 | 2009-02-16 21:39:51 +0000 | [diff] [blame] | 1645 | * [JACKSON-53]: iBatis proxied value classes didn't work; fixed by |
| 1646 | prevent CGLib-generated "getCallbacks" from getting called. |
| 1647 | (reportd by Justin F) |
cowtowncoder | 38f869f | 2009-02-16 19:51:53 +0000 | [diff] [blame] | 1648 | * [JACKSON-55]: Added support for reference-path-tracking in |
| 1649 | JsonMappingException, made serializers populate it: this to make |
| 1650 | it easier to trouble-shoot nested serialization problems |
cowtowncoder | af00478 | 2009-02-16 23:18:08 +0000 | [diff] [blame] | 1651 | * [JACKSON-56]: Added support for RFC-1123 date format, along with |
| 1652 | simpler "standard" format; and can add more as need be. |
cowtowncoder | 64472f8 | 2009-02-04 22:58:57 +0000 | [diff] [blame] | 1653 | |
cowtowncoder | 64472f8 | 2009-02-04 22:58:57 +0000 | [diff] [blame] | 1654 | 0.9.7 [04-Feb-2009]: |
cowtowncoder | 6fe4438 | 2009-01-14 06:49:09 +0000 | [diff] [blame] | 1655 | |
cowtowncoder | b4421f8 | 2009-01-21 18:42:38 +0000 | [diff] [blame] | 1656 | Improvements: |
| 1657 | |
| 1658 | * [JACKSON-34]: Improved packaging by adding an intermediate directory |
| 1659 | in source tarball, to not mess up the current directory (and to indicate |
| 1660 | version number as well) |
cowtowncoder | 1795e0a | 2009-01-26 23:18:50 +0000 | [diff] [blame] | 1661 | * [JACKSON-37]: Make Jackson run on Android, by ensuring that there are |
| 1662 | no hard linkages to classes that Android SDK doesn't have (the only |
| 1663 | reference that was there, to XMLGregorianCalendar, was changed to |
| 1664 | soft linkage) |
| 1665 | * [JACKSON-42]: Add new JsonNode sub-class, BinaryNode, to represent |
| 1666 | base64 encoded binary content. |
cowtowncoder | b4421f8 | 2009-01-21 18:42:38 +0000 | [diff] [blame] | 1667 | |
cowtowncoder | 3dbde60 | 2009-01-23 00:07:32 +0000 | [diff] [blame] | 1668 | New features: |
| 1669 | |
cowtowncoder | c9e2321 | 2009-01-24 00:44:03 +0000 | [diff] [blame] | 1670 | * [JACKSON-6]: Implement JsonParser.getBinaryValue() so that one can |
| 1671 | now also read Base64-encoded binary, not just write. |
cowtowncoder | 3dbde60 | 2009-01-23 00:07:32 +0000 | [diff] [blame] | 1672 | * [JACKSON-40]: Add JsonParser.nextValue() for more convenient |
| 1673 | iteration. |
cowtowncoder | 21ad15d | 2009-02-04 21:37:26 +0000 | [diff] [blame] | 1674 | * [JACKSON-46]: Allow disabling quoting of field names by disabling |
| 1675 | feature 'JsonGenerator.feature.QUOTE_FIELD_NAMES' |
| 1676 | (requested by Scott Anderson) |
cowtowncoder | 3dbde60 | 2009-01-23 00:07:32 +0000 | [diff] [blame] | 1677 | |
cowtowncoder | b4421f8 | 2009-01-21 18:42:38 +0000 | [diff] [blame] | 1678 | 0.9.6 [14-Jan-2009]: |
cowtowncoder | e3e40b0 | 2008-04-25 05:30:01 +0000 | [diff] [blame] | 1679 | |
| 1680 | Bug fixes: |
| 1681 | |
cowtowncoder | 9dfa690 | 2009-01-05 21:56:12 +0000 | [diff] [blame] | 1682 | * Serialization of some core types (boolean/java.lang.Boolean, |
| 1683 | long/java.lang.Long) was not working due to incorrectly mapped |
| 1684 | serializers. |
| 1685 | |
cowtowncoder | 336017c | 2009-01-14 00:08:19 +0000 | [diff] [blame] | 1686 | New features: |
| 1687 | |
| 1688 | * [JACKSON-31]: Complete rewrite of ObjectMapper's deserialization: |
cowtowncoder | 636c2ab | 2009-01-15 05:47:12 +0000 | [diff] [blame] | 1689 | now supports Beans, typed (generics-aware) Lists/Maps/arrays. |
cowtowncoder | 336017c | 2009-01-14 00:08:19 +0000 | [diff] [blame] | 1690 | |
cowtowncoder | 9dfa690 | 2009-01-05 21:56:12 +0000 | [diff] [blame] | 1691 | Improvements: |
| 1692 | |
cowtowncoder | c8cf6ad | 2009-01-14 23:52:52 +0000 | [diff] [blame] | 1693 | * [JACKSON-24]: Add efficient byte-array - based parser factory |
| 1694 | method to JsonFactory (has maybe 5% improvement over wrapping |
| 1695 | in ByteArrayInputStream). |
cowtowncoder | 6fe4438 | 2009-01-14 06:49:09 +0000 | [diff] [blame] | 1696 | * [JACKSON-29]: Split classes in 2 jars: core that has parser and |
| 1697 | generator APIs and implementations; and mapper jar that has object |
| 1698 | and tree mapper code. |
cowtowncoder | 9dfa690 | 2009-01-05 21:56:12 +0000 | [diff] [blame] | 1699 | * [JACKSON-30]: Renamed "JavaTypeMapper" as "ObjectMapper", and |
| 1700 | "JsonTypeMapper" as "TreeMapper"; new names should be more intuitive |
| 1701 | to indicate their purpose. Will leave simple implementations of |
| 1702 | old classes to allow for gradual migration of existing code. |
| 1703 | |
cowtowncoder | 9dfa690 | 2009-01-05 21:56:12 +0000 | [diff] [blame] | 1704 | 0.9.5 [10-Dec-2008]: |
| 1705 | |
| 1706 | Bug fixes: |
| 1707 | |
cowtowncoder | 9ec956e | 2008-12-03 17:40:31 +0000 | [diff] [blame] | 1708 | * [JACKSON-25]: Problems with Maven pom for lgpl version |
| 1709 | (report by Ray R) |
| 1710 | note: backported to 0.9.4 Codehaus Maven repo |
| 1711 | |
cowtowncoder | f1a91c5 | 2008-12-05 22:07:23 +0000 | [diff] [blame] | 1712 | Improvements: |
| 1713 | |
cowtowncoder | 819df72 | 2008-12-11 06:16:13 +0000 | [diff] [blame] | 1714 | * [JACKSON-13]: JavaTypeMapper can now take JsonFactory argument, and |
| 1715 | thus is able to construct JsonParser/JsonGenerator instances as necessary |
| 1716 | * [JACKSON-17]: Handling of unknown types now configurable with |
| 1717 | JavaTypeMapper serialization (see JsonSerializerProvider for methods) |
| 1718 | * [JACKSON-20]: Handling of nulls (key, value) configurable with |
| 1719 | JavaTypeMapper serialization (see JsonSerializerProvider for methods) |
cowtowncoder | f1a91c5 | 2008-12-05 22:07:23 +0000 | [diff] [blame] | 1720 | * [JACKSON-26]: Add convenience JsonGenerator.writeXxxField() methods |
| 1721 | to simplify json generation. |
| 1722 | |
| 1723 | New features: |
| 1724 | |
| 1725 | * [JACKSON-27]: Allow automatic closing of incomplete START_ARRAY and |
cowtowncoder | 16a9970 | 2008-12-13 04:31:37 +0000 | [diff] [blame] | 1726 | START_OBJECT events, when JsonGenerator.close() is called. |
cowtowncoder | f1a91c5 | 2008-12-05 22:07:23 +0000 | [diff] [blame] | 1727 | |
cowtowncoder | 3cedba5 | 2008-12-01 06:09:31 +0000 | [diff] [blame] | 1728 | 0.9.4 [26-Nov-2008]: |
| 1729 | |
| 1730 | Bug fixes: |
| 1731 | |
cowtowncoder | 0679f4c | 2008-11-26 19:43:53 +0000 | [diff] [blame] | 1732 | * [JACKSON-16]: JavaDocs regarding whether Jackson is to close underlying |
| 1733 | streams, readers and writers, were incorrect. Additionally added |
| 1734 | parser/generator features to allow specifying whether automatic closing |
| 1735 | is to be done by Jackson: feature is enabled by default, both for |
| 1736 | backwards compatibility, and because it seems like the right setting. |
cowtowncoder | 5cbf906 | 2008-10-21 06:31:58 +0000 | [diff] [blame] | 1737 | * [JACKSON-18]: ArrayIndexOutOfBounds on IntNode, due to off-by-one |
| 1738 | problem with comparisons |
| 1739 | (reported by Michael D) |
cowtowncoder | 0530d3e | 2008-11-25 19:33:25 +0000 | [diff] [blame] | 1740 | * Fixed a problem with CR (\r) handling; was sometimes skipping |
| 1741 | characters (problematic if there's no indentation). |
cowtowncoder | 5ed8bd8 | 2008-11-26 17:41:27 +0000 | [diff] [blame] | 1742 | * Multiple UTF-8 decoding fixes: was specifically not working for |
| 1743 | names. |
cowtowncoder | 5cbf906 | 2008-10-21 06:31:58 +0000 | [diff] [blame] | 1744 | |
cowtowncoder | 05cbbd2 | 2008-09-19 06:11:16 +0000 | [diff] [blame] | 1745 | Improvements: |
| 1746 | |
| 1747 | * More complete JavaDoc comments for core public classes. |
cowtowncoder | 0530d3e | 2008-11-25 19:33:25 +0000 | [diff] [blame] | 1748 | * Internal cleanup of core parsing, to unify handling of Object and |
| 1749 | Array entries |
cowtowncoder | 05cbbd2 | 2008-09-19 06:11:16 +0000 | [diff] [blame] | 1750 | |
cowtowncoder | a7ec537 | 2009-12-11 07:19:35 +0000 | [diff] [blame] | 1751 | 0.8.0 - 0.9.3 [between 17-Oct-2007 and 05-Sep-2008]: |
cowtowncoder | ce3027a | 2008-11-21 20:30:25 +0000 | [diff] [blame] | 1752 | |
cowtowncoder | a7ec537 | 2009-12-11 07:19:35 +0000 | [diff] [blame] | 1753 | Changes: |
| 1754 | |
| 1755 | * [JACKSON-5]: Symbol table construction was not thread-safe for |
| 1756 | utf-8 encoded content (new bug with 0.9.2, not present with earlier) |
| 1757 | (reported by Tudor B) |
| 1758 | * [JACKSON-8]: Serialization of BigDecimal broken with JavaTypeMapper |
| 1759 | (reported by Johannes L) |
cowtowncoder | e6e65b4 | 2008-11-27 05:45:46 +0000 | [diff] [blame] | 1760 | * [JACKSON-9]: Add support for (non-standard) Json comments. |
| 1761 | (requested by Mike G) |
cowtowncoder | ce3027a | 2008-11-21 20:30:25 +0000 | [diff] [blame] | 1762 | * [JACKSON-11]: Implement base64/binary methods for json generator. |
cowtowncoder | a7ec537 | 2009-12-11 07:19:35 +0000 | [diff] [blame] | 1763 | * [JACKSON-14]: Problems with generic collections, serializer |
| 1764 | method signatures (due to lack of covariance wrt collection types) |
cowtowncoder | 5ed8bd8 | 2008-11-26 17:41:27 +0000 | [diff] [blame] | 1765 | * [JACKSON-15]: Add copy-through methods to JsonGenerator for |
| 1766 | pass-through copying of content (copyCurrentEvent, copyCurrentStructure) |
cowtowncoder | 19590b9 | 2008-11-21 20:54:14 +0000 | [diff] [blame] | 1767 | * [JACKSON-23]: Add OSGi manifest headers for jars (to run on OSGi container). |
cowtowncoder | 0679f4c | 2008-11-26 19:43:53 +0000 | [diff] [blame] | 1768 | * Added generic "feature" mechanism to parsers, writers; features are |
| 1769 | togglable (on/off) things with well-defined default values, implemented |
| 1770 | as Enums. |
cowtowncoder | ce3027a | 2008-11-21 20:30:25 +0000 | [diff] [blame] | 1771 | |
cowtowncoder | 569b5e8 | 2008-07-25 06:35:49 +0000 | [diff] [blame] | 1772 | * [JACKSON-1]: JsonNode now implements Iterable<JsonNode> so that |
| 1773 | it is possible use Java 5 foreach loop over array/object nodes. |
| 1774 | (suggested by Michael M) |
| 1775 | * [JACKSON-4] Added JsonParser.skipChildren() method. |
cowtowncoder | 15a0b02 | 2008-04-24 05:05:16 +0000 | [diff] [blame] | 1776 | * UTF-16/32 handling was not completely correct, was erroneously |
| 1777 | skipping first 2/4 bytes in some cases (even when no BOM included). |
| 1778 | Also, related unit tests added/fixed. |
cowtowncoder | ba36461 | 2008-03-24 05:59:43 +0000 | [diff] [blame] | 1779 | * JsonGenerator.useDefaultPrettyPrinter()/.setPrettyPrinter() |
| 1780 | allow for pretty printing (indentation). |
| 1781 | (thanks to Ziad M for suggestion, sample code) |
| 1782 | |
cowtowncoder | a7ec537 | 2009-12-11 07:19:35 +0000 | [diff] [blame] | 1783 | * Implicit conversions for numbers could sometimes lose accuracy, |
| 1784 | if floating-point number was first accessed as int/long, and then |
| 1785 | as a BigDecimal. |
| 1786 | * One Nasty NPE fixed from NameCanonicalizer (which was added in 0.9.2) |
cowtowncoder | ba36461 | 2008-03-24 05:59:43 +0000 | [diff] [blame] | 1787 | |
cowtowncoder | 314c483 | 2008-09-07 17:39:33 +0000 | [diff] [blame] | 1788 | * Java type mapper had a bug in Collection mapping (mismatched |
| 1789 | calls between writeStartArray and writeEndObject!) |
| 1790 | (reported by Mike E) |
| 1791 | * Java type mapper had a bug which prevented custom mappers (as |
| 1792 | well as slower interface-based introspection) from working. |
| 1793 | (reported by Mike E) |
| 1794 | * Numeric value parsing had some problems |
cowtowncoder | ba36461 | 2008-03-24 05:59:43 +0000 | [diff] [blame] | 1795 | * JavaTypeMapper and JsonTypeMapper had a bug which resulted |
| 1796 | in NullPointerException when stream ends, instead of returning |
| 1797 | null to indicate it. |
| 1798 | (reported by Augusto C) |
| 1799 | * JavaTypeMapper did not implicitly flush generator after mapping |
| 1800 | objects: it should, and now will (note: JsonTypeMapper not directly |
| 1801 | affected, flushing still needed) |
| 1802 | (suggested by Maciej P) |