Releases: hexydec/cssdoc
Releases · hexydec/cssdoc
CSSdoc v1.2.1
CSSdoc v1.2.0
This update adds support for the @layer
directive, and improves syntax:
- Added
@layer
directive to list of nested directives - Updated
directive::parse()
to set a newempty
property, for detecting when a directive has curly brackets, but no content, enabling directives with just properties not to be deleted - Updated
require
to be called as a keyword instead of a function call - Added tests
- Updated dependencies
CSSdoc v1.1.1
This release fixed a number of issues, and improves code quality:
- Updated
composer.json
to inidicate PHP 8.0+ support - Fixed #7 where hexadecimal colours with an opacity notation were incorrectly minified
- Fixed#8 where
min()
,max()
andclamp()
all support calc operations, but the spaces were not retained - Updated github workflow with newer packages
- Removed dead code
- Made assertions clearer when checking values as booleans
- Added some comments
- Fixed
null
issue incssdoc::compile()
- Split config into its own file and extended
cssdoc
- Added tests
CSSdoc v1.1.0
This release updates the code to only support PHP 8.0+. PHP 7.4 is no longer supported:
- Updated type hints to correct types where
#[\ReturnTypeWillChange]
as the software now only supports PHP 8.0+ - Added type hints where
mixed
is required - Added union type hints on arguments and return types where missing
- Commented out new code that is not working yet
CSSdoc v1.0.4
This release fixes a return type issue and updates composer:
- In later versions of PHP, the return type of
iterator::key()
is nowmixed
. For now this has been marked as#ReturnTypeWillChange
for PHP 7.4 compatibility - Updated keywords in
composer.json
CSSdoc v1.0.3
This release fixes a a few typing issues and PHPdoc errors:
- Fixed errors in PHPdocs
- Removed duplicate configuration items in
cssdoc::$config
- Fixed bug in
document::__construct()
where the rules were not stored in the class - Fixed issue in
cssdoc::load()
where the document was not reset correctly - Fixed issue in
cssdocTest::compareMinify()
where if the input is blank, there is no internal document do minify and compile, theload()
method is now tested - Updated dependencies
- Fixed status badge in
readme.md
CSSdoc v1.0.2
This release fixes a few little issues and improves compatibility with PHP 7.4 to PHP 8.1:
- Added
#[\ReturnTypeWillChange]
to methods that returnmixed
for PHP 8.1 compatibility - Fixed some docblock issues
- Updated usage of
str...
functions to bemb_str...
- Fixed issue in
value::minify()
where if thedecimalplaces
setting was false it would be treated as0
- [Updated
cssdoc::save()
to return the compiled code instead oftrue
if saved, as it returns the code if no file is specified - Added tests
CSSdoc v1.0.1
Updated dependencies.
CSSdoc v1.0.0
This release removes support for PHP 7.3, and moves to a full production release.
CSSdoc v0.5.3
This release is a maintenance update:
- Added more colours to the minify list
- Fixed compatibility issue withPHP 8.1