Skip to content

Releases: basro/stylance-rs

v0.5.3

15 Dec 15:40
Compare
Choose a tag to compare
  • Added support for trailing commas in the classes! macro.

v0.5.2

30 Oct 15:25
Compare
Choose a tag to compare
  • 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

02 Jul 14:37
Compare
Choose a tag to compare
  • Fix nightly import_style macro panic when it is run by rust analyzer (PR #4).

v0.5.0

21 May 19:40
Compare
Choose a tag to compare
  • Added support sass interpolation syntax in at rules and many other places.

v0.4.0

19 May 16:01
Compare
Choose a tag to compare
  • Added support for @container at rules

v0.3.0

02 Feb 02:20
Compare
Choose a tag to compare
  • 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

25 Jan 22:13
Compare
Choose a tag to compare
  • 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

24 Jan 22:48
Compare
Choose a tag to compare
  • Fixed the parser rejecting syntax of scss variable declarations (eg $my-var: 10px;).

v0.1.0

20 Jan 05:01
Compare
Choose a tag to compare
  • 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

18 Jan 22:28
Compare
Choose a tag to compare
  • Fixes cli watched folders not being relative to the manifest dir.