General Lee
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
Build
- Enable address sanitizer for clang (@mgreter, #2003)
- MSVC assert too strict (@mgreter, #1985)
- Update Sass spec (@xzyfer, 1967)
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
andfalse
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! π