Commit Graph

2276 Commits

Author SHA1 Message Date
なつき
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
Natalie Weizenbaum
b98fa4fbd1
Fix an edge case in superselector computation (#1866)
Closes #1843
2023-01-06 00:30:49 -08:00
Natalie Weizenbaum
14c1634057
Don't crash when parsing +. (#1865)
Closes #1856
2023-01-04 17:03:08 -08:00
Goodwine
aceb1e8c51
Remove sourcemap comments from Sass sources (#1860)
* Remove sourcemap comments from Sass sources

* add changelog

* update version to cut a release and update sass_api changelog and pubspec
2023-01-04 16:08:50 -08:00
Natalie Weizenbaum
441be809a5
Delete dead code (#1864)
Closes #1861
2023-01-04 15:58:45 -08:00
なつき
288bbddea0
Fix dart analyze issues (#135) 2022-12-28 00:21:41 +00:00
Natalie Weizenbaum
e95e5a304e
Merge pull request #134 from sass/ci
Run sass-spec tests against the latest Dart Sass by default
2022-12-19 16:06:09 -08:00
Sass Bot
d426ab837e Update Dart Sass version and release 2022-12-19 23:53:43 +00:00
Natalie Weizenbaum
5522c17a7b
Run "dart pub upgrade" rather than "pub upgrade" (#1851) 2022-12-19 15:42:10 -08:00