Skip to content

Update spatie/color requirement from ^1.5 to ^2.0#13

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/spatie/color-tw-2.0
Open

Update spatie/color requirement from ^1.5 to ^2.0#13
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/spatie/color-tw-2.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 3, 2026

Updates the requirements on spatie/color to permit the latest version.

Release notes

Sourced from spatie/color's releases.

v2.0.0

What's Changed

Breaking Changes

  • Require PHP 8.2 or higher (dropped support for PHP 7.x, 8.0, 8.1)
  • Removed Hsla::contrast() method (was broken)
  • Added return type hints to Color interface - custom implementations must add:
    • fromString(): static
    • red(): int|string
    • green(): int|string
    • blue(): int|string

Improvements

  • Modernized codebase with constructor property promotion
  • Upgraded to Pest 4 and PHPUnit 11
  • Tests now run on PHP 8.2, 8.3, 8.4, and 8.5
  • Cleaned up README badges

Full Changelog: spatie/color@1.5.3...v2.0.0

Changelog

Sourced from spatie/color's changelog.

v2.0.0 - 2026-01-31

What's Changed

Breaking Changes

  • Require PHP 8.2 or higher (dropped support for PHP 7.x, 8.0, 8.1)
  • Removed Hsla::contrast() method (was broken)
  • Added return type hints to Color interface - custom implementations must add:
    • fromString(): static
    • red(): int|string
    • green(): int|string
    • blue(): int|string

Improvements

  • Modernized codebase with constructor property promotion
  • Upgraded to Pest 4 and PHPUnit 11
  • Tests now run on PHP 8.2, 8.3, 8.4, and 8.5
  • Cleaned up README badges

Full Changelog: spatie/color@1.5.3...v2.0.0

1.8.0 - 2025-02-10

What's Changed

New Contributors

Full Changelog: spatie/color@1.7.0...1.8.0

1.7.0 - 2024-12-30

What's Changed

Full Changelog: spatie/color@1.6.3...1.7.0

1.6.3 - 2024-12-23

What's Changed

... (truncated)

Commits
  • 6f24f3c Update README with PHP 8.2 requirement and add Named class
  • ce171ce Update CHANGELOG
  • 7064a49 Merge pull request #99 from spatie/v2
  • 8b2761b Add PHP 8.5 to test matrix
  • c9810d2 Upgrade to v2: PHP 8.2+, Pest 4, and modernized codebase
  • f5d8593 Merge pull request #98 from spatie/fix-issue-template
  • 39e78cb Update issue template
  • a561314 Update CHANGELOG
  • 142af7f Merge pull request #94 from thaqebon/alpha-to-alpha-color
  • 8f0d710 Update run-tests.yml
  • Additional commits viewable in compare view

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)

Updates the requirements on [spatie/color](https://github.com/spatie/color) to permit the latest version.
- [Release notes](https://github.com/spatie/color/releases)
- [Changelog](https://github.com/spatie/color/blob/main/CHANGELOG.md)
- [Commits](spatie/color@1.5.0...v2.0.0)

---
updated-dependencies:
- dependency-name: spatie/color
  dependency-version: 2.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 3, 2026

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants