Skip to content

0.6.0 - 2026-06-15

Choose a tag to compare

@github-actions github-actions released this 15 Jun 16:38

Release Notes

Changed (breaking)

  • The Importer trait is now dart-sass's two-phase canonicalize/load
    (issue #4, RFC in docs/IMPORTER_REDESIGN.md). It replaces the old
    resolve(path) -> Option<String> plus the accreted resolve_* overloads:

    fn canonicalize(&self, url: &str, ctx: &CanonicalizeContext)
        -> Result<Option<CanonicalUrl>, ImporterError>;
    fn load(&self, canonical: &CanonicalUrl)
        -> Result<Option<ImporterResult>, ImporterError>;

    canonicalize resolves a URL to a stable identity without loading (its result
    is the module-cache key); load fetches the source as an
    ImporterResult { contents, syntax, source_map_url }. Three outcomes:
    Ok(Some) = handled, Ok(None) = not handled, Err(ImporterError) =
    handled-but-failed (an actionable compile error rather than a silent miss).
    New public types: CanonicalUrl, ImporterResult, ImporterError,
    CanonicalizeContext. A clean break with no compatibility shim (pre-1.0).
    FsImporter and the built-in resolution are unchanged in behavior (sass-spec
    ratchet delta +0); only custom Importer implementations must migrate.

Added

  • ImporterResult.source_map_url lets an importer set the URL recorded for a
    loaded file in generated source maps (dart-sass ImporterResult.sourceMapUrl).

Install sasso 0.6.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/momiji-rs/sasso/releases/download/v0.6.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.6.0/sasso-installer.ps1 | iex"

Download sasso 0.6.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