NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #75 most downloaded on pub.dev
A library for parsing and analyzing CSS (Cascading Style Sheets).
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.4 years
Some releases are documented
notes for 35 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
117 releases · first in 2013
Move to dart-lang/tools monorepo.
dart-lang/tools monorepo.Initial stable release.
1.0.0 (note however that there are no API changes from 0.17.x).One column per quarter.
Add markdown badges to the readme.
package:dart_flutter_team_lints linting rules.Expression nodes.lh and rlh units.CssPrinter output.Fixed a crash caused by min(), max() and clamp() functions that contain mathematical expressions.
min(), max() and clamp() functions that contain
mathematical expressions.Fix Color.css constructor when there are double values in the rgba string.
Color.css constructor when there are double values in the rgba string.Font.merge and BoxEdge.merge are now static methods instead of factory constructors.
Font.merge and BoxEdge.merge are now static methods instead of factory
constructors.identList argument to TokenKind.matchList.Nothing published for this version
Added support for escape codes in identifiers.
Fixed a crash caused by parsing certain calc() expressions and variables names that contain numbers.
Removed support for the shadow-piercing comibnators /deep/ and >>>. These were dropped from the Shadow DOM specification.
/deep/ and >>>. These
were dropped from the Shadow DOM specification.Removed the deprecated css.dart library.
css executable from bin directory.css.dart library.Message.level is now of type MessageLevel defined in this package.package:args and package:logging.>=2.1.0.Removed whitespace between comma-delimited expressions in compact output.
Removed whitespace between comma-delimited expressions in compact output.
Before:
div{color:rgba(0, 0, 0, 0.5);}
After:
div{color:rgba(0,0,0,0.5);}
Removed last semicolon from declaration groups in compact output.
Before:
div{color:red;background:blue;}
After:
div{color:red;background:blue}
Nothing published for this version
Fixed a crashed caused by parsing :host() without an argument and added an error message explaining that a selector argument is expected.
:host() without an argument and added an
error message explaining that a selector argument is expected.Stop using deprecated constants.
@page at-rule and margin boxes.Set max SDK version to <3.0.0, and adjust other dependencies.
<3.0.0, and adjust other dependencies.Reduced the amount of whitespace in compact output around braces.
* Fixed Dart 2 runtime failure.
Deprecated package:csslib/css.dart. Use parser.dart and visitor.dart instead.
package:csslib/css.dart.
Use parser.dart and visitor.dart instead.Supports nested HTML comments in CSS comments and vice-versa.
List<RuleSet> rulesets field on MediaDirective, HostDirective, and
StyletDirective has been replaced by List<TreeNode> rules to allow nested
at-rules in addition to rulesets.Nothing published for this version
Nothing published for this version
Adds support for -webkit-calc() and -moz-calc().
@viewport.-webkit-calc() and -moz-calc().@media (transform-3d) { ... }.Adds support for @-moz-document.
@-moz-document.@supports.Parses CSS 2.1 pseudo-elements as pseudo-elements instead of pseudo-classes.
Adds support for shadow host selectors :host() and :host-context().
:host() and :host-context().>>> and its alias
/deep/ for backwards compatibility.filter: FlipH).@page directive when body includes declarations and
page-margin boxes.Message from parser.dart so it's no longer necessary to import
src/messages.dart to use the parser API.* Fixes analyzer error.
* Fix new strong mode error.
* Fix static warnings.
Relax type of TreeNode.visit, to allow returning values from visitors.
Fix two checked mode bugs introduced in 0.13.0.
BREAKING Fix all [strong mode][] errors and warnings. This involved adding more precise on some public APIs, which is why it may break users.
Fix to handle calc functions however, the expressions are treated as a LiteralTerm and not fully parsed into the AST.
Fix to handling of escapes in strings.
Allow the latest version of logging package.
logging package.Top-level methods in parser.dart now take PreprocessorOptions instead of List .
Top-level methods in parser.dart now take PreprocessorOptions instead of
List<String>.
PreprocessorOptions.inputFile is now final.
Fix another test that was failing on IE10.
Cleanup some ambiguous and some incorrect type signatures.
Switch from source_maps' Span class to source_span's SourceSpan class.
source_maps' Span class to source_span's SourceSpan class.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →