Skip to content

[site] Announce Avro release - #3945

Merged
RyanSkraba merged 3 commits into
apache:mainfrom
RyanSkraba:ryanskraba/avro-1.12.2-released
Aug 23, 2026
Merged

[site] Announce Avro release#3945
RyanSkraba merged 3 commits into
apache:mainfrom
RyanSkraba:ryanskraba/avro-1.12.2-released

Conversation

@RyanSkraba

@RyanSkraba RyanSkraba commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

What is the purpose of the change

Announce the Avro 1.12.2 release on the website blog

Verifying this change

This change is a documentation change without any test coverage.

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? no

@joebowbeer joebowbeer left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested workaround is deprecated?

## Breaking Changes

### Java
* [AVRO-4189](https://issues.apache.org/jira/browse/AVRO-4189) ([#3693](https://github.com/apache/avro/pull/3693)): Classes referenced by the `java-class` schema property are now validated when using the fast reader. Avro will throw a `SecurityException` instead of instantiating non-permitted classes. Set the system property `org.apache.avro.SERIALIZABLE_PACKAGES` to `*`, or call `ClassSecurityValidator.setGlobal(...)`, to restore the old behavior.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mention that org.apache.avro.SERIALIZABLE_PACKAGES was deprecated a year ago in 1.11.5 and 1.12.1.

Is there a workaround that does not use a deprecated property that does not require listing all the possible classes that might need serialization?

@RyanSkraba RyanSkraba Aug 22, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thanks for the comment -- I'm also confused about the SERIALIZABLE_PACKAGES being deprecated, or where the "as discussed" occurred, although I have to admit that I wasn't active in the mailing lists at that time. The system property is still present and being used, and isn't marked as deprecated in 1.12.2 or 1.13.0-SNAPSHOT.

I'd like to rewrite this section to give a better explanation.

@joebowbeer joebowbeer Aug 22, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for clarifying!

It is the static fields of SpecificDatumReader (both) that are deprecated, not the system properties.

/**
* @deprecated Use {@link SystemPropertiesPredicate} instead.
* @see ClassSecurityValidator
*/
@Deprecated
public static final String[] SERIALIZABLE_PACKAGES = SystemPropertiesPredicate.SERIALIZABLE_PACKAGES
.toArray(new String[0]);
/**
* @deprecated Use {@link SystemPropertiesPredicate} instead.
* @see ClassSecurityValidator
*/
@Deprecated
public static final String[] SERIALIZABLE_CLASSES = SystemPropertiesPredicate.SERIALIZABLE_CLASSES
.toArray(new String[0]);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm definitely going to put some comments in the code and we NEED to have this documented somewhere on the website! I've created https://issues.apache.org/jira/browse/AVRO-4335 as a placeholder.

@RyanSkraba

Copy link
Copy Markdown
Contributor Author

I've rewritten this Breaking Changes section, is it clearer to follow?

@joebowbeer

joebowbeer commented Aug 22, 2026

Copy link
Copy Markdown

I've rewritten this Breaking Changes section, is it clearer to follow?

Yes. Thanks!

It is the static fields of SpecificDatumReader (both) that are deprecated, not the system properties.

@RyanSkraba
RyanSkraba merged commit ff4c4b3 into apache:main Aug 23, 2026
2 checks passed
@RyanSkraba
RyanSkraba deleted the ryanskraba/avro-1.12.2-released branch August 23, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants