Commit Graph

2263 Commits

Author SHA1 Message Date
Natalie Weizenbaum
ce58d87dcf
Add missing ESM exports (#2010) 2023-06-13 14:23:23 -07:00
なつき
aa59a5f4a9
Fix race condition between spawning and killing isolates during shutdown (#2007)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-06-09 15:55:47 -07:00
なつき
760fa2ead1
Add current stylesheet to loadedUrls when throwing parsing error (#1991)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-06-09 13:41:25 -07:00
Natalie Weizenbaum
645e48fd5d
Cut a release (#2006) 2023-06-09 08:33:24 -07:00
Natalie Weizenbaum
eb09d75ea3
Fix a few more deployment issues (#1998) 2023-06-07 18:23:57 -07:00
Natalie Weizenbaum
ce909e454d
Use the correct pub credential location for deploying sub-packages (#1997) 2023-06-07 17:58:46 -07:00
Natalie Weizenbaum
eea0717ad3
Block release on all tests (#1996) 2023-06-07 17:50:00 -07:00
Natalie Weizenbaum
d82654bc3a
Fix deploy configuration (#1994) 2023-06-07 17:15:18 -07:00
Natalie Weizenbaum
c3ed547932
Release 1.63.0 (#1987) 2023-06-07 13:32:01 -07:00
Natalie Weizenbaum
a88318f5a9
Run embedded compilations across multiple isolates (#1981)
Closes #1980
Closes #1959
2023-06-06 14:23:17 -07:00
Francesco Pongiluppi
b0efcb00b9
Fix README Docker example (#1982) (#1983) 2023-05-31 13:27:52 -07:00
tianheg
44a3caf232
Update README.md (#1979) 2023-05-30 14:42:46 -07:00
Tachibana Shin
21f98c6586
Fix the syntax for browser examples in the README (#1975)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-05-25 15:54:00 -07:00
Natalie Weizenbaum
9e1d18a60e
Upgrade the analyzer package (#1974) 2023-05-24 14:53:21 -07:00
Natalie Weizenbaum
247098dbf4
Further expand browser documentation and mention it in the README (#1973) 2023-05-24 13:58:47 -07:00
なつき
f0f00a64fe
Address deprecation warning in GitHub Actions (#1968) 2023-05-22 23:17:44 +00:00
Natalie Weizenbaum
1c9a5e160b
Document browser support (#1972) 2023-05-19 14:46:29 -07:00
Ed Rivas
cca9464b09
Add support for running in the browser (#1895)
Closes #25

Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-05-19 13:22:44 -07:00
Natalie Weizenbaum
eb18526913
Use the embedded protocol from the Sass language repo (#1966) 2023-05-17 13:12:44 -07:00
なつき
cb039c7efd
Format with dart 3.0.1 (#1967) 2023-05-17 13:09:54 -07:00
Natalie Weizenbaum
17f7fab482
Pull more repeated GH Action tasks into sub-actions (#1964)
This converts the build-protobuf action into a general action that
initializes Dart _and_ builds the protobuf. It also factors out the
repeated work to set up the sass-spec repo.
2023-05-16 17:37:51 -07:00
なつき
4692841355
Fix printing usage when no args provided (#1963)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-05-16 13:48:17 -07:00
Natalie Weizenbaum
bd771af1c6
Merge pull request #1955 from sass/embedded
Merge the Dart Sass embedded compiler repo into the Dart Sass repo
2023-05-15 14:49:53 -07:00
Natalie Weizenbaum
6d6d5ee5a4 Merge branch 'embedded-move' into embedded 2023-05-15 14:34:52 -07:00
Natalie Weizenbaum
3fc6a42e8f Move source and test files to namespaced subdirectories 2023-05-08 17:34:32 -07:00
Sass Bot
152754e291 Update Dart Sass version and release 2023-04-25 23:32:15 +00:00
Natalie Weizenbaum
8dddcb7b7d
Split SilentComment nodes on empty lines in SCSS (#1945)
Closes #1941
2023-04-25 16:21:05 -07:00
Natalie Weizenbaum
3091de542c
Fix :has(+ &) (#1938)
Closes #1937
2023-04-19 15:29:31 -07:00
Sass Bot
6f1305cf65 Update Dart Sass version and release 2023-04-11 22:56:34 +00:00
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