Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
mthh committed Feb 14, 2024
1 parent adf7ddf commit 447f9a7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## Unreleased

- Add `reverse` optional parameter to `getAsymmetricDivergingColors` (Fixes [#6](https://github.com/riatelab/dicopal.js/issues/6)).

- Fix `getAsymmetricDivergingColors` to return the correct number of colors when `balanced` is `true` and 'classLeft' is less than 'classRight' and central class is false (Fixes [#7](https://github.com/riatelab/dicopal.js/issues/7)).

- Add test suite, notably for `getAsymmetricDivergingColors` that tests the previously reported issues (#5, #6, #7) as well
as a few other assumptions.

- Update to rollup v4.

## 0.6.4 (2024-02-09)

- Fix values returned by `getAsymmetricDivergingColors` for unbalanced palettes (when requesting only one class on right or left side
Expand Down Expand Up @@ -39,7 +50,7 @@

- Add `getRawData` function to return the raw data used by the package.
- Add `getPaletteNumbers` function to return the available number of classes for a given palette.

g
## 0.3.0 (2023-07-05)

- Specify location of type definitions in `package.json` to avoid warnings when using the package in a TypeScript project.
Expand Down

0 comments on commit 447f9a7

Please sign in to comment.