Commit Graph

2276 Commits

Author SHA1 Message Date
Ahab
5202161bf8
fix: update optional dependencies version in CI (#109)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2022-08-29 20:32:55 +00:00
Natalie Weizenbaum
b7d92dcf0d
Release 1.54.5 (#108) 2022-08-19 16:12:33 -07:00
Natalie Weizenbaum
6df3497090
Release 1.54.5 (#1785) 2022-08-19 15:39:46 -07:00
Natalie Weizenbaum
eaceb48e83
Update optional dependency versions in embedded-host-node (#107)
Co-authored-by: Goodwine <2022649+Goodwine@users.noreply.github.com>
2022-08-19 15:30:17 -07:00
Natalie Weizenbaum
98f326b507
Convert visitor classes to mixins (#1784)
Co-authored-by: Jennifer Thakar <jathak@google.com>
2022-08-19 15:17:58 -07:00
Natalie Weizenbaum
76953320aa
Update specificity calculation for selector pseudos (#1781)
This is very close to invisible to the user and actually making it
visible would require a complex and hard-to-read test, so I'm electing
to avoid testing it.

Closes #2528
2022-08-18 18:31:31 -07:00
Goodwine
c850501621
Allow a module loaded multiple times by the same configuration (#1739)
* Allow a module loaded multiple times by the same configuration

* use object references as opaque ID

Fixes #1716
2022-08-18 16:49:09 -07:00
Goodwine
3f98441316
Deprecate math.random() when $limit has units (#1779)
* Deprecate math.random() when $limit has units

* add changelog for random with units deprecation

* add link to sass-site/d/random-with-units
2022-08-17 19:24:51 -07:00
Goodwine
0b8a0f606d
Transform all enum-like classes to dart enums (#1777)
* Transform all enum-like classes to dart enums

Fixes #1746

* fix new linter warnings upon upgrading to 2.17 regarding "[new MyClass]" to "[MyClass.new]"
2022-08-17 15:00:13 -07:00
Natalie Weizenbaum
a987352219
Improve combinator superselector logic (#1778)
Closes #791
2022-08-15 18:20:56 -07:00
Sass Bot
6faac1f6f0 Update Dart Sass version and release 2022-08-10 00:58:13 +00:00
Natalie Weizenbaum
6fd25ae4a2
Improve error messages for incorrect units in color functions (#1772)
Closes #1745
2022-08-09 17:45:48 -07:00
なつき
ba88dd60f6
Revert "Run qemu in tmpfs (#1707)" (#1757)
This reverts commit cb74cc4c31.
2022-08-08 20:46:03 +00:00
Sass Bot
fb12d87226 Update Dart Sass version and release 2022-08-04 20:48:23 +00:00
Natalie Weizenbaum
4de6ebe1ba
Merge pull request #1758 from sass/macos-arm64
Use a self-hosted runner to release a native Mac OS ARM64 runner
2022-08-04 13:35:54 -07:00
Natalie Weizenbaum
1a4ba52b4c Update GitHub Actions dependencies 2022-08-03 17:41:07 -07:00
Natalie Weizenbaum
f3093e90ba Use a self-hosted runner to release a native Mac OS ARM64 runner 2022-08-03 17:41:07 -07:00
Sass Bot
a20673acb1 Update Dart Sass version and release 2022-08-03 23:52:13 +00:00
Natalie Weizenbaum
126f0a6223
Release 1.54.2 (#1770)
This allows us to cut another release which will include
sass/dart-sass-embedded#103.
2022-08-03 16:30:09 -07:00
Natalie Weizenbaum
9bc9f49e2d
Specify architectures when installing Dart (#103)
Workaround for dart-lang/setup-dart#59
2022-08-03 16:30:03 -07:00
Natalie Weizenbaum
82a8b8f2e7
Remove a leftover parenthesis (#98) 2022-08-02 18:18:16 -07:00
Natalie Weizenbaum
24575f2cbb
Update GitHub actions dependency versions (#99) 2022-08-02 18:18:12 -07:00
Sass Bot
cf1cc4eb9e Update Dart Sass version and release 2022-08-02 23:52:36 +00:00
Natalie Weizenbaum
42d6fbb3ed
Ensure that selectors like :root always unify to the beginning (#1759)
Closes #1811
2022-08-02 23:37:08 +00:00
なつき
3d2c927506
Re-use protobuf artifact instead of building on macos arm64 (#101)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2022-08-02 23:36:47 +00:00
なつき
d1ab9e6914
Revert "Run qemu with tmpfs (#89)" (#96)
This reverts commit 3d442b402b.
2022-07-22 16:26:55 -07:00
Natalie Weizenbaum
59ba6eaa5a
Add the changelog entry for 1.54.0 (#95) 2022-07-22 16:07:35 -07:00
Natalie Weizenbaum
3f1ecebcef
Block releasing on successfully running _all_ tests (#94) 2022-07-22 16:05:02 -07:00
Natalie Weizenbaum
f69d784fd8
Merge pull request #93 from sass/release
Fix the 1.54.0 release
2022-07-22 15:49:36 -07:00
Natalie Weizenbaum
4c98e0d4c6 Consolidate repeated deploy jobs into a matrix 2022-07-22 15:37:56 -07:00
Natalie Weizenbaum
1894fc6868 Try building native ARM64 executables for Mac OS 2022-07-22 15:14:32 -07:00
Natalie Weizenbaum
95caed4533 Use the latest version of sass_api 2022-07-22 14:58:14 -07:00
Natalie Weizenbaum
bc8df44f6a
Cut a release (#1755)
Also include some code review changes that were meant for #1749
2022-07-22 14:30:03 -07:00
Natalie Weizenbaum
d159d83ea8
Fix superselector bugs for pseudo-elements and universal selectors (#1753)
Closes #790
Closes sass/sass#2728
2022-07-22 13:55:46 -07:00
Natalie Weizenbaum
eeedebcee5
Add partial support for Media Queries Level 4 (#1749)
See sass/sass#2538
See #1728
2022-07-22 13:34:07 -07:00
Natalie Weizenbaum
0d4c0d0365
Recategorize selectors as "AST" for Dartdoc (#1752)
This more closely matches the categorization of other AST nodes, which
aren't broken down into fine-grained categories.

This also adds the "Parsing" category to selector classes that have
`parse()` methods.
2022-07-22 13:27:48 -07:00
Natalie Weizenbaum
3e7c9dd702
Expose inImportRule() as the test-only fakeFromImport() function (#1750) 2022-07-21 17:04:35 -07:00
Natalie Weizenbaum
cc5529bda6
Drop the Git dependency on source_span (#1751)
We don't need to narrow the version constraint because this release
just improves formatting, it doesn't actually change the API.
2022-07-21 16:53:06 -07:00
Natalie Weizenbaum
1bd774485d
Deprecate passing non-deg units to hwb()'s $hue argument (#1747)
This was overlooked in #1175, because the spec said that `hwb()`
should already be throwing an error if non-`deg` units were passed.
However, Dart Sass didn't implement the spec correctly and these units
were in fact not being checked at all.

See #1174
2022-07-18 17:57:45 -07:00
Natalie Weizenbaum
4b53c163d7
Deprecate bogus combinators (#1740)
See sass/sass#3340
See sass/dart-sass#1727
2022-07-18 16:16:10 -07:00
Natalie Weizenbaum
fd4c50c3d9
Expose selector APIs through sass_api (#1741) 2022-07-15 15:43:48 -07:00
Goodwine
6f5e1f17eb
Fix CI when declaring -dev dependencies (#92)
* Clone dart-sass from github when using "-dev" deps

Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2022-07-11 23:10:48 -07:00
なつき
f611b066c5
Remove @types/node from dependency (#1737) 2022-07-08 21:57:51 -07:00
Goodwine
2b0721cf9f
Merge pull request #91 from ntkme/charset-option
Add charset option
2022-07-06 13:50:42 -07:00
なつき
b99ad4ba14
Add charset option to js-api (#1732) 2022-07-06 13:41:51 -07:00
なつき
fa972c9e03 Use mv instead of ln -s 2022-07-01 17:37:53 -07:00
なつき
50ade3023f Fix linked repo clone path 2022-07-01 17:15:38 -07:00
Goodwine
2299632ddf
Fix sass types for TS 4.7+ Node16/NodeNext module resolution (#1736)
Fixes #1714
2022-06-30 16:05:41 -07:00
なつき
1123943268 Add charset option 2022-06-29 22:01:33 -07:00
Natalie Weizenbaum
26e117c896
Remove the unused and unuseful Heroku deploy action from ci.yml (#1729) 2022-06-22 15:52:30 -07:00