- Added flexbox aliases for both 2009 and 2012 edition specs.
- Added a legacy-flexbox plugin for auto-generating the flexbox 2009 spec equivilant properties.
- Updated selector aliases to take arguments at runtime.
- Updated plugin API to use distinct "enable" and "disable" handlers.
disableoption is now resolved before theenableoption so you can easily disable all plugins and then specify the plugins you want to apply.- Added functions API for defining custom functions inside plugins.
- Improved gradient function aliasing to handle new angle keywords (to left, at center, etc.).
- Added svg-gradients plugin for simulating CSS3 gradients with data-uris.
- Added
formattingoption for un-minified output. Possible values (custom formatters can also be defined):- "block" (default) - Rules are block formatted.
- "single-line" - Rules are printed in single lines.
- "padded" - Rules are printed in single lines with right padded selectors. Custom formatters can also be defined.
- Added
newlinesoption to set the style of newlines in output. Possible values:- "use-platform" (default)
- "unix"
- "windows" or "win"
- Updated command line utility to use the new options.
- Property/value aliases expanded and renamed as declaration aliases.
- Classes now loaded via an autoloader, also some other refactoring for moving towards PSR-0 compliance.
- Added selector aliasing with the
@selector-aliasdirective. - Added
output_diroption for specifying the destination of compiled files. - Added
doc_rootoption for working around problems with server aliases or path rewrites. - Added viewport @-rule aliases.
debugoption renamed tominify;debugoption will still work as before but is deprecated.minifyoption takes an optional array of advanced minification parameters. Possible values:colors
- Expanded
traceoption to take an optional array of log parameters. Possible values:stubsselector_counterrorscompile_time
- Added
CssCrush::statmethod to retrieve logged parameters. - Improved cross OS support.
- Improved minification.
- Major refactoring.
- Added
traceoption to output SASS compatible debug-info stubs for use with tools like FireSass. - Added
@ifdefinedirective for dynamically including/excluding parts of a CSS file based on the existence of variables. - Updated plugin API.
- Added options for enabling and disabling plugins at runtime.
- Added property sorter plugin.
- Added support for SASS-like @include/@extend syntax for invoking mixins and extends.
- Boilerplate option now accepts a filename string as a boilerplate template.
CssCrush::stringmethod now uses document_root as a default context for finding linked resources.- Updated command line appication.
- Updated aliases and initial value files.
- Fixed parsing issue introduced in 1.6.1.
- Resolved issues #34 and #35.
- Inheritance model improved to support adoption of pseudo classes and elements (see wiki).
- Added rule self-referencing function
this()and complimentary data-* properties. - Added rule referencing function
query(). - Added default value argument for variables.
- Added
hsl-adjust()andhsla-adjust()color functions. - Mixin and fragment
arg()function can now be nested. - Commas are now optional when specifying arguments for most custom functions.
- Double-colon plugin moved to core.
- Option
rewrite_import_urlsnow defaults to true.
- Refactoring.
- Fixed some test cases.
- Resolved issue #32.
CssCrush::inlinemethod now defaults to not printing a boilerplate.- Updated aliases file.
- Extended mixins to work with abstract rules and regular rules.
- Fixed issue with selector grouping and inheritance in combination.
- New feature: Rule inheritance / abstract rules.
- New feature: Block nesting.
- New feature: Mixins.
- New feature: Fragments.
- Abstracted IO interface.
- Added some error reporting.
- Added spiffing.css plugin.
CssCrush::tagmethod now uses media type 'all' by default.- Updated alias and initial-value tables.
- Internal refactoring.
- Resolved issues #23, #24, #27, #28 and #29.
- Fixed bug with @import statement parsing.
- Some minor under the hood changes.
- Added command line application.
- Added
rewrite_import_urlsoption - Ability to rewrite relative url references inside imported css files. - Added Prepend.css - Optionally prepend css to every input.
- Fix for issue #21.
- Reorganized aliases file with some additions.
- Initial-values updated.
- Updated
CssCrush::stringmethod to correctly handle import statements.
- Added initial-keyword plugin (shim for the CSS3 keyword).
- Added inline method (Issue #18).
- Added ability to escape declarations from aliasing or plugins by prefixing with tilde.
- Added procedural style public API to mirror the static class API.
- Deprecated
@variablesdirective for@define. @variables still supported for next few releases. - Adjusted color functions to accept a space delimiter (as well as comma) in the arguments list.
- Surpressed some benign PHP warning messages.
- Some internal cleaning up.
- Disabled IE6 min-height plugin by default.
- Improved color functions.
- Added
a-adjust()function for altering a color's opacity. - Deprecated hsl-adjust function (you can use nested color functions instead).
- Added the ability to use local versions of alias and plugin files so pull updates don't clobber local settings.
- Added hook system for plugins.
- Plugins split into seperate files.
- Aliases and Plugins files renamed with '.ini' file extensions to be editor friendly.
- Added opacity plugin.
- Updated filter plugin.
- Fixed nested custom function parsing (issue #14).
- Added output_filename option.
- Added vendor_target option.
- Renamed 'macros' to the more general 'plugins' and split them into their own files.
- Removed superfluous outer containing directory (update your include paths).
- Fixed regression with absolute URL file imports (issue #12).
- Fixed minification bug (issue #13).
- Updated variable syntax.
- Fixed minification bug.
- Added support for svg and svgz data uris.
- Added animation shorthand alias.
- Added user-select alias.
- Added the public function
CssCrush::stringfor processing raw strings of CSS. - Added color functions.
- Added aliases for IE10.
- Rewritten the file importer.
- Added support for global variables.
- Added support for variable interpolation within string literals.
- Added
CssCrush::tagmethod for outputting an html link tag instead of returning a filename. - Added values aliases, dynamic 'runtime' variables.
- Added RGBA macro.
- Added IE clip macro.
- Added data uri function.
- Minor correction to WAMP support.
- Minor fix to rule API.
- Major refactoring.
- Custom functions.
- Optional boilerplate.
- Double colon syntax shim.
- Resolved document root issues.
- Minification improvements.
- Initial release.