Natalie Weizenbaum
c55235d166
Don't separate out media queries after one has bubbled ( #1933 )
...
Closes #777
2023-04-11 15:44:19 -07:00
Goodwine
e68818a86e
Allow global Sass function colliding with CSS native functions to use CSS variables ( #1926 )
...
* Allow global Sass function colliding with CSS native functions to use CSS variables
Many Sass functions are available globally even without loading their module. Some of these are also valid CSS native functions. Sass performs validations which disallow the use of CSS variables because the arguments are asserted a given type of value. For these collisions allow the use of CSS variables and in such cases assume the entire function call is meant to be the CSS native function rather than the global Sass function.
Fixes https://github.com/sass/sass/issues/3507
* Also allow for special numbers, not only for var()
* add changelog oops
2023-04-10 16:58:55 -07:00
Natalie Weizenbaum
283bdc0063
Deprecate duplicate !global and !default declarations ( #1931 )
...
See #604
See sass/sass#2607
2023-04-07 16:29:57 -07:00
Sass Bot
0c76246e35
Update Dart Sass version and release
2023-04-06 21:55:44 +00:00
Natalie Weizenbaum
702a7ee7a1
Fix the performance of selector span expansion ( #1929 )
...
Instead of calling `SourceFile.getText()`, which creates string copies
of a substantial subset of the text of the file every time, this
directly accesses the file's underlying code units without doing any
copies.
Closes #1913
2023-04-06 14:44:29 -07:00
Natalie Weizenbaum
4ddd8f5131
Add a changelog entry for sass/embedded-host-node#212 ( #1928 )
2023-04-05 17:40:07 -07:00
Jennifer Thakar
60b8be6510
Remove Node 12 from CI ( #1925 )
...
Now that we've properly dropped Node 12 support, we can remove it entirely from the CI
2023-03-27 17:27:55 -07:00
Sass Bot
96a5ffe252
Update Dart Sass version and release
2023-03-23 23:13:50 +00:00
なつき
c6e7dbc0cd
Require node>=14.0.0 ( #1911 )
2023-03-23 16:10:21 -07:00
Natalie Weizenbaum
f5a3dea748
Add support for constants in calculations ( #1922 )
...
Closes #1900
See sass/sass#3258
2023-03-23 15:59:27 -07:00
Sass Bot
2d210a4d24
Update Dart Sass version and release
2023-03-14 21:21:23 +00:00
Jennifer Thakar
09a5f09638
Fix performance regression from selector spans ( #1916 )
2023-03-14 14:08:46 -07:00
Sass Bot
a3e3d9b6d0
Update Dart Sass version and release
2023-03-11 01:20:46 +00:00
Jennifer Thakar
b540d5914e
Release 1.59.2 ( #1908 )
2023-03-10 17:08:59 -08:00
Jennifer Thakar
c6752b5a3f
Revert "Remove workaround for dart-lang/setup-dart#59 ( #151 )" ( #153 )
...
This reverts commit 7d38d42817
.
2023-03-10 16:58:04 -08:00
Sass Bot
9893512d4a
Update Dart Sass version and release
2023-03-10 23:48:10 +00:00
Jennifer Thakar
d0ca8e0bc9
Fix macOS arm64 build and release a new version ( #1906 )
...
* Revert "Remove workaround for dart-lang/setup-dart#59 (#1904 )"
This reverts commit 434f2b99f1
.
* Bump version
2023-03-10 15:36:32 -08:00
Sass Bot
ffc70679d3
Update Dart Sass version and release
2023-03-10 22:36:41 +00:00
Jennifer Thakar
8f8138dfab
Add --fatal-deprecations and --future-deprecations ( #1820 )
...
* Add fatal/futureDeprecations to Dart API
This adds a new `Deprecation` class that specifies an ID for each
deprecated feature along with what Dart Sass version deprecated it.
The compile functions allow you to pass a set of `fatalDeprecations`
that will cause an error instead of a warning. You can also pass a set
of `futureDeprecations`, which let you opt-in to deprecations (like
`@import`) early.
* Add future deprecation for `@import`
* Add flags
* Merge colorUnits and randomWithUnits
* Update changelogs and pubspecs
* Add tests
* Use isFuture instead of deprecatedIn == null
* Split warnForDeprecation from warn
* Add missing word to error message
2023-03-10 14:24:33 -08:00
Natalie Weizenbaum
9417b6e8d8
Track original source spans for selectors ( #1903 )
...
Closes #1783
2023-03-08 14:59:12 -08:00
Natalie Weizenbaum
7d38d42817
Remove workaround for dart-lang/setup-dart#59 ( #151 )
2023-03-06 13:18:28 -08:00
Natalie Weizenbaum
434f2b99f1
Remove workaround for dart-lang/setup-dart#59 ( #1904 )
2023-03-06 13:18:25 -08:00
Natalie Weizenbaum
f022e02bc5
Improve errors for invalid CSS values passed to CSS functions ( #1901 )
...
Closes #1769
2023-03-03 15:07:15 -08:00
Goodwine
eb1ced15d6
Pull @font-face out to root ( #1899 )
...
Closes sass/sass#1251
2023-03-01 18:12:11 -08:00
Natalie Weizenbaum
664a670ab8
Add a changelog entry for sass/embedded-host-node#207 ( #1898 )
2023-02-28 13:38:42 -08:00
Sass Bot
909441934a
Update Dart Sass version and release
2023-02-18 00:40:20 +00:00
Natalie Weizenbaum
620d8d355e
Cut a release to include sass/embedded-host-node#206 ( #1890 )
2023-02-17 16:29:03 -08:00
Sass Bot
c23d5d98f3
Update Dart Sass version and release
2023-02-17 01:39:22 +00:00
dannypernik
c4523884bf
Add timestamp to printed compile statement ( #1876 )
...
Co-authored-by: dannypernik <dannypernik@mail.com>
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
Co-authored-by: なつき <i@ntk.me>
2023-02-16 17:27:30 -08:00
Natalie Weizenbaum
13cc7d2da4
Improve the suggested replacements for unary minus in /-as-division ( #1888 )
...
Closes #1887
2023-02-16 13:34:57 -08:00
なつき
13a18cde0c
Fix qemu releases ( #149 )
2023-02-14 14:06:40 -08:00
Sass Bot
2c8bf35adf
Update Dart Sass version and release
2023-02-14 00:57:06 +00:00
dependabot[bot]
f966cbcb51
Bump sass_api from 4.2.1 to 5.0.0 ( #143 )
...
Bumps [sass_api](https://github.com/sass/dart-sass ) from 4.2.1 to 5.0.0.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/sass_api/4.2.1...sass_api/5.0.0 )
---
updated-dependencies:
- dependency-name: sass_api
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 00:47:58 +00:00
dependabot[bot]
e468cf0122
Bump meta from 1.8.0 to 1.9.0 ( #144 )
...
Bumps [meta](https://github.com/dart-lang/sdk/tree/main/pkg ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/dart-lang/sdk/releases )
- [Changelog](https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md )
- [Commits](https://github.com/dart-lang/sdk/commits/1.9.0/pkg )
---
updated-dependencies:
- dependency-name: meta
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 00:47:31 +00:00
dependabot[bot]
9d2abbc498
Bump grinder from 0.9.2 to 0.9.3 ( #145 )
...
Bumps [grinder](https://github.com/google/grinder.dart ) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/google/grinder.dart/releases )
- [Changelog](https://github.com/google/grinder.dart/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/grinder.dart/compare/0.9.2...v0.9.3 )
---
updated-dependencies:
- dependency-name: grinder
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 00:47:15 +00:00
Natalie Weizenbaum
c8b4cd09eb
Don't emit "deg" for hsl hues ( #1885 )
2023-02-13 16:44:14 -08:00
なつき
b4d390f096
Add missing setup-dart step in qemu release ( #147 )
2023-02-09 17:56:24 -08:00
Natalie Weizenbaum
f50a3f0da3
Use buf instead of protoc to compile protobufs ( #146 )
...
This is more consistent with the embedded host, and avoids relying on
the seldom-maintaned arduino/setup-protoc GitHub action.
2023-02-08 17:30:05 -08:00
なつき
d2bc7105e8
Update and lock sass_api version when releasing dart-sass-embedded ( #1878 )
2023-02-06 21:48:56 +00:00
Andreas Deininger
5eb66fc219
Fixes typos ( #1879 )
2023-02-03 14:47:13 -08:00
Natalie Weizenbaum
6310dfb129
Update synchronization tests to verify the entire file ( #1880 )
...
This catches cases where the target file is edited directly without
also editing the source file.
Also re-run `pub run grinder`.
2023-02-01 16:23:37 -08:00
Natalie Weizenbaum
487753ebe4
Release 1.58.0 ( #142 )
2023-02-01 15:44:20 -08:00
Natalie Weizenbaum
98fe9a43dd
Track dependencies through meta.load-css()
with --watch
( #1877 )
...
Closes #1808
2023-01-31 16:58:45 -08:00
Christophe Coevoet
5a521b86f9
Add all CSS length units in known compatibilities ( #1868 )
...
This allows more validation of wrong computations in first-class calc.
2023-01-30 23:29:04 +00:00
Jennifer Thakar
34a34c0e52
Update CI Node versions to 18/16/14 ( #139 )
2023-01-24 16:04:39 -08:00
Jennifer Thakar
499965a49c
Update CI Node versions to 18/16/14 ( #1871 )
2023-01-24 16:04:03 -08:00
Jennifer Thakar
00069241b9
Fix escaped backslash crash ( #1870 )
...
* Fix escaped backslash crash
Fixes #1855 .
* Code review
2023-01-24 16:03:49 -08:00
Goodwine
0248608c44
Return an error when using a custom property in a propset instead of crashing ( #1874 )
...
Fixes : #1857
See: sass/sass-spec#1873
2023-01-24 15:42:09 -08:00
dependabot[bot]
8680e05b22
Bump cli_pkg from 2.1.9 to 2.2.0 ( #140 )
...
Bumps [cli_pkg](https://github.com/google/dart_cli_pkg ) from 2.1.9 to 2.2.0.
- [Release notes](https://github.com/google/dart_cli_pkg/releases )
- [Changelog](https://github.com/google/dart_cli_pkg/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/dart_cli_pkg/compare/2.1.9...2.2.0 )
---
updated-dependencies:
- dependency-name: cli_pkg
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 23:32:02 +00:00
dependabot[bot]
436185adc9
Bump test from 1.22.1 to 1.22.2 ( #138 )
...
Bumps [test](https://github.com/dart-lang/test/tree/master/pkgs ) from 1.22.1 to 1.22.2.
- [Release notes](https://github.com/dart-lang/test/releases )
- [Commits](https://github.com/dart-lang/test/commits/HEAD/pkgs )
---
updated-dependencies:
- dependency-name: test
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-17 21:42:28 +00:00