diff --git a/release-notes/VERSION-2.x b/release-notes/VERSION-2.x index a824e483..4c698918 100644 --- a/release-notes/VERSION-2.x +++ b/release-notes/VERSION-2.x @@ -13,8 +13,7 @@ NOTE: Annotations module will never contain changes in patch versions, 2.18.0 (not yet released) -#258: Add `ElementType.PARAMETER` to `@JsonIgnore` to allow use for Constructor - parameters +No changes since 2.17 2.17.0 (12-Mar-2024) diff --git a/src/main/java/com/fasterxml/jackson/annotation/JsonIgnore.java b/src/main/java/com/fasterxml/jackson/annotation/JsonIgnore.java index 920e98fc..a0895d90 100644 --- a/src/main/java/com/fasterxml/jackson/annotation/JsonIgnore.java +++ b/src/main/java/com/fasterxml/jackson/annotation/JsonIgnore.java @@ -46,10 +46,8 @@ * defining one with 'false' argument: either in a subclass, or by * using "mix-in annotations". */ -@Target({ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR, ElementType.FIELD, - ElementType.METHOD, - // note: added in 2.18 (as per [annotations#258]) - ElementType.PARAMETER}) +@Target({ElementType.ANNOTATION_TYPE, + ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @JacksonAnnotation public @interface JsonIgnore