Changelog¶
Version 0.23.0¶
Released on January 6, 2024.
Version 0.22.0¶
Released on November 12, 2022.
Version 0.21.0¶
Released on May 20, 2021.
Version 0.20.1¶
Released on August 27, 2020.
(no changes, re-releasing to test build automation)
Version 0.20.0¶
Released on May 1, 2020.
Version 0.19.4¶
Released on November 3, 2019.
Version 0.19.3¶
Released on October 5, 2019.
Version 0.19.2¶
Released on June 16, 2019.
Version 0.19.1¶
Released on May 18, 2019.
Re-release of 0.19.0 with windows python2.7 wheels [#297 by Anthony Sottile]
Version 0.19.0¶
Released on May 18, 2019.
Version 0.18.0¶
Release on March 13, 2019
Version 0.17.0¶
Release on January 03, 2019
- Add several new cli options [#279 #268 by Frankie Dintino]
--sourcemap-file: output file for source map--sourcemap-contents: embedsourcesContentin source map--sourcemap-embed: embedsourceMappingURLas data uri--omit-sourcemap-url: omit source map url comment from output--sourcemap-root: base path, emitted assourceRootin source map
Fix
.sassinWsgiMiddleware(again) [#280 by Anthony Sottile]
Version 0.16.1¶
Released on November 25, 2018.
Version 0.16.0¶
Released on November 13, 2018.
Version 0.15.1¶
Released on September 24, 2018.
Fix
setup.py sdist(regressed in 0.15.0) [#267 by Anthony Sottile]
Version 0.15.0¶
Released on September 16, 2018.
Fix invalid escape sequences [#249 by Anthony Sottile]
Add code of conduct [#251 by Nick Schonning]
Add support for python3.7 and remove testing for python3.4 [#254 by Anthony Sottile]
Add
strip_extensionoption for wsgi / distutils builder [#55 #258 by Anthony Sottile #260 by Morten Brekkevold]Deprecate
sassc(replaced bypysassc). [#262 by Anthony Sottile]Import abc classes from
collections.abcto removeDeprecationWarning[#264 by Gary van der Merwe #265 by Anthony Sottile]
Version 0.14.5¶
Released on April 25, 2018.
Version 0.14.4¶
Released on April 24, 2018.
Add ability to specify imports for custom extensions. This provides a way to enable imports of
.cssfiles (which was removed in 3.5.3). Specify--import-extensions .cssto restore the previous behavior. [#246 by Samuel Colvin]
Version 0.14.3¶
Released on April 23, 2018.
Version 0.14.2¶
Released on March 16, 2018.
Version 0.14.1¶
Released on March 12, 2018.
Version 0.14.0¶
Released on March 6, 2018.
Version 0.13.7¶
Released on February 5, 2018.
Version 0.13.6¶
Released on January 19, 2018.
libsass-python has moved to the sass organization!
Version 0.13.5¶
Released on January 11, 2018.
Version 0.13.4¶
Released on November 14, 2017.
Version 0.13.3¶
Released on October 11, 2017.
Sort input files for determinism [#212 by Bernhard M. Wiedemann]
Include LICENSE file in distributions [#216 by Dougal J. Sutherland]
Add a
pysasscentry to replacesassc[#218 by Anthony Sottile]Enable building with dynamic linking [#219 by Marcel Plch]
Follow up the libsass upstream: 3.4.6 — See the release notes of LibSass 3.4.6. [#221 by Anthony Sottile]
Version 0.13.2¶
Released on June 14, 2017.
Always add cwd to import paths [#208 by Anthony Sottile]
Version 0.13.1¶
Released on June 8, 2017.
Version 0.13.0¶
Released on June 7, 2017.
Use
getfullargspecwhen available in python 3. [#188 by Thom Wiggers]Use
sass_copy_c_stringinstead ofstrdupfor portability [#196 by Anthony Sottile]Use
-std=gnu++0xto fix installation under cygwin [#195 #197 by Anthony Sottile]Remove
--watch[#203 by Anthony Sottile]Follow up the libsass upstream: 3.4.4 — See the release notes of LibSass 3.4.4. [#205 by Anthony Sottile]
Version 0.12.3¶
Released on January 7, 2017.
Version 0.12.2¶
Released on January 5, 2017.
Version 0.12.1¶
Released on December 20, 2016.
Version 0.12.0¶
Released on December 10, 2016.
Version 0.11.2¶
Released on October 24, 2016.
Version 0.11.1¶
Released on April 22, 2016.
Version 0.11.0¶
Released on March 23, 2016.
Follow up the libsass upstream: 3.3.4 — See the release notes of LibSass 3.3.4. [#144 by Anthony Sottile]
Expose libsass version in
sassc --versionandsass.libsass_version[#142 #141 #140 by Anthony Sottile]Fix warning about unused enum on switch [#127 #131 by Anthony Sottile]
Sourcemaps no longer imply source comments [#124 #130 by Tim Tisdall]
Add
--source-commentsoption tosassc[#124 #130 by Anthony Sottile]Improve formatting of
CompileErrorunder python3 [#123 by Anthony Sottile]Raise when compiling a directory which does not exist [#116 #119 by Anthony Sottile]
Version 0.10.1¶
Released on January 29, 2016.
Version 0.10.0¶
Released on December 15, 2015.
Version 0.9.3¶
Released on December 03, 2015.
Version 0.9.2¶
Released on November 12, 2015.
Version 0.9.1¶
Released on October 29, 2015.
Follow up the libsass upstream: 3.3.1 — See the release notes of LibSass 3.3.1. [by Anthony Sottile]
Version 0.9.0¶
Released on October 28, 2015.
Version 0.8.3¶
Released on August 2, 2015.
Version 0.8.2¶
Released on May 19, 2015.
Follow up the libsass upstream: 3.2.4 — See the release notes of LibSass 3.2.3, and 3.2.4. [#69 by Anthony Sottile]
The default value of
SassMiddleware’serror_statusparameter was changed from'500 Internal Server Error'to'200 OK'so that Mozilla Firefox can render the error message well. [#67, #68, #70 by zxv]
Version 0.8.1¶
Released on May 14, 2015.
Fixed a bug that there was no
'expanded'insass.OUTPUT_STYLESbut'expected'instead which is a typo. [#66 by Triangle717]Fixed broken FreeBSD build. [#65 by Toshiharu Moriyama]
Version 0.8.0¶
Released on May 3, 2015.
Follow up the libsass upstream: 3.2.2 — See the release notes of LibSass 3.2.0, 3.2.1, and 3.2.2. [#61, #52, #56, #58, #62, #64 by Anthony Sottile]
Compact and expanded output styles [#37]
Strings and interpolation closer to Ruby Sass
The correctness of the generated sourcemap files
Directive buddling
Full support for the
@at-rootdirectiveFull support for
!globalvariable scoping
Now underscored files are ignored when compiling a directory. [#57 by Anthony Sottile]
SassMiddlewarebecame to log syntax errors if exist during compilation tosassutils.wsgi.SassMiddlewarelogger with levelERROR. [#42]
Version 0.7.0¶
Released on March 6, 2015.
Anthony Sottile contributed to the most of this release. Huge thanks to him!
Follow up the libsass upstream: 3.1.0 — See the release note of LibSass. [#38, #43 by Anthony Sottile]
Custom functions and imports
Decrementing in
@forloops@debugand@errornotoperatornth()for mapsinspect()feature-exists()unique-id()random()
Added custom functions support. [#13, #44 by Anthony Sottile]
Added
sass.SassFunctionclass.Added
custom_functionsparameter tosass.compile()function.Added data types for custom functions:
Added
precisionparameter tosass.compile()function. [#39 by Andrea Stagi]sassc has a new
-p/--precisionoption. [#39 by Andrea Stagi]
Version 0.6.2¶
Released on November 25, 2014.
Although 0.6.0–0.6.1 have needed GCC (G++) 4.8+, LLVM Clang 3.3+, now it became back to only need GCC (G++) 4.6+, LLVM Clang 2.9+, or Visual Studio 2013 Update 4+.
Follow up the libsass upstream: 3.0.2 — See the release note of libsass. [#33 by Rodolphe Pelloux-Prayer]
Fixed a bug that sassc --watch crashed when a file is not compilable on the first try. [#32 by Alan Justino da Silva]
Fixed broken build on Windows.
Version 0.6.1¶
Released on November 6, 2014.
Follow up the libsass upstream: 3.0.1 — See the release note of LibSass.
Fixed a bug that
SassMiddlewarenever closes the socket on some WSGI servers e.g.eventlet.wsgi.
Version 0.6.0¶
Released on October 27, 2014.
Note that since libsass-python 0.6.0 (and libsass 3.0) it requires C++11 to compile. Although 0.6.2 became back to only need GCC (G++) 4.6+, LLVM Clang 2.9+, from 0.6.0 to 0.6.1 you need GCC (G++) 4.8+, LLVM Clang 3.3+, or Visual Studio 2013 Update 4+.
Follow up the libsass upstream: 3.0 — See the release note of LibSass.
Decent extends support
Basic Sass Maps Support
Better UTF-8 Support
call()functionBetter Windows Support
Spec Enhancements
Added missing partial import support. [#27 by item4]
SOURCE_COMMENTSbecame deprecated.sass.compile()’s parametersource_commentsnow can take onlyboolinstead ofstr. String values like'none','line_numbers', and'map'become deprecated, and will be obsolete soon.build_directory()function has a new optional parameteroutput_style.build()method has a new optional parameteroutput_style.Added
--output-style/-soption tobuild_sasscommand. [#25]
Version 0.5.1¶
Released on September 23, 2014.
Fixed a bug that
SassMiddlewareyieldedstrinstead ofbyteson Python 3.Fixed several Unicode-related bugs on Windows.
Fixed a bug that
build_directory(),SassMiddleware, andbuild_sassdon’t recursively build subdirectories.
Version 0.5.0¶
Released on June 6, 2014.
Follow up the libsass upstream: 2.0 — See the release note of LibSass.
Added indented syntax support (
*.sassfiles).Added expanded selector support (BEM).
Added string functions.
Fixed UTF-8 support.
Backward incompatibility: broken extends.
Unstable version 0.4.2.20140529.cd3ee1cbe3¶
Released on May 29, 2014.
Version scheme changed to use periods (
.) instead of hyphens (-) due to setuptools seems to treat hyphens special.Fixed malformed packaging that doesn’t correctly preserve the package name and version.
Unstable Version 0.4.2-20140528-cd3ee1cbe3¶
Released on May 28, 2014.
Follow up the libsass upstream: cd3ee1cbe34d5316eb762a43127a3de9575454ee.
Version 0.4.2¶
Released on May 22, 2014.
Fixed build failing on Mac OS X 10.8 or earlier. [#19]
Fixed
UnicodeEncodeErrorthatManifest.build_one()method rises when the input source contains any non-ASCII Unicode characters.
Version 0.4.1¶
Released on May 20, 2014.
Fixed
UnicodeEncodeErrorthat rise when the input source contains any non-ASCII Unicode characters.
Version 0.4.0¶
Released on May 6, 2014.
sassc has a new
-w/--watchoption.Expose source maps support:
sassc has a new
-m/-g/--sourcemapoption.SassMiddlewarenow also creates source map files with filenames followed by.mapsuffix.Manifest.build_one()method has a newsource_mapoption. This option builds also a source map file with the filename followed by.mapsuffix.sass.compile()has a new optional parametersource_comments. It can be one ofsass.SOURCE_COMMENTSkeys. It also has a new parametersource_map_filenamewhich is required only whensource_comments='map'.
Fixed Python 3 incompatibility of sassc program.
Fixed a bug that multiple
include_pathsdoesn’t work on Windows.
Version 0.3.0¶
Released on February 21, 2014.
Added support for Python 3.3. [#7]
Dropped support for Python 2.5.
Fixed build failing on Mac OS X. [#4, #5, #6 by Hyungoo Kang]
Now the builder creates target subdirectories recursively even if they don’t exist yet, rather than silently failing. [#8, #9 by Philipp Volguine]
Merged recent changes from libsass 1.0.1: 57a2f62–v1.0.1.
Supports variable arguments.
Supports sourcemaps.
Version 0.2.4¶
Released on December 4, 2012.
Added
sasscCLI executable script.Added
sass.OUTPUT_STYLESconstant map.Merged recent changes from libsass upstream: e997102–a84b181.
Version 0.2.3¶
Released on October 24, 2012.
sassutils.distutils: Prevent double monkey patch ofsdist.Merged upstream changes of libsass.
Version 0.2.2¶
Released on September 28, 2012.
Fixed a link error on PyPy and Linux.
Fixed build errors on Windows.
Version 0.2.1¶
Released on September 12, 2012.
Support Windows.
Version 0.2.0¶
Released on August 24, 2012.
Added new
sassutilspackage.Added
sassutils.buildermodule to build the whole directory at a time.Added
sassutils.distutilsmodule fordistutilsandsetuptoolsintegration.Added
sassutils.wsgimodule which provides a development-purpose WSGI middleware.
Added
build_sasscommand fordistutils/setuptools.
Version 0.1.1¶
Released on August 18, 2012.
Fixed segmentation fault for reading
filenamewhich does not exist. Now it raises a properexceptions.IOErrorexception.
Version 0.1.0¶
Released on August 17, 2012. Initial version.