Skip to content

Releases: sass/node-sass

v3.5.3

21 Apr 13:02
Compare
Choose a tag to compare

Fixes

  • Proxies not always being respected when downloading binaries (@xzyfer)

Support Environments

OS Node
Windows x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5
OSX x64 0.10, 0.12, 1, 2, 3, 4, 5
Linux x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5
FreeBSD x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5

*Linux support refers to Ubuntu, Debian, and CentOS 5

v3.5.2

21 Apr 10:56
Compare
Choose a tag to compare

Fixes

  • Proxies not always being respected when downloading binaries (@xzyfer)

Support Environments

OS Node
Windows x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5
OSX x64 0.10, 0.12, 1, 2, 3, 4, 5
Linux x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5
FreeBSD x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5

*Linux support refers to Ubuntu, Debian, and CentOS 5

v3.5.1

20 Apr 13:44
Compare
Choose a tag to compare

Deprecation

A previously undocumented process.sass has been deprecated (#1427). It will be removed in a future release. Access this API will produce a deprecation warning in the console.

LibSass 3.3.5

This release includes the recent massive Delorean release as well as couple follow up bug fix release. We delayed this release until LibSass had fixed some issue that cropped in Delorean.

Check the changelogs for more information

Improved installation errors

"The libsass binding was not found.”

Say goodbye to this infamous error. The root cause is unavoidable but we can do a better job and helping you fix it without filing an issue. Thanks to @xzyfer you'll now encounter something a bit more friendly!

Node Sass does not yet support your current environment: OS X 64-bit with Node.js 4.x
For more information on which environments are supported please see:
http://....

Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 4.x
Found bindings for the following environments:

  • OS X 64-bit with io.js 3.x
  • OS X 64-bit with Node.js 5.x
    This usually happens because your environment has changed since running npm install.
    Run npm rebuild node-sass to build the binding for your current environment.

Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 4.x
This usually happens because your environment has changed since running npm install.
Run npm rebuild node-sass to build the binding for your current environment.

Custom functions

Thanks to @eoneill custom functions now have access to current render context via this.

The benefit of this is that custom functions can persist data (be stateful), for the lifespan of the render. For example this is now possible:

{
  ...,
  functions: {
    "register-foo($foo)": function($foo) {
      this.myNamespace.$foo = $foo;
      ...
    },
    "get-foo()": function() {
      return this.myNamespace.$foo;
    }
  }
}

Features

Fixes

Misc

Thanks!

As always the Node Sass would love to give a huge "thank you!" to all the contributors that made this release possible! We couldn't do it without you. ❤️ ❤️ ❤️


Support Environments

OS Node
Windows x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5
OSX x64 0.10, 0.12, 1, 2, 3, 4, 5
Linux x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5
FreeBSD x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5

*Linux support refers to Ubuntu, Debian, and CentOS 5

v3.5.0-beta.1

28 Jan 23:34
Compare
Choose a tag to compare
v3.5.0-beta.1 Pre-release
Pre-release

We're releasing this beta for the upcoming v3.5.0 release because of the LibSass bump. Please test this out and file any issue with Sass compilation.

LibSass

We've bumped LibSass to Delorean, check their changelog for the juicy details.

Windows XP support

In v3.4.2 LibSass and Node Sass starting compiling our prebuilt binaries with Visual Studio 2015 which caused issues for Windows XP users. After some incredible debugging and investigation by @am11 and @saper we believe we have addressed the Window XP runtime errors.

Features

Fixes

  • Normalize the way of writing 'LibSass' in documentation (@raithit, #1266)
  • Fix broken URLs in readme (@ReadmeCritic, #1287)
  • Use https rather than git to check out LibSass in fallback compilation (@saper, #1301)
  • Fix poor reporting on for failing tests (@saper, #1307)
  • Fix discrepancy between sync and async importers when returning sass.NULL (@saper, #1296)
  • Fix error when outputting to a symlinked directory (@nibblebot, #1212)
  • Fix node executable discovery in build script (@saper, #1323)
  • Fix detection of Sass spec error specs (@xzyfer, #1342)

Misc

v3.4.2

11 Nov 19:44
Compare
Choose a tag to compare

Changelog

Features

Fixes

Thanks

A big thanks to everyone who took the time report issues.
The LibSass team (@hcatlin, @mgreter, @saper, @xzyfer) couldn't do this without your help.


Support Environments

OS Node
Windows x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5
OSX x64 0.10, 0.12, 1, 2, 3, 4, 5
Linux x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5
FreeBSD x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5

*Linux support refers to Ubuntu, Debian, and CentOS 5

v3.4.1

27 Oct 01:54
Compare
Choose a tag to compare

This is a follow up patch release for recent LibSass update which fixes the reported regressions.

Check out LibSass release notes for more information.

v3.4.0

25 Oct 03:20
Compare
Choose a tag to compare

Today we're proud to release v3.4.0 of Node Sass.

Acknowledgements

As always we want to thank our beloved contributors who breathe life into this piece of code. ❤️
@cvibhagool, @fh1ch, @JTKnox91, @kylecho, @pmq20 and everyone who opened issues. Without your contributions we wouldn't be where we are today.
Also a big thanks to the LibSass team and their contributors for their work!
We (@am11, @saper, @xzyfer) hope you all will enjoy this release 🚀

Changelog

LibSass 3.3.0

This release has the latest LibSass 3.3.0 release which brings with it major feature parity Ruby Sass*, massive speed improvements and MUCH MORE!
Check the changelog

Improvements

  • Added npm-config suppot the binary resolution configuration (@fh1ch, #1145)
  • Added a better error message if the binary download experience a network failure (@pmq20 @saper, #1151)
  • Added symlink support to the CLI directory via the --follow (@dotzero, #1126)
  • Added automated Windows build for the native binary (@saper, #1135)

Fixes

v3.4.0-beta.2

16 Oct 09:28
Compare
Choose a tag to compare
v3.4.0-beta.2 Pre-release
Pre-release

This is hopefully the final beta release for the upcoming LibSass 3.3.0 release.

Acknowledgements

As always we want to thank our beloved contributors who breathe life into this piece of code. ❤️
@JTKnox91, @cvibhagool, @kylecho and everyone who opened issues. Without your contributions we wouldn't be where we are today.
Also a big thanks to the LibSass team and their contributors for their work!
We (@am11, @saper, @xzyfer) hope you all will enjoy this release 🚀

Changelog

LibSass 3.3.0-beta3

This beta release has the latest LibSass beta which fixes some regressions discovered by our beta testers.
Check the changelog

Fixes

v3.4.0-beta1

18 Sep 06:58
Compare
Choose a tag to compare
v3.4.0-beta1 Pre-release
Pre-release

The release you've all been waiting for! This is a beta release for the upcoming LibSass 3.3.0 release.

Acknowledgements

As always we want to thank our beloved contributors who breathe life into this piece of code. ❤️
@fh1ch, @pmq20 and everyone who opened issues. Without your contributions we wouldn't be where we are today.
Also a big thanks to the LibSass team and their contributors for their work!
We (@am11, @saper, @xzyfer) hope you all will enjoy this release 🚀

Changelog

LibSass 3.3.0-beta2

This beta release has the latest LibSass beta which brings with it major feature parity Ruby Sass*, massive speed improvements and MUCH MORE! (@saper, #1040)
Check the changelog

Improvements

  • Added npm-config suppot the binary resolution configuration (@fh1ch, #1145)
  • Added a better error message if the binary download experience a network failure (@pmq20 @saper, #1151)
  • Added symlink support to the CLI directory via the --follow (@dotzero, #1126)
  • Added automated Windows build for the native binary (@saper, #1135)

v3.3.3

17 Sep 12:50
Compare
Choose a tag to compare

It's also contains a handful of fixes and build infrastructure improvements to prepare to recently release LibSass 3.3.0 betas.

Node 4 compatibility

This release officially lands Node 4 support if you're building the native binding manually. For everyone else we had previously back ported precompiled Node 4 compatible native bindings to the v3.3.2 release.

Improvements

  • Prepare for LibSass 3.3.0 betas (@saper, #1146)
  • Show compiler flags when building to improve debugging and error reporting (@saper, #1129)
  • Update to new Travis CI container infrastructure for faster builds (@xzyfer, #1117)
  • Standardise on using cross-spawn for spawning child processes (@xzyfer, #1015)
  • Update documentation for multi-file compilations to the clearer directory compilations (@xzyfer, #985)

Fixes

  • Fix race conditions in some tests (@saper, #1149 #1150)
  • Fix poor error message when the LibSass binding is not found (@xzyfer, #1148)
  • Fix binding unnecessarily needing to be recompiled foriojs.exe and node.exe on Windows (@saper, #1147)
  • No longer use C++ exceptions in the binding code (@saper, #1133 fixing #1127 crash)
  • Fix custom functions returning sass.types.List(1) sometimes crashing (@saper, #1131)
  • Fix poor error message when calling render()/renderSync() without file or data (@saper, #924)