Skip to content

Release 0.22 ?! #424

Closed
Closed

Description

@martin-g

Shall we make a new release ?
We have several PRs with API breaks and I'm afraid this may frustrate some users while upgrading.

Activity

  1. Kriskras99 commented on Jan 22, 2026

    @Kriskras99
    Contributor

    Do we expect more breaking changes? I think it's best to have as many breaking changes as possible in one release. This way a user only has the change the code once and can then continue with upgrading without having to change the code.

  2. Kriskras99 commented on Jan 22, 2026

    @Kriskras99
    Contributor

    If we do start the release process we should take special care with the release notes and maybe update migration_guide.md (or delete it entirely, having it but incomplete will confuse users)

  3. martin-g commented on Jan 23, 2026

    @martin-g
    MemberAuthor

    Do we expect more breaking changes?

    I didn't expect even the ones we have so far 😄

    I think it's best to have as many breaking changes as possible in one release

    👍🏻

    f we do start the release process we should take special care with the release notes and maybe update migration_guide.md (or delete it entirely, having it but incomplete will confuse users)

    Right! I think it would be better to add upgrade notes for 0.21 -> 0.22

  4. Kriskras99 commented on Jan 23, 2026

    @Kriskras99
    Contributor

    Decisions to make before 0.22

    I would also like to update the Serde documentation before this release. I think enum support will go to the next release.

  5. Kriskras99 commented on Jan 23, 2026

    @Kriskras99
    Contributor

    #431 would also be a breaking change (but also a bugfix) so might also be nice to include in 0.22 (if it is actually a bug and not as intended)

  6. Kriskras99 commented on Feb 19, 2026

    @Kriskras99
    Contributor

    I would like to include my implementation for #434 also in this release (so users can deal with the changes in AvroSchemaComponent in one go).

    I think it would also be good to include #458, I hope to review it today.

    The other things on the list I suggest we bump to next release.

  7. gsson commented on Mar 1, 2026

    @gsson

    Very minor, but if I could make a wish, aligning the darling version with that of bon. Right now bon will select darling v0.23.0 and avro_derive will select v0.21.3 if given the chance.

    It's fine if not, but minimising duplicates would make my dependency closure easier to review :)

    bon-macros has this darling constraint from v3.8.2:

    # Darling `0.23` updated MSRV to `1.88+` without other code changes.
    # Therefore, it should be compatible with `0.22` as well.
    #
    # Version `0.20` is the version of `darling` available in Debian packages:
    # https://salsa.debian.org/rust-team/debcargo-conf. We keep support for it.
    darling = ">=0.20.0, <0.24.0"

    This passes all tests and clippy:

    diff --git a/avro_derive/Cargo.toml b/avro_derive/Cargo.toml
    index 9ed7b2d..6059728 100644
    --- a/avro_derive/Cargo.toml
    +++ b/avro_derive/Cargo.toml
    @@ -32,7 +32,7 @@ readme = "README.md"
     proc-macro = true
     
     [dependencies]
    -darling = { default-features = false, version = "0.21.3" }
    +darling = { default-features = false, version = "0.23.0" }
     proc-macro2 = { default-features = false, version = "1.0.106" }
     quote = { default-features = false, version = "1.0.44" }
     serde_json = { workspace = true }
  8. martin-g commented on Mar 2, 2026

    @martin-g
    MemberAuthor
  9. flxo commented on Mar 11, 2026

    @flxo
    Contributor

    Hello. I'm waiting on the 0.22 release for some time. Is there anything I can support with to get it landed?

  10. okhomin commented on Apr 9, 2026

    @okhomin

    Hello! There are some important bug fixes in 0.22 and I would like to have them.
    If there are breaking changes, can you release it with a major update?

    Let me know if I can help with anything.

  11. Kriskras99 commented on Apr 12, 2026

    @Kriskras99
    Contributor

    The last thing that I really want to have in 0.22 is derive support for all enums. Anything else can wait until a next release. I was hoping to get a PR out this weekend, but that won't happen so hopefully somewhere next week instead.

  12. martin-g commented on May 4, 2026

    @martin-g
    MemberAuthor

    Hello! There are some important bug fixes in 0.22 and I would like to have them.
    If there are breaking changes, can you release it with a major update?

    apache_avro is still 0.x, so breaking changes are still being made in minor releases, i.e. in y (x.y.z.).
    0.22 will contain many breaking changes!

    We can release 0.21.1 with only bug fixes. Just tell us which ones to cherry-pick!

  13. okhomin commented on May 4, 2026

    @okhomin

    Hello! There are some important bug fixes in 0.22 and I would like to have them.
    If there are breaking changes, can you release it with a major update?

    apache_avro is still 0.x, so breaking changes are still being made in minor releases, i.e. in y (x.y.z.). 0.22 will contain many breaking changes!

    We can release 0.21.1 with only bug fixes. Just tell us which ones to cherry-pick!

    Why do you want to release the breaking changes under the same major version? Why not making it a 1.x.x?

  14. martin-g commented on May 4, 2026

    @martin-g
    MemberAuthor

    Because once we release 1.0.0 we won't be able to make any other breaking changes until 2.0.0.
    Since there are so many breaking changes planned for 0.22 it is clear to say that apache_avro is not ready for 1.0.0 yet.

    Some libraries, e.g. Apache DataFusion, release mostly major versions (e.g. 51.x, 52.x, 53.x, ...). I am not saying this is better or worse. You just have to deal with bigger numbers.

  15. flxo commented on May 4, 2026

    @flxo
    Contributor

    We can release 0.21.1 with only bug fixes. Just tell us which ones to cherry-pick!

    May I ask why you're so hesitant to a 0.22 release from HEAD? Some of the fixes since 0.21 are essential e.g. usable SOE.

  16. martin-g commented on May 4, 2026

    @martin-g
    MemberAuthor

    I am not hesitant!
    0.22 needs more work. You just have to wait some more time.

  17. flxo commented on May 4, 2026

    @flxo
    Contributor

    @martin-g I understand that you want certain changes in the next major release.

    I'm also concerned about people using 0.21 from crates.io and feel the same pain I did. Maybe we can add a gentle warning that everyone is advised to use HEAD because of known issues in 0.21? The CHANGELOG is quite outdated and scanning the history for changes that might affect me is cumbersome to impossible.

  18. martin-g commented on May 4, 2026

    @martin-g
    MemberAuthor

    @flxo I do not understand what you prefer.

    Since we anticipate that 0.22 will need more time I suggested to release 0.21.1 in the meantime with cherry-picks from https://github.com/apache/avro-rs/milestone/4?closed=1

    I'm also concerned about people using 0.21 from crates.io and feel the same pain I did.

    Are you talking about something that broke between 0.20 and 0.21 ?

    Maybe we can add a gentle warning that everyone is advised to use HEAD because of known issues in 0.21?

    Add it where ?
    Although I do not see how this will be helpful. Every software has known problems and this is why new releases are made for.
    Some projects make releases after each merged PR but this does not work at ASF. Here we have to vote on each release for at least 3 days and there are not many active project members to approve it :-/ It takes around 2 weeks to make a release ...

    The CHANGELOG is quite outdated and scanning the history for changes that might affect me is cumbersome to impossible.

    We should remove this file. It was not updated since this library has been donated to ASF (and abandoned by its former developers). It just adds extra work for the current maintainers. We try to use https://www.conventionalcommits.org/en/v1.0.0/ since 0.18 (https://github.com/apache/avro-rs/releases)

  19. flxo commented on May 4, 2026

    @flxo
    Contributor

    @flxo I do not understand what you prefer.

    A release 0.22 straight from HEAD. In my case this would enable me to actually use SOE which is broken in 0.21.

    Since we anticipate that 0.22 will need more time I suggested to release 0.21.1 in the meantime with cherry-picks from https://github.com/apache/avro-rs/milestone/4?closed=1

    This would not help me: I'm waiting for fix of that is included in !445 that is a breaking change and can't go in a patch release.

    I'm also concerned about people using 0.21 from crates.io and feel the same pain I did.

    Are you talking about something that broke between 0.20 and 0.21 ?

    I'm talking about the SOE fix. I haven't checked if this is also broken in 0.20.

    Maybe we can add a gentle warning that everyone is advised to use HEAD because of known issues in 0.21?

    Add it where ? Although I do not see how this will be helpful. Every software has known problems and this is why new releases are made for. Some projects make releases after each merged PR but this does not work at ASF. Here we have to vote on each release for at least 3 days and there are not many active project members to approve it :-/ It takes around 2 weeks to make a release ...

    Thanks for clarification. Now I understand better why you wan't got get more stuff into the 0.22 - it's the bulky process.

    The CHANGELOG is quite outdated and scanning the history for changes that might affect me is cumbersome to impossible.

    We should remove this file. It was not updated since this library has been donated to ASF (and abandoned by its former developers). It just adds extra work for the current maintainers. We try to use https://www.conventionalcommits.org/en/v1.0.0/ since 0.18 (https://github.com/apache/avro-rs/releases)

    👍

  20. flxo commented on Jun 12, 2026

    @flxo
    Contributor

    Dear maintainers.

    any updates on the release planning?

  21. martin-g commented on Jun 15, 2026

    @martin-g
    MemberAuthor
  22. Kriskras99 commented on Jun 15, 2026

    @Kriskras99
    Contributor

    Let's set a deadline for the 1st of July. If it's not ready then, then we start the release process.
    I'm doing my best to finish the derive modifications, but life is busy.

  23. Kriskras99 commented on Jun 28, 2026

    @Kriskras99
    Contributor

    Draft release notes:

    The Apache Avro Rust SDK 0.22.0 release is a large release with lots of features, fixes and breaking changes. It is strongly recommended to read the Breaking changes and New features sections of the changelog.

    What's changed

    Breaking changes

    New features

    Fixes

    Internal changes

    Dependency bumps

    • Bump actions/cache from 5 to 6.1.0
    • Bump actions/checkout from 5 to 7.0.0
    • Bump actions/dependency-review-action from 4 to 5.0.0
    • Bump actions/setup-java from 5.0.0 to 5.6.0
    • Bump bigdecimal from 0.4.9 to 0.4.10
    • Bump bon from 3.8.1 to 3.9.3
    • Bump criterion from 0.7.0 to 0.8.2
    • Bump darling from 0.21.3 to 0.23.0
    • Bump digest from 0.11.2 to 0.11.3
    • Bump env_logger from 0.11.8 to 0.11.11
    • Bump github/codeql-action/* from 4.36.2 to 4.37.1
    • Bump hex-literal from 1.0.0 to 1.1.0
    • Bump liblzma from 0.4.5 to 0.4.7
    • Bump log from 0.4.28 to 0.4.33
    • Bump miniz_oxide from 0.8.9 to 0.9.1
    • Bump num-bigint from 0.4.6 to 0.4.8
    • Bump proc-macro2 from 1.0.103 to 1.0.107
    • Bump proptest from 1.9.0 to 1.11.0
    • Bump quote from 1.0.41 to 1.0.47
    • Bump rand from 0.9.2 to 0.10.2
    • Bump regex-lite from 0.1.8 to 0.1.9
    • Bump rustversion from 1.0.22 to 1.0.23
    • Bump serde from 1.0.228 to 1.0.229
    • Bump serde_json from from 1.0.145 to 1.0.150
    • Bump sha2 from 0.10.9 to 0.11.0
    • Bump shogo82148/actions-setup-perl from 1 to 1.42.0
    • Bump snap from 1.1.0 to 1.1.2
    • Bump strum from 0.27.2 to 0.28.0 and replace strum-macros with features = ["derive"] on strum by @Kriskras99 in chore: Replace strum-macros with features = ["derive" on strum and update to 0.28.0 #483
    • Bump syn from 2.0.108 to 2.0.119
    • Bump taiki-e/install-action from 2 to 2.84.0
    • Bump thiserror from 2.0.17 to 2.0.19
    • Bump trybuild from 1.0.114 to 1.0.118
    • Bump uuid from 1.18.1 to 1.23.5
    • Bump wasm-bindgen from 0.2.97 to 0.2.114
    • Bump wasm-bindgen-test from 0.3.55 to 0.3.64
    • Bump zizmorcore/zizmore-action from 0.5.7 to 0.6.0
    • Replace ctor (v0.6.0) with linktime (v0.18.0)
    • Pin cargo-rdme to 1.4.2 by @martin-g in chore(ci): Pin cargo-rdme to 1.x #567
      • This is because cargo-rdme 2 depends on specific nightly versions and therefore easily breaks in CI

    New contributors

    Full Changelog: rel/release-0.21.0..rel/release-0.22.0

  24. Kriskras99 commented on Jul 14, 2026

    @Kriskras99
    Contributor

    I've triaged the open issues and PRs.
    I suggest that #529 needs to be fixed for 0.22 (should be able to open a PR for that tomorrow), all other issues can be postponed to a later release.
    For PRs, I think it should be doable to merge #530 and #542. We should postpone #326 and #528 as those require further design work.
    After those 3, I suggest we start the release process.

  25. Kriskras99 commented on Jul 15, 2026

    @Kriskras99
    Contributor

    Fix for #529 is available (#591). I'll leave it up to @martin-g if #542 needs to be merged before the release process starts.

  26. Kriskras99 commented on Jul 25, 2026

    @Kriskras99
    Contributor

    @martin-g let's start the release process. As I don't have any keys setup, can you do it? I have prepped the release notes in #424 (comment) which are up to date as of this time.

  27. martin-g commented on Jul 27, 2026

    @martin-g
    MemberAuthor
  28. Kriskras99 commented on Aug 10, 2026

    @Kriskras99
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions