cowtowncoder | e7ca32d | 2011-01-23 04:22:56 +0000 | [diff] [blame] | 1 | Version: 1.7.2 |
cowtowncoder | ba36461 | 2008-03-24 05:59:43 +0000 | [diff] [blame] | 2 | |
cowtowncoder | 4a5d5fd | 2009-02-27 23:07:54 +0000 | [diff] [blame] | 3 | Release date: |
cowtowncoder | e7ca32d | 2011-01-23 04:22:56 +0000 | [diff] [blame] | 4 | xx-Feb-2011 |
cowtowncoder | 4a5d5fd | 2009-02-27 23:07:54 +0000 | [diff] [blame] | 5 | |
cowtowncoder | ba36461 | 2008-03-24 05:59:43 +0000 | [diff] [blame] | 6 | Description: |
cowtowncoder | e7ca32d | 2011-01-23 04:22:56 +0000 | [diff] [blame] | 7 | Second patch release for 1.7. |
| 8 | |
| 9 | Fixes: |
| 10 | |
cowtowncoder | fd1dc70 | 2011-02-01 05:09:29 +0000 | [diff] [blame] | 11 | * [JACKSON-476] ContextualDeserializer handling not completely working |
| 12 | (reported by Sean P) |
| 13 | |
cowtowncoder | e7ca32d | 2011-01-23 04:22:56 +0000 | [diff] [blame] | 14 | (plus all fixes up to and including 1.6.5) |
| 15 | |
cowtowncoder | 1c6e6f9 | 2011-01-30 04:58:13 +0000 | [diff] [blame] | 16 | Improvements: |
| 17 | |
| 18 | * [JACKSON-474] Add ability to pass externally allocated buffer |
| 19 | for Utf8Generator |
| 20 | (suggested by David Y) |
| 21 | |
cowtowncoder | e7ca32d | 2011-01-23 04:22:56 +0000 | [diff] [blame] | 22 | ------------------------------------------------------------------------ |
| 23 | === History: === |
| 24 | ------------------------------------------------------------------------ |
| 25 | |
| 26 | 1.7.1 [12-Jan-2010] |
cowtowncoder | 815274a | 2011-01-10 22:22:55 +0000 | [diff] [blame] | 27 | |
| 28 | Fixes: |
| 29 | |
cowtowncoder | 088777c | 2011-01-11 00:52:51 +0000 | [diff] [blame] | 30 | * [JACKSON-456]: Type check issues with Jackson JAX-RS provider |
| 31 | (reported by Kirill S) |
cowtowncoder | 815274a | 2011-01-10 22:22:55 +0000 | [diff] [blame] | 32 | * [JACKSON-457]: Typo in Module method "getSeserializationConfig" ("bananana error"); renamed |
| 33 | as "getSerializationConfig" (version with old spelling retained as deprecated for compatibility) |
| 34 | (reported by Chris W) |
cowtowncoder | 43a4a1b | 2011-01-10 22:56:43 +0000 | [diff] [blame] | 35 | * [JACKSON-458]: Problems with ObjectMapper.convertValue(), TokenBuffer, SerializedString |
| 36 | (reported by Larry Y) |
cowtowncoder | 0ebfd59 | 2011-01-12 18:50:01 +0000 | [diff] [blame] | 37 | * [JACKSON-462]: Buffer overflow in Utf8Generator#writeFieldName(String) |
| 38 | (reported by Coda H) |
cowtowncoder | 815274a | 2011-01-10 22:22:55 +0000 | [diff] [blame] | 39 | |
cowtowncoder | 815274a | 2011-01-10 22:22:55 +0000 | [diff] [blame] | 40 | 1.7.0 [06-Jan-2010] |
cowtowncoder | 619ccf1 | 2010-10-08 04:44:14 +0000 | [diff] [blame] | 41 | |
cowtowncoder | 0bd7f84 | 2010-10-15 21:14:44 +0000 | [diff] [blame] | 42 | Fixes: |
cowtowncoder | 5e7a2a1 | 2010-09-23 06:05:32 +0000 | [diff] [blame] | 43 | |
cowtowncoder | ebc1b93 | 2010-11-03 21:32:22 +0000 | [diff] [blame] | 44 | * [JACKSON-356]: Type information not written for nested-generics root types |
| 45 | (reported by Alex R on mailing list) |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 46 | * [JACKSON-450] JAXB annotations chosen incorrectly from interface method |
| 47 | (instead of method definition in class), when serializing |
| 48 | (reported by Sean P) |
cowtowncoder | ebc1b93 | 2010-11-03 21:32:22 +0000 | [diff] [blame] | 49 | |
cowtowncoder | 0bd7f84 | 2010-10-15 21:14:44 +0000 | [diff] [blame] | 50 | Improvements: |
cowtowncoder | 619ccf1 | 2010-10-08 04:44:14 +0000 | [diff] [blame] | 51 | |
cowtowncoder | 96d290b | 2010-12-09 22:18:59 +0000 | [diff] [blame] | 52 | * [JACKSON-280]: Allow use of @JsonTypeInfo for properties (fields, methods) |
cowtowncoder | b042c44 | 2010-10-15 20:45:27 +0000 | [diff] [blame] | 53 | * [JACKSON-345]: Make BeanSerializer use SerializedString for even faster serialization |
cowtowncoder | 562eea4 | 2010-10-15 21:49:27 +0000 | [diff] [blame] | 54 | * [JACKSON-393]: Allow deserializing UUIDs from VALUE_EMBEDDED_OBJECT |
cowtowncoder | 114c7eb | 2010-10-27 03:37:50 +0000 | [diff] [blame] | 55 | * [JACKSON-399]: JAX-RS is not passing generic type information as root type |
| 56 | (reported by Kirill S) |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 57 | * [JACKSON-409] Add SmileGenerator.writeRaw(byte) |
| 58 | * [JACKSON-414] Add 'JsonNode.getValueAsBoolean()' (and 'JsonParser.getValueAsBoolean()') |
| 59 | (suggested by Tauren M) |
cowtowncoder | becc9a3 | 2010-12-03 19:16:49 +0000 | [diff] [blame] | 60 | * [JACKSON-419]: Add explicit support for handling 'java.util.Locale' |
| 61 | (suggested by Brian R) |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 62 | * [JACKSON-432]: Add 'ObjectMapper.enableDefaultTypingAsProperty()' to allow |
| 63 | specifying inclusion type 'As.PROPERTY' and property name to use |
cowtowncoder | 0815ba8 | 2010-12-17 19:42:36 +0000 | [diff] [blame] | 64 | (suggested by Peter L) |
cowtowncoder | 521f4f4 | 2010-12-13 20:00:40 +0000 | [diff] [blame] | 65 | * [JACKSON-434]: Add 'JsonGenerator.writeString(SerializableString)' |
cowtowncoder | 3ddd57e | 2010-12-16 22:47:32 +0000 | [diff] [blame] | 66 | * [JACKSON-438]: Wrap exceptions thrown by Creator methods as JsonMappingException |
| 67 | (suggested by Tim W) |
cowtowncoder | b042c44 | 2010-10-15 20:45:27 +0000 | [diff] [blame] | 68 | |
cowtowncoder | 0bd7f84 | 2010-10-15 21:14:44 +0000 | [diff] [blame] | 69 | New features: |
cowtowncoder | 619ccf1 | 2010-10-08 04:44:14 +0000 | [diff] [blame] | 70 | |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 71 | * [JACKSON-163] Add 'SerializationConfig.Feature.WRAP_ROOT_VALUE' which |
| 72 | allows wrapping of output within single-property JSON Object. |
| 73 | * [JACKSON-297] Add simple Module abstraction to allow pluggable support |
cowtowncoder | 3378a39 | 2010-11-27 17:43:57 +0000 | [diff] [blame] | 74 | tor third-party libraries, data types |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 75 | * [JACKSON-312] Add ability to dynamically filter out serialized properties |
| 76 | * [JACKSON-351]: Add @JsonRawValue for injecting literal textual |
cowtowncoder | b7c6ede | 2010-10-19 06:29:41 +0000 | [diff] [blame] | 77 | value into JSON |
cowtowncoder | 70b9d03 | 2010-12-04 23:58:53 +0000 | [diff] [blame] | 78 | (contributed by Ga�l Marziou) |
cowtowncoder | 3378a39 | 2010-11-27 17:43:57 +0000 | [diff] [blame] | 79 | * [JACKSON-369]: Allow registering custom Collection and Map deserializers |
| 80 | (implemented via 'org.codehaus.jackson.map.Deserializers') |
cowtowncoder | c02d3bd | 2010-12-18 00:01:32 +0000 | [diff] [blame] | 81 | * [JACKSON-385]: Support contextual serializers, deserializers; works by |
| 82 | implementing 'org.codehaus.jackson.map.ser.ContextualSerializer' or |
| 83 | 'org.codehaus.jackson.map.deser.ContextualDeserializer' |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 84 | * [JACKSON-401] Add features 'SerializationConfig.FLUSH_AFTER_WRITE_VALUE' |
| 85 | and 'JsonGenerator.FLUSH_PASSED_TO_STREAM' to allow blocking of flush() |
| 86 | calls to underlying output stream or writer |
| 87 | * [JACKSON-405]: Add command-line tool for manual Smile encoding/decoding |
cowtowncoder | d044bf3 | 2010-12-23 07:23:24 +0000 | [diff] [blame] | 88 | * [JACKSON-407]: Add features (SerializationConfig.Feature.WRAP_EXCEPTIONS, |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 89 | DeserializationConfig.Feature.WRAP_EXCEPTIONS) to disable exception wrapping |
cowtowncoder | 87e22e5 | 2010-12-03 22:32:38 +0000 | [diff] [blame] | 90 | * [JACKSON-412] Add 'DeserializationConfig.Feature.FAIL_ON_NUMBERS_FOR_ENUMS' |
| 91 | to optionally prevent mapping JSON integers into Java Enum values |
| 92 | (suggested by Patrick L) |
cowtowncoder | dfdca37 | 2010-12-03 20:52:31 +0000 | [diff] [blame] | 93 | * [JACKSON-420] Add 'DeserializationConfig.Feature.FAIL_ON_NULL_FOR_PRIMITIVES' |
| 94 | to optionally prevent JSON null from mapping to default value |
| 95 | (suggested by Thomas D) |
cowtowncoder | 3378a39 | 2010-11-27 17:43:57 +0000 | [diff] [blame] | 96 | * [JACKSON-421] Add ability to register multiple sets of serializers |
cowtowncoder | 59f1567 | 2010-12-08 20:21:26 +0000 | [diff] [blame] | 97 | without extending SerializerFactory (related to [JACKSON-297]) |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 98 | * [JACKSON-429] Add @JsonIgnoreType to allow ignoring any and all properties |
| 99 | of specified type; useful to exclude well-known proxy/facade/handler types |
| 100 | * [JACKSON-440] Add ability to process serializers, deserializers during their |
| 101 | construction (to allow adding, removing, modifying properties to handle) |
| 102 | * [JACKSON-448] Add 'JsonGenerator.writeString()' alternatives that accept |
| 103 | pre-encoded UTF-8 byte sequences (writeUTF8String() and writeRawUTF8String()) |
cowtowncoder | ff766d8 | 2010-12-29 03:15:37 +0000 | [diff] [blame] | 104 | (requested by Shay B) |
cowtowncoder | b7c6ede | 2010-10-19 06:29:41 +0000 | [diff] [blame] | 105 | |
cowtowncoder | ee4000b | 2011-01-07 04:59:22 +0000 | [diff] [blame] | 106 | Issues handled by new external projects: |
| 107 | |
| 108 | * [JACKSON-317] Add support for Guava (ex-Google-collections); implemented |
| 109 | as a new module, see: https://github.com/FasterXML/jackson-module-guava |
| 110 | * [JACKSON-394] Add support for using data binding to/from XML (Stax) sources; |
| 111 | sort of "mini-JAXB". |
| 112 | |
| 113 | Potential backwards compatibility issues (compared to 1.6.x): |
cowtowncoder | 79bc9e2 | 2010-12-03 19:20:53 +0000 | [diff] [blame] | 114 | |
| 115 | * [JACKSON-419] (see above) 'java.util.Locale' now serialized as JSON String |
| 116 | (using Locale.toString()), instead of as bean-like JSON Object |
cowtowncoder | e16e515 | 2011-01-06 21:48:08 +0000 | [diff] [blame] | 117 | * Added 'BeanProperty' argument for many methods in SerializerFactory / |
| 118 | DeserializerFactory, SerializerProvider / DeserializerProvider implementations. |
| 119 | * Related to [JACKSON-407], will wrap some previously unwrapped exceptions from |
| 120 | deserializer (to have symmetric handling; serializer already wrapped); new |
| 121 | features to allow disabling wrapping on serialization and/or deserialization. |
cowtowncoder | 619ccf1 | 2010-10-08 04:44:14 +0000 | [diff] [blame] | 122 | |
cowtowncoder | 1e0786a | 2011-01-07 01:07:52 +0000 | [diff] [blame] | 123 | 1.6.4 [21-Dec-2010] |
| 124 | |
| 125 | Fixes: |
| 126 | |
| 127 | * [JACKSON-364] @JsonTypeInfo not included properly for Collection types |
| 128 | when using JsonView functionality |
| 129 | * [JACKSON-428] Type information, Map key deserializer definitions don't |
| 130 | work together |
| 131 | (reported by Patrick R) |
| 132 | * [JACKSON-431] Deserialization fails with JSON array with beans with |
| 133 | @JsonCreator, unmapped properties before and after creator properties |
| 134 | (reported by Hannu L) |
| 135 | * [JACKSON-436] @XmlElementType not working correctly with Collection type |
| 136 | properties |
| 137 | (reported by Sean P) |
| 138 | |
cowtowncoder | 3ddd57e | 2010-12-16 22:47:32 +0000 | [diff] [blame] | 139 | 1.6.3 [04-Dec-2010] |
| 140 | |
| 141 | Fixes: |
| 142 | |
| 143 | * [JACKSON-228], [JACKSON-411] XmlJavaTypeAdapter, package-level annotations not |
| 144 | working |
| 145 | (reported by Claudio R, Raymond F) |
| 146 | * [JACKSON-387]: Deserialization fails for certain objects serialized with |
| 147 | enableDefaultTyping |
| 148 | (reported by Peter L) |
| 149 | * [JACKSON-415] XMLElement annotation ignored during schema generation |
| 150 | (reported by Sean P) |
| 151 | * [JACKSON-416] XmlElement.type() doesn't override type during serialization |
| 152 | (reported by Sean P) |
| 153 | * [JACKSON-417] Deserialization of "native" types (String, Integer, Boolean) |
| 154 | failed with abstract types |
| 155 | (reported by Joe J) |
| 156 | * [JACKSON-423] Incorrect serialization of BigDecimal, BigInteger, |
| 157 | when using TokenBuffer |
| 158 | (reported by Sean P) |
| 159 | * [JACKSON-424] ArrayIndexOutOfBounds with SmileGenerator, long Unicode |
| 160 | Strings |
| 161 | (reported by Shay B) |
| 162 | |
cowtowncoder | 2cb66ad | 2010-11-22 02:26:35 +0000 | [diff] [blame] | 163 | 1.6.2 [02-Nov-2010] |
| 164 | |
| 165 | Fixes: |
| 166 | |
| 167 | * [JACKSON-288] Problems with JAXB annotation handling for combination of |
| 168 | @XmlJavaTypeAdapter, @XmlElement |
| 169 | (reported by Kent R) |
| 170 | * [JACKSON-366] Type metadata not written for empty beans |
| 171 | (reported by Patrick R) |
| 172 | * [JACKSON-388] Deserialization of Throwable fails with Inclusion.NON_NULL |
| 173 | (reported by Kirill S) |
| 174 | * [JACKSON-391] ObjectReader.withValueUpdate() passing wrong object |
| 175 | (reported by Kurtis) |
| 176 | * [JACKSON-392] Beans with only @JsonAnyGetter fail on serialization |
| 177 | (reported by Kirill S) |
| 178 | * [JACKSON-395]: JsonParser.getCurrentName() not working with |
| 179 | JsonParser.nextValue() for nested JSON Arrays, Objects |
| 180 | * [JACKSON-397] Reverted most of [JACKSON-371] from 1.6 branch, since it caused |
| 181 | externally visible change in exception handling; behavior now back to 1.6.0 |
| 182 | (will change to catch and rethrow in 1.7.0) |
| 183 | (reported by Jon Berg) |
| 184 | * [JACKSON-398]: Root type information not correctly passed by |
| 185 | ObjectWriter when using JsonGenerator |
| 186 | (reported by Kirill S) |
| 187 | * [JACKSON-403]: XMLGregorianCalendar could not be deserialized from timestamp |
| 188 | (reported by Manual F) |
| 189 | * [JACKSON-404] Problem with XmlAdapter, generic types, deserialization |
| 190 | (reported by Davide) |
| 191 | |
cowtowncoder | 619ccf1 | 2010-10-08 04:44:14 +0000 | [diff] [blame] | 192 | 1.6.1 [06-Oct-2010] |
cowtowncoder | 137ac3a | 2010-10-06 20:16:20 +0000 | [diff] [blame] | 193 | |
cowtowncoder | 0bd7f84 | 2010-10-15 21:14:44 +0000 | [diff] [blame] | 194 | Fixes: |
cowtowncoder | 5e7a2a1 | 2010-09-23 06:05:32 +0000 | [diff] [blame] | 195 | |
cowtowncoder | b042c44 | 2010-10-15 20:45:27 +0000 | [diff] [blame] | 196 | * [JACKSON-359] TypeIdResolver.init() was not being called properly |
| 197 | (reported by Peter L) |
| 198 | * [JACKSON-372] handle missing primitive type values for @JsonCreator gracefully (with defaults) |
| 199 | * [JACKSON-376] writing binary data as object field value with Smile failed |
| 200 | (reported by Shay B) |
| 201 | * [JACKSON-371] Provide path of type error in ObjectMapper.convertValue() |
| 202 | (reported by Larry Y) |
| 203 | * [JACKSON-383] @JsonAnySetter gets called for ignorable properties if |
| 204 | FAIL_ON_UNKNOWN_PROPERTIES set to false (related to [JACKSON-313]) |
| 205 | (reported by Kirill S) |
| 206 | * [JACKSON-384] @JsonAnyGetter values were duplicated if method name was valid as a regular |
| 207 | getter name |
| 208 | (reported by Bruce R) |
| 209 | * all fixes from 1.5.x up to 1.5.7 |
cowtowncoder | 5e7a2a1 | 2010-09-23 06:05:32 +0000 | [diff] [blame] | 210 | |
cowtowncoder | 0bd7f84 | 2010-10-15 21:14:44 +0000 | [diff] [blame] | 211 | Improvements: |
cowtowncoder | 619ccf1 | 2010-10-08 04:44:14 +0000 | [diff] [blame] | 212 | |
| 213 | * [JACKSON-360] Convert empty String to null values for Joda |
| 214 | (suggested by Shilpa P) |
| 215 | * [JACKSON-386] Improve registration for optional/external types (javax.xml, joda) |
| 216 | |
cowtowncoder | 5e7a2a1 | 2010-09-23 06:05:32 +0000 | [diff] [blame] | 217 | 1.6.0 [06-Sep-2010] |
cowtowncoder | fb21c8c | 2010-03-19 01:55:21 +0000 | [diff] [blame] | 218 | |
| 219 | Fixes: |
| 220 | |
cowtowncoder | 72451f4 | 2010-10-06 23:39:13 +0000 | [diff] [blame] | 221 | * [JACKSON-265] Problems with generic wildcard type, type info |
cowtowncoder | 92adb19 | 2010-06-08 03:28:53 +0000 | [diff] [blame] | 222 | (reported by Fabrice D) |
cowtowncoder | 4c5caf1 | 2010-08-20 23:53:32 +0000 | [diff] [blame] | 223 | * [JACKSON-268] Property ordering for JAXB did not work with "raw" property |
| 224 | names (but just with renamed names like with Jackson annotations) |
| 225 | (reported by Valentin B) |
cowtowncoder | 488ca49 | 2010-08-20 23:12:36 +0000 | [diff] [blame] | 226 | * [JACKSON-303] JAXB annotation @XmlAccessorType(XmlAccessType.NONE) seems |
| 227 | to not work correctly during deserialisation process |
| 228 | (reported by David M) |
cowtowncoder | 72451f4 | 2010-10-06 23:39:13 +0000 | [diff] [blame] | 229 | * [JACKSON-313] Ignorable properties should not be passed to any-setter |
cowtowncoder | aaa94e5 | 2010-08-05 05:05:22 +0000 | [diff] [blame] | 230 | * [JACKSON-336] Generics handling: Map type not handled if intermediate types |
| 231 | with just one generic parameter |
cowtowncoder | 92adb19 | 2010-06-08 03:28:53 +0000 | [diff] [blame] | 232 | |
cowtowncoder | eb4d91a | 2010-03-23 06:29:32 +0000 | [diff] [blame] | 233 | Improvements: |
| 234 | |
cowtowncoder | db0ba3e | 2010-05-15 05:53:23 +0000 | [diff] [blame] | 235 | * [JACKSON-193] @JsonCreator-annotated factory methods and @JsonValue annotated |
| 236 | output methods now work with enums, allowing more customizable enum ser/deser. |
| 237 | (requested by Paul B) |
cowtowncoder | 4ecd4dd | 2010-08-17 03:48:27 +0000 | [diff] [blame] | 238 | * [JACKSON-253] Support combination of @XmlAnyElement + @XmlElementRefs |
cowtowncoder | 43c72f8 | 2010-04-09 20:48:29 +0000 | [diff] [blame] | 239 | * [JACKSON-261] @JsonView now implies that associated element (field, |
| 240 | getter/setter) is to be considered a property; similar to how |
| 241 | @JsonSerialize/@JsonDeserialize/@JsonProperty are used. |
cowtowncoder | 809a62a | 2010-05-13 07:08:17 +0000 | [diff] [blame] | 242 | * [JACKSON-274] Un-deprecated @JsonGetter and @JsonSetter. |
cowtowncoder | a5eb9a6 | 2010-05-15 06:35:48 +0000 | [diff] [blame] | 243 | * [JACKSON-283] JDK atomic types (java.util.concurrent.atomic) supported |
cowtowncoder | b180beb | 2010-05-13 06:18:43 +0000 | [diff] [blame] | 244 | * [JACKSON-289] Added "SerializationConfig.Feature.WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS" |
| 245 | to allow serializing char[]s as JSON Arrays with single-char-String values |
| 246 | (also fixed issues with deserializing the same on deserializer side) |
| 247 | (requested by Brian O) |
cowtowncoder | 5fbe176 | 2010-05-13 05:43:27 +0000 | [diff] [blame] | 248 | * [JACKSON-290] @JsonWriteNullProperties can be used with fields too; |
| 249 | annotation itself is now deprecated (use JsonSerialize#include instead). |
cowtowncoder | 58e85b4 | 2010-06-10 06:08:36 +0000 | [diff] [blame] | 250 | * [JACKSON-301] Allow JsonMappingException to return name of "bad" (unrecognized) |
| 251 | field |
| 252 | (requested by Rob O) |
cowtowncoder | 42ac83f | 2010-06-08 00:13:36 +0000 | [diff] [blame] | 253 | * [JACKSON-302] Add JsonNode.has(String/int) to allow for more convenient checking |
| 254 | of whether JSON Object/Array nodes have specified value. |
cowtowncoder | 2ca5a75 | 2010-09-01 04:00:26 +0000 | [diff] [blame] | 255 | * [JACKSON-308] Configurable date formatting support for XMLGregorianCalendar: |
| 256 | XMLGregorianCalendar now uses same Date/Calendar serialization as other date types. |
| 257 | (suggested by Igor K) |
cowtowncoder | 72976cd | 2010-07-14 23:56:08 +0000 | [diff] [blame] | 258 | * [JACKSON-321] Allow passing JsonNodeFactory to use for ObjectMapper, ObjectReader, |
| 259 | to allow use of custom JsonNode types. |
cowtowncoder | dc5d36b | 2010-07-31 06:54:29 +0000 | [diff] [blame] | 260 | * [JACKSON-326] Add 'JsonParser.hasTextCharacters()' to make it easier to optimize |
cowtowncoder | 181ab0a | 2010-07-20 19:35:47 +0000 | [diff] [blame] | 261 | text access (esp. when copying events) |
cowtowncoder | 0c21af1 | 2010-07-23 00:58:38 +0000 | [diff] [blame] | 262 | * [JACKSON-328] Precedence of "getters-as-setters" (for Maps, Collections) was |
| 263 | accidentally higher than that of property fields (public, @JsonProperty) |
| 264 | (reported by Thomas D) |
cowtowncoder | f31edb8 | 2010-08-20 00:39:38 +0000 | [diff] [blame] | 265 | * [JACKSON-333] Add JsonNode.getValueAsInt()/.getValueAsDouble() for more convenient |
| 266 | coercion; including parsing of JSON text values to numbers if necessary |
cowtowncoder | ed86a0c | 2010-08-11 01:27:13 +0000 | [diff] [blame] | 267 | * [JACKSON-339] Support Joda ReadableDateTime, ReadableInstant out of the box |
cowtowncoder | 8e4979b | 2010-08-28 01:24:45 +0000 | [diff] [blame] | 268 | * [JACKSON-349] Accept empty String as number (null for wrappers, 0 for primitives) |
cowtowncoder | 43c72f8 | 2010-04-09 20:48:29 +0000 | [diff] [blame] | 269 | |
cowtowncoder | eb4d91a | 2010-03-23 06:29:32 +0000 | [diff] [blame] | 270 | New features: |
| 271 | |
cowtowncoder | aaa94e5 | 2010-08-05 05:05:22 +0000 | [diff] [blame] | 272 | * [JACKSON-41] Add code generation to allow deserialization into arbitrary Bean interfaces. |
cowtowncoder | b7ffce9 | 2010-08-05 06:47:30 +0000 | [diff] [blame] | 273 | * [JACKSON-210] Add method(s) in JsonNode for finding values of named property |
cowtowncoder | 152f12d | 2010-06-15 03:52:25 +0000 | [diff] [blame] | 274 | * [JACKSON-212] Allow serializer/deserializing Enums using toString() method |
| 275 | instead name() |
cowtowncoder | 95900f0 | 2010-06-26 15:14:47 +0000 | [diff] [blame] | 276 | * [JACKSON-235] Handle bi-directional (parent/child, double-linked lists) references |
cowtowncoder | 17d7537 | 2010-08-15 07:26:29 +0000 | [diff] [blame] | 277 | * [JACKSON-257] Add ability to register sub-types for Polymetric Type Handling |
cowtowncoder | eb4d91a | 2010-03-23 06:29:32 +0000 | [diff] [blame] | 278 | * [JACKSON-264] Ability to "update" values; to read and bind JSON |
| 279 | content as properties of existing beans. This is done by using |
| 280 | "ObjectMapper.updatingReader()" (and "reader.readValue(source)") |
cowtowncoder | ed2715e | 2010-04-14 04:46:31 +0000 | [diff] [blame] | 281 | * [JACKSON-267] Allow unquoted field names to start with '@' in |
| 282 | (when unquoted name support is enabled, to support polymorphic |
cowtowncoder | 5fbe176 | 2010-05-13 05:43:27 +0000 | [diff] [blame] | 283 | typing (which defaults to property names like "@class"). |
cowtowncoder | ed2715e | 2010-04-14 04:46:31 +0000 | [diff] [blame] | 284 | (requested by Michel G) |
cowtowncoder | 76c7aa1 | 2010-09-02 06:03:25 +0000 | [diff] [blame] | 285 | * [JACKSON-278] Allow access to version information (via new Versioned interface) |
| 286 | (requested by Andrei V) |
cowtowncoder | 5fbe176 | 2010-05-13 05:43:27 +0000 | [diff] [blame] | 287 | * [JACKSON-282] Added SerializationConfig.Feature.CLOSE_CLOSEABLE |
| 288 | which when enabled forced a call to value.close() right after |
| 289 | serialization of a (root-level) value. |
cowtowncoder | b1f5ba6 | 2010-07-31 03:41:49 +0000 | [diff] [blame] | 290 | * [JACKSON-287] Add JsonParser.releaseBufferedContent() which can be called |
| 291 | to "push back" content read but not (yet) consumed by JsonParser |
cowtowncoder | dc5d36b | 2010-07-31 06:54:29 +0000 | [diff] [blame] | 292 | * [JACKSON-292] Add "any-getter" (using @JsonAnyGetter) to complement @JsonAnySetter, |
| 293 | more convenient mapping of miscellaneous extra properties. |
cowtowncoder | 6c00aa9 | 2010-07-29 06:24:58 +0000 | [diff] [blame] | 294 | * [JACKSON-295] Add 'jackson-all' jar |
| 295 | (suggested by Ant E) |
cowtowncoder | ad8a2ca | 2010-06-08 18:45:54 +0000 | [diff] [blame] | 296 | * [JACKSON-299] Added 'org.codehaus.jackson.impl.MinimalPrettyPrinter' |
| 297 | to make it easier to add simple output customizations |
cowtowncoder | dc5d36b | 2010-07-31 06:54:29 +0000 | [diff] [blame] | 298 | (suggested by David P) |
cowtowncoder | f4aef57 | 2010-06-10 06:35:30 +0000 | [diff] [blame] | 299 | * [JACKSON-300] Add 'JsonParser.Feature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER |
| 300 | to allow non-standard character escapes like \'. |
| 301 | (requested by Ketan G) |
cowtowncoder | 1940d07 | 2010-06-30 00:07:33 +0000 | [diff] [blame] | 302 | * [JACKSON-314] (go Pi, go!) Add 'SerializationConfig.Feature.WRITE_NULL_MAP_VALUES' |
| 303 | to suppress writing of Map entries with null values. |
cowtowncoder | aaa94e5 | 2010-08-05 05:05:22 +0000 | [diff] [blame] | 304 | * [JACKSON-316] Allow per-call enable/disable of pretty printing (added |
| 305 | methods in ObjectWriter; .withPrettyPrinter()) |
cowtowncoder | 68958fb | 2010-07-23 02:58:13 +0000 | [diff] [blame] | 306 | * [JACKSON-325] Add new Jackson "internal" annotation (@JacksonStdCodec?) to allow |
| 307 | marking default/standard serializers, deserializers |
cowtowncoder | 7d1efbc | 2010-08-07 04:57:50 +0000 | [diff] [blame] | 308 | * [JACKSON-337] Add "ObjectMapper.valueToTree()" |
cowtowncoder | 0c21af1 | 2010-07-23 00:58:38 +0000 | [diff] [blame] | 309 | |
cowtowncoder | 2ca5a75 | 2010-09-01 04:00:26 +0000 | [diff] [blame] | 310 | Backwards incompatible changes |
cowtowncoder | 0c21af1 | 2010-07-23 00:58:38 +0000 | [diff] [blame] | 311 | |
| 312 | * [JACKSON-328] (see above) fixes precedence of "getter-as-setter" (for Maps, Collections) |
| 313 | to be LOWER than that of fields; this is the original intended behavior. However, |
| 314 | versions 1.1 - 1.5 accidentally had fields at lower precedence. This fix can |
| 315 | change behavior of code. |
cowtowncoder | 2ca5a75 | 2010-09-01 04:00:26 +0000 | [diff] [blame] | 316 | * [JACKSON-308] (see above) Configurable date formatting support for XMLGregorianCalendar: |
| 317 | since default Date/Calendar formatting uses timestamp instead of textual serialization, |
| 318 | default XMLGregorianCalendar serialization is changing. |
cowtowncoder | 0c21af1 | 2010-07-23 00:58:38 +0000 | [diff] [blame] | 319 | |
cowtowncoder | 137ac3a | 2010-10-06 20:16:20 +0000 | [diff] [blame] | 320 | 1.5.7 [03-Oct-2010] |
| 321 | |
| 322 | Fixes: |
| 323 | |
| 324 | * [JACKSON-352] Polymorphic deserialization for Object always assumes |
| 325 | array-wrapper style |
| 326 | (reported by Henry L) |
| 327 | * [JACKSON-355] Handling of BigInteger with JsonNode not correct |
| 328 | (reported by Adam S) |
| 329 | * [JACKSON-363] CustomDeserializerFactory did not work for custom |
| 330 | array deserializers. |
| 331 | (reported by Lubomir K) |
| 332 | * [JACKSON-370] TreeTraversingParser.skipChildren() not working correctly |
| 333 | (reported by Dmitry L) |
| 334 | * [JACKSON-373] Interface inheritance not traversed when looking up |
| 335 | custom serializers |
| 336 | (reported by Lubomir K) |
| 337 | * [JACKSON-377] ThrowableDeserializer was not properly using information from |
| 338 | @JsonCreator or @JsonAnySetter |
| 339 | (reported by Kirill S) |
| 340 | * [JACKSON-380] Incorrect type information serialized for some Enums |
| 341 | |
cowtowncoder | 97b29c9 | 2010-09-07 03:46:17 +0000 | [diff] [blame] | 342 | 1.5.6 [17-Aug-2010] |
| 343 | |
| 344 | Fixes: |
| 345 | |
| 346 | * [JACKSON-329] type information was not properly serialized for |
| 347 | Iterator or Iterable serializers |
| 348 | (reported by Yuanchen Z) |
| 349 | * [JACKSON-330] ObjectMapper.convertValue(): base64 conversions |
| 350 | do not work as expected |
| 351 | * [JACKSON-334] Support ISO-8601 date without milliseconds |
| 352 | * [JACKSON-340] Meta annotations missing for @JsonTypeResolver |
| 353 | (reported by Yuanchen Z) |
| 354 | * [JACKSON-341] Issue with static typing, array and subtyping |
| 355 | (reported by Yuanchen Z) |
| 356 | |
| 357 | 1.5.5 [25-Jul-2010] |
| 358 | |
| 359 | Fixes: |
| 360 | |
| 361 | * [JACKSON-309] Serialization of null properties not working correctly |
| 362 | when using JAXB annotation introspector |
| 363 | * [JACKSON-318] Deserializer missing support for java.util.Currency |
| 364 | (reported by Geoffrey A) |
| 365 | * [JACKSON-319] Issues when trying to deserialize polymorphic type |
| 366 | with no data (just type information) |
| 367 | (reported by Chris C) |
| 368 | * [JACKSON-324] JsonParserBase: call releaseBuffers() in finally |
| 369 | block (within close()) |
| 370 | (suggested by Steve C) |
| 371 | * [JACKSON-327] CustomSerializerFactory had a bug in handling of |
| 372 | interface registrations |
| 373 | (reported by Yuanchen Z) |
| 374 | |
| 375 | (and all fixes from 1.4.x branch up to 1.4.5) |
| 376 | |
| 377 | 1.5.4 [25-Jun-2010] |
| 378 | |
| 379 | Fixes: |
| 380 | |
| 381 | * [JACKSON-296]: Add support for JAXB/@XmlElementRef(s), fix related |
| 382 | issues uncovered (wrt. handling of polymorphic collection fields) |
| 383 | (reported by Ryan H) |
| 384 | * [JACKSON-311]: Problems handling polymorphic type information for |
| 385 | 'untyped' (Object) bean properties, default typing |
| 386 | (reported by Eric S) |
| 387 | |
cowtowncoder | 4fbc10e | 2010-06-08 17:45:34 +0000 | [diff] [blame] | 388 | 1.5.3 [31-May-2010] |
| 389 | |
| 390 | Fixes: |
| 391 | |
| 392 | * [JACKSON-285]: Problem with @JsonCreator annotated constructor that |
| 393 | also uses @JsonDeserialize annotations |
| 394 | |
| 395 | Improvements: |
| 396 | |
| 397 | * [JACKSON-284]: Reduce scope of sync block in |
| 398 | SerializerCache.getReadOnlyLookupMap() |
| 399 | * Partial fix for [JACKSON-289]: allow JSON Array with single-character |
| 400 | Strings to be bound to char[] during deserialization |
| 401 | (suggested by Brian O) |
| 402 | |
cowtowncoder | c011bbe | 2010-04-27 03:26:51 +0000 | [diff] [blame] | 403 | 1.5.2 [25-Apr-2010] |
| 404 | |
| 405 | Fixes: |
| 406 | |
| 407 | * [JACKSON-273] Yet another OSGi issue, "org.codehaus.jackson.map.util" |
| 408 | not exported by mapper module, needed by jax-rs module. |
| 409 | (reported by Lukasz D) |
| 410 | * [JACKSON-281] JsonGenerator.writeObject() only supports subset of |
| 411 | wrapper types (when not specifying ObjectCodec) |
| 412 | (reported by Aron A) |
| 413 | |
| 414 | (and all fixes from 1.4.x branch up to 1.4.4) |
| 415 | |
cowtowncoder | 43be184 | 2010-04-13 00:41:41 +0000 | [diff] [blame] | 416 | 1.5.1 [09-Apr-2010] |
| 417 | |
| 418 | Fixes: |
| 419 | |
cowtowncoder | 43be184 | 2010-04-13 00:41:41 +0000 | [diff] [blame] | 420 | * [JACKSON-265]: problems with generic type handling for serialization |
| 421 | (reported by Fabrice D) |
| 422 | * [JACKSON-269]: missing OSGi export by mapper (o.c.j.m.jsontype.impl), |
| 423 | needed by jackson-xc module |
| 424 | (reported by Raymond F) |
| 425 | |
cowtowncoder | c011bbe | 2010-04-27 03:26:51 +0000 | [diff] [blame] | 426 | (and all fixes from 1.4.x branch up to 1.4.3) |
| 427 | |
| 428 | |
cowtowncoder | fb21c8c | 2010-03-19 01:55:21 +0000 | [diff] [blame] | 429 | 1.5.0 [14-Mar-2010] |
cowtowncoder | 37fd0b1 | 2009-12-22 03:48:25 +0000 | [diff] [blame] | 430 | |
cowtowncoder | 176480e | 2010-02-28 05:40:17 +0000 | [diff] [blame] | 431 | Fixes: |
| 432 | |
| 433 | * [JACKSON-246] JAXB property name determination not working correctly. |
| 434 | (reported by Lars C) |
| 435 | |
cowtowncoder | 37fd0b1 | 2009-12-22 03:48:25 +0000 | [diff] [blame] | 436 | Improvements: |
| 437 | |
cowtowncoder | b1a1539 | 2010-01-06 04:43:14 +0000 | [diff] [blame] | 438 | * [JACKSON-160] Factory Creator methods now handle polymorphic |
| 439 | construction correctly, allowing manual polymorphic deserialization |
cowtowncoder | 0cec35c | 2010-03-10 02:41:48 +0000 | [diff] [blame] | 440 | * [JACKSON-218] Extended support for Joda date/time types like |
| 441 | LocalDate, LocalDateTime and DateMidnight |
cowtowncoder | 063fb7f | 2009-12-22 04:49:07 +0000 | [diff] [blame] | 442 | * [JACKSON-220] @JsonSerialize.using() was not working properly for |
| 443 | non-Bean types (Collections, Maps, wrappers) |
cowtowncoder | 5f12a1f | 2010-02-14 22:37:03 +0000 | [diff] [blame] | 444 | * [JACKSON-236] Allow deserialization of timestamps-as-Strings (not |
| 445 | just timestamps as JSON integer numbers). |
| 446 | (requested by Chris C) |
cowtowncoder | 0cec35c | 2010-03-10 02:41:48 +0000 | [diff] [blame] | 447 | * [JACKSON-255] Allow setter override even with incompatible type |
| 448 | (as long as only one setter per class, so there is no ambiguity) |
cowtowncoder | 9b6a4d6 | 2010-03-10 06:00:15 +0000 | [diff] [blame] | 449 | * [JACKSON-256] AnnotationIntrospector.findSerializationInclusion |
| 450 | was not combining values correctly for JAXB annotations. |
| 451 | (reported by John L) |
cowtowncoder | 063fb7f | 2009-12-22 04:49:07 +0000 | [diff] [blame] | 452 | |
cowtowncoder | 37fd0b1 | 2009-12-22 03:48:25 +0000 | [diff] [blame] | 453 | New features: |
| 454 | |
cowtowncoder | fb21c8c | 2010-03-19 01:55:21 +0000 | [diff] [blame] | 455 | * [JACKSON-91] Polymorphic Type Handling: automatic handling of |
| 456 | polymorphic types, based on annotations (@JsonTypeInfo) and/or |
| 457 | global settings (ObjectMapper.enableDefaultTyping()) |
| 458 | * [JACKSON-175] Add "org.codehaus.jackson.util.TokenBuffer", used for |
| 459 | much more efficient type conversions (and other internal buffering) |
| 460 | * [JACKSON-195] Add methods to ObjectMapper to allow specification of |
| 461 | root object serialization type. |
cowtowncoder | c74cc82 | 2010-02-12 07:35:47 +0000 | [diff] [blame] | 462 | * [JACKSON-221] Add 'ObjectMapper.writeValueAsBytes()' convenience |
| 463 | method to simplify a common usage pattern |
cowtowncoder | 9c5c51d | 2010-01-20 07:27:10 +0000 | [diff] [blame] | 464 | * [JACKSON-229] TypeFactory should have methods to construct parametric |
| 465 | types programmatically (TypeFactory.parametricType()) |
cowtowncoder | d6f3fef | 2010-02-23 06:55:56 +0000 | [diff] [blame] | 466 | * [JACKSON-232] Add 'SerializationConfig.Feature.DEFAULT_VIEW_INCLUSION' |
| 467 | to disable inclusion of non-annotated properties with explicit views |
| 468 | (suggested by Andrei V) |
cowtowncoder | 6baa79e | 2010-02-06 07:37:46 +0000 | [diff] [blame] | 469 | * [JACKSON-234] Add support for JSONP, by adding JSONPObject wrapper |
| 470 | that serializes as expected. |
cowtowncoder | 55b8ed0 | 2010-02-21 00:25:55 +0000 | [diff] [blame] | 471 | * [JACKSON-241] Add a mechanism for adding new "untouchable" types for |
| 472 | JAX-RS JSON provider, to allow excluding types from being handled |
| 473 | (added method "JacksonJsonProvider.addUntouchable()") |
cowtowncoder | 2790b59 | 2010-03-09 06:50:55 +0000 | [diff] [blame] | 474 | * [JACKSON-244] Allow specifying specific minimum visibility levels for |
| 475 | auto-detecting getters, setters, fields and creators |
| 476 | (requested by Pierre-Yves R) |
cowtowncoder | fd8468d | 2010-03-06 19:56:56 +0000 | [diff] [blame] | 477 | * [JACKSON-245] Add configuration setting in JAX-RS provider to allow |
| 478 | automatic JSONP wrapping (provider.setJSONPFunctionName()) |
cowtowncoder | 5f5cb82 | 2010-03-13 07:25:21 +0000 | [diff] [blame] | 479 | * [JACKSON-259] Add JsonParser.Feature to allow disabling field name |
| 480 | canonicalization (JsonParser.Feature.CANONICALIZE_FIELD_NAMES) |
cowtowncoder | 9c5c51d | 2010-01-20 07:27:10 +0000 | [diff] [blame] | 481 | |
cowtowncoder | 9497298 | 2010-01-31 21:45:13 +0000 | [diff] [blame] | 482 | Backwards incompatible changes: |
cowtowncoder | 37fd0b1 | 2009-12-22 03:48:25 +0000 | [diff] [blame] | 483 | |
cowtowncoder | 4cebdb3 | 2010-01-02 05:32:34 +0000 | [diff] [blame] | 484 | * Moved following serializers out of BasicSerializerFactory |
| 485 | JdkSerializers: ClassSerializer (into JdkSerializers), |
| 486 | NullSerializer (separate class) |
cowtowncoder | 656203d | 2010-01-05 07:55:51 +0000 | [diff] [blame] | 487 | * Add one parameter to StdDeserializer.handleUnknownProperty: |
| 488 | addition was required for handling polymorphic cases that |
| 489 | can use nested JsonParser instances. |
cowtowncoder | e703113 | 2010-01-30 19:17:24 +0000 | [diff] [blame] | 490 | * Fixed issues in generic type handling (was not resolving all named |
| 491 | types completely) |
cowtowncoder | 9497298 | 2010-01-31 21:45:13 +0000 | [diff] [blame] | 492 | * Annotation changes: |
| 493 | * Moved "NoClass" into "org.codehaus.jackson.map.annotate" package |
| 494 | * Removed @JsonUseSerializer and @JsonUseDeserializer annotations |
| 495 | (which has been deprecated for 1.1; replaced by |
| 496 | @JsonSerialize.using and @JsonDeserialize.using, respectively) |
| 497 | * @JsonGetter and @JsonSetter are marked as deprecated, since |
| 498 | @JsonProperty can (and should) be used instead. |
cowtowncoder | 4cebdb3 | 2010-01-02 05:32:34 +0000 | [diff] [blame] | 499 | |
cowtowncoder | c011bbe | 2010-04-27 03:26:51 +0000 | [diff] [blame] | 500 | 1.4.4 [25-Apr-2010] |
| 501 | |
| 502 | Fixes: |
| 503 | |
| 504 | * [JACKSON-263] BooleanNode.asToken() incorrectly returns 'true' token |
| 505 | for all nodes (not just 'false' ones) |
| 506 | (reported by Gennadiy S) |
| 507 | * [JACKSON-266] Deserialization issues when binding data from JsonNode |
| 508 | (reported by Martin T) |
| 509 | |
cowtowncoder | fb21c8c | 2010-03-19 01:55:21 +0000 | [diff] [blame] | 510 | 1.4.3 [18-Feb-2010] |
| 511 | |
| 512 | Fixes: |
| 513 | |
| 514 | * [JACKSON-237]: NPE in deserialization due to race condition |
| 515 | (reported by Benjamin D) |
| 516 | |
cowtowncoder | 37fd0b1 | 2009-12-22 03:48:25 +0000 | [diff] [blame] | 517 | |
cowtowncoder | 67ce648 | 2010-02-14 22:14:58 +0000 | [diff] [blame] | 518 | 1.4.2 [31-Jan-2010] |
| 519 | |
| 520 | Fixes: |
| 521 | |
| 522 | * [JACKSON-238]: Fix to ensure custom serializers can override |
| 523 | default serializers (like DOM, Joda serializers) |
| 524 | (reported by Pablo L) |
| 525 | * other fixes from 1.3.4 release |
| 526 | |
| 527 | 1.4.1 [10-Jan-2010] |
| 528 | |
| 529 | Fixes: |
| 530 | |
| 531 | fixes from 1.3.x branch up to 1.3.3. |
| 532 | |
cowtowncoder | 37fd0b1 | 2009-12-22 03:48:25 +0000 | [diff] [blame] | 533 | 1.4.0 [19-Dec-2009] |
cowtowncoder | a5021a4 | 2009-11-03 06:33:14 +0000 | [diff] [blame] | 534 | |
| 535 | Improvements: |
| 536 | |
cowtowncoder | 5e4e261 | 2009-11-29 04:28:53 +0000 | [diff] [blame] | 537 | * [JACKSON-38] Allow serializing/deserializing DOM trees (Node, Document) |
| 538 | (suggested by Scott D) |
cowtowncoder | 55386fb | 2009-11-10 07:11:23 +0000 | [diff] [blame] | 539 | * [JACKSON-89] Make ignored field/creator-backed properties quietly |
| 540 | skippable during deserialization (that is, without having to explicitly |
| 541 | declare such properties as ignorable as per [JACKSON-77]) |
cowtowncoder | 39e94cc | 2009-11-28 07:55:21 +0000 | [diff] [blame] | 542 | * [JACKSON-161] Added basic support for Joda, ser/deser DateTime class |
cowtowncoder | a5021a4 | 2009-11-03 06:33:14 +0000 | [diff] [blame] | 543 | * [JACKSON-170] Serialize Creator properties before other properties |
cowtowncoder | 39e94cc | 2009-11-28 07:55:21 +0000 | [diff] [blame] | 544 | * [JACKSON-196] Schema generation does not respect the annotation |
| 545 | configured serializer on a bean property |
| 546 | (reported by Gil M) |
cowtowncoder | 55013c6 | 2009-11-30 01:57:19 +0000 | [diff] [blame] | 547 | * [JACKSON-208] Add feature (JsonParser.Feature.ALLOW_UNQUOTED_CONTROL_CHARS) |
| 548 | to allow unquoted control characters (esp. tabs) in Strings and |
| 549 | field names |
| 550 | (requested by Mark S) |
cowtowncoder | 6d7ce8f | 2009-12-17 04:48:41 +0000 | [diff] [blame] | 551 | * [JACKSON-216] Jackson JAXB annotation handler does not use @XmlElement.type |
| 552 | property for figuring out actual type |
| 553 | (reported by Mike R) |
cowtowncoder | a5021a4 | 2009-11-03 06:33:14 +0000 | [diff] [blame] | 554 | |
cowtowncoder | 961593e | 2009-11-04 06:51:57 +0000 | [diff] [blame] | 555 | New features: |
| 556 | |
cowtowncoder | 55386fb | 2009-11-10 07:11:23 +0000 | [diff] [blame] | 557 | * [JACKSON-77] Add class annotation @JsonIgnoreProperties to allow |
| 558 | for ignoring specific set of properties for serialization/deserialization |
cowtowncoder | 961593e | 2009-11-04 06:51:57 +0000 | [diff] [blame] | 559 | * [JACKSON-90] Added @JsonPropertyOrder, which allows for specifying |
| 560 | order in which properties are serialized. |
cowtowncoder | 499a1f0 | 2009-12-08 07:34:25 +0000 | [diff] [blame] | 561 | * [JACKSON-138] Implement JsonView; ability to suppress subsets of |
| 562 | properties, based on view definition. Views are defined using @JsonView |
| 563 | annotation. |
cowtowncoder | 20743cc | 2009-11-15 05:04:22 +0000 | [diff] [blame] | 564 | * [JACKSON-191] Add access to basic statistics on number of cached |
| 565 | serializers, deserializers (and methods to flush these caches) |
cowtowncoder | a6282ce | 2009-11-14 06:59:30 +0000 | [diff] [blame] | 566 | * [JACKSON-192] Added basic delegate implementations (JsonParserDelegate, |
| 567 | JsonGeneratorDelegate) to make it easier to override core parser and |
| 568 | generate behavior |
cowtowncoder | e065093 | 2009-11-28 04:12:38 +0000 | [diff] [blame] | 569 | * [JACKSON-201] Allow serialization of "empty beans" (classes without |
| 570 | getters), if SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS is |
| 571 | disabled; or if class has recognized Jackson annotation |
| 572 | (suggested by Mike P) |
cowtowncoder | 961593e | 2009-11-04 06:51:57 +0000 | [diff] [blame] | 573 | |
cowtowncoder | 9da20fa | 2009-11-08 22:37:09 +0000 | [diff] [blame] | 574 | Other: |
| 575 | |
| 576 | * Removed "BasicSerializerFactory.StringLikeSerializer" that was |
| 577 | deprecated for 1.0, replaced by public "ToStringSerializer" |
| 578 | |
cowtowncoder | 67ce648 | 2010-02-14 22:14:58 +0000 | [diff] [blame] | 579 | 1.3.4 [31-Jan-2010] |
| 580 | |
| 581 | Fixes: |
| 582 | |
| 583 | * [JACKSON-225], [JACKSON-227], missing null checks/conversions when |
| 584 | adding entries to ArrayNode and ObjectNode |
| 585 | (reported by Kenny M) |
| 586 | * [JACKSON-230]: wrong NumberType reported for big ints, longs |
| 587 | (reported by Henning S) |
| 588 | * [JACKSON-231]: ArrayDeserializer for byte[] should be able to |
| 589 | use VALUE_EMBEDDED_OBJECT (if Object is byte[]) |
| 590 | |
cowtowncoder | fa1dc34 | 2009-12-31 23:07:31 +0000 | [diff] [blame] | 591 | 1.3.3 [21-Dec-2009] |
| 592 | |
| 593 | Fixes: |
| 594 | |
| 595 | * [JACKSON-214] Enum types with sub-classes failed to serialize |
| 596 | (reported by Elliot S) |
| 597 | * [JACKSON-215] Add JAX-RS provider annotations on JacksonJaxbJsonProvider |
| 598 | (suggested by Matthew R) |
| 599 | * [JACKSON-220] JsonSerialize.using() not recognized for Collection and |
| 600 | Map types (and similarly for JsonDeserialize) |
| 601 | |
cowtowncoder | a7ec537 | 2009-12-11 07:19:35 +0000 | [diff] [blame] | 602 | 1.3.2 [02-Dec-2009] |
| 603 | |
| 604 | Fixes: |
| 605 | |
| 606 | * [JACKSON-103] (additional work) Groovy setMetaClass() setter caused |
| 607 | problems when deserializing (although serialization was fixed earlier) |
| 608 | (reported by Stephen F) |
| 609 | * [JACKSON-187] Issues with GAE security model, Class.getEnclosingMethod() |
| 610 | * [JACKSON-188] Jackson not working on Google App Engine (GAE) due to |
| 611 | unintended dependency from JacksonJsonProvider to JAXB API classes |
| 612 | (reported by Jeff S) |
| 613 | * [JACKSON-206] Support parsing dates of form "1984-11-13T00:00:00" |
| 614 | |
cowtowncoder | 0298b22 | 2009-11-25 07:25:08 +0000 | [diff] [blame] | 615 | 1.3.1 [23-Nov-2009] |
| 616 | |
| 617 | Fixes: |
| 618 | |
| 619 | * [JACKSON-190] Problems deserializing certain nested generic types |
| 620 | (reported by Nathan C) |
| 621 | * [JACKSON-194] ObjectMapper class loading issues on Android |
| 622 | (reported by Martin L) |
| 623 | * [JACKSON-197] Remove 2 debug messages that print out to System.err |
| 624 | (reported by Edward T) |
| 625 | * [JACKSON-200] java.sql.Date deserialization not working well |
| 626 | (reported by Steve L) |
| 627 | * [JACKSON-202] Non-public fields not deserialized properly with |
| 628 | JAXB annotations |
| 629 | (reported by Mike P) |
| 630 | * [JACKSON-203] Date deserializers should map empty String to null |
| 631 | (reported by Steve L) |
| 632 | |
cowtowncoder | a5021a4 | 2009-11-03 06:33:14 +0000 | [diff] [blame] | 633 | 1.3.0 [30-Oct-2009] |
cowtowncoder | 641f594 | 2009-08-23 19:24:30 +0000 | [diff] [blame] | 634 | |
| 635 | Fixes: |
| 636 | |
cowtowncoder | 0d2f912 | 2009-08-25 14:56:10 +0000 | [diff] [blame] | 637 | * [JACKSON-150] Some JAXB-required core types (XMLGregorianCalendar, |
cowtowncoder | 3733408 | 2009-10-03 04:09:57 +0000 | [diff] [blame] | 638 | Duration, QName, DataHandler) were not completely supported |
cowtowncoder | 1875f86 | 2009-09-05 06:18:57 +0000 | [diff] [blame] | 639 | * [JACKSON-155] Failed to serialize java.io.File (with infinite |
| 640 | recursion) |
| 641 | (reported by Gabe S) |
cowtowncoder | 7282763 | 2009-09-27 05:57:45 +0000 | [diff] [blame] | 642 | * [JACKSON-167] Map and Collection sub-classes seem to lose generic |
| 643 | information for deserialization |
cowtowncoder | 605c870 | 2009-10-22 03:32:12 +0000 | [diff] [blame] | 644 | * [JACKSON-177] Problems with Hibernate, repackaged cglib |
| 645 | (reported by Ted B) |
cowtowncoder | 61842a8 | 2009-10-23 03:42:17 +0000 | [diff] [blame] | 646 | * [JACKSON-179] Single-long-arg factory Creators were not working |
cowtowncoder | 3a153a7 | 2009-10-31 02:11:28 +0000 | [diff] [blame] | 647 | (reported by Brian M) |
cowtowncoder | ae0f9c0 | 2009-10-27 04:08:39 +0000 | [diff] [blame] | 648 | * [JACKSON-183] Root-level 'JsonDeserialize' annotation was not handled |
| 649 | completely; 'as' setting was not taking effect |
cowtowncoder | 3a153a7 | 2009-10-31 02:11:28 +0000 | [diff] [blame] | 650 | (reported by Nick P) |
cowtowncoder | 0d2f912 | 2009-08-25 14:56:10 +0000 | [diff] [blame] | 651 | |
cowtowncoder | 8f5d8c7 | 2009-08-29 03:21:17 +0000 | [diff] [blame] | 652 | Improvements: |
| 653 | |
| 654 | * [JACKSON-152] Add "ObjectMapper.writeValueAsString()" convenience |
| 655 | method to simplify serializing JSON into String. |
cowtowncoder | 7ba2684 | 2009-09-17 06:52:55 +0000 | [diff] [blame] | 656 | * [JACKSON-153] Allow use of @JsonCreator with Map types too |
cowtowncoder | fd8ee05 | 2009-09-10 06:41:44 +0000 | [diff] [blame] | 657 | * [JACKSON-158] Bean serializer now checks for direct self-references |
| 658 | (partial, trivial cycle detection) |
cowtowncoder | 7f6f241 | 2009-09-26 06:50:23 +0000 | [diff] [blame] | 659 | * [JACKSON-164] Improve null handling for JsonGenerator.writeStringValue |
cowtowncoder | 3a153a7 | 2009-10-31 02:11:28 +0000 | [diff] [blame] | 660 | (suggested by Benjamin Darfler) |
cowtowncoder | 263b727 | 2009-09-26 04:16:35 +0000 | [diff] [blame] | 661 | * [JACKSON-165] Add JsonParser.getBooleanValue() convenience method |
| 662 | (suggested by Benjamin Darfler) |
| 663 | * [JACKSON-166] Add ability to control auto-detection of |
| 664 | "is getters" (boolean isXxx()) methods separate from regular getters |
cowtowncoder | 7fe4bb5 | 2009-10-04 22:09:38 +0000 | [diff] [blame] | 665 | * [JACKSON-168] Make JsonLocation serializable (and deserializable) |
cowtowncoder | 3a153a7 | 2009-10-31 02:11:28 +0000 | [diff] [blame] | 666 | (suggested by Shay B) |
cowtowncoder | feb086f | 2009-10-28 04:10:52 +0000 | [diff] [blame] | 667 | * [JACKSON-182] Improved handling of SerializationConfig.AUTO_DETECT_GETTERS |
| 668 | with JAXB annotations (uses Jackson-specified default, not JAXB defaults) |
cowtowncoder | 8f5d8c7 | 2009-08-29 03:21:17 +0000 | [diff] [blame] | 669 | |
cowtowncoder | ab98d6e | 2009-09-12 06:56:42 +0000 | [diff] [blame] | 670 | New features: |
| 671 | |
cowtowncoder | 58fa584 | 2009-10-07 06:41:36 +0000 | [diff] [blame] | 672 | * [JACKSON-129] Allow constructing JsonParser to read from JsonNode |
| 673 | (tree representation) |
cowtowncoder | ab98d6e | 2009-09-12 06:56:42 +0000 | [diff] [blame] | 674 | * [JACKSON-154] Added JsonDeserialize.keyUsing and .contentUsing, |
| 675 | to allow for overriding key and content/value deserializers for |
| 676 | properties of structured (array, Collection, Map) types |
cowtowncoder | 48f7ad8 | 2009-10-30 07:04:45 +0000 | [diff] [blame] | 677 | * [JACKSON-159] Added 'org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider' |
| 678 | to improve use of Jackson as JSON converter for JAX-RS services. |
cowtowncoder | a13ae23 | 2009-10-11 06:27:34 +0000 | [diff] [blame] | 679 | * [JACKSON-173] Add "JsonParser.Feature.ALLOW_SINGLE_QUOTES" to |
| 680 | handle some more invalid JSON content |
cowtowncoder | 3a153a7 | 2009-10-31 02:11:28 +0000 | [diff] [blame] | 681 | (requested by Brian M) |
cowtowncoder | ae4bfc7 | 2009-10-17 18:31:38 +0000 | [diff] [blame] | 682 | * [JACKSON-174] Add "ObjectMapper.convertValue()" convenience method |
| 683 | for simple Object-to-Object conversions, using Jackson's data binding |
| 684 | functionality |
cowtowncoder | 2f4a50b | 2009-10-26 02:41:54 +0000 | [diff] [blame] | 685 | * [JACKSON-176] Added 'JsonGenerator.Feature.WRITE_NUMBER_AS_STRINGS' |
| 686 | as a work-around for Javascript problems with big longs (due to |
| 687 | always representing numbers as 64-bit doubles internally) |
| 688 | (requested by Doug D) |
cowtowncoder | 51c0897 | 2009-10-24 07:23:52 +0000 | [diff] [blame] | 689 | * [JACKSON-180] Added 'JsonParser.Feature.INTERN_FIELD_NAMES' to allow |
| 690 | disabling field name intern()ing. |
cowtowncoder | 3a153a7 | 2009-10-31 02:11:28 +0000 | [diff] [blame] | 691 | (suggested by Jeff Y) |
cowtowncoder | c9364d6 | 2009-10-24 06:10:15 +0000 | [diff] [blame] | 692 | * [JACKSON-181] Added convenience methods in TypeFactory to allow |
| 693 | dynamically constructed fully typed structured types (map, collection |
| 694 | array types), similar to using TypeReference but without inner classes |
cowtowncoder | d5fe507 | 2009-10-11 00:14:09 +0000 | [diff] [blame] | 695 | * Added method in AnnotationIntrospector to find declared namespace |
| 696 | for JAXB annotations, needed for XML compatibility (future features) |
cowtowncoder | ab98d6e | 2009-09-12 06:56:42 +0000 | [diff] [blame] | 697 | |
cowtowncoder | c1a6ea9 | 2009-10-18 04:17:07 +0000 | [diff] [blame] | 698 | Other: |
| 699 | |
| 700 | * Removed obsolete class 'org.codehaus.jackson.map.type.TypeReference' |
| 701 | (obsoleted by 'org.codehaus.jackson.type.TypeReference) -- was supposed |
| 702 | to have been removed by 1.0 but had not been. |
cowtowncoder | be07693 | 2009-10-21 03:09:37 +0000 | [diff] [blame] | 703 | * Added support to handle 'java.util.regex.Pattern' |
cowtowncoder | c1a6ea9 | 2009-10-18 04:17:07 +0000 | [diff] [blame] | 704 | |
cowtowncoder | a5021a4 | 2009-11-03 06:33:14 +0000 | [diff] [blame] | 705 | 1.2.1 [03-Oct-2009] |
| 706 | |
| 707 | Problems fixed: |
| 708 | |
| 709 | * [JACKSON-162] OSGi packaging problems for xc package. |
| 710 | (reported by Troy Waldrep) |
| 711 | * [JACKSON-171] Self-referential types cause infinite recursion when |
| 712 | using only JAXB annotation introspector |
| 713 | (reported by Randy L) |
cowtowncoder | 641f594 | 2009-08-23 19:24:30 +0000 | [diff] [blame] | 714 | |
| 715 | 1.2.0 [02-Aug-2009] |
cowtowncoder | 69a78d2 | 2009-05-23 01:55:23 +0000 | [diff] [blame] | 716 | |
cowtowncoder | f060fc6 | 2009-06-29 00:45:12 +0000 | [diff] [blame] | 717 | Improvements: |
| 718 | |
cowtowncoder | 92ecc03 | 2009-07-07 20:55:58 +0000 | [diff] [blame] | 719 | * Added "-use" flag for generating javadocs |
| 720 | (suggested by Dain S) |
| 721 | * [JACKSON-136] JsonParser and JsonGenerator should implement |
| 722 | java.io.Closeable (since they already have close() method) |
| 723 | (suggested by Dain S) |
cowtowncoder | e87d991 | 2009-07-30 05:34:23 +0000 | [diff] [blame] | 724 | * [JACKSON-148] Changed configuration methods to allow chaining, |
| 725 | by returning 'this' (instead of 'void') |
cowtowncoder | 92ecc03 | 2009-07-07 20:55:58 +0000 | [diff] [blame] | 726 | |
cowtowncoder | f060fc6 | 2009-06-29 00:45:12 +0000 | [diff] [blame] | 727 | New features: |
| 728 | |
cowtowncoder | c3f9e37 | 2009-07-27 05:49:48 +0000 | [diff] [blame] | 729 | * [JACKSON-33] Allow use of "non-default constructors" and |
| 730 | multiple-argument factory methods for constructing beans to |
| 731 | deserialize |
cowtowncoder | 5db34e4 | 2009-08-02 03:59:50 +0000 | [diff] [blame] | 732 | * [JACKSON-69] Support parsing non-standard JSON where Object keys are not quoted |
cowtowncoder | 4c95521 | 2009-07-16 06:50:44 +0000 | [diff] [blame] | 733 | * [JACKSON-76] Mix-in annotations: allow dynamic attachment of |
| 734 | annotations to existing classes, for purposes of configuring |
| 735 | serialization/deserialization behavior |
cowtowncoder | 696b4f0 | 2009-07-09 05:29:55 +0000 | [diff] [blame] | 736 | * [JACKSON-92] Allow use of @JsonCreator for constructors and |
| 737 | static methods that take a single deserializable type as argument |
| 738 | (so-called delegating creators) |
cowtowncoder | 754c79d | 2009-06-29 02:44:50 +0000 | [diff] [blame] | 739 | * [JACKSON-114] Add feature and annotations to make serialization use |
| 740 | static (declared) type over concrete (actual/runtime) type |
cowtowncoder | f060fc6 | 2009-06-29 00:45:12 +0000 | [diff] [blame] | 741 | * [JACKSON-131] Allow constructing and passing of non-shared |
| 742 | SerializationConfig/DeserializationConfig instances to ObjectMapper |
cowtowncoder | 2ac29b0 | 2009-06-30 06:07:09 +0000 | [diff] [blame] | 743 | * [JACKSON-135] Add basic JsonNode construction support in ObjectMapper |
cowtowncoder | 7876b4e | 2009-07-29 06:17:27 +0000 | [diff] [blame] | 744 | * [JACKSON-147] Add global deserialization feature for suppressing error |
| 745 | reporting for unknown properties |
cowtowncoder | e87d991 | 2009-07-30 05:34:23 +0000 | [diff] [blame] | 746 | * [JACKSON-149] Add ser/deser features |
| 747 | (DeserializationConfig.Feature.USE_ANNOTATIONS, |
| 748 | SerializationConfig.Feature.USE_ANNOTATIONS) to allow disabling |
| 749 | use of annotations for serialization and/or deserialization config |
cowtowncoder | f060fc6 | 2009-06-29 00:45:12 +0000 | [diff] [blame] | 750 | |
cowtowncoder | a588562 | 2009-08-01 06:39:22 +0000 | [diff] [blame] | 751 | 1.1.2 [31-Jul-2009] |
| 752 | |
| 753 | Fixes: |
| 754 | |
| 755 | * [JACKSON-143] NPE on ArrayNode.equals() when comparing empty array |
| 756 | node to non-empty array node |
| 757 | (reported by Gregory G) |
| 758 | * [JACKSON-144] Static "getter-like" methods mistaken for getters (for |
| 759 | serialization) |
| 760 | (reported by Dan S) |
| 761 | |
cowtowncoder | c4af0bd | 2009-07-20 05:03:27 +0000 | [diff] [blame] | 762 | 1.1.1 [18-Jul-2009] |
| 763 | |
| 764 | Fixes: |
| 765 | |
| 766 | * [JACKSON-139] Non-numeric double values (NaN, Infinity) are serialized |
| 767 | as invalid JSON tokens |
| 768 | (reported by Peter H) |
| 769 | * Core jar incorrectly included much of "mapper" classes (in addition |
| 770 | to core classes) |
| 771 | * Now compiles again using JDK 1.5 javac (1.1.0 didn't) |
| 772 | |
cowtowncoder | f060fc6 | 2009-06-29 00:45:12 +0000 | [diff] [blame] | 773 | 1.1.0 [22-Jun-2009] |
| 774 | |
| 775 | Fixes: |
| 776 | |
cowtowncoder | 7aecca1 | 2009-06-17 06:08:47 +0000 | [diff] [blame] | 777 | * [JACKSON-109] Allow deserializing into generics Bean classes |
| 778 | (like Wrapper<Bean>) not just generic Maps and Collections |
cowtowncoder | 69a78d2 | 2009-05-23 01:55:23 +0000 | [diff] [blame] | 779 | * [JACKSON-121] Problems deserializing Date values of some ISO-8601 |
| 780 | variants (like one using 'Z' to indicate GMT timezone) |
cowtowncoder | 4ec4b3f | 2009-06-13 03:08:37 +0000 | [diff] [blame] | 781 | * [JACKSON-122] Annotated serializers and deserializers had to |
| 782 | be public classes with public default constructor; not any more. |
cowtowncoder | 69a78d2 | 2009-05-23 01:55:23 +0000 | [diff] [blame] | 783 | |
cowtowncoder | 8faf5fa | 2009-05-20 06:00:46 +0000 | [diff] [blame] | 784 | Improvements: |
cowtowncoder | f86628d | 2009-05-24 02:11:40 +0000 | [diff] [blame] | 785 | |
cowtowncoder | 07c8e08 | 2009-06-11 04:22:05 +0000 | [diff] [blame] | 786 | * [JACKSON-111] Added "jackson-xc" jar to contains XML Compatibility |
| 787 | extensions. |
| 788 | |
cowtowncoder | f24d39b | 2009-05-21 05:23:29 +0000 | [diff] [blame] | 789 | New features: |
cowtowncoder | 8faf5fa | 2009-05-20 06:00:46 +0000 | [diff] [blame] | 790 | |
cowtowncoder | 3d90638 | 2009-06-02 22:10:51 +0000 | [diff] [blame] | 791 | * [JACKSON-70] Add support for generating JSON Schema |
cowtowncoder | 93dc7eb | 2009-06-10 06:25:12 +0000 | [diff] [blame] | 792 | * [JACKSON-98] Allow serializing/deserializing field-accessible properties, |
| 793 | in addition to method-accessible ones. |
cowtowncoder | c5e4225 | 2009-05-27 06:42:40 +0000 | [diff] [blame] | 794 | * [JACKSON-105] Allow suppressing output of "default values"; which |
| 795 | means value of a property when bean is constructed using the default |
| 796 | no-arg constructor |
| 797 | (requested by Christoph S) |
cowtowncoder | 86f6b32 | 2009-05-28 23:27:59 +0000 | [diff] [blame] | 798 | * [JACKSON-119] Add (optional) support for using JAXB annotations |
| 799 | (by using JaxbAnnotationIntrospector) |
| 800 | (requested by Ryan H) |
cowtowncoder | f86628d | 2009-05-24 02:11:40 +0000 | [diff] [blame] | 801 | * [JACKSON-120] Add annotations @JsonSerialize, @JsonDeserialize, |
| 802 | to streamline annotation by replacing host of existing annotations. |
cowtowncoder | 966e396 | 2009-06-15 05:02:41 +0000 | [diff] [blame] | 803 | * [JACKSON-123] Add "chaining" AnnotationIntrospector (implemented |
| 804 | as inner class, AnnotationIntrospector.Pair) that allows combining |
| 805 | functionality of 2 introspectors. |
cowtowncoder | f86628d | 2009-05-24 02:11:40 +0000 | [diff] [blame] | 806 | |
cowtowncoder | c4af0bd | 2009-07-20 05:03:27 +0000 | [diff] [blame] | 807 | 1.0.1 [04-Jun-2009] |
| 808 | |
| 809 | Fixes: |
| 810 | |
| 811 | * [JACKSON-104] Build fails on JDK 1.5, assorted other minor issues |
| 812 | (reported by Oleksander A) |
| 813 | * [JACKSON-121] Problems deserializing Date values of some ISO-8601 |
| 814 | variants (like one using 'Z' to indicate GMT timezone) |
| 815 | |
cowtowncoder | 30ad7e4 | 2009-05-12 01:00:00 +0000 | [diff] [blame] | 816 | 1.0.0 [09-May-2009] |
cowtowncoder | c0ae540 | 2009-05-06 20:58:03 +0000 | [diff] [blame] | 817 | |
cowtowncoder | cbfb6ab | 2009-05-01 06:29:51 +0000 | [diff] [blame] | 818 | Fixes: |
| 819 | |
| 820 | * [JACKSON-103] Serializing Groovy objects; need to exclude getter method |
| 821 | "getMetaClass" from serialization to prevent infinite recursion |
| 822 | (reported by Ray T) |
cowtowncoder | cbfb6ab | 2009-05-01 06:29:51 +0000 | [diff] [blame] | 823 | |
cowtowncoder | 30ad7e4 | 2009-05-12 01:00:00 +0000 | [diff] [blame] | 824 | Improvements: |
cowtowncoder | cbfb6ab | 2009-05-01 06:29:51 +0000 | [diff] [blame] | 825 | |
cowtowncoder | 30ad7e4 | 2009-05-12 01:00:00 +0000 | [diff] [blame] | 826 | * Removed JAX-RS META-INF/services - based auto-registration for |
| 827 | JAX-RS MessageBodyReader/MessageBodyWriter, because it could |
| 828 | conflict with other application/json content handlers. |
cowtowncoder | cbfb6ab | 2009-05-01 06:29:51 +0000 | [diff] [blame] | 829 | |
cowtowncoder | 30ad7e4 | 2009-05-12 01:00:00 +0000 | [diff] [blame] | 830 | 0.9.9-6 [27-Apr-2009] |
cowtowncoder | cbfb6ab | 2009-05-01 06:29:51 +0000 | [diff] [blame] | 831 | |
cowtowncoder | 63bbd5c | 2009-04-28 06:05:15 +0000 | [diff] [blame] | 832 | Improvements: |
| 833 | |
| 834 | * Improved jax-rs provider integration with jersey; now properly |
| 835 | auto-registers as handler for json media type(s), and allows |
| 836 | for defining custom ObjectMapper to be injected. |
| 837 | |
cowtowncoder | 63bbd5c | 2009-04-28 06:05:15 +0000 | [diff] [blame] | 838 | 0.9.9-5 [20-Apr-2009] |
cowtowncoder | 64472f8 | 2009-02-04 22:58:57 +0000 | [diff] [blame] | 839 | |
cowtowncoder | 13685d9 | 2009-04-19 05:55:33 +0000 | [diff] [blame] | 840 | New features: |
| 841 | |
| 842 | * [JACKSON-88]: Support for "Setter-less" collection (and Map) types |
| 843 | |
cowtowncoder | 962fbd2 | 2009-04-18 05:34:51 +0000 | [diff] [blame] | 844 | Improvements: |
| 845 | |
cowtowncoder | 9e217a3 | 2009-04-18 06:37:08 +0000 | [diff] [blame] | 846 | * [JACKSON-100]: Allow specifying that BigInteger should be used instead |
| 847 | of Integer or Long for "generic" integral numeric types (Object, Number) |
| 848 | (DeserializationConfig.Feature.USE_BIG_INTEGER_FOR_INTS) |
cowtowncoder | 962fbd2 | 2009-04-18 05:34:51 +0000 | [diff] [blame] | 849 | * [JACKSON-101]: Allow disabling of access modifier overrides |
| 850 | (SerializationgConfig.Feature.CAN_OVERRIDE_ACCESS_MODIFIERS) |
| 851 | to support more security-constrainted running environments. |
| 852 | |
cowtowncoder | 962fbd2 | 2009-04-18 05:34:51 +0000 | [diff] [blame] | 853 | 0.9.9-4 [14-Apr-2009] |
| 854 | |
cowtowncoder | 685be08 | 2009-04-03 21:49:26 +0000 | [diff] [blame] | 855 | Fixes: |
| 856 | |
| 857 | * [JACKSON-94] Added missing "JsonParser.readValueAsTree()" method. |
cowtowncoder | a90bc03 | 2009-04-06 19:19:34 +0000 | [diff] [blame] | 858 | * JacksonJsonProvider was using strict equality comparison against |
cowtowncoder | 6979ab3 | 2009-04-07 18:53:26 +0000 | [diff] [blame] | 859 | JSON type; instead needs to use "isCompatible". There were other |
| 860 | similar problems |
| 861 | (reported by Stephen D) |
cowtowncoder | e349e9c | 2009-04-07 20:47:48 +0000 | [diff] [blame] | 862 | * [JACKSON-97] Generic types (with bound wildcards) caused problems |
cowtowncoder | 6979ab3 | 2009-04-07 18:53:26 +0000 | [diff] [blame] | 863 | when Class introspector could not figure out that a concrete method |
cowtowncoder | e349e9c | 2009-04-07 20:47:48 +0000 | [diff] [blame] | 864 | was overriding/implementing generic method; as well as having |
| 865 | problems with synthetic bridge methods. |
cowtowncoder | 685be08 | 2009-04-03 21:49:26 +0000 | [diff] [blame] | 866 | |
cowtowncoder | 713a2f9 | 2009-04-08 06:07:20 +0000 | [diff] [blame] | 867 | Improvements: |
| 868 | |
| 869 | * [JACKSON-95] Added support for deserializing simple exceptions |
| 870 | (Throwable and its sub-classes): anything with a String constructor |
| 871 | (assumed to take "message") should work to some degree. |
cowtowncoder | 30f197c | 2009-04-15 05:03:55 +0000 | [diff] [blame] | 872 | * [JACKSON-99] IOExceptions should not be wrapped during object |
cowtowncoder | 8030548 | 2009-04-13 04:53:04 +0000 | [diff] [blame] | 873 | mapping. |
| 874 | (reported by Eldar A) |
cowtowncoder | 713a2f9 | 2009-04-08 06:07:20 +0000 | [diff] [blame] | 875 | |
cowtowncoder | 685be08 | 2009-04-03 21:49:26 +0000 | [diff] [blame] | 876 | New features: |
cowtowncoder | 73e6189 | 2009-04-03 21:37:07 +0000 | [diff] [blame] | 877 | |
cowtowncoder | 5b5cf63 | 2009-04-04 06:49:33 +0000 | [diff] [blame] | 878 | * [JACKSON-85]: Make Date deserialization (more) configurable (add |
| 879 | DeserializationConfig.setDateFormat()) |
cowtowncoder | 713a2f9 | 2009-04-08 06:07:20 +0000 | [diff] [blame] | 880 | * [JACKSON-93]: Allow overriding the default ClassIntrospector. |
cowtowncoder | e349e9c | 2009-04-07 20:47:48 +0000 | [diff] [blame] | 881 | * [JACKSON-96]: Allow enabling pretty-printing with data binding, |
| 882 | through SerializationConfig object. |
cowtowncoder | 5b5cf63 | 2009-04-04 06:49:33 +0000 | [diff] [blame] | 883 | |
cowtowncoder | 73e6189 | 2009-04-03 21:37:07 +0000 | [diff] [blame] | 884 | 0.9.9-3 [03-Apr-2009] |
| 885 | |
cowtowncoder | be4efa3 | 2009-02-19 06:26:45 +0000 | [diff] [blame] | 886 | Fixes: |
| 887 | |
cowtowncoder | 2ce26af | 2009-03-25 23:21:24 +0000 | [diff] [blame] | 888 | * [JACKSON-79]: Primitive value deserialization fragile wrt nulls |
| 889 | * [JACKSON-81]: Data binding code could lead to unnecessary blocking |
| 890 | because it tried to advance parser (and stream) after binding |
| 891 | (reported by Eldar A) |
| 892 | |
cowtowncoder | 2dcb3f4 | 2009-03-20 06:23:00 +0000 | [diff] [blame] | 893 | New features: |
| 894 | |
| 895 | * [JACKSON-61]: Allow suppressing writing of bean properties with null values |
| 896 | (requested by Justin F) |
cowtowncoder | b4b8b45 | 2009-04-01 05:21:14 +0000 | [diff] [blame] | 897 | * [JACKSON-63]: Create CustomDeserializerFactory to allow for adding |
| 898 | custom deserializers for non-structured/generic types. |
cowtowncoder | 8a349d6 | 2009-03-24 03:20:34 +0000 | [diff] [blame] | 899 | * [JACKSON-75]: Add "any setter" method; ability to catch otherwise |
| 900 | unknown (unmapped) properties and call a method with name+value. |
cowtowncoder | 4d9d4ef | 2009-04-01 22:51:22 +0000 | [diff] [blame] | 901 | * [JACKSON-80]: Add @JsonValue annotation, to specify that a Bean value |
| 902 | is to be serialized as value returned by annotated method: can for |
| 903 | example annotate "toString()" method. |
cowtowncoder | 49593ad | 2009-03-25 19:41:40 +0000 | [diff] [blame] | 904 | * [JACKSON-84]: Added JsonGenerator.writeRawValue methods to augment |
| 905 | existing JsonGenerator.writeRaw() method |
| 906 | (requested by Scott A) |
cowtowncoder | 7ee4955 | 2009-03-26 23:37:26 +0000 | [diff] [blame] | 907 | * [JACKSON-86]: Added JsonParser.isClosed() and JsonGenerator.isClosed() |
| 908 | methods. |
cowtowncoder | 061684d | 2009-03-28 07:12:55 +0000 | [diff] [blame] | 909 | * [JACKSON-87]: Added ability to customized Date/Calendar serialization, |
| 910 | both by toggling between timestamp (number) and textual (ISO-8601), |
| 911 | and by specifying alternate DateFormat to use. |
cowtowncoder | 2dcb3f4 | 2009-03-20 06:23:00 +0000 | [diff] [blame] | 912 | |
cowtowncoder | 2dcb3f4 | 2009-03-20 06:23:00 +0000 | [diff] [blame] | 913 | 0.9.9-2 [19-Mar-2009]: |
| 914 | |
| 915 | Fixes: |
| 916 | |
cowtowncoder | 8378280 | 2009-03-19 21:52:29 +0000 | [diff] [blame] | 917 | * [JACKSON-75]: Didn't have Deserializer for Number.class. |
cowtowncoder | e969d1e | 2009-03-17 06:50:47 +0000 | [diff] [blame] | 918 | |
cowtowncoder | 05573a3 | 2009-03-06 03:34:42 +0000 | [diff] [blame] | 919 | Improvements: |
| 920 | |
cowtowncoder | e27b2d9 | 2009-03-17 22:30:20 +0000 | [diff] [blame] | 921 | * [JACKSON-68]: Add DeserializationProblemListener, and |
| 922 | DeserializationConfig.addHandler to add instances to ObjectMapper. |
cowtowncoder | 05573a3 | 2009-03-06 03:34:42 +0000 | [diff] [blame] | 923 | * [JACKSON-71]: Add support ser/deser of Class.class. |
cowtowncoder | 638db53 | 2009-03-17 23:51:58 +0000 | [diff] [blame] | 924 | * [JACKSON-72]: Allow specifying that BigDecimal should be used instead |
| 925 | of Double for "generic" numeric types (Object, Number) |
cowtowncoder | 9e217a3 | 2009-04-18 06:37:08 +0000 | [diff] [blame] | 926 | (DeserializationConfig.Feature.USE_BIG_DECIMAL_FOR_FLOATS) |
cowtowncoder | 7b5527e | 2009-03-14 06:14:23 +0000 | [diff] [blame] | 927 | * [JACKSON-73]: Refactored ser/deser configuration settings into |
| 928 | separate configuration classes. |
cowtowncoder | 7f97b4f | 2009-03-19 20:34:02 +0000 | [diff] [blame] | 929 | * [JACKSON-78]: Should be able to deserialize ints into Booleans (0 == false) |
cowtowncoder | 05573a3 | 2009-03-06 03:34:42 +0000 | [diff] [blame] | 930 | |
cowtowncoder | 4e0f1ca | 2009-03-09 05:00:32 +0000 | [diff] [blame] | 931 | New features: |
| 932 | |
| 933 | * [JACKSON-45]: Add convenience methods to help writing custom |
| 934 | serializers |
| 935 | (requested by Scott A) |
| 936 | |
cowtowncoder | 2dcb3f4 | 2009-03-20 06:23:00 +0000 | [diff] [blame] | 937 | 0.9.9 [02-Mar-2009]: |
cowtowncoder | 05573a3 | 2009-03-06 03:34:42 +0000 | [diff] [blame] | 938 | |
| 939 | Fixes: |
| 940 | |
cowtowncoder | be4efa3 | 2009-02-19 06:26:45 +0000 | [diff] [blame] | 941 | * [JACKSON-59]: NPE with String[] serializer |
| 942 | (reported by Kevin G) |
cowtowncoder | 3f1dee8 | 2009-02-19 20:11:55 +0000 | [diff] [blame] | 943 | * [JACKSON-62]: NPE with JsonMappingException if source exception used |
| 944 | null message. |
| 945 | (reported by Justin F) |
cowtowncoder | f4d18c7 | 2009-02-27 06:57:32 +0000 | [diff] [blame] | 946 | * [JACKSON-64]: Handling of property name (with @JsonGetter, @JsonSetter) |
| 947 | made bit more intuitive; uses bean naming convention if no explicit |
| 948 | name given. |
cowtowncoder | be4efa3 | 2009-02-19 06:26:45 +0000 | [diff] [blame] | 949 | |
cowtowncoder | 4a5d5fd | 2009-02-27 23:07:54 +0000 | [diff] [blame] | 950 | Improvements: |
| 951 | |
| 952 | * [JACKSON-60]: Method annotations did not follow intuitive expectations |
| 953 | of inheritability; now do. |
| 954 | * [JACKSON-65]: Need to support typing using "java.lang.reflect.Type", to |
| 955 | help integration with frameworks. |
cowtowncoder | 889d5ab | 2009-02-28 07:28:24 +0000 | [diff] [blame] | 956 | * [JACKSON-66]: ObjectMapper now has "canSerialize" and "canDeserialize" |
| 957 | methods to help frameworks figure out what is supported. |
cowtowncoder | 4a5d5fd | 2009-02-27 23:07:54 +0000 | [diff] [blame] | 958 | |
cowtowncoder | e12853f | 2009-02-17 07:11:21 +0000 | [diff] [blame] | 959 | New features: |
| 960 | |
cowtowncoder | 65148ec | 2009-02-25 23:16:28 +0000 | [diff] [blame] | 961 | * [JACKSON-52]: Allow disabling name-based auto-detection of |
| 962 | getter methods |
| 963 | (requested by Justin F) |
cowtowncoder | 3de7eaf | 2009-02-19 07:14:00 +0000 | [diff] [blame] | 964 | * [JACKSON-58]: Allow defining custom global Enum serializer |
| 965 | (to, for example, make Enums be serialized using Enum.toString(), |
| 966 | or lower-case name or such) |
cowtowncoder | e0a3f24 | 2009-03-02 18:43:09 +0000 | [diff] [blame] | 967 | * [JACKSON-67]: Add JAX-RS provider based on Jackson that can handle |
| 968 | JSON content type; initially as a separate jar. |
cowtowncoder | 3de7eaf | 2009-02-19 07:14:00 +0000 | [diff] [blame] | 969 | |
cowtowncoder | 3a5b79b | 2009-02-25 23:19:52 +0000 | [diff] [blame] | 970 | Other: |
| 971 | |
| 972 | * [JACKSON-22]: all contributors now have submitted contributor |
| 973 | agreement, stored under 'DEV/agreements-received' in svn trunk. |
| 974 | |
cowtowncoder | 3de7eaf | 2009-02-19 07:14:00 +0000 | [diff] [blame] | 975 | 0.9.8 [18-Feb-2009]: |
| 976 | |
| 977 | Fixes: |
| 978 | |
| 979 | * [JACKSON-49]: Incorrect bounds check for Float values resulted in |
| 980 | exception when trying to serializer 0.0f. |
| 981 | |
| 982 | New features: |
| 983 | |
cowtowncoder | 0383371 | 2009-02-17 07:14:18 +0000 | [diff] [blame] | 984 | * [JACKSON-32]: add annotations to configure serialization process |
| 985 | (@JsonClass/@JsonContentClass/@JsonKeyClass; @JsonUseSerializer, |
| 986 | @JsonUseDeserializer, @JsonIgnore) |
cowtowncoder | e12853f | 2009-02-17 07:11:21 +0000 | [diff] [blame] | 987 | * [JACKSON-36]: add annotations to define property names that differ |
| 988 | from bean naming convention (@JsonGetter/@JsonSetter) |
| 989 | |
cowtowncoder | cd6a959 | 2009-02-17 07:06:04 +0000 | [diff] [blame] | 990 | Improvements: |
| 991 | |
cowtowncoder | 64472f8 | 2009-02-04 22:58:57 +0000 | [diff] [blame] | 992 | * [JACKSON-47]: Change DeserializerProvider.findValueDeserializer to |
| 993 | take "referrer" information. This is needed to be able to give |
| 994 | contextual mappings where a given type may be deserialized differently |
| 995 | (by different deserializer, and possibly to a different java class) |
| 996 | depending on where the reference is from. |
cowtowncoder | 5ec1545 | 2009-02-17 05:56:37 +0000 | [diff] [blame] | 997 | * [JACKSON-48]: Integrate ObjectMapper with JsonGenerator, JsonParser; |
| 998 | add MappingJsonFactory. |
| 999 | (suggested by Scott A) |
cowtowncoder | e34beeb | 2009-02-10 23:30:17 +0000 | [diff] [blame] | 1000 | * [JACKSON-50]: JsonNode.getElements() and .iterator() now work for |
| 1001 | ObjectNodes too, not just ArrayNodes. Also added convenience factory |
| 1002 | methods to allow constructing child nodes directly from container |
| 1003 | nodes. |
cowtowncoder | e7179c3 | 2009-02-16 21:39:51 +0000 | [diff] [blame] | 1004 | * [JACKSON-53]: iBatis proxied value classes didn't work; fixed by |
| 1005 | prevent CGLib-generated "getCallbacks" from getting called. |
| 1006 | (reportd by Justin F) |
cowtowncoder | 38f869f | 2009-02-16 19:51:53 +0000 | [diff] [blame] | 1007 | * [JACKSON-55]: Added support for reference-path-tracking in |
| 1008 | JsonMappingException, made serializers populate it: this to make |
| 1009 | it easier to trouble-shoot nested serialization problems |
cowtowncoder | af00478 | 2009-02-16 23:18:08 +0000 | [diff] [blame] | 1010 | * [JACKSON-56]: Added support for RFC-1123 date format, along with |
| 1011 | simpler "standard" format; and can add more as need be. |
cowtowncoder | 64472f8 | 2009-02-04 22:58:57 +0000 | [diff] [blame] | 1012 | |
cowtowncoder | 64472f8 | 2009-02-04 22:58:57 +0000 | [diff] [blame] | 1013 | 0.9.7 [04-Feb-2009]: |
cowtowncoder | 6fe4438 | 2009-01-14 06:49:09 +0000 | [diff] [blame] | 1014 | |
cowtowncoder | b4421f8 | 2009-01-21 18:42:38 +0000 | [diff] [blame] | 1015 | Improvements: |
| 1016 | |
| 1017 | * [JACKSON-34]: Improved packaging by adding an intermediate directory |
| 1018 | in source tarball, to not mess up the current directory (and to indicate |
| 1019 | version number as well) |
cowtowncoder | 1795e0a | 2009-01-26 23:18:50 +0000 | [diff] [blame] | 1020 | * [JACKSON-37]: Make Jackson run on Android, by ensuring that there are |
| 1021 | no hard linkages to classes that Android SDK doesn't have (the only |
| 1022 | reference that was there, to XMLGregorianCalendar, was changed to |
| 1023 | soft linkage) |
| 1024 | * [JACKSON-42]: Add new JsonNode sub-class, BinaryNode, to represent |
| 1025 | base64 encoded binary content. |
cowtowncoder | b4421f8 | 2009-01-21 18:42:38 +0000 | [diff] [blame] | 1026 | |
cowtowncoder | 3dbde60 | 2009-01-23 00:07:32 +0000 | [diff] [blame] | 1027 | New features: |
| 1028 | |
cowtowncoder | c9e2321 | 2009-01-24 00:44:03 +0000 | [diff] [blame] | 1029 | * [JACKSON-6]: Implement JsonParser.getBinaryValue() so that one can |
| 1030 | now also read Base64-encoded binary, not just write. |
cowtowncoder | 3dbde60 | 2009-01-23 00:07:32 +0000 | [diff] [blame] | 1031 | * [JACKSON-40]: Add JsonParser.nextValue() for more convenient |
| 1032 | iteration. |
cowtowncoder | 21ad15d | 2009-02-04 21:37:26 +0000 | [diff] [blame] | 1033 | * [JACKSON-46]: Allow disabling quoting of field names by disabling |
| 1034 | feature 'JsonGenerator.feature.QUOTE_FIELD_NAMES' |
| 1035 | (requested by Scott Anderson) |
cowtowncoder | 3dbde60 | 2009-01-23 00:07:32 +0000 | [diff] [blame] | 1036 | |
cowtowncoder | b4421f8 | 2009-01-21 18:42:38 +0000 | [diff] [blame] | 1037 | 0.9.6 [14-Jan-2009]: |
cowtowncoder | e3e40b0 | 2008-04-25 05:30:01 +0000 | [diff] [blame] | 1038 | |
| 1039 | Bug fixes: |
| 1040 | |
cowtowncoder | 9dfa690 | 2009-01-05 21:56:12 +0000 | [diff] [blame] | 1041 | * Serialization of some core types (boolean/java.lang.Boolean, |
| 1042 | long/java.lang.Long) was not working due to incorrectly mapped |
| 1043 | serializers. |
| 1044 | |
cowtowncoder | 336017c | 2009-01-14 00:08:19 +0000 | [diff] [blame] | 1045 | New features: |
| 1046 | |
| 1047 | * [JACKSON-31]: Complete rewrite of ObjectMapper's deserialization: |
cowtowncoder | 636c2ab | 2009-01-15 05:47:12 +0000 | [diff] [blame] | 1048 | now supports Beans, typed (generics-aware) Lists/Maps/arrays. |
cowtowncoder | 336017c | 2009-01-14 00:08:19 +0000 | [diff] [blame] | 1049 | |
cowtowncoder | 9dfa690 | 2009-01-05 21:56:12 +0000 | [diff] [blame] | 1050 | Improvements: |
| 1051 | |
cowtowncoder | c8cf6ad | 2009-01-14 23:52:52 +0000 | [diff] [blame] | 1052 | * [JACKSON-24]: Add efficient byte-array - based parser factory |
| 1053 | method to JsonFactory (has maybe 5% improvement over wrapping |
| 1054 | in ByteArrayInputStream). |
cowtowncoder | 6fe4438 | 2009-01-14 06:49:09 +0000 | [diff] [blame] | 1055 | * [JACKSON-29]: Split classes in 2 jars: core that has parser and |
| 1056 | generator APIs and implementations; and mapper jar that has object |
| 1057 | and tree mapper code. |
cowtowncoder | 9dfa690 | 2009-01-05 21:56:12 +0000 | [diff] [blame] | 1058 | * [JACKSON-30]: Renamed "JavaTypeMapper" as "ObjectMapper", and |
| 1059 | "JsonTypeMapper" as "TreeMapper"; new names should be more intuitive |
| 1060 | to indicate their purpose. Will leave simple implementations of |
| 1061 | old classes to allow for gradual migration of existing code. |
| 1062 | |
cowtowncoder | 9dfa690 | 2009-01-05 21:56:12 +0000 | [diff] [blame] | 1063 | 0.9.5 [10-Dec-2008]: |
| 1064 | |
| 1065 | Bug fixes: |
| 1066 | |
cowtowncoder | 9ec956e | 2008-12-03 17:40:31 +0000 | [diff] [blame] | 1067 | * [JACKSON-25]: Problems with Maven pom for lgpl version |
| 1068 | (report by Ray R) |
| 1069 | note: backported to 0.9.4 Codehaus Maven repo |
| 1070 | |
cowtowncoder | f1a91c5 | 2008-12-05 22:07:23 +0000 | [diff] [blame] | 1071 | Improvements: |
| 1072 | |
cowtowncoder | 819df72 | 2008-12-11 06:16:13 +0000 | [diff] [blame] | 1073 | * [JACKSON-13]: JavaTypeMapper can now take JsonFactory argument, and |
| 1074 | thus is able to construct JsonParser/JsonGenerator instances as necessary |
| 1075 | * [JACKSON-17]: Handling of unknown types now configurable with |
| 1076 | JavaTypeMapper serialization (see JsonSerializerProvider for methods) |
| 1077 | * [JACKSON-20]: Handling of nulls (key, value) configurable with |
| 1078 | JavaTypeMapper serialization (see JsonSerializerProvider for methods) |
cowtowncoder | f1a91c5 | 2008-12-05 22:07:23 +0000 | [diff] [blame] | 1079 | * [JACKSON-26]: Add convenience JsonGenerator.writeXxxField() methods |
| 1080 | to simplify json generation. |
| 1081 | |
| 1082 | New features: |
| 1083 | |
| 1084 | * [JACKSON-27]: Allow automatic closing of incomplete START_ARRAY and |
cowtowncoder | 16a9970 | 2008-12-13 04:31:37 +0000 | [diff] [blame] | 1085 | START_OBJECT events, when JsonGenerator.close() is called. |
cowtowncoder | f1a91c5 | 2008-12-05 22:07:23 +0000 | [diff] [blame] | 1086 | |
cowtowncoder | 3cedba5 | 2008-12-01 06:09:31 +0000 | [diff] [blame] | 1087 | 0.9.4 [26-Nov-2008]: |
| 1088 | |
| 1089 | Bug fixes: |
| 1090 | |
cowtowncoder | 0679f4c | 2008-11-26 19:43:53 +0000 | [diff] [blame] | 1091 | * [JACKSON-16]: JavaDocs regarding whether Jackson is to close underlying |
| 1092 | streams, readers and writers, were incorrect. Additionally added |
| 1093 | parser/generator features to allow specifying whether automatic closing |
| 1094 | is to be done by Jackson: feature is enabled by default, both for |
| 1095 | backwards compatibility, and because it seems like the right setting. |
cowtowncoder | 5cbf906 | 2008-10-21 06:31:58 +0000 | [diff] [blame] | 1096 | * [JACKSON-18]: ArrayIndexOutOfBounds on IntNode, due to off-by-one |
| 1097 | problem with comparisons |
| 1098 | (reported by Michael D) |
cowtowncoder | 0530d3e | 2008-11-25 19:33:25 +0000 | [diff] [blame] | 1099 | * Fixed a problem with CR (\r) handling; was sometimes skipping |
| 1100 | characters (problematic if there's no indentation). |
cowtowncoder | 5ed8bd8 | 2008-11-26 17:41:27 +0000 | [diff] [blame] | 1101 | * Multiple UTF-8 decoding fixes: was specifically not working for |
| 1102 | names. |
cowtowncoder | 5cbf906 | 2008-10-21 06:31:58 +0000 | [diff] [blame] | 1103 | |
cowtowncoder | 05cbbd2 | 2008-09-19 06:11:16 +0000 | [diff] [blame] | 1104 | Improvements: |
| 1105 | |
| 1106 | * More complete JavaDoc comments for core public classes. |
cowtowncoder | 0530d3e | 2008-11-25 19:33:25 +0000 | [diff] [blame] | 1107 | * Internal cleanup of core parsing, to unify handling of Object and |
| 1108 | Array entries |
cowtowncoder | 05cbbd2 | 2008-09-19 06:11:16 +0000 | [diff] [blame] | 1109 | |
cowtowncoder | a7ec537 | 2009-12-11 07:19:35 +0000 | [diff] [blame] | 1110 | 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] | 1111 | |
cowtowncoder | a7ec537 | 2009-12-11 07:19:35 +0000 | [diff] [blame] | 1112 | Changes: |
| 1113 | |
| 1114 | * [JACKSON-5]: Symbol table construction was not thread-safe for |
| 1115 | utf-8 encoded content (new bug with 0.9.2, not present with earlier) |
| 1116 | (reported by Tudor B) |
| 1117 | * [JACKSON-8]: Serialization of BigDecimal broken with JavaTypeMapper |
| 1118 | (reported by Johannes L) |
cowtowncoder | e6e65b4 | 2008-11-27 05:45:46 +0000 | [diff] [blame] | 1119 | * [JACKSON-9]: Add support for (non-standard) Json comments. |
| 1120 | (requested by Mike G) |
cowtowncoder | ce3027a | 2008-11-21 20:30:25 +0000 | [diff] [blame] | 1121 | * [JACKSON-11]: Implement base64/binary methods for json generator. |
cowtowncoder | a7ec537 | 2009-12-11 07:19:35 +0000 | [diff] [blame] | 1122 | * [JACKSON-14]: Problems with generic collections, serializer |
| 1123 | method signatures (due to lack of covariance wrt collection types) |
cowtowncoder | 5ed8bd8 | 2008-11-26 17:41:27 +0000 | [diff] [blame] | 1124 | * [JACKSON-15]: Add copy-through methods to JsonGenerator for |
| 1125 | pass-through copying of content (copyCurrentEvent, copyCurrentStructure) |
cowtowncoder | 19590b9 | 2008-11-21 20:54:14 +0000 | [diff] [blame] | 1126 | * [JACKSON-23]: Add OSGi manifest headers for jars (to run on OSGi container). |
cowtowncoder | 0679f4c | 2008-11-26 19:43:53 +0000 | [diff] [blame] | 1127 | * Added generic "feature" mechanism to parsers, writers; features are |
| 1128 | togglable (on/off) things with well-defined default values, implemented |
| 1129 | as Enums. |
cowtowncoder | ce3027a | 2008-11-21 20:30:25 +0000 | [diff] [blame] | 1130 | |
cowtowncoder | 569b5e8 | 2008-07-25 06:35:49 +0000 | [diff] [blame] | 1131 | * [JACKSON-1]: JsonNode now implements Iterable<JsonNode> so that |
| 1132 | it is possible use Java 5 foreach loop over array/object nodes. |
| 1133 | (suggested by Michael M) |
| 1134 | * [JACKSON-4] Added JsonParser.skipChildren() method. |
cowtowncoder | 15a0b02 | 2008-04-24 05:05:16 +0000 | [diff] [blame] | 1135 | * UTF-16/32 handling was not completely correct, was erroneously |
| 1136 | skipping first 2/4 bytes in some cases (even when no BOM included). |
| 1137 | Also, related unit tests added/fixed. |
cowtowncoder | ba36461 | 2008-03-24 05:59:43 +0000 | [diff] [blame] | 1138 | * JsonGenerator.useDefaultPrettyPrinter()/.setPrettyPrinter() |
| 1139 | allow for pretty printing (indentation). |
| 1140 | (thanks to Ziad M for suggestion, sample code) |
| 1141 | |
cowtowncoder | a7ec537 | 2009-12-11 07:19:35 +0000 | [diff] [blame] | 1142 | * Implicit conversions for numbers could sometimes lose accuracy, |
| 1143 | if floating-point number was first accessed as int/long, and then |
| 1144 | as a BigDecimal. |
| 1145 | * One Nasty NPE fixed from NameCanonicalizer (which was added in 0.9.2) |
cowtowncoder | ba36461 | 2008-03-24 05:59:43 +0000 | [diff] [blame] | 1146 | |
cowtowncoder | 314c483 | 2008-09-07 17:39:33 +0000 | [diff] [blame] | 1147 | * Java type mapper had a bug in Collection mapping (mismatched |
| 1148 | calls between writeStartArray and writeEndObject!) |
| 1149 | (reported by Mike E) |
| 1150 | * Java type mapper had a bug which prevented custom mappers (as |
| 1151 | well as slower interface-based introspection) from working. |
| 1152 | (reported by Mike E) |
| 1153 | * Numeric value parsing had some problems |
cowtowncoder | ba36461 | 2008-03-24 05:59:43 +0000 | [diff] [blame] | 1154 | * JavaTypeMapper and JsonTypeMapper had a bug which resulted |
| 1155 | in NullPointerException when stream ends, instead of returning |
| 1156 | null to indicate it. |
| 1157 | (reported by Augusto C) |
| 1158 | * JavaTypeMapper did not implicitly flush generator after mapping |
| 1159 | objects: it should, and now will (note: JsonTypeMapper not directly |
| 1160 | affected, flushing still needed) |
| 1161 | (suggested by Maciej P) |