5.4 KiB
5.4 KiB
Changelog
This is the changelog of Polywave.
See README.md
for more information.
0.8.1
- Update repository link
- Remove homepage link
0.8.0
- Add
transfer
constructor toSRgb
- Add
as_colour
andas_mut_colour
methods toAlpha
- Add
from_rgb
constructor toSRgb
andOpRgb
- Fix
SRgb::untransfer
not considering negative values - Update docs
0.7.0
- Add
map
method to our colours (exceptHtml
) - Add
untransfer
method toSRgb
- Add
map_colour
method toHtml
- Update docs
0.6.0
- Remove
discard_alpha
methods - Replace all alpha colours with generic
Alpha
type - Add
attach
constructor anddetach
destructor toAlpha
- Update docs
- Add
BalancedColour
trait - Add
Component
associated type toBalancedColour
- Improve error handling for
<Html as FromStr>::from_str
- Unseal
Component
0.5.0
- Update signatures for
discard_alpha
methods - Add
Hsl
andHsla
colours - Add
lch
module - Move
CieLch
,CieLcha
,OkLch
, andOkLcha
tolch
- Add
Hwb
andHwba
colours - Add
to_hwb
destructor andfrom_hwb
constructor toHsv<{f16, f32, f64, f128}>
- Add
to_hwba
destructor andfrom_hwba
constructor toHsva<{f16, f32, f64, f128}>
- Remove
to_f16_lossy
,to_f32_lossy
,to_f64_lossy
, andto_f128_lossy
fromComponent
- Update docs
0.4.0
- Add
xyz
andlab
modules - Add
CieXyz
andCieXyza
colours - Add
CieLab
,CieLaba
,OkLab
, andOkLaba
colours - Add
CieLch
,CieLcha
,OkLch
, andOkLcha
colours - Add
OpRgb
andOpRgba
colours - Implement
DefinedGamut
forCieXyz
,CieXyza
,CieLab
,CieLaba
,OkLab
,OkLaba
,CieLch
,CieLcha
,OkLch
,OkLcha
,OpRgb
, andOpRgba
- Add
with_alpha
method toCieXyz
,CieLab
,OkLab
,CieLch
,OkLch
, andOpRgb
- Add
discard_alpha
method toCieXyza
,CieLaba
,OkLaba
,CieLcha
,OkLcha
, andOpRgba
- Add
as_rgb
method toOpRgb
- Add
as_rgba
method toOpRgba
- Update docs
0.3.0
- Make
std
a default feature - Add
Rgb
colour - Add
Hsva
andHsv
colours - Add
SRgba
andSRgb
colours - Add
with_alpha
method toRgb
,Hsv
, andSRgb
- Add
discard_alpha
method toRgba
,Hsva
, andSRgba
- Rename
Css
toHtml
- Remove
From<T>
implementations for colours whereT
is a tuple - Add
rgb
,www
, andhsv
modules - Remove
colour
module - Unimplement
From<Rgba<u8>>
andInto<Rgba<u8>>
forHtml
- Implement
From<SRgba<u8>>
,From<SRgb<u8>>
,Into<SRgba<u8>>
, andInto<u32>
forHtml
- Replace
Html::from_rgba
withfrom_s_rgba
- Replace
Html::to_rgba
withto_s_rgba
- Add
as_rgba
method toSRgba
- Add
as_rgb
method toSRgb
- Add
DefinedGamut
trait - Remove
Colour::to_wgpu_color_lossy
- Remove
wgpu
trait - Add
to_s_rgb
method toDefinedGamut
- Implement
DefinedGamut
forSRgba
,SRgb
, andHtml
- Rename
CssFromStrError
toHtmlFromStrError
0.2.0
- Add
Colour
trait - Unimplement
From<Rgba<u8>>
forwgpu::Color
- Add
to_wgpu_color_lossy
method toColour
- Add
Css
colour - Implement
Colour
forRgba
andCss
- Rename
RgbaU8FromStrError
toCssFromStrError
- Add
from_u32
constructor andto_u32
destructor toCss
- Add CSS named colours as associated constants to
Css
- Implement
From<u32>
andInto<u32>
forCss
- Implement
From<Rgba<u8>>
andInto<Rgba<u8>>
forCss
- Update tests
- Add
from_rgba
constructor andto_rgba
destructor toCss
- Add
colour
module - Remove
from_u32
andto_u32
fromRgba
- Unimplement
Display
forRgba
- Implement
FromStr
forCss
- Unimplement
FromStr
forRgba
- Fix wgpu conversions not transferring colour channels
- Add
std
feature
0.1.0
- Replace
Srgba8
with genericRgba
- Add
Component
trait - Add
f16
andf128
features - Add
to_u32
conversion destructor toRgba<u8>
- Add
from_u32
constructor toRgba<u8>
- Replace
zerocopy::FromBytes
withzerocopy::FromZeros
forRgba
- Replace
bytemuck::AnyBitPattern
withbytemuck::Zeroable
forRgba
- Do not implement
bytemuck::NoUninit
forRgba
- Implement
Display
forRgba<u8>
- Implement
Component
foru8
,i8
,u16
,i16
,u32
,i32
,u64
,i64
,u128
,i128
,f16
,f32
,f64
, andf128
- Implement
FromStr
forRgba<u8>
- Add
error
module - Add
RgbaU8FromStrError
error type - Add tests
- Rename project to Polywave (from Sibgha)
- Rename
sibgha
crate topolywave
- Add docs
- Update lints
- Add readme
- Add
to_f16_lossy
,to_f32_lossy
,to_f64_lossy
, andto_f128_lossy
methods toComponent
0.0.0
- Configure lints
- License under MPL 2.0
- Add changelog
- Add Cargo manifest
- Add gitignore
- Add
Srgba8
type - Add
zerocopy
andbytemuck
features - Add
serde
feature - Add
wgpu
feature - Add
new
andfrom_u32
constructors toSrgba8
- Add
get
andinto_u32
destructors toSrgba8
- Implement
Debug
andDisplay
forSrgba8
- Implement
Default
forSrgba8
- Implement
From<(u8, u8, u8, u8)>
andFrom<u32>
forSrgba8
- Implement
Clone
andCopy
forSrgba8
- Implement
PartialEq
,Eq
,PartialOrd
, andOrd
forSrgba8
- Implement
zerocopy::FromBytes
,zerocopy::Immutable
, andzerocopy::IntoBytes
forzerocopy::Srgba8
- Implement
bytemuck::AnyBitPattern
andbytemuck::NoUninit
forSrgba8
- Implement
serde::Deserialize
andserde::Serialize
forSrgba8
- Implement
From<Srgba8>
forwgpu::Color
- Implement
Hash
forSrgba8
- Enable
no_std