github sass/libsass 3.3.5
General Lee

latest releases: 3.6.6, 3.6.5, 3.6.4...
8 years ago

This is a modest release focused continues to address some regressions as well general improvements to @extend 🚑 with sprinkling of improvements to the C API 🎉

Expose our memory allocator

This feature has taken many proposed forms over the last 4 months. After much patent and considered discussion by @am11 @mgreter @saper and @xoofx you can now access our memory allocator on the C-API.

void* sass_alloc_memory(size_t size)
char* sass_copy_c_string(const char* str)
void sass_free_memory(void* ptr)

Features

  • Re-add sass_option_push_include_path and sass_option_push_plugin_path (@xoofx, #1974)

Build

Fixes

  • Incorrectly erring on @extend and @media (@mgreter, #2009 #2007, #1927, #1923)
  • Incorrectly erring on @extend and interpolated selectors (@mgreter, #2000)
  • Builds not failing when Sass spec fails to load (@saper, #1997)
  • Incorrectly erring on Sass comments in selectors (@mgreter, #1996)
  • Incorrectly erring on @extend and interpolated selectors with the !optional flag (@mgreter, #1993)
  • Incorrectly treating 0 and false as the same value when used as map keys (@mgreter, #1991)
  • Incorrectly erring on escaped and unicode selectors (@mgreter, #1977)
  • Incorrectly rendering @extend and @supports (@mgreter, #1971)
  • Incorrectly erring on functions beginning with calc (@mgreter, #1969)
  • Incorrectly quoting interpolated strings in selectors (@mgreter, #1947)
  • Incorrectly escaped escaped strings in selectors (@mgreter, #1945)
  • Incorrectly duplicating executing of function in interpolated string (@mgreter, #1944)
  • Prevent parsing url() resulting in an endless loop (@mgreter, #1931)
  • Compilation error with using -DDEBUG flag (@tony, #1917)
  • Incorrectly removing @media blocks that contain only CSS comments (@mgreter, #1889)
  • Better handling of / in function arguments (@mgreter, #1417)

Special thanks to @am11, @tony, @xoofx for their contributions to this release! 👏

Don't miss a new libsass release

NewReleases is sending notifications on new releases.