diff --git a/CHANGELOG.md b/CHANGELOG.md index 74d9c9a..c638bdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.11.2 + +- make `grass::Error` a `Send` type +- expose more internals of `grass::Error`, allowing for custom formatting +- fix WASM builds + # 0.11.1 - fix load path bug in which paths were searched for relative to the SCSS file, not the executable (#57) diff --git a/Cargo.toml b/Cargo.toml index aa9aa20..ef6ebb4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grass" -version = "0.11.1" +version = "0.11.2" description = "A near-feature-complete Sass compiler written purely in Rust" readme = "README.md" license = "MIT" diff --git a/src/lib.rs b/src/lib.rs index ec4314a..a2a9146 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,7 @@ /*! # grass An implementation of Sass in pure rust. -Spec progress as of 0.11.1, released on 2022-09-02: +Spec progress as of 0.11.2, released on 2022-09-03: | Passing | Failing | Total | |---------|---------|-------| @@ -327,6 +327,6 @@ pub fn from_string(input: String, options: &Options) -> Result { #[cfg(feature = "wasm-exports")] #[wasm_bindgen(js_name = from_string)] -pub fn from_string_js(p: String) -> std::result::Result { - from_string(Options::default()).map_err(|e| e.to_string()) +pub fn from_string_js(input: String) -> std::result::Result { + from_string(input, &Options::default()).map_err(|e| e.to_string()) }