Colors.jl
Colors.jl copied to clipboard
Road to 1.0
I'd like to move the whole JuliaImages stack to version numbers >= 1.0 (see JuliaImages/Images.jl#825). Let's use this issue to collect plans for breaking changes in the near future.
Issues/PRs on my agenda:
- [X] #360
- [x] #353
- [ ] possibly #349, but I worry that will take a while and hence might be 2.0 material
- [x] #273 (ugh)
- A part of #354?
Actually, I have forgotten how far I have worked :sweat_smile:, but somethings should have already been achieved. https://github.com/JuliaGraphics/Colors.jl/compare/master...kimikage:cnvt
However, there are few breaking changes other than the bug fixes. In regards to the white point wp, it follows the current interface (convert(::Type{C}, c::Color, wp::XYZ)), but it is necessary to discuss how white points should be handled.
You have done wonders for these packages.
"Cleanups" can be done after 1.0 if they don't break the public API. If we grossly change the result of a white-point aware conversion, though, that is certainly breaking.
- [x] #371 following #353
CC @cormullion
- Tidy the logo up (cf. https://github.com/JuliaLang/julia-logo-graphics)
It may be useful for the testing to add "julia_blue", "julia_green", "julia_purple" and "julia_red" to the named colors. I also feel that "nationalism" is too much, though. :smile:
No problem. What do you mean by "I also feel that "nationalism" is too much, though."?
Adding "julia_blue" etc. to the named colors is not necessarily a public interest. "Colors of the Julia users, by the Julia users, for the Julia users!"
Ah, I see. :) Anyway, probably not many people use them (apart from me, I expect)...
Reminder: https://github.com/JuliaGraphics/Colors.jl/issues/353#issuecomment-570967804
- [ ] #496
If there breaking changes in master currently ? I wanted to use some of the XYZ to RGB conversion but last release was before it was added (27 Apr 2021). Would it be possible to make a minor release before 1.0 ?
Yeah, we need to do something about this. I am pretty swamped with TTFX work until at least mid-October, unfortunately. If you'd be willing to figure out what to do perhaps we could review your work and then make a release.
I had a look at the merged PRs and there's a couple labelled as breaking since last release :
- #478
- #479
- #494
- #504
Otherwise it's mostly performance & accuracy improvements, with a few new features (polar_to_cartesian, weighted_color_mean, ...). I don't see serious open issues either, so it seems reasonable to make a new release. But maybe @kimikage has a different opinion ?