diff --git a/release-notes/VERSION b/release-notes/VERSION index 1292aa45bc..9ef7dbd1f5 100644 --- a/release-notes/VERSION +++ b/release-notes/VERSION @@ -11,6 +11,7 @@ Versions: 3.x (for earlier see VERSION-2.x) (contributed by Joo-Hyuk K) #1058: Add a way to pass std and format-specific parser/generator flags during parser/generation construction +#1484: Changed default of `MapperFeature.DEFAULT_VIEW_INCLUSION` to `false` in 3.0 #1600: Serializing locale with underscore, not standard hyphen (requested by Alexander K) #1762: `StdDateFormat`: serialize time offset using colon diff --git a/src/main/java/tools/jackson/databind/MapperFeature.java b/src/main/java/tools/jackson/databind/MapperFeature.java index 91268f554d..6cf907ee33 100644 --- a/src/main/java/tools/jackson/databind/MapperFeature.java +++ b/src/main/java/tools/jackson/databind/MapperFeature.java @@ -259,13 +259,12 @@ public enum MapperFeature * changes between "opt-in" (feature disabled) and * "opt-out" (feature enabled) modes. *
- * Default value is enabled, meaning that non-annotated - * properties are included in all views if there is no + * Feature is disabled by default as of Jackson 3.0 (in 2.x it was enabled), + * meaning that non-annotated + * properties are not included views if there is no * {@link com.fasterxml.jackson.annotation.JsonView} annotation. - *
- * Feature is enabled by default in 2.x: will be disabled in 3.0. */ - DEFAULT_VIEW_INCLUSION(true), + DEFAULT_VIEW_INCLUSION(false), /* /**********************************************************************