Skip to content

Releases: neilime/php-css-lint

v6.0.1

24 Jun 19:23
Compare
Choose a tag to compare

Release Summary

This release includes a bug fix to the CSS parser for improved handling of @font-face at-rule names, ensuring correct parsing by removing trailing brace characters. Dependency updates have been applied to maintain tool stability and compatibility, including upgrades to phpstan/phpstan from ^2.0 to ^2.1 and hoverkraft-tech/ci-github-common from 0.22.3 to 0.23.0.

No breaking changes were introduced in this release.

What's Changed

  • build(deps): update phpstan/phpstan requirement from ^2.0 to ^2.1 in /tools by @dependabot in #125
  • fix(parser): @font-face at-rule name parsing by removing trailing brace character by @copilot-swe-agent in #126
  • build(deps): bump hoverkraft-tech/ci-github-common from 0.22.3 to 0.23.0 in the github-actions-dependencies group by @dependabot in #128

New Contributors

Full Changelog: v6.0.0...v6.0.1

v6.0.0

18 Jun 16:42
Compare
Choose a tag to compare

Release Summary

Four updates in this release:

  • 🛠 Build: Updated the Codecov GitHub Action dependency from 5.4.2 to 5.4.3 in the github-actions-dependencies group, addressing minor version improvements.
  • 🎉 Feature: Refreshed the CSS referential definitions to keep up with the latest CSS features.
  • ⚠️ Breaking change: Parsing logic is now completely separate from linting logic—this affects any integrations expecting combined behavior.
  • ⚠️ Breaking change: Introduced a new output formatter interface; existing consumers must implement or adjust to the new formatter API.

Breaking changes

  • Parser–linter separation (/feat!/)
    The parsing mechanism has been extracted and can now be used independently of the linting stage. Integrations relying on the previous unified parser‑lint workflow may break and need to be updated to explicitly invoke both stages in sequence.

  • Output formatter added (/feat!/)
    A dedicated formatter layer has been added for lint output. Users must now provide or select a formatter compatible with the new interface, or adjust existing code to supply the required formatter component.


🆕 New Features

  • Updated CSS referential data was integrated, improving CSS validity checks.
  • New output formatter enhances flexibility in rendering lint results.

🐛 Bug Fixes & Maintenance

  • Bumped codecov/codecov-action from v5.4.2 to v5.4.3 to apply latest CI improvements.

Let me know if you'd like the detailed changes from any of these pull requests!

What's Changed

  • build(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 in the github-actions-dependencies group by @dependabot in #121
  • feat: update CSS Referential by @github-actions in #122
  • feat!: separate parsing from linting by @neilime in #123
  • feat!: add output formatter by @neilime in #124

New Contributors

  • @github-actions made their first contribution in #122

Full Changelog: v5.0.0...v6.0.0

v5.0.0

13 May 11:41
Compare
Choose a tag to compare

Release Summary

This release introduces support for the latest CSS properties based on W3C and MDN standards, enhancing compatibility and accuracy in linting. Additionally, the tool now supports PHP 8.4, ensuring forward compatibility with the upcoming PHP version.

Breaking changes

  • The linter now strictly aligns with CSS properties defined by W3C and MDN. This may result in previous custom or non-standard property usages being flagged as invalid. More details in #119
  • The internal code has been refactored, it can result to breaking change for code extending this CssLint library

What's Changed

Full Changelog: v4.1.2...v5.0.0

v4.1.2

01 May 06:53
Compare
Choose a tag to compare

Release Summary

This release includes dependency updates and a bug fix. The GitHub Actions dependency hoverkraft-tech/ci-github-common was upgraded incrementally from 0.22.0 to 0.22.3 to ensure improved CI stability and security. Additionally, a bug was fixed to support semicolons in @import url statements during linting, improving CSS compatibility.

No breaking changes introduced in this release.

What's Changed

  • build(deps): bump hoverkraft-tech/ci-github-common from 0.22.0 to 0.22.2 in the github-actions-dependencies group by @dependabot in #114
  • build(deps): bump hoverkraft-tech/ci-github-common from 0.22.2 to 0.22.3 in the github-actions-dependencies group by @dependabot in #115
  • fix(lint): support semicolon in import url by @neilime in #117

Full Changelog: v4.1.1...v4.1.2

v4.1.1

14 Apr 17:50
Compare
Choose a tag to compare

Release Summary

This release includes a bug fix improving support for @import strings in CSS, enhancing compatibility with various syntax patterns. Dependency updates were made to friendsofphp/php-cs-fixer, progressing incrementally from version ^3.68 to ^3.75 within the /tools directory, ensuring up-to-date code formatting tools. Additionally, updates to GitHub Actions dependencies were applied, with hoverkraft-tech/ci-github-common upgraded from 0.17.0 to 0.22.0, improving CI reliability and functionality.

There are no breaking changes in this release.

What's Changed

  • build(deps): update friendsofphp/php-cs-fixer requirement from ^3.68 to ^3.69 in /tools by @dependabot in #102
  • build(deps): update friendsofphp/php-cs-fixer requirement from ^3.69 to ^3.70 in /tools by @dependabot in #103
  • build(deps): update friendsofphp/php-cs-fixer requirement from ^3.70 to ^3.72 in /tools by @dependabot in #106
  • build(deps): update friendsofphp/php-cs-fixer requirement from ^3.72 to ^3.73 in /tools by @dependabot in #108
  • build(deps): bump hoverkraft-tech/ci-github-common from 0.17.0 to 0.18.0 in the github-actions-dependencies group by @dependabot in #107
  • build(deps): update friendsofphp/php-cs-fixer requirement from ^3.73 to ^3.74 in /tools by @dependabot in #110
  • build(deps): bump hoverkraft-tech/ci-github-common from 0.18.0 to 0.22.0 in the github-actions-dependencies group by @dependabot in #109
  • build(deps): update friendsofphp/php-cs-fixer requirement from ^3.74 to ^3.75 in /tools by @dependabot in #111
  • fix: support @import string by @neilime in #113

Full Changelog: v4.1.0...v4.1.1

v4.1.0

20 Feb 15:54
Compare
Choose a tag to compare

Release Summary

This release introduces support for file glob patterns as input, enhancing flexibility when specifying files. Continuous integration has been improved with the addition of Rector. Several dependency updates were applied, including friendsofphp/php-cs-fixer and hoverkraft-tech/ci-github-common, ensuring better compatibility and maintenance. No breaking changes have been reported.

What's Changed

  • build(deps): update friendsofphp/php-cs-fixer requirement from ^3.64 to ^3.65 in /tools by @dependabot in #92
  • build(deps): update friendsofphp/php-cs-fixer requirement from ^3.65 to ^3.66 in /tools by @dependabot in #93
  • build(deps): update friendsofphp/php-cs-fixer requirement from ^3.66 to ^3.67 in /tools by @dependabot in #94
  • build(deps): bump hoverkraft-tech/ci-github-common from 0.15.0 to 0.16.0 in the github-actions-dependencies group by @dependabot in #95
  • build(deps): update friendsofphp/php-cs-fixer requirement from ^3.67 to ^3.68 in /tools by @dependabot in #96
  • build(deps): bump hoverkraft-tech/ci-github-common from 0.16.0 to 0.16.1 in the github-actions-dependencies group by @dependabot in #97
  • build(deps): bump hoverkraft-tech/ci-github-common from 0.16.1 to 0.17.0 in the github-actions-dependencies group by @dependabot in #98
  • ci: add rector by @neilime in #100
  • feat: support file glob pattern as input by @neilime in #101

Full Changelog: v4.0.0...v4.1.0

v4.0.0

15 Nov 11:20
Compare
Choose a tag to compare

This release includes several dependency updates to improve build reliability and maintain compatibility with the latest GitHub Actions tools. Additionally, support for PHP 8.3 has been introduced, broadening the range of supported PHP versions. These updates ensure enhanced performance, security, and future-proofing for the project.

Breaking Changes

  • Drop support for php 8.0

What's Changed

  • build(deps): bump actions/checkout from 3 to 4 by @dependabot in #83
  • build(deps): bump actions/stale from 8 to 9 by @dependabot in #85
  • build(deps): bump actions/download-artifact from 3 to 4 by @dependabot in #86
  • build(deps): bump actions/upload-artifact from 3 to 4 by @dependabot in #87
  • build(deps): bump actions/cache from 3 to 4 by @dependabot in #88
  • build(deps): bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 by @dependabot in #89
  • build(deps): bump codecov/codecov-action from 3 to 5 by @dependabot in #90
  • feat: add support for php 8.3 by @neilime in #91

Full Changelog: v3.2.0...v4.0.0

v3.2.0

19 Jun 16:36
Compare
Choose a tag to compare

What's Changed

  • build(deps-dev): update phpunit/phpunit requirement from ^9.5.24 to ^9.5.25 by @dependabot in #70
  • build(deps-dev): update phpunit/phpunit requirement from ^9.5.25 to ^9.5.26 by @dependabot in #72
  • build(deps): bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0 by @dependabot in #71
  • feat: add support for PHP 8.2 by @neilime in #74
  • build(deps-dev): update phpunit/phpunit requirement from ^9.5.26 to ^9.5.27 by @dependabot in #73
  • build(deps): bump actions/stale from 6 to 7 by @dependabot in #75
  • build(deps): bump peaceiris/actions-gh-pages from 3.9.0 to 3.9.1 by @dependabot in #76
  • build(deps): bump peaceiris/actions-gh-pages from 3.9.1 to 3.9.2 by @dependabot in #77
  • build(deps): bump actions/stale from 7 to 8 by @dependabot in #78
  • build(deps): bump peaceiris/actions-gh-pages from 3.9.2 to 3.9.3 by @dependabot in #79
  • Allow numeric characters in property names by @hugopeek in #82
  • Support CSS variables by @hugopeek in #81

New Contributors

Full Changelog: v3.1.3...v3.2.0

v3.1.3

23 Sep 08:45
16f9e34
Compare
Choose a tag to compare

What's Changed

  • build(deps-dev): update phpunit/phpunit requirement from ^9.5.21 to ^9.5.23 by @dependabot in #67
  • build(deps-dev): update phpunit/phpunit requirement from ^9.5.23 to ^9.5.24 by @dependabot in #68
  • build(deps): bump actions/stale from 5 to 6 by @dependabot in #69

Full Changelog: v3.1.2...v3.1.3

Version v3.1.2

18 Aug 08:07
8161d83
Compare
Choose a tag to compare

What's Changed

  • ci: fix publish workflow by @neilime in #64
  • build(deps-dev): update squizlabs/php_codesniffer requirement from ^3.6 to ^3.7 by @dependabot in #65
  • build(deps-dev): update phpunit/phpunit requirement from ^9.5.20 to ^9.5.21 by @dependabot in #66

Full Changelog: v3.1.1...v3.1.2