Skip to content
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

Replace From<Rgba8> for PremulColor with From<PremulRgba8> #113

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

waywardmonkeys
Copy link
Collaborator

Having the From<Rgba8> was unintentional and should have been From<PremulRgba8>.

A trait impl can't be deprecated with an attribute, so just note it in the doc comment.

Having the `From<Rgba8>` was unintentional and should have been
`From<PremulRgba8>`.

A trait impl can't be deprecated with an attribute, so just note
it in the doc comment.
@waywardmonkeys
Copy link
Collaborator Author

Alternatively, we could keep the From<Rgba8> ... but I don't see much value in doing so.

If we merge this one, then I'll file an issue for the 0.3.0 milestone to remind us to remove the code.

@waywardmonkeys waywardmonkeys added this to the 0.2.1 milestone Dec 22, 2024
@nicoburns
Copy link
Contributor

We could just remove this and make the next release 0.3.0. I don't think there much cost to that?

@waywardmonkeys
Copy link
Collaborator Author

I don't want to do a 0.3.0 yet ... at the least, I'd have to deal with ParseError changes and I want a fairly quick 0.2.1 release.

@waywardmonkeys waywardmonkeys added this pull request to the merge queue Dec 26, 2024
Merged via the queue into linebender:main with commit 23400d7 Dec 26, 2024
16 checks passed
@waywardmonkeys waywardmonkeys deleted the from-premulrgba8 branch December 26, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants