I made few commits today that change the generated code from the Schema 
compiler a bit….  The changes make Avro 1.9 a bit more incompatible with 1.8, 
but since they are going to have to migrate anyway, I thought it would be 
important to make the changes now rather then forcing everyone to do so in 
1.10.   The changes:

1) Default for “time” classes change from Joda to JSR310.  There is a flag to 
specify joda if they need/want it, but I think the “default” should be what we 
plan on supporting going forward, and I don’t think joda should be it.     At 
this point, joda should go away.  :)

2) Private fields  - we were, by default, generating “@Deprecated public” 
fields.   The idea of generating deprecated code by default annoys me.   Thus, 
I changed the default to “private”.  Again, there is a setting to make them 
public (or deprecated/public) if they want it, but for the default, I believe 
private is what we want.

While those will increase the effort to migrate from 1.8 to 1.9, I think it’s 
better to do that now than waiting any longer.   

Thoughts?
Dan


> On Mar 26, 2019, at 9:31 AM, Driesprong, Fokko <[email protected]> wrote:
> 
> Hi all,
> 
> I'd like to cut the branch for Apache Avro 1.9 release this Friday, and
> start moving to a release candidate so we can test. If there are any
> features that you would like to get in, please let me know.
> 
> Cheers, Fokko

-- 
Daniel Kulp
[email protected] <mailto:[email protected]> - http://dankulp.com/blog 
<http://dankulp.com/blog>
Talend Community Coder - http://talend.com <http://coders.talend.com/>

Reply via email to