zitadel-rust icon indicating copy to clipboard operation
zitadel-rust copied to clipboard

Updates are not semver compatible

Open FrTerstappen opened this issue 1 year ago • 3 comments

Hello,

I just updated zitadel-rust in one of my projects from v5.3.1 to v5.3.2. This lead to my code not compiling because the struct AddOidcAppRequest now has the field back_channel_logout_uri.

I think this was added in zitadel with version 2.65.0 https://github.com/zitadel/zitadel/releases/tag/v2.65.0

My guess is that the generated code was generated for the new version of zitadel and the changelog and version increment is just for the human made changes in this project.

I propose yanking v5.3.2 and making a new release with a semver compatible version number.

I think this project could benefit from being split into two crates with one being only the generated code and the other being a wrapper for it. This is in line with how many of the FFI-crates work.

FrTerstappen avatar Dec 04 '24 11:12 FrTerstappen

You are right :-/

This is a bit of an issue with those crates / packages. Regardless of the language and framework. I'd love to split it; however, I do not have the time nor the resources to do so.

buehler avatar Jan 15 '25 21:01 buehler

Would you welcome a PR for that ?

fcenedes avatar Feb 04 '25 23:02 fcenedes

Absolutely! <3

buehler avatar Feb 05 '25 08:02 buehler