Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #543: enable Avro Logical Type support for Schema generation by default #544

Merged
merged 1 commit into from
Jan 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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