-
Notifications
You must be signed in to change notification settings - Fork 4
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
Mark Error
as #[non_exhaustive]
#11
Comments
This allows better backwards compatibility and serializing to heapless directly. Given #11 I went with a breaking change update (the `Serializer` field was public and existing implementations are put behind a breaking change)
This allows better backwards compatibility and serializing to heapless directly. Given #11 I went with a breaking change update (the `Serializer` field was public and existing implementations are put behind a breaking change)
This allows better backwards compatibility and serializing to heapless directly. Given #11 I went with a breaking change update (the `Serializer` field was public and existing implementations are put behind a breaking change)
Would you be fine with reverting the new error variant temporarily and just returning something like |
I also want to say I'm pretty convinced we're the only ones using Making #13 non-breaking would not be worth it imho. |
This allows better backwards compatibility and serializing to heapless directly. Given #11 I went with a breaking change update (the `Serializer` field was public and existing implementations are put behind a breaking change)
I’m not a fan of (deliberately) yanking for semver reasons. It only has a very limited effect and could be painful if you really need to go back to an old version for some reason. If we want to go that way, I’d prefer to just release 0.4.1 with the technically breaking but practically ineffectual change. |
Do you mean the error variant or do you include #13 in it? #13 is a bit bigger of a change, especially since some used features are not available by default (maybe they should be). It also removes the public fields in Serializer but I think it's fine. |
This allows better backwards compatibility and serializing to heapless directly. Given #11 I went with a breaking change update (the `Serializer` field was public and existing implementations are put behind a breaking change)
I did not consider #13. I’d just do a proper 0.5 release for it. We don’t have too many crates depending on cbor-smol so it’s not that much effort to update it. |
This allows better backwards compatibility and serializing to heapless directly. Given #11 I went with a breaking change update (the `Serializer` field was public and existing implementations are put behind a breaking change)
This allows better backwards compatibility and serializing to heapless directly. Given #11 I went with a breaking change update (the `Serializer` field was public and existing implementations are put behind a breaking change)
This allows better backwards compatibility and serializing to heapless directly. Given #11 I went with a breaking change update (the `Serializer` field was public and existing implementations are put behind a breaking change)
Adding a new error variant should not be a breaking change. Fixes: #11
#4 (file) Added a new error variant, which is a breaking change.
The text was updated successfully, but these errors were encountered: