Tatu Saloranta | 7580af0 | 2013-04-22 19:54:26 -0700 | [diff] [blame] | 1 | Project: jackson-annotations |
Tatu Saloranta | 39a4a28 | 2012-02-24 16:00:54 -0800 | [diff] [blame] | 2 | |
Tatu Saloranta | 3512679 | 2014-03-27 19:57:02 -0700 | [diff] [blame] | 3 | NOTE: Annotations module will never contain changes in patch versions, |
Tatu Saloranta | 94e157f | 2014-05-29 09:44:56 -0700 | [diff] [blame] | 4 | only .0 releases can have changes. We may still release patch versions, but |
| 5 | they will be identical to .0 versions, and only released for convenience |
Tatu Saloranta | 116a96e | 2014-11-06 08:26:17 -0800 | [diff] [blame] | 6 | (developers can line up all Jackson components with same patch version number). |
| 7 | Main components will typically depend on .0 versions: please do NOT file |
| 8 | issues against this being a bug; it is intentional. |
Tatu | 75f446b | 2014-01-02 12:31:37 -0800 | [diff] [blame] | 9 | |
Tatu Saloranta | 90f9db8 | 2014-06-15 15:13:19 -0700 | [diff] [blame] | 10 | ------------------------------------------------------------------------ |
Tatu Saloranta | 3e08b40 | 2014-10-16 22:49:33 -0700 | [diff] [blame] | 11 | === Releases === |
Tatu Saloranta | 90f9db8 | 2014-06-15 15:13:19 -0700 | [diff] [blame] | 12 | ------------------------------------------------------------------------ |
| 13 | |
Cowtowncoder | 5261db0 | 2015-04-02 11:40:27 -0700 | [diff] [blame] | 14 | 2.6.0 (not yet released) |
| 15 | |
Cowtowncoder | e4bde87 | 2015-06-18 14:36:20 -0700 | [diff] [blame] | 16 | #43: Add `@JsonFormat(with=Feature.xxx)` to support things like |
| 17 | `DeserializationFeature.ACCEEPT_SINGLE_VALUE_AS_ARRAY`. |
Cowtowncoder | 5261db0 | 2015-04-02 11:40:27 -0700 | [diff] [blame] | 18 | #56: Improve `ObjectIdGenerators.key()` to handle `null` appropriately by returning `null` |
Tatu Saloranta | c04af7f | 2015-05-13 22:27:50 -0700 | [diff] [blame] | 19 | #58: Add new properties for `@JsonIgnoreProperties`, "allowGetters", "allowSetters" |
Tatu Saloranta | b8b740d | 2015-06-01 21:25:24 -0700 | [diff] [blame] | 20 | #60: Add new value type, `OptBoolean`, for "optional booleans", to support proper handling |
Tatu Saloranta | 85f5f0c | 2015-05-31 11:44:07 -0700 | [diff] [blame] | 21 | and usage of default values, not just explicit true/false. |
Tatu Saloranta | 8e929c2 | 2015-06-01 21:26:57 -0700 | [diff] [blame] | 22 | #61: dd new property, `@JsonProperty.access` (and matching enum) to support read-only/write-only properties |
Cowtowncoder | 4595936 | 2015-05-28 16:52:48 -0700 | [diff] [blame] | 23 | - Add `JsonInclude.Include.NON_ABSENT` value, for excluding "absent" Optional values. |
Cowtowncoder | 8169e3f | 2015-06-23 14:49:47 -0700 | [diff] [blame^] | 24 | - Add tag interface `JacksonAnnotationValue` for helper types used for encapsuating information |
| 25 | for "complex" annotations (multi-property ones) |
Cowtowncoder | 5261db0 | 2015-04-02 11:40:27 -0700 | [diff] [blame] | 26 | |
Tatu Saloranta | fbacc43 | 2015-01-01 15:30:33 -0800 | [diff] [blame] | 27 | 2.5.0 (01-Jan-2015) |
Tatu Saloranta | 3e08b40 | 2014-10-16 22:49:33 -0700 | [diff] [blame] | 28 | |
Tatu Saloranta | 17a1e4a | 2014-12-20 10:59:48 -0800 | [diff] [blame] | 29 | #47: Add `@JsonCreator.mode` property to explicitly choose between delegating- |
| 30 | and property-based creators, or to disable specific creator (Mode.DISABLED) |
Cowtowncoder | 3cb2356 | 2014-12-04 13:20:26 -0800 | [diff] [blame] | 31 | #48: Allow `@JsonView` for (method) parameters too |
Tatu Saloranta | ede5f8d | 2014-12-06 15:26:03 -0800 | [diff] [blame] | 32 | #49: Add `@JsonTypeInfo.skipWritingDefault` |
Tatu Saloranta | 469b474 | 2014-12-09 21:00:23 -0800 | [diff] [blame] | 33 | #50: Add `ObjectIdGenerator.maySerializeAsObject()`, |
| 34 | `ObjectIdGenerator.ObjectIdGenerator.maySerializeAsObject()` to support JSOG |
Tatu Saloranta | 3e08b40 | 2014-10-16 22:49:33 -0700 | [diff] [blame] | 35 | - Added `@JsonInclude.content` to allow specifying inclusion criteria |
| 36 | for `java.util.Map` entries separate from inclusion of `Map` values |
| 37 | themselves |
Cowtowncoder | 7a40947 | 2014-12-19 13:14:58 -0800 | [diff] [blame] | 38 | - Finalize fix for [databind#490], by ensuring new mapping initialized for new context |
Cowtowncoder | 4e78c6b | 2014-12-23 17:27:50 -0800 | [diff] [blame] | 39 | - Added `@JsonProperty.defaultValue()` (related to [databind#596]) |
Tatu Saloranta | 3e08b40 | 2014-10-16 22:49:33 -0700 | [diff] [blame] | 40 | |
Tatu Saloranta | fe4139c | 2014-11-24 18:01:06 -0800 | [diff] [blame] | 41 | 2.4.4 (24-Nov-2014) |
Tatu Saloranta | 116a96e | 2014-11-06 08:26:17 -0800 | [diff] [blame] | 42 | 2.4.3 (02-Oct-2014) |
Tatu Saloranta | f6675b0 | 2014-10-02 18:57:02 -0700 | [diff] [blame] | 43 | 2.4.2 (13-Aug-2014) |
| 44 | 2.4.1 |
| 45 | |
| 46 | No changes since 2.4.0. |
| 47 | |
Tatu Saloranta | 90f9db8 | 2014-06-15 15:13:19 -0700 | [diff] [blame] | 48 | 2.4.0 (29-May-2014) |
| 49 | |
Tatu Saloranta | d7e541c | 2014-03-14 21:21:02 -0700 | [diff] [blame] | 50 | #31: Allow use of `@JsonPropertyOrder` for properties (not just classes) |
Tatu Saloranta | d9f31b7 | 2014-04-09 19:23:11 -0700 | [diff] [blame] | 51 | #32: Add `@JsonProperty.index` |
Tatu Saloranta | b61db14 | 2014-03-27 20:36:01 -0700 | [diff] [blame] | 52 | - Add `JsonFormat.Value#timeZoneAsString` (needed by Joda module) |
Tatu Saloranta | df34a31 | 2014-05-07 18:25:04 -0700 | [diff] [blame] | 53 | - Add `@JsonRootName.namespace` to allow specifying of namespace with |
| 54 | standard Jackson annotations (not just XML-specific ones that dataformat-xml |
| 55 | provides) |
Tatu Saloranta | d7e541c | 2014-03-14 21:21:02 -0700 | [diff] [blame] | 56 | |
Tatu Saloranta | 94e157f | 2014-05-29 09:44:56 -0700 | [diff] [blame] | 57 | 2.3.2 (01-Mar-2014) |
Tatu Saloranta | 3512679 | 2014-03-27 19:57:02 -0700 | [diff] [blame] | 58 | 2.3.1 (28-Dec-2013) |
Tatu | 75f446b | 2014-01-02 12:31:37 -0800 | [diff] [blame] | 59 | 2.3.0 (13-Nov-2013) |
Tatu Saloranta | a8ca29b | 2012-11-12 14:30:14 -0800 | [diff] [blame] | 60 | |
Tatu Saloranta | d8d2e81 | 2013-07-25 18:48:07 -0700 | [diff] [blame] | 61 | #13: Add `@JsonPropertyDescription` |
| 62 | (suggested by Net-A-Porter@github) |
Tatu Saloranta | 18c5e26 | 2013-09-12 18:14:05 -0700 | [diff] [blame] | 63 | #20: Allow use of `@JsonFilter` for properties (via fields, methods, |
| 64 | constructor parameters) |
Tatu | d003e82 | 2013-10-25 10:29:08 -0700 | [diff] [blame] | 65 | (note: although #15 -- Add `JsonTypeInfo.As.EXISTING` property to support new |
| 66 | variation for including Type Id was included, jackson-databind does not |
| 67 | yet support it as of 2.3.0) |
Tatu Saloranta | a431ceb | 2013-07-24 22:45:05 -0700 | [diff] [blame] | 68 | |
Tatu | 75f446b | 2014-01-02 12:31:37 -0800 | [diff] [blame] | 69 | 2.2.3 (23-Aug-2013) |
Tatu Saloranta | d713c9f | 2013-06-06 14:01:02 -0700 | [diff] [blame] | 70 | 2.2.2 (26-May-2013) |
| 71 | |
Tatu Saloranta | 3512679 | 2014-03-27 19:57:02 -0700 | [diff] [blame] | 72 | No changes since 2.2.1 |
Tatu Saloranta | d713c9f | 2013-06-06 14:01:02 -0700 | [diff] [blame] | 73 | |
Tatu Saloranta | 29299cf | 2013-05-26 21:26:21 -0700 | [diff] [blame] | 74 | 2.2.1 (03-May-2013) |
| 75 | |
| 76 | - Moved LICENSE file under 'META-INF/' in jar |
| 77 | |
Tatu Saloranta | 4987031 | 2013-04-26 16:43:55 -0700 | [diff] [blame] | 78 | 2.2.0 (22-Apr-2013) |
| 79 | |
Tatu Saloranta | 3512679 | 2014-03-27 19:57:02 -0700 | [diff] [blame] | 80 | No changes since 2.1.1 |
Tatu Saloranta | 4987031 | 2013-04-26 16:43:55 -0700 | [diff] [blame] | 81 | |
Tatu Saloranta | a8ca29b | 2012-11-12 14:30:14 -0800 | [diff] [blame] | 82 | 2.1.1 (11-Nov-2012) |
Tatu Saloranta | 4b6fd6a | 2012-11-11 15:36:08 -0800 | [diff] [blame] | 83 | |
| 84 | Fixes: |
| 85 | |
| 86 | * Make ObjectIdGenerator java.io.Serializable (needed when serializing |
| 87 | ObjectMappers/-Writers/-Readers) |
| 88 | |
Tatu Saloranta | 4b6fd6a | 2012-11-11 15:36:08 -0800 | [diff] [blame] | 89 | 2.1.0 (08-Oct-2012) |
Tatu Saloranta | 1e2b404 | 2012-05-14 19:42:57 -0700 | [diff] [blame] | 90 | |
Tatu Saloranta | ccbc086 | 2012-08-24 12:42:04 -0700 | [diff] [blame] | 91 | New features: |
| 92 | |
| 93 | * [Issue#4]: Add '@JsonIdentityReference', to support use case where values of |
| 94 | a specific reference property are always serialized as ids, never as full POJO |
Tatu Saloranta | 1e2b404 | 2012-05-14 19:42:57 -0700 | [diff] [blame] | 95 | |
Tatu Saloranta | 0ba1401 | 2012-10-04 17:36:10 -0700 | [diff] [blame] | 96 | Improvements: |
| 97 | |
| 98 | * Added '@JsonIdentityInfo.firstAsID' property, to allow forcing all references |
| 99 | to an Object to be serialized as id, including first one. |
| 100 | * Fix OSGi artifact name to be fully-qualified |
| 101 | |
Tatu Saloranta | 1e2b404 | 2012-05-14 19:42:57 -0700 | [diff] [blame] | 102 | |
| 103 | 2.0.2 (14-May-2012) |
Tatu Saloranta | 52654bd | 2012-04-22 10:35:46 -0700 | [diff] [blame] | 104 | |
Tatu Saloranta | 227498d | 2012-05-14 18:40:12 -0700 | [diff] [blame] | 105 | Fixes: |
| 106 | |
| 107 | * OSGi bundle name was accidentally changed in 2.0.1; reverted back to one |
| 108 | used in 2.0.0, earlier |
Tatu Saloranta | 52654bd | 2012-04-22 10:35:46 -0700 | [diff] [blame] | 109 | (reported Pascal G) |
| 110 | |
Tatu Saloranta | 227498d | 2012-05-14 18:40:12 -0700 | [diff] [blame] | 111 | 2.0.1 (22-Apr-2012) |
| 112 | |
| 113 | Fixes: |
| 114 | |
| 115 | * [JACKSON-827] Fix incompatibilities with JDK 1.5 (2.0.0 accidentally |
| 116 | required 1.6) |
| 117 | (reported Pascal G) |
| 118 | |
Tatu Saloranta | 52654bd | 2012-04-22 10:35:46 -0700 | [diff] [blame] | 119 | 2.0.0 (25-Mar-2012) |
Tatu Saloranta | f7404ed | 2012-03-25 11:41:23 -0700 | [diff] [blame] | 120 | |
| 121 | Improvements: |
| 122 | |
| 123 | * [JACKSON-437]: Allow injecting of type id as POJO property, by setting |
| 124 | new '@JsonTypeInfo.visible' property to true. |
| 125 | * [JACKSON-669]: Allow prefix/suffix for @JsonUnwrapped properties |
| 126 | (requested by Aner P) |
| 127 | * [JACKSON-787]: @JsonIgnoredProperties can be used on properties too |
Tatu Saloranta | 39a4a28 | 2012-02-24 16:00:54 -0800 | [diff] [blame] | 128 | |
| 129 | New features: |
| 130 | |
Tatu Saloranta | f7404ed | 2012-03-25 11:41:23 -0700 | [diff] [blame] | 131 | * [JACKSON-107]: Add support for Object Identity (to handled cycles, shared refs), |
| 132 | with @JsonIdentityInfo |
Tatu Saloranta | 39a4a28 | 2012-02-24 16:00:54 -0800 | [diff] [blame] | 133 | * [JACKSON-714] Add general-purpose '@JsonFormat' annotation |
Tatu Saloranta | f7404ed | 2012-03-25 11:41:23 -0700 | [diff] [blame] | 134 | * [JACKSON-752]: Add @JsonInclude (replacement of @JsonSerialize.include) |
| 135 | * [JACKSON-754]: Add @JacksonAnnotationsInside for creating "annotation |
| 136 | bundles" (also: AnnotationIntrospector.isAnnotationBundle()) |
| 137 | |
| 138 | Other: |
| 139 | |
| 140 | * Lots of miscellaneous refactoring; moving most annotations from |
| 141 | databind into this package; only leaving ones that depend on |
| 142 | databind package types |
Tatu Saloranta | 39a4a28 | 2012-02-24 16:00:54 -0800 | [diff] [blame] | 143 | |
| 144 | ------------------------------------------------------------------------ |
| 145 | === History: === |
| 146 | ------------------------------------------------------------------------ |
| 147 | |
| 148 | [entries for versions 1.x and earlier not retained; refer to earlier releases) |