-
Notifications
You must be signed in to change notification settings - Fork 934
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
Versioning Scheme Discussion #2927
Comments
The external API (wgpu crate) is still at version 0.13.1 while the inner API (wgpu-core, wgpu-hal, and so on) are at version 0.13.2. I think that having released the latest wgpu tagged with 0.13.2 can actually generate some confusion. You can use on your Cargo.toml file this line: (+1: I too would like, if possible, that wgpu has winit and raw-window-handle updated) |
Is there a better way that we could express this? I want to allow the tags to exist to easily access version specific change logs and to grab the exact commit that corresponds with a version, but I also don't want unnecessary confusion. |
I have various solutions in my head, one uglier than the other.. This is my best one:
Taking as an example the current state of the crates the versions will look like this: The new wgpu crate will have as a version the sum of the minor versions of the other crates: This allows you to separate the semantics of the crate wgpu-api from the version-tag of the project. --- Post Scriptum Edited Part: --- Thinking about it by accumulating minor versions is not a good idea, since usually more crates are modified and in this case creating a new release would give us holes between one minor version and another. |
I'm not particularly hot on adding more crates for the sole purpose of making a better version number. This has a non-zero cost on compile time, and involves some political blahblah on various upstream projects. One option is that I can just always release the In the mean time, I added some more information to the github releases regarding which crates got released in that version. |
Yes, it is definitely the easiest and fastest thing to do; although there is potential confusion on the part of the user in seeing a new version in an unmodified crate, this confusion is less than that generated by the current situation. Also qualitatively the confusion is different, currently, as we have seen, it can generate doubts about how to configure the version while in the case of your solution I think it can generate more perplexity than anything else. |
Hello, I wanted to get into wgpu today and noticed that i couldn't use wgpu 0.13.2 in my cargo.toml but only wgpu 0.13.1 which left me confused as the changelog clearly has a release date for 0.13.2, is this intentional?
Furthermore i wanted to use winit 0.27 as there is an annoying bug on wayland which was fixed in winit 0.27 but i noticed that i couldn't use it, but I assume this won't be a problem anymore after #2918 got merged. Are there any plans on when to expect a wgpu release with winit 0.27 support?
Thanks for your amazing work wgpu-team :)
The text was updated successfully, but these errors were encountered: