0.5.1 - 2026-06-14
Release Notes
Source-map fidelity + compressed-output corrections, all byte-exact vs
dart-sass 1.101.
Fixed
- Source maps:
@media/@at-root/@supportsbubbled parent selector. When
one of these at-rules nested in a style rule bubbles a copy of the enclosing
selector out (@media screen { .a { … } }), that copy now maps back to the
ORIGINAL rule's source position, matching dart-sass. It previously had no
mapping at all — which in compressed output also let the consecutive-same-
source-line coalescing drop a following declaration's mapping (a 0.5.0
regression vs 0.4.0 for@media/@at-root-bubbled rules). CSS is unchanged. - Source maps:
@supportsheader. The@supports (…)at-rule header now
maps to its@supportskeyword (as@mediaalready did); previously it had
no mapping. CSS is unchanged. - Compressed
@media/@supportswhitespace. Compressed output now omits the
space before a prelude beginning with(for@media/@supports
(@media(min-width: 1px)), and within a@mediaquery drops the space before
and/orafter a)((a)and (b)) and after the comma between queries
((a),(b)) — matching dart-sass. Other at-rules (@container) and@supports
conditions keep their spaces. (Compressed CSS output change; expanded
unchanged.)
Install sasso 0.5.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/momiji-rs/sasso/releases/download/v0.5.1/sasso-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/momiji-rs/sasso/releases/download/v0.5.1/sasso-installer.ps1 | iex"Download sasso 0.5.1
| File | Platform | Checksum |
|---|---|---|
| sasso-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| sasso-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| sasso-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| sasso-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| sasso-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| sasso-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| sasso-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |