dart-sass/pkg/sass_api/CHANGELOG.md
Jennifer Thakar 1672178f64
Fix @at-root bug for common case of built-in use (#1469)
`@at-root` should now work properly in a nested import as long as the
only `@use` or `@forward` rules present are for built-in modules.

This is a partial but not complete fix for #1347. It's a bit hacky to
special case built-in modules here, but since they represent the only
real legitimate case for using this combination of features, it lets us
fix the bug for this case and avoid the bordering-on-infeasible work of
fixing this for user-defined modules.
2021-09-09 16:00:05 -07:00

44 lines
1.3 KiB
Markdown

## 1.0.0-beta.7
* No user-visible changes.
## 1.0.0-beta.6
* Add the `SassApiColor` extension to the "Value" DartDoc category.
## 1.0.0-beta.5
* Add `SassColor.hasCalculatedRgb` and `.hasCalculatedHsl` extension getters.
## 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.
## 1.0.0-beta.3
* No user-visible changes.
## 1.0.0-beta.2
* No user-visible changes.
## 1.0.0-beta.1
* Initial beta release.