Releases: basro/stylance-rs
Releases · basro/stylance-rs
v0.5.3
- Added support for trailing commas in the
classes!
macro.
v0.5.2
- Added support for any number of arguments to the
classes!
macro. It was previously limited to a maximum of 16 and didn't work for 0 or 1 arguments.
v0.5.1
- Fix nightly
import_style
macro panic when it is run by rust analyzer (PR #4).
v0.5.0
- Added support sass interpolation syntax in at rules and many other places.
v0.4.0
- Added support for
@container
at rules
v0.3.0
- Generated class name constants will now properly warn if they are unused.
- Added attributes syntax to
import_style!
and import_crate_style!
macros.
v0.2.0
- Add support for @layer at-rules
- Made the order in which the modified css modules are output be well defined; Sorted by (filename, relativepath). This is important for rules with equal specificity or for cascade layers defined in the css modules.
v0.1.1
- Fixed the parser rejecting syntax of scss variable declarations (eg
$my-var: 10px;
).
v0.1.0
- Added
hash_len
configuration option that controls the length of the hash in generated class names.
- Added
class_name_pattern
configuration option to control the generated class name pattern.
- Added detection of hash collisions to stylance cli, it will error when detected. This allows reducing the hash_len without fear of it silently colliding.
v0.0.12
- Fixes cli watched folders not being relative to the manifest dir.