Skip to content

chore(deps): bump com.github.ajalt.colormath:colormath from 3.4.0 to 3.5.0 #404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 22, 2024

Bumps com.github.ajalt.colormath:colormath from 3.4.0 to 3.5.0.

Release notes

Sourced from com.github.ajalt.colormath:colormath's releases.

3.5.0

Added

  • Publish artifacts for the JS and wasmJs targets for the jetpack-compose extensions.
  • Added support to formatCssString and Color.parse for color spaces added in recent updates to the CSS color spec: oklab, oklch, srgb-linear, xyz-d50 and xyz-d65.
  • Added customColorSpaces for Color.parse and Color.formatCssString to allow non-standard color spaces to be used in color strings.
  • Added min and max properties to ColorComponentInfo to get the reference range for the component.
  • Support percentage format for all values in Color.parse with reference range scaling from the new drafts of CSS Color Module 4.
  • Added clamp() function to all color models to clamp the color components to their valid range.

Changed

  • Color.parse now parses lch() and lab() functions with the with D50 white points instead of D65 in order to comply with the latest draft of CSS Color Module 4.
  • Color.parse no longer clamps out-of-gamut values by default. Use the new clamp method on the returned color if desired.

Fixed

  • ColorSpace.equals will now properly return true when comparing color companions with the space they represent e.g. XYZ == XYZ65
  • Support the CSS "none" keyword for NaN values in Color.parse and Color.formatCssString
Changelog

Sourced from com.github.ajalt.colormath:colormath's changelog.

3.5.0

Added

  • Publish artifacts for the JS and wasmJs targets for the jetpack-compose extensions.
  • Added support to formatCssString and Color.parse for color spaces added in recent updates to the CSS color spec: oklab, oklch, srgb-linear, xyz-d50 and xyz-d65.
  • Added customColorSpaces for Color.parse and Color.formatCssString to allow non-standard color spaces to be used in color strings.
  • Added min and max properties to ColorComponentInfo to get the reference range for the component.
  • Support percentage format for all values in Color.parse with reference range scaling from the new drafts of CSS Color Module 4.
  • Added clamp() function to all color models to clamp the color components to their valid range.

Changed

  • Color.parse now parses lch() and lab() functions with the with D50 white points instead of D65 in order to comply with the latest draft of CSS Color Module 4.
  • Color.parse no longer clamps out-of-gamut values by default. Use the new clamp method on the returned color if desired.

Fixed

  • ColorSpace.equals will now properly return true when comparing color companions with the space they represent e.g. XYZ == XYZ65
  • Support the CSS "none" keyword for NaN values in Color.parse and Color.formatCssString
Commits
  • 4a0cc97 Release version 3.5.0
  • 0b478a8 Normalize hue angles instead of clamping (#60)
  • 1ba9b1b Remove kotest dependency from compose tests
  • 3c69f55 Don't clamp when parsing
  • e627e3d Fix polar component for Lch and Oklch
  • fe1af31 Add clamp() to all models
  • 1572fbc Use LocalUriHandler in tryit
  • e9be2e6 Support percentages for all values in parse
  • b587f84 Add min and max to ColorComponentInfo
  • c8e21e0 Run compose tests on JVM
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.github.ajalt.colormath:colormath](https://github.com/ajalt/colormath) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/ajalt/colormath/releases)
- [Changelog](https://github.com/ajalt/colormath/blob/master/CHANGELOG.md)
- [Commits](ajalt/colormath@3.4.0...3.5.0)

---
updated-dependencies:
- dependency-name: com.github.ajalt.colormath:colormath
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Changes that affect dependencies gradle Gradle changes labels Apr 22, 2024
@dependabot dependabot bot requested a review from sureshg April 22, 2024 19:17
@github-actions github-actions bot merged commit 2e8c871 into main Apr 22, 2024
13 checks passed
@dependabot dependabot bot deleted the dependabot/gradle/com.github.ajalt.colormath-colormath-3.5.0 branch April 22, 2024 19:17
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Changes that affect dependencies gradle Gradle changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants