Releases: projectwallace/color-sorter
Releases · projectwallace/color-sorter
Release list
v8.0.0
breaking
- remove
sort() - rename
sortFn()tosort_fn() - rework the sorting algorithm to first make groups of similar colors and then sort within the group
- unknown colors are now converted to 100% opacity black, instead of 0% opacity black
new
- add
color_group(converted_color)to get a human-readable name for the color, like'red','orange','blue'etc. - support a lot more color spaces
- add API docs to README.md
perf
- reuse a single collator for sorting strings
What's Changed
- Bump oxfmt from 0.36.0 to 0.37.0 by @dependabot[bot] in #114
- Bump oxlint from 1.51.0 to 1.52.0 by @dependabot[bot] in #115
- Configure Dependabot grouping for npm and GitHub Actions by @bartveneman in #120
- Bump the vite group with 2 updates by @dependabot[bot] in #121
- Bump the oxc group with 2 updates by @dependabot[bot] in #122
- Bump tsdown from 0.21.1 to 0.21.4 by @dependabot[bot] in #116
- Automate version bumping in NPM publish workflow by @bartveneman in #123
- Bump the vite group with 2 updates by @dependabot[bot] in #124
- Bump the oxc group with 2 updates by @dependabot[bot] in #125
- Bump codecov/codecov-action from 5.5.2 to 5.5.3 in the github-actions group by @dependabot[bot] in #127
- Bump picomatch from 4.0.3 to 4.0.4 by @dependabot[bot] in #128
- Bump the vite group with 2 updates by @dependabot[bot] in #129
- Bump the oxc group across 1 directory with 2 updates by @dependabot[bot] in #130
- Bump tsdown from 0.21.4 to 0.21.7 by @dependabot[bot] in #131
- Bump codecov/codecov-action from 5.5.3 to 6.0.0 in the github-actions group across 1 directory by @dependabot[bot] in #132
- Bump defu from 6.1.4 to 6.1.6 by @dependabot[bot] in #133
- Bump vite from 8.0.3 to 8.0.5 by @dependabot[bot] in #134
- Bump typescript from 5.9.3 to 6.0.2 by @dependabot[bot] in #126
- chore: remove unused benchmark file by @bartveneman in #135
- chore: update deps and test file by @bartveneman in #136
- feat+breaking: allow grouping colors by @bartveneman in #137
Full Changelog: v7.0.2...v8.0.0
v7.0.2
What's Changed
- chore: Add Dependabot configuration for npm and GitHub Actions by @bartveneman in #110
- fix: Change bundleName from 'formatCss' to 'colorSorter' by @bartveneman in #111
- fix missing type exports, format dependabot, update tsdown by @bartveneman in #113
Full Changelog: v7.0.1...v7.0.2
v7.0.1
What's Changed
- Bump vite from 6.2.6 to 6.3.4 by @dependabot[bot] in #100
- Bump undici from 5.28.5 to 5.29.0 by @dependabot[bot] in #101
- add test cases for converting transparent, inherit and currentcolor by @bartveneman in #102
- Bump vite from 6.3.4 to 6.3.6 by @dependabot[bot] in #103
- Bump vite from 6.3.6 to 6.4.1 by @dependabot[bot] in #105
- Bump glob from 10.4.1 to 10.5.0 by @dependabot[bot] in #106
- Bump lodash from 4.17.21 to 4.17.23 by @dependabot[bot] in #107
- Migrate build system from Vite to tsdown by @bartveneman in #109
Full Changelog: v7.0.0...v7.0.1
7.0.0
Breaking
- BREAKING: ship ESM only by @bartveneman in #99
What's Changed
- Bump esbuild and vite by @dependabot in #93
- Bump vite from 6.2.0 to 6.2.3 by @dependabot in #94
- Bump vite from 6.2.3 to 6.2.4 by @dependabot in #95
- Bump vite from 6.2.4 to 6.2.5 by @dependabot in #96
- Bump vite from 6.2.5 to 6.2.6 by @dependabot in #97
- chore: rename primary branch by @bartveneman in #98
Full Changelog: v6.2.0...v7.0.0
7.0.0-alpha.0
v7.0.0-alpha.0 publint
6.2.0
What's Changed
- Bump vite from 6.0.7 to 6.0.11 by @dependabot in #86
- Bump undici from 5.28.4 to 5.28.5 by @dependabot in #87
- feat: add
compare(a, b)function in #91 - fix: do not bundle colorjs.io into dist in #92
Full Changelog: v6.1.2...v6.2.0
6.1.2
What's Changed
- remove codspeed and benchmarks because theyre unstable for me by @bartveneman in #84
- increase coverage, lower bundle size by @bartveneman in #85
Full Changelog: v6.1.1...v6.1.2
6.1.1
What's Changed
- Bump vite from 5.2.12 to 5.4.6 by @dependabot in #79
- Bump axios from 1.7.2 to 1.7.7 by @dependabot in #80
- upgrade deps (incl. vite 6) by @bartveneman in #82
- upgrade Colorjs.io to 0.6.0-alpha.1 by @bartveneman in #83
Full Changelog: v6.1.0...v6.1.1
6.1.0
Support more color spaces
Because we swapped out colord for colorjs.io we now support a wider range of color gamuts! Now you can also sort oklch() and friends 😄
What's Changed
- setup codecov by @bartveneman in #74
- Run benchmarks using tinybench and CodSpeed by @bartveneman in #75
- replace colord with colorjs.io to support more colors by @bartveneman in #76
- use colorjs.io sub-exports for perf by @bartveneman in #78
Full Changelog: v6.0.2...v6.1.0
6.1.0-next.1
fix version