Releases: sass/node-sass
v3.5.3
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
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
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 runningnpm install
.
Runnpm 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 runningnpm install
.
Runnpm 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
- CLI example added to README (@incompl, #1368)
- CLI documentation updated (@qm3ster, #1363)
- CLI
--help
text has updated and improved (@glassdimly, #1177) - Improved support for
npm pack
(@gkatsev, #1183) - Custom importer documentation updated (@xzyfer, #1424)
Fixes
- Custom importers weren't always being fired (@xzyfer, #1416)
- NetBSD failing due to node-gyp (@xzyfer, #1386)
- Thanks to @saper for tracking down the root cause
Misc
- Updated some dependencies (@delitescere, #1413)
- Replaced deprecated
npmconf
dependency (@delitescere, #1413) - Added
bugs
url to package.json (@keithamus, #1367)
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
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
- Updates to contributing documentation (@JohnAlbin, #1264)
- Improvements to V8 error handling (@saper, #1309)
- Improvements to custom import test coverage (@xzyfer, #1319)
- Replace
request
withgot
(@zckrs, #1358) - Provide Program Database files (.PDB) for better debugging on Windows (@saper, #1337)
Fixes
- Normalize the way of writing 'LibSass' in documentation (@raithit, #1266)
- Fix broken URLs in readme (@ReadmeCritic, #1287)
- Use
https
rather thangit
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
Changelog
Features
Fixes
- Disable some flakey tests that are scaring contributors (@xzyfer, #1260 #1261)
- Fix typos in read me (@ggamel, #1252)
- Fix lint errors (@jameslnewell, #1223)
- Fix regression in custom importer previous file path (@chriseppstein, #1220)
- Add missing tests (@jameslnewell, #1219)
- Fix the logo in the read me being too large (@esr360, @1218)
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
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
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
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
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
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.
- Replace
pangyp
withnode-gyp
for Node 4 compatibility (@xzyfer, #1128) - Add Node.js 4.0 to our CI builds (@xzyfer, #1132, @gdi2290 #1130)
- Update native binding for Node.js 4 (@saper, #1054)
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 clearerdirectory
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 for
iojs.exe
andnode.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()
withoutfile
ordata
(@saper, #924)