Skip to content

Releases: dlmanning/gulp-sass

v6.0.0

27 Nov 06:36
Compare
Choose a tag to compare

First and foremost a huge shout out to @wkillerud for making this long awaited release possible <3

Breaking changes

Documentation

Upgrading to v6

gulp-sass version 6 uses the new compile function internally by default. If you use any options, for instance custom importers, please compare the new options with the legacy options in order to migrate. For instance, the outputStyle option is now called style.

  function buildStyles() {
    return gulp.src('./sass/**/*.scss')
-     .pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError))
+     .pipe(sass({style: 'compressed'}).on('error', sass.logError))
      .pipe(gulp.dest('./css'));
  };

If you want to keep using the legacy API while it's available, you can.

const sass = require('gulp-sass/legacy')(require('sass'));

or to continue using node-sass

npm install gulp-sass node-sass
const sass = require('gulp-sass/legacy')(require('node-sass'));

If you use source maps, you may see the result change somewhat. The result will typically be absolute file: URLs, rather than relative ones. The result may also be the source itself, URL encoded. You can optionally add custom importers to adjust the source maps according to your own needs.

New Contributors

Full Changelog: v5.1.0...v6.0.0

v5.1.0

31 Dec 01:49
Compare
Choose a tag to compare

Huge shout out to @XhmikosR for putting a ton of effort into this release 🎉

What's Changed

New Contributors

Full Changelog: v5.0.0...v5.1.0

v5.0.0

25 Jun 08:52
978b8f6
Compare
Choose a tag to compare

First and foremost a huge shout out to @mxmason for making this long awaited release possible <3

Breaking changes

  • Require Node >= 12
  • Require Gulp 4
  • Drop dependency on the deprecate node-sass
  • Remove hardcoded default Sass compiler

Upgrading to v5

It is now required to explicitly install a Sass compiler.

npm install gulp-sass sass

or to continue using node-sass

npm install gulp-sass node-sass

Gulp tasks will also need to be update to use the installed Sass compiler

const sass = require('gulp-sass')(require('sass'));

Check out the upgrade guide for more details.

v4.1.1

24 Jun 09:41
Compare
Choose a tag to compare

Dependencies

  • Bump lodash@^4.17.20 (@Larinar, #776)

v4.1.0

23 Apr 10:29
Compare
Choose a tag to compare

Features

Dependencies

  • Migrate to the lodash package (@stof, #728)

v4.0.2

16 Oct 08:02
Compare
Choose a tag to compare

Documentation

  • Document how to use Dart Sass (@nex3, #672)

v4.0.1

08 Apr 03:13
Compare
Choose a tag to compare

Fixes

v4.0.0

05 Apr 11:20
Compare
Choose a tag to compare

This release is remove our dependency on the deprecated gulp-util package. To do so we need to drop support for Node < 4.

We took this opportunity to update our support policy to match the upcoming Node Sass 5 release. From now on Gulp Sass will only support Active LTS and Current Node versions.

At the time of release this means Node ^6.9 || ^8.9 || ^9 || ^10.

Breaking changes

Misc

v3.2.1

24 Mar 01:49
04fb925
Compare
Choose a tag to compare

Features

  • Bump minimum node-sass to 4.8.3 (@xzyfer)

v3.2.0

12 Mar 03:33
Compare
Choose a tag to compare

Features

  • Bump minimum node-sass to 4.8.1 (@xzyfer)

Maintainence

Fixes