Skip to content

0.4.0 - 2026-06-14

Choose a tag to compare

@github-actions github-actions released this 14 Jun 05:16

Release Notes

Added

  • Source map (v3) support. New compile_with_source_map(source, &Options) -> CompileResult { css, source_map: SourceMap }, with SourceMap::to_json()
    and Options::with_source_map_include_sources(bool). The CLI gains
    -o/--output <file> (write CSS to a file), --source-map (also write a
    <output>.map sidecar + append the sourceMappingURL footer),
    --embed-sources, and --source-map-urls=relative|absolute. Output is
    byte-for-byte identical to dart-sass for the common cases (selector +
    declaration-name mappings; expanded + compressed). The plain compile path
    and stdout output are unchanged. (Deferred for now: declaration-value-start
    mappings, the inline --embed-source-map data URI.)

Changed

  • Internal maintainability refactors only (no behaviour change, byte-identical
    output): the .sass line scanners, the is_builtin name table, and the
    oversized eval/selector/parser files were split into domain modules;
    the string serializers gained a no-escape fast path.

Install sasso 0.4.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/momiji-rs/sasso/releases/download/v0.4.0/sasso-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/momiji-rs/sasso/releases/download/v0.4.0/sasso-installer.ps1 | iex"

Download sasso 0.4.0

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