This is the first beta RC for LibSass 3.1.
Hot on the heels of 3.0 and in time for the feature packed 3.1!
Features
- implemented
@debug
- @mgreter - implemented
@error
- @mgreter - implemented
inspect()
- @mgreter - implemented
feature-exists()
- @xzyfer - implemented
unique-id()
- @xzyfer - implemented
random()
- @xzyfer - implemented negative
@for
loops - @mgreter - implemented the
not
operator - @xzyfer - implemented
nth()
for maps - @xzyfer - Better Windows compilation support - @mgreter @am11
- emit
@charset "UTF-8"
when required - @mgreter - major updates to the C API - @mgreter
- implemented custom functions and importers - @mgreter
- added support for colors
rebeccapurple
andtransparent
- @mgreter - added/improved build scripts for windows - @mgreter
- added AppVeyor for windows CI builds - @mgreter
- implemented C API to fetch compiled version - @mgreter
- support converting angle units - @mgreter
- significant speed boost to
map-get()
- @xzyfer
Bug fixes
- BEM style selectors wouldn't work in come cases i.e.
&--1foo
- @xzyfer (#738) @return
would sometimes not exit functions - @xzyfer (#736)- no longer allow concatenating with
null
- @xzyfer (#698) - better handling of
-$foo
- @xzyfer (#344) - don't allow redefining of reserved functions - @xzyfer (#713)
- correctly handle quoted map keys and
keywords()
- @xzyfer (#721) - use correct content type for embedded sourcemaps - @xdissent (#723)
- improved handling of colours - @mgreter (#558)
- normalize decimal output - @mgreter @xzyfer (#550, #623)
keywords()
fails gracefully - @xzyfer (#672)- allow colors and number as map keys - @xzyfer (#652, #534)
- better support for ie properties - @mgreter (#683)
- better handling of interoplants in selectors - @xzyfer (#641)
- default arguments for function arguments - @mgreter (#708)
- decrementing in for loops fixed - @mgreter (#703)
- improvements to sourcemap generation - @mgreter
Documentation
This release saw a big increase in the amount of available documentation thanks to @mgreter and @drewwells!!
Know issues
!global
is parsed but the scoping rules aren't respected - (#613)- nested media queries aren't combined - (#614)
- opertions in brackets like
(1/2)
are sometimes not treated as numbers - (#442, #590) - still some
@extends
edge cases - (#316, #317, #592) - still some sourcemaps issues - (#324)
Huge thanks to everyone that reported bugs, wrote specs and submitted patched. Honourable mentions to @hugogiraudel, @xdissent, @drewwells, @jakob-e, @lunelson, @am11, @mgreter and @xzyfer for their multiple contributions which make this release possible!