diff --git a/CHANGELOG.md b/CHANGELOG.md index c669e0692..acecb7469 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ -## 1.82.1-dev +## 1.83.0 -* No user-visible changes. +* Allow trailing commas in *all* argument and parameter lists. ## 1.82.0 diff --git a/lib/src/parse/stylesheet.dart b/lib/src/parse/stylesheet.dart index 94f551d2d..56d63119f 100644 --- a/lib/src/parse/stylesheet.dart +++ b/lib/src/parse/stylesheet.dart @@ -1632,6 +1632,7 @@ abstract class StylesheetParser extends Parser { scanner.expectChar($dot); scanner.expectChar($dot); whitespace(); + if (scanner.scanChar($comma)) whitespace(); restArgument = name; break; } @@ -1689,6 +1690,7 @@ abstract class StylesheetParser extends Parser { } else { keywordRest = expression; whitespace(); + if (scanner.scanChar($comma)) whitespace(); break; } } else if (named.isNotEmpty) { diff --git a/pkg/sass-parser/CHANGELOG.md b/pkg/sass-parser/CHANGELOG.md index 2f6690e4b..f076e5c86 100644 --- a/pkg/sass-parser/CHANGELOG.md +++ b/pkg/sass-parser/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.4.8-dev +## 0.4.8 Add support for parsing the `@mixin` rule. diff --git a/pkg/sass-parser/package.json b/pkg/sass-parser/package.json index 2693992ee..9e88a59d1 100644 --- a/pkg/sass-parser/package.json +++ b/pkg/sass-parser/package.json @@ -1,6 +1,6 @@ { "name": "sass-parser", - "version": "0.4.8-dev", + "version": "0.4.8", "description": "A PostCSS-compatible wrapper of the official Sass parser", "repository": "sass/sass", "author": "Google Inc.", diff --git a/pkg/sass_api/CHANGELOG.md b/pkg/sass_api/CHANGELOG.md index 56eae578f..0907ed221 100644 --- a/pkg/sass_api/CHANGELOG.md +++ b/pkg/sass_api/CHANGELOG.md @@ -1,3 +1,7 @@ +## 14.5.0 + +* No user-visible changes. + ## 14.4.1-dev * No user-visible changes. diff --git a/pkg/sass_api/pubspec.yaml b/pkg/sass_api/pubspec.yaml index 30e6dee11..a129337a4 100644 --- a/pkg/sass_api/pubspec.yaml +++ b/pkg/sass_api/pubspec.yaml @@ -2,7 +2,7 @@ name: sass_api # Note: Every time we add a new Sass AST node, we need to bump the *major* # version because it's a breaking change for anyone who's implementing the # visitor interface(s). -version: 14.4.1-dev +version: 14.5.0 description: Additional APIs for Dart Sass. homepage: https://github.com/sass/dart-sass @@ -10,7 +10,7 @@ environment: sdk: ">=3.3.0 <4.0.0" dependencies: - sass: 1.82.1 + sass: 1.83.0 dev_dependencies: dartdoc: ^8.0.14 diff --git a/pubspec.yaml b/pubspec.yaml index 08e11e159..734cdfd72 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: sass -version: 1.82.1-dev +version: 1.83.0 description: A Sass implementation in Dart. homepage: https://github.com/sass/dart-sass