Skip to content

Commit

Permalink
Add CHANGELOG.md to track breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Beinsezii committed Jul 4, 2024
1 parent 6391475 commit d1abda4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 0.10.0
## BREAKING
- Most functions can now take 4 channels instead of 3 channels. While the compiler can usually infer which to use, you may have to manually annotate in some scenarios. This lets you directly process images with an alpha channel without splitting the data into separate streams
- The external C functions have all been renamed to monotyped versions of the generics. The naming scheme is `generic_name_NDtype` where `N` is the channel count (3 or 4) and DType is currently either `f32` or `f64`. So the prior `xyz_to_oklab` now becomes `xyz_to_oklab_3f32`

## IMPROVEMENTS
- Many functions are 10-50% faster due to optimized algorithms, particularly fast cube root.
- Fast cube root is only different by an extremely tiny fraction
- Some integer functions are now stable in `const`
- `srgb_to_irgb` now properly rounds before casting

0 comments on commit d1abda4

Please sign in to comment.