Connor Skees
8831279ee1
remove unused map property from parsers
2024-05-19 03:45:20 +00:00
Matyáš Pokorný
a1ca700bff
Add logger trait ( #93 )
...
Introduced a new `Logger` trait which can be used to access all log events
emitted during compilation. Currently these only include messages emitted by the
`@debug` and `@warn` statements.
Changes were implemented in a backwards-compatible manner, but the current
`Options::quiet` method has been marked as deprecated, as its behavior can be
achieved using the `NullLogger` structure. The default logger used is
`StdLogger` which writes all log events to standard error. This reflect the
default behavior prior to introduction of `Logger`.
With these new changes, it is also now possible to properly test the `@debug`
and `@warn` statements.
2024-05-18 23:44:40 -04:00
David James
8d3258dcd4
implement and test string.split #95 ( #96 )
...
Co-authored-by: David James <xpe@ixm.local>
2024-05-11 15:30:41 -04:00
Mqx
c887e17e2e
Add workflow to automatically build WASM files ( #92 )
2024-02-24 00:24:23 -05:00
Connor Skees
412a4ebeb7
bump MSRV to 1.70 in readme
2024-02-07 05:42:46 +00:00
Connor Skees
3d02a5f6fb
bump version to 0.13.2
2024-02-07 05:26:21 +00:00
Connor Skees
11366ab701
resolve deprecation warning from IndexMap
2024-02-07 05:24:29 +00:00
Connor Skees
9eccccc088
update Cargo.lock
2024-02-07 05:17:30 +00:00
Paolo Barbolini
318c984169
Bump dependencies ( #89 )
2024-02-06 14:03:57 -05:00
Kevin Wenner
f7f620e44d
Fix @forward
statement altering the scope of the forwarded module ( #85 )
...
* avoid mutating forwarded module scope
* fix by adding scope to ForwardedModule instead
- add a test reproducing the issue
* fix verbose and no-color sass cli flags
2023-09-27 22:15:46 -07:00
Connor Skees
05bad843c6
link to random() and unique-id() docs in readme
2023-07-18 15:13:06 +00:00
Connor Skees
0d23a46619
bump version to 0.13.1
2023-07-17 19:27:05 +00:00
Connor Skees
491be199f7
bump MSRV to 1.64.0
2023-07-14 16:08:34 +00:00
Connor Skees
4c903ddb2a
bump clap version to 4.x.x
2023-07-14 16:04:25 +00:00
Connor Skees
5b6a06d3c8
resolve remaining clap deprecations
2023-07-14 15:45:40 +00:00
Connor Skees
95d09192cd
fix some clap deprecation warnings
2023-07-14 15:21:18 +00:00
Connor Skees
2958b92e82
bump clap version to 3.x.x
2023-07-13 19:46:58 +00:00
Connor Skees
4047c7f742
bump version to 0.13.0
2023-07-09 23:42:25 +00:00
Connor Skees
69e0938b01
ignore more false positive clippy lints
2023-07-09 23:32:13 +00:00
Connor Skees
a3e9233dc0
compile for rustdoc with macro feature
2023-07-09 22:24:54 +00:00
Connor Skees
186bd80acd
Revert "update Cargo.lock"
...
This reverts commit 6781425de9cdb2ef829f2bdfe964278a95b1c4f7.
2023-07-09 22:19:37 +00:00
Connor Skees
adab5e34d4
swap components in ci
2023-07-09 22:16:51 +00:00
Connor Skees
6781425de9
update Cargo.lock
2023-07-09 22:13:05 +00:00
Connor Skees
7d1c5099a0
install components in ci
2023-07-09 22:12:12 +00:00
Connor Skees
fa744216bd
bump MSRV to 1.59.0
2023-07-09 22:04:54 +00:00
Connor Skees
c77272ef3c
bump MSRV to 1.57.0
2023-07-09 22:03:04 +00:00
Connor Skees
a919927101
bump version to 0.13.0
2023-07-09 22:00:50 +00:00
Connor Skees
3bc2376b4f
update changelog for 0.13.0
2023-07-09 21:56:31 +00:00
Connor Skees
67044cdb85
ignore false positive clippy lint
2023-07-09 21:56:15 +00:00
Connor Skees
402578136f
rename children => body
2023-07-09 21:39:43 +00:00
Connor Skees
61f3d17f94
fix typo in readme
2023-07-09 21:34:18 +00:00
Connor Skees
1d5c36c10c
run ci against 1.56.0
2023-07-09 21:34:00 +00:00
Dirk Stolle
343c7124a4
fix some typos ( #78 )
2023-07-09 21:21:42 +00:00
Dirk Stolle
18131c10ad
replace unmaintained actions-rs/* actions in CI workflows ( #79 )
2023-07-09 21:21:02 +00:00
greenwoodcm
beb64abac4
support $keys...
argument for map.get
( #83 )
...
per the sass-lang docs [1], the user should be able to invoke
`map.get($my-map, "key1", "key2")` to perform a nested lookup
of the two keys. the current implementation fails if provided
more than two arguments to `map.get`. this change implements
the nested get. fixes #80 .
[1] https://sass-lang.com/documentation/modules/map/
2023-07-09 13:55:45 -04:00
Connor Skees
346b8c127b
allow building docs with stable rust compiler
2023-06-30 06:22:25 +00:00
Connor Skees
8b34d0ee2a
expose more AST internals in grass_compiler
2023-06-30 05:34:05 +00:00
Connor Skees
8363ca1dd3
various module system improvements and bug fixes
2023-05-20 18:13:15 +00:00
Connor Skees
28c2269bb1
bump version to 0.12.4
2023-05-12 02:44:14 +00:00
Connor Skees
eecff6d58a
implement builtin fn map.deep-remove
2023-05-12 02:34:25 +00:00
Connor Skees
f811b243c7
implement builtin fn map.deep-merge(..)
2023-05-11 16:38:56 +00:00
Connor Skees
fa6b2933c6
commit lockfile
2023-04-20 14:10:56 +00:00
Connor Skees
712a14b36e
bump version to 0.12.3
2023-02-18 15:09:23 -05:00
Connor Skees
b13fcc3f08
expose more internals
2023-02-18 15:05:51 -05:00
Connor Skees
7d19140b4d
default-features = false for grass_compiler
2023-02-18 15:00:59 -05:00
Connor Skees
c1144cf715
remove glob re-export
2023-02-18 12:06:55 -05:00
connorskees
dc6a2d1165
resolve more todos
2023-02-02 06:14:10 +00:00
connorskees
cd193dd006
bump version to 0.12.2
2023-02-01 02:45:17 +00:00
connorskees
942bb20d75
revert float formatting change
...
this change does fix more number tests, but i'm not certain that
it doesn't break cases we don't test for.
it only solves extremely niche edge cases, so for now reverting
until we can be more certain in a later release
2023-02-01 02:42:19 +00:00
Roland Fredenhagen
1e440a0d2c
fix calc whitespace ( #71 )
2023-01-31 18:57:10 -05:00