Skip to content

Commit

Permalink
Fix #543: enable Avro Logical Type support for Schema generation by d…
Browse files Browse the repository at this point in the history
…efault (#544)
  • Loading branch information
cowtowncoder authored Jan 5, 2025
1 parent c994603 commit babb8da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ public class VisitorFormatWrapperImpl
implements JsonFormatVisitorWrapper
{
/**
* Default value for {@link #_logicalTypesEnabled}: {@code false} will be changed to
* {@code true} in 3.0.
* Default value for {@link #_logicalTypesEnabled}: {@code true}
* for Jackson 3.x (was {@code false} for Jackson 2.x.
*/
public static final boolean DEFAULT_LOGICAL_TYPES_ENABLED = false;
public static final boolean DEFAULT_LOGICAL_TYPES_ENABLED = true;

/**
* Default value for {@link #_writeEnumAsString}: {@code false} as of
* Jackson 2.19 and later.
* Jackson 3.0.
*/
public static final boolean DEFAULT_ENUM_AS_STRING = false;

Expand Down
2 changes: 2 additions & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ implementations)
`IonGenerator.Feature` as `IonWriteFeature`
#528: JSTEP-8: rename `SmileParser.Feature` as `SmileReadFeature`,
`SmileGenerator.Feature` as `SmileWriteFeature`
#543: (avro) Enable "logical types" support in `AvroSchemaGenerator`
by default (3.0)
- Minimum Java baseline: Java 17

0 comments on commit babb8da

Please sign in to comment.