红联Linux门户
Linux帮助

libsass 3.2.0发布,Sass解析器libsass

发布时间:2015-04-28 09:11:27来源:红联作者:empast
libsass 3.2.0 发布,此版本主要增加了几个新特性,以及修复了大量 Bug:

重大改变:

Change in sass_make_data_context - libsass now really takes memory ownership (#925)

Hard deprecated image-url and compact functions (throw errors until removed) (#834, #835)

新增特性:

Implement raw css imports (@mgreter, #754, #318)

Implement number prefix parsing (/[+-]+/) (@mgreter, #535)

Improve source-mapping implementation (@mgreter, #792)

Improve handling of negative numbers (@xyfer, #828)

Add support for -ms-calc (@xyfer, #842)

Add an example plugin (@mgreter, d3de957)

Add Visual Studio file to .gitignore (@am11, #944)

Fully evaluate nested binary operations (@xyfer, #770)

Normalize CSS function string arguments (@xyfer, #817)

Made linefeed and indent configurable (@mgreter, #787)

Speed up Windows CI build times (@am11, #944)

Update number function signatures (@xyfer, #826)

Simplify autotools build (@saper, #992)

Bug 修复:

Fix parsing of dash in declaration values (@xyfer, #733)

Fix math operations sometimes returing wrong units (@xyfer, #783)

Fix str-slice returning incorrect value when $end-at is omitted (@xyfer, #815)

Fix arguments sometimes being passed by value not reference (@xyfer, #813, #909)

Fix segfault if a function definition has a css comment (@xyfer, #646)

Fix @charset not being output if utf8 characters are in top comment (@mgreter, #820)

Fix error message line numbers drifting with indented style (@anlutro, #866)

Fix desaturation of greyscale colours (@anlutro, #864)

Fix crash in Parser::parse_term (@mmaxim, #846)

Fix greedy not operator (@xyfer, #873, #897, #920, #934)

Fix function names not consistently normalized (@xyfer, #877)

Fix color related issues in functions (@mgreter, #911)

Fix dash parsing after other tokens (@mgreter, #922)

Fix interpolation in media queries (@mgreter, #346)
Fix comments on in propsets causing segfaults (@xzyfer, #901)

详细信息请查看发行页面。

此版本源代码现已提供下载:

https://github.com/sass/libsass/archive/3.2.0.zip

libsass 是一个用 C 语言实现的 Sass 解析器。特点是简单、速度快而且易于集成。

软件详情:https://github.com/sass/libsass/releases/tag/3.2.0

来自:开源中国社区
文章评论

共有 1 条评论

  1. canxiang 于 2015-04-29 14:11:22发表:

    关注下