diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f530226..b64a1a8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,29 @@ +## 1.58.0 + +* Remove sourcemap comments from Sass sources. The generated sourcemap comment + for the compiled CSS output remains unaffected. + +* Fix a bug in `@extend` logic where certain selectors with three or more + combinators were incorrectly considered superselectors of similar selectors + with fewer combinators, causing them to be incorrectly trimmed from the + output. + +* Produce a better error message for a number with a leading `+` or `-`, a + decimal point, but no digits. + +* Produce a better error message for a nested property whose name starts with + `--`. + +* Fix a crash when a selector ends in an escaped backslash. + +* Add the relative length units from CSS Values 4 and CSS Contain 3 as known + units to validate bad computation in `calc`. + +### Command Line Interface + +* The `--watch` flag will now track loads through calls to `meta.load-css()` as + long as their URLs are literal strings without any interpolation. + ## 1.57.1 * No user-visible changes. diff --git a/pubspec.yaml b/pubspec.yaml index eaf67510..8840976d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: sass_embedded -version: 1.57.1 +version: 1.58.0 description: An implementation of the Sass embedded protocol using Dart Sass. homepage: https://github.com/sass/dart-sass-embedded environment: @@ -11,8 +11,8 @@ dependencies: meta: ^1.1.0 path: ^1.6.0 protobuf: ^2.0.0 - sass: 1.57.1 - sass_api: ^4.0.0 + sass: 1.58.0 + sass_api: ^5.0.0 source_span: ^1.1.0 stack_trace: ^1.6.0 stream_channel: ">=1.6.0 <3.0.0"