2023-08-02 02:34:45 +02:00
|
|
|
## 8.0.0
|
2023-08-01 01:16:50 +02:00
|
|
|
|
2023-08-02 02:34:45 +02:00
|
|
|
* Various classes now use Dart 3 [class modifiers] to more specifically restrict
|
|
|
|
their usage to the intended patterns.
|
|
|
|
|
|
|
|
[class modifiers]: https://dart.dev/language/class-modifiers
|
|
|
|
|
|
|
|
* All uses of classes from the `tuple` package have been replaced by record
|
|
|
|
types.
|
2023-08-01 01:16:50 +02:00
|
|
|
|
2023-07-22 01:49:57 +02:00
|
|
|
## 7.2.1
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-07-19 23:36:22 +02:00
|
|
|
## 7.2.0
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-06-21 23:50:07 +02:00
|
|
|
## 7.1.6
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-06-21 02:55:46 +02:00
|
|
|
## 7.1.5
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-06-14 02:32:57 +02:00
|
|
|
## 7.1.4
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-06-09 17:33:24 +02:00
|
|
|
## 7.1.3
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-06-08 03:23:57 +02:00
|
|
|
## 7.1.2
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-06-08 02:15:18 +02:00
|
|
|
## 7.1.1
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-06-07 22:32:01 +02:00
|
|
|
## 7.1.0
|
2023-05-10 22:57:32 +02:00
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-04-26 01:21:05 +02:00
|
|
|
## 7.0.0
|
2023-04-20 00:29:31 +02:00
|
|
|
|
2023-04-26 01:21:05 +02:00
|
|
|
* Silent comments in SCSS that are separated by blank lines are now parsed as
|
|
|
|
separate `SilentComment` nodes rather than a single conjoined node.
|
2023-04-20 00:29:31 +02:00
|
|
|
|
2023-04-08 01:29:57 +02:00
|
|
|
## 6.3.0
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-04-06 23:44:29 +02:00
|
|
|
## 6.2.0
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-03-23 23:59:27 +01:00
|
|
|
## 6.1.0
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-03-14 22:08:46 +01:00
|
|
|
## 6.0.3
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-03-11 02:08:59 +01:00
|
|
|
## 6.0.2
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-03-11 00:36:32 +01:00
|
|
|
## 6.0.1
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-03-08 23:59:12 +01:00
|
|
|
## 6.0.0
|
|
|
|
|
|
|
|
* **Breaking change:** All selector AST node constructors now require a
|
|
|
|
`FileSpan` and expose a `span` field.
|
|
|
|
|
|
|
|
* **Breaking change:** The `CssStyleRule.selector` field is now a plain
|
|
|
|
`SelectorList` rather than a `CssValue<SelectorList>`.
|
|
|
|
|
|
|
|
* **Breaking change:** The `ModifiableCssValue` class has been removed.
|
|
|
|
|
|
|
|
* Add an `InterpolationMap` class which represents a mapping from an
|
|
|
|
interpolation's source to the string it generated.
|
|
|
|
|
|
|
|
* Add an `interpolationMap` parameter to `CssMediaQuery.parseList()`,
|
|
|
|
`AtRootQuery.parse()`, `ComplexSelector.parse`, `CompoundSelector.parse`,
|
|
|
|
`ListSelector.parse`, and `SimpleSelector.parse`.
|
|
|
|
|
|
|
|
* Add a `SelectorSearchVisitor` mixin, which can be used to return the first
|
|
|
|
instance of a selector in an AST matching a certain criterion.
|
|
|
|
|
2023-02-18 01:29:03 +01:00
|
|
|
## 5.1.1
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-02-16 22:34:57 +01:00
|
|
|
## 5.1.0
|
|
|
|
|
|
|
|
* Add `BinaryOperation.isAssociative`.
|
|
|
|
|
|
|
|
* Add a `ReplaceExpressionVisitor`, which recursively visits all expressions in
|
|
|
|
an AST and rebuilds them with replacement components.
|
|
|
|
|
2023-02-14 01:44:14 +01:00
|
|
|
## 5.0.1
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2023-02-01 01:58:45 +01:00
|
|
|
## 5.0.0
|
|
|
|
|
|
|
|
* **Breaking change:** Instead of a `Tuple`, `findDependencies()` now returns a
|
|
|
|
`DependencyReport` object with named fields. This provides finer-grained
|
|
|
|
access to import URLs, as well as information about `meta.load-css()` calls
|
|
|
|
with non-interpolated string literal arguments.
|
|
|
|
|
2023-01-05 01:08:50 +01:00
|
|
|
## 4.2.2
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-12-20 00:42:10 +01:00
|
|
|
## 4.2.1
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-12-17 00:53:16 +01:00
|
|
|
## 4.2.0
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-12-08 21:07:56 +01:00
|
|
|
## 4.1.2
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-11-09 02:23:38 +01:00
|
|
|
## 4.1.1
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-11-02 00:20:27 +01:00
|
|
|
## 4.1.0
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-09-21 23:15:42 +02:00
|
|
|
## 4.0.0
|
2022-09-14 01:09:56 +02:00
|
|
|
|
|
|
|
### Dart API
|
|
|
|
|
2022-09-21 23:15:42 +02:00
|
|
|
* **Breaking change:** The first argument to `NumberExpression()` is now a
|
|
|
|
`double` rather than a `num`.
|
|
|
|
|
2022-09-14 01:09:56 +02:00
|
|
|
* Add an optional `argumentName` parameter to `SassScriptException()` to make it
|
|
|
|
easier to throw exceptions associated with particular argument names.
|
|
|
|
|
2022-09-21 23:15:42 +02:00
|
|
|
* Most APIs that previously returned `num` now return `double`. All APIs
|
|
|
|
continue to _accept_ `num`, although in Dart 2.0.0 most of these APIs will be
|
|
|
|
changed to accept only `double`.
|
|
|
|
|
2022-09-07 23:27:35 +02:00
|
|
|
## 3.0.4
|
|
|
|
|
|
|
|
* `UnaryOperationExpression`s with operator `not` now include a correct span,
|
|
|
|
covering the expression itself instead of just the operator.
|
|
|
|
|
2022-08-31 23:46:46 +02:00
|
|
|
## 3.0.3
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-08-31 01:46:39 +02:00
|
|
|
## 3.0.2
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-08-30 00:07:32 +02:00
|
|
|
## 3.0.1
|
|
|
|
|
|
|
|
* No user-visible chances.
|
|
|
|
|
2022-08-19 03:31:31 +02:00
|
|
|
## 3.0.0
|
2022-08-16 03:20:56 +02:00
|
|
|
|
2022-08-20 00:17:58 +02:00
|
|
|
* **Breaking change:** Convert all visitor superclasses into mixins. This
|
|
|
|
includes `RecursiveAstVisitor`, `RecursiveSelectorVisitor`,
|
|
|
|
`RecursiveStatementVisitor`, and `StatementSearchVisitor`. This has several
|
|
|
|
effects;
|
|
|
|
|
|
|
|
* You must use `with` to mix in visitors rather than `extends`.
|
|
|
|
|
|
|
|
* It's now possible to mix multiple visitors into the same class, which wasn't
|
|
|
|
possible with `extends`.
|
|
|
|
|
|
|
|
* Because [mixins can't be composed], when mixing in `RecursiveAstVisitor` you
|
|
|
|
must explicitly mix in `RecursiveStatementVisitor` as well.
|
|
|
|
|
|
|
|
[mixins can't be composed]: https://github.com/dart-lang/language/issues/540
|
|
|
|
|
|
|
|
* **Breaking change:** Replace the `minSpecificity` and `maxSpecificity` fields
|
|
|
|
on `ComplexSelector`, `CompoundSelector`, and `SimpleSelector` with a single
|
|
|
|
`specificity` field.
|
2022-08-16 03:20:56 +02:00
|
|
|
|
2022-08-10 02:45:48 +02:00
|
|
|
## 2.0.4
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-07-23 01:03:49 +02:00
|
|
|
## 2.0.3
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-08-04 01:30:09 +02:00
|
|
|
## 2.0.2
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-08-03 01:37:08 +02:00
|
|
|
## 2.0.1
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-07-22 22:34:07 +02:00
|
|
|
## 2.0.0
|
|
|
|
|
|
|
|
* Refactor the `CssMediaQuery` API to support new logical operators:
|
|
|
|
|
|
|
|
* Rename the `features` field to `conditions`, to reflect the fact that it can
|
|
|
|
contain more than just the `<media-feature>` production.
|
|
|
|
|
|
|
|
* Add a `conjunction` field to track whether `conditions` are matched
|
|
|
|
conjunctively or disjunctively.
|
|
|
|
|
|
|
|
* Rename the default constructor to `CssMediaQuery.type()` to reflect the fact
|
|
|
|
that it's no longer by far the most commonly used form of media query.
|
|
|
|
|
|
|
|
* Add a required `conjunction` argument to `CssMediaQuery.condition()`.
|
|
|
|
|
|
|
|
* Delete the `isCondition` getter.
|
2022-07-16 00:43:48 +02:00
|
|
|
|
|
|
|
* Provide access to Sass's selector AST, including the following classes:
|
|
|
|
`Selector`, `ListSelector`, `ComplexSelector`, `ComplexSelectorComponent`,
|
|
|
|
`Combinator`, `CompoundSelector`, `SimpleSelector`, `AttributeSelector`,
|
|
|
|
`AttributeOperator`, `ClassSelector`, `IdSelector`, `ParentSelector`,
|
|
|
|
`PlaceholderSelector`, `PseudoSelector`, `TypeSelector`, `UniversalSelector`,
|
|
|
|
and `QualifiedName`.
|
|
|
|
|
|
|
|
* Provide access to the `SelectorVisitor` and `RecursiveSelectorVisitor`
|
|
|
|
classes.
|
|
|
|
|
|
|
|
* Provide access to the `Value.assertSelector()`,
|
|
|
|
`Value.assertComplexSelector()`, `Value.assertCompoundSelector()`, and
|
|
|
|
`Value.assertSimpleSelector()` methods.
|
|
|
|
|
2022-06-22 21:24:29 +02:00
|
|
|
## 1.0.0
|
|
|
|
|
|
|
|
* First stable release.
|
|
|
|
|
|
|
|
* No user-visible changes since 1.0.0-beta.48.
|
|
|
|
|
2022-06-09 01:48:36 +02:00
|
|
|
## 1.0.0-beta.48
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-06-03 04:18:04 +02:00
|
|
|
## 1.0.0-beta.47
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-05-21 00:04:21 +02:00
|
|
|
## 1.0.0-beta.46
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-05-20 01:53:30 +02:00
|
|
|
## 1.0.0-beta.45
|
|
|
|
|
|
|
|
* **Breaking change:** Replace `StaticImport.supports` and `StaticImport.media`
|
|
|
|
with a unified `StaticImport.modifiers` field. Same for `CssImport`.
|
|
|
|
|
|
|
|
* Add `SupportsExpression`.
|
|
|
|
|
2022-04-26 23:59:21 +02:00
|
|
|
## 1.0.0-beta.44
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-04-26 04:20:54 +02:00
|
|
|
## 1.0.0-beta.43
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-04-19 02:47:56 +02:00
|
|
|
## 1.0.0-beta.42
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-04-07 04:19:59 +02:00
|
|
|
## 1.0.0-beta.41
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-04-02 00:37:47 +02:00
|
|
|
## 1.0.0-beta.40
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-03-31 00:14:46 +02:00
|
|
|
## 1.0.0-beta.39
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-02-24 21:24:55 +01:00
|
|
|
## 1.0.0-beta.38
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-02-17 22:25:21 +01:00
|
|
|
## 1.0.0-beta.37
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-02-01 22:54:18 +01:00
|
|
|
## 1.0.0-beta.36
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-02-01 22:02:00 +01:00
|
|
|
## 1.0.0-beta.35
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-02-01 21:21:57 +01:00
|
|
|
## 1.0.0-beta.34
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-02-01 02:31:11 +01:00
|
|
|
## 1.0.0-beta.33
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-02-01 01:52:16 +01:00
|
|
|
## 1.0.0-beta.32
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-02-01 01:30:51 +01:00
|
|
|
## 1.0.0-beta.31
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-02-01 00:45:25 +01:00
|
|
|
## 1.0.0-beta.30
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-01-18 23:35:51 +01:00
|
|
|
## 1.0.0-beta.29
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-01-13 03:37:06 +01:00
|
|
|
## 1.0.0-beta.28
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-01-08 00:12:42 +01:00
|
|
|
## 1.0.0-beta.27
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2022-01-06 00:59:15 +01:00
|
|
|
## 1.0.0-beta.26
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-12-31 01:04:00 +01:00
|
|
|
## 1.0.0-beta.25
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-12-21 01:15:04 +01:00
|
|
|
## 1.0.0-beta.24
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-12-10 22:13:27 +01:00
|
|
|
## 1.0.0-beta.23
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-12-03 00:01:14 +01:00
|
|
|
## 1.0.0-beta.22
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-12-01 00:32:09 +01:00
|
|
|
## 1.0.0-beta.21
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-11-30 02:43:08 +01:00
|
|
|
## 1.0.0-beta.20
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-11-05 07:05:50 +01:00
|
|
|
## 1.0.0-beta.19
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-10-26 23:06:40 +02:00
|
|
|
## 1.0.0-beta.18
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-10-16 01:10:52 +02:00
|
|
|
## 1.0.0-beta.17
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-10-12 21:15:56 +02:00
|
|
|
## 1.0.0-beta.16
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-10-06 03:36:45 +02:00
|
|
|
## 1.0.0-beta.15
|
|
|
|
|
|
|
|
* Fix an issue where `RecursiveAstVisitor` was not implementing
|
|
|
|
`visitCalculationExpression`.
|
|
|
|
|
2021-10-05 05:53:31 +02:00
|
|
|
## 1.0.0-beta.14
|
|
|
|
|
|
|
|
* Fix a bug where `RecursiveAstVisitor.visitAtRootRule` wouldn't visit any nodes
|
|
|
|
interpolated into the `@at-root`'s query.
|
|
|
|
|
2021-09-22 09:12:16 +02:00
|
|
|
## 1.0.0-beta.13
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-09-16 23:58:19 +02:00
|
|
|
## 1.0.0-beta.12
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-09-15 00:25:08 +02:00
|
|
|
## 1.0.0-beta.11
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-09-14 10:45:05 +02:00
|
|
|
## 1.0.0-beta.10
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-09-14 01:16:40 +02:00
|
|
|
## 1.0.0-beta.9
|
|
|
|
|
|
|
|
* Add the `CalculationExpression` type to represent calculations in the Sass
|
|
|
|
AST.
|
|
|
|
|
|
|
|
* Add the `ExpressionVisitor.visitCalculationExpression` method.
|
|
|
|
|
2021-09-10 01:51:26 +02:00
|
|
|
## 1.0.0-beta.8
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-09-10 01:00:05 +02:00
|
|
|
## 1.0.0-beta.7
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-08-31 02:14:14 +02:00
|
|
|
## 1.0.0-beta.6
|
|
|
|
|
|
|
|
* Add the `SassApiColor` extension to the "Value" DartDoc category.
|
|
|
|
|
2021-08-28 09:37:39 +02:00
|
|
|
## 1.0.0-beta.5
|
|
|
|
|
|
|
|
* Add `SassColor.hasCalculatedRgb` and `.hasCalculatedHsl` extension getters.
|
|
|
|
|
2021-08-24 01:33:36 +02:00
|
|
|
## 1.0.0-beta.4
|
|
|
|
|
|
|
|
* `UseRule`, `ForwardRule`, and `DynamicImport` now share a common `Dependency`
|
|
|
|
interface that exposes a `url` getter and a `urlSpan` getter.
|
|
|
|
|
|
|
|
* `VariableDeclaration`, `MixinRule`, `FunctionRule`, `Argument`, and
|
|
|
|
`ConfiguredVariable` now share a common `SassDeclaration` interface that
|
|
|
|
exposes a `name` getter (with underscores converted to hyphens) and a
|
|
|
|
`nameSpan` getter.
|
|
|
|
|
|
|
|
* Function calls with interpolation have now been split into their own AST node:
|
|
|
|
`InterpolatedFunctionExpression`. `FunctionExpression.name` is now always a
|
|
|
|
string (with underscores converted to hyphens). `FunctionExpression` also now
|
|
|
|
has an `originalName` getter, which leaves underscores as-is.
|
|
|
|
|
|
|
|
* `VariableExpression`, `IncludeRule`, and `FunctionExpression` now share a
|
|
|
|
common `SassReference` interface that exposes a `namespace` getter and a
|
|
|
|
`name` getter (with underscores converted to hyphens), as well as
|
|
|
|
corresponding `namespaceSpan` and `nameSpan` getters.
|
|
|
|
|
2021-08-10 01:54:57 +02:00
|
|
|
## 1.0.0-beta.3
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-08-04 03:26:34 +02:00
|
|
|
## 1.0.0-beta.2
|
|
|
|
|
|
|
|
* No user-visible changes.
|
|
|
|
|
2021-07-29 03:28:00 +02:00
|
|
|
## 1.0.0-beta.1
|
|
|
|
|
|
|
|
* Initial beta release.
|