Skip to content

sass 0.5.0

Latest

Choose a tag to compare

@cpsievert cpsievert released this 20 Nov 16:07
· 1 commit to main since this release
2371f79

Improvements

  • Closed #111: font_google() no longer fails with an opaque curl: HTTP error 400 when the requested font family is misspelled or unavailable; it now errors with an informative message naming the family, the request URL, and a hint to check the family name at fonts.google.com. (#165)

  • Copy files without inheriting read/write/execute permissions fixing issues when using sass on immutable operating systems. (#156)

Bug fixes

  • sass() no longer fails with object 'cache_dir' not found when the default cache directory cannot be determined. It now warns and uses a temporary cache instead. (#93)

  • Closed #157: font_google(local = TRUE) no longer fails on Windows when Google Fonts returns font URLs containing a query string. Fonts are still downloaded locally when Google omits the format() hint, using a recognized extension from the URL path when available. (#164)

  • Closed #151: fixed a memory leak of the libsass context when Sass compilation fails (previously sass_delete_file_context()/sass_delete_data_context() were skipped on the error path). (#160)

  • Fixed font_google(local = TRUE) returning a font dependency with missing font file(s) when the Google Fonts CSS was found in the cache, but the font file(s) it references had been pruned from the cache. (#164)

  • Fixed throwing exceptions when running under Emscripten. (#155)