Commit Graph

55 Commits

Author SHA1 Message Date
Natalie Weizenbaum
67bd395df5 Add a CI task that checks formatting 2021-06-14 12:44:37 -07:00
Natalie Weizenbaum
66ab368582
Support fuzzy range errors (#45)
Closes #32
2021-05-26 13:10:56 -07:00
Natalie Weizenbaum
12c468004c
Implement CanonicalizeRequest.from_import (#41)
See sass/sass#3055
See webpack-contrib/sass-loader#905
See sass/embedded-protocol#61
2021-05-25 17:59:17 -07:00
Natalie Weizenbaum
5d81f26f5d
Merge pull request #43 from sass/fix-tests
Fix broken tests
2021-05-25 12:19:33 -07:00
Natalie Weizenbaum
de335d884e Fix warning expectations in tests 2021-05-24 17:42:44 -07:00
Natalie Weizenbaum
49ef4c1121 Use the new enum names in the latest protocol version 2021-05-24 16:56:53 -07:00
Natalie Weizenbaum
32575970e3 Avoid /-as-division deprecation warnings 2021-05-24 16:43:30 -07:00
Natalie Weizenbaum
93bc86f97a
Support non-nullability (#40) 2021-05-17 20:57:37 -07:00
Christophe Coevoet
54d067e267
Use the official setup-dart action (#37) 2021-03-03 10:25:28 -08:00
Awjin Ahn
84eff0a8ea
Release 1.0.0-beta.7 (#36) 2021-02-24 14:36:26 -08:00
Awjin Ahn
831e5e903e
Formatted alerts (#35) 2021-02-03 18:31:27 -08:00
Natalie Weizenbaum
b0680836d4
Use GitHub Actions' bearer: token rather than a basic auth token (#30) 2021-01-20 16:32:18 -08:00
Christophe Coevoet
d18aa4dbbe
Migrate CI to github actions (#28) 2021-01-20 13:21:05 -08:00
Christophe Coevoet
8128431b18
Use the dart cli in tasks (#27) 2021-01-13 13:44:41 -08:00
Natalie Weizenbaum
89682335d9
Merge pull request #26 from sass/release
See sass/embedded-protocol#45
2021-01-07 17:20:16 -08:00
Natalie Weizenbaum
d37212b3bb Use 0xffffffff as the fallback error ID
See sass/embedded-protocol#45
2021-01-06 16:31:45 -08:00
Natalie Weizenbaum
5f20d0a431 Release 1.0.0-beta.6 2021-01-06 13:54:16 -08:00
Natalie Weizenbaum
8a559fbe50
Update tests for the latest Sass version (#25) 2021-01-05 15:36:24 -08:00
Natalie Weizenbaum
2f4fb065d4
Handle CompileRequest.StringInput.importer (#22)
Partially addresses sass/embedded_protocol#37
2020-12-23 14:49:33 -08:00
Natalie Weizenbaum
fa03766199
Document where releases can be found (#21) 2020-12-23 14:47:19 -08:00
Natalie Weizenbaum
3130888661
Delimit messages using varints, as per sass/embedded-protocol#38 (#23)
See sass/embedded-protocol#37
2020-12-22 16:06:16 -08:00
Awjin Ahn
0aa346cf7d
Temporarily disable dartfmt. (#19) 2020-11-18 12:47:24 -08:00
Awjin Ahn
e302719e15
Update error handling to be asymmetric. (#18)
(As per the protocol spec)
2020-08-26 14:10:13 -07:00
Natalie Weizenbaum
99859cbace
Work around Travis errors caused by dart-lang/pub#2545 (#17) 2020-08-13 11:58:04 -07:00
Natalie Weizenbaum
2217c6ceba
Try building Windows releases on Windows (#16) 2020-07-23 17:31:00 -07:00
Natalie Weizenbaum
d37ef98a76
Regenerate the GitHub token again (#15)
I realized the problem: this repo uses travis-ci.com, not
travis-ci.org, but the Travis CLI defaults to encrypting using .com
credentials. This time I regenerated the token using --pro, which
should work.
2020-07-22 16:39:34 -07:00
Natalie Weizenbaum
2d2ad922db
Regenerate the GitHub token (#14)
The previous token didn't seem to be recognized. See
https://travis-ci.com/github/sass/dart-sass-embedded/jobs/364028782.

It's unclear why it didn'twork, but I'm hoping regenerating fixes it.
2020-07-22 16:16:56 -07:00
Natalie Weizenbaum
04edb5e81c
Merge pull request #13 from sass/cli-pkg
Make better use of cli_pkg
2020-07-22 14:42:35 -07:00
Natalie Weizenbaum
25a8184a15 Bump the version to 1.0.0-beta.2 2020-07-21 16:27:57 -07:00
Natalie Weizenbaum
43b9d8a0f9 Use cli_pkg to deploy binaries to GitHub releases 2020-07-21 16:27:32 -07:00
Natalie Weizenbaum
b046b97c9e Use cli_pkg's testing infrastructure 2020-07-21 16:21:24 -07:00
Natalie Weizenbaum
7db464930d
Merge pull request #12 from sass/release
Release a beta version
2020-07-21 14:28:47 -07:00
Natalie Weizenbaum
5c7a642f47 Stop testing on Dart dev to work around dart-lang/pub#2545 2020-07-21 13:22:20 -07:00
Natalie Weizenbaum
5b99160a15 Fix an outdated test 2020-07-20 19:19:44 -07:00
Natalie Weizenbaum
8b1eedab42 Depend on cli_pkg-beta.8 2020-07-20 13:34:33 -07:00
Natalie Weizenbaum
c1f1226db0 Release a beta version 2020-07-20 13:34:31 -07:00
Awjin Ahn
0cddc095b9
Support latest protocol updates (#11)
* Remove support for InboundMessage.FunctionCallRequest

Context: https://github.com/sass/embedded-protocol/issues/28

* Remove support for CanonicalizeResponse.file

Context: https://github.com/sass/embedded-protocol/issues/25

* Stub CompileRequest.Importer.fileImporterId support
2019-12-23 15:43:16 -08:00
Natalie Weizenbaum
03805ce1ce
Add support for first-class function value types (#10) 2019-11-11 13:36:13 -08:00
Natalie Weizenbaum
6b34ffd7f3
Add the ability to invoke functions (#9)
This doesn't yet support first-class function values.
2019-11-08 15:25:42 -08:00
Natalie Weizenbaum
95bb3aceb6
Add support for importers (#8) 2019-11-07 16:03:47 -08:00
Natalie Weizenbaum
053e3eacd3
Compile a snapshot before testing on Travis (#7) 2019-11-05 13:51:14 -08:00
Natalie Weizenbaum
ec05600af2
Emit LogEvents (#6) 2019-11-05 13:51:08 -08:00
Natalie Weizenbaum
3de78be2f0
Plug in the actual Sass compiler (#5)
This now supports real CompileRequest and CompileResponses, although
it's missing features like importers, custom functions, and source
maps.
2019-11-04 19:50:50 -08:00
Natalie Weizenbaum
51b285ca0b
Merge pull request #4 from sass/cli-pkg
Add cli_pkg
2019-11-04 17:08:44 -08:00
Natalie Weizenbaum
ebdcb23d79 Run from script or native snapshots in tests if available 2019-11-04 12:04:02 -08:00
Natalie Weizenbaum
2b11aa1c21 Use cli_pkg to deploy to GitHub 2019-11-01 19:23:33 -07:00
Natalie Weizenbaum
6ccc5c3892
Merge pull request #2 from sass/dummy
Add a very basic protocol dispatcher and a few tests
2019-11-01 19:12:21 -07:00
Natalie Weizenbaum
7489d5796d Add a very basic protocol dispatcher and a few tests
Currently this doesn't actually invoke the compiler, it just always
returns the expanded output for "a {b: c}".
2019-11-01 19:02:12 -07:00
Natalie Weizenbaum
ea4f9f7204 Generate protobufs on Travis 2019-11-01 19:02:12 -07:00
Natalie Weizenbaum
3bf67e0011 Add a grinder task to generate protocol buffer libraries 2019-11-01 19:02:12 -07:00