Skip to content

Releases: dlmanning/gulp-sass

v6.0.1

Choose a tag to compare

@xzyfer xzyfer released this 05 Mar 09:00

Fixes

v6.0.0

Choose a tag to compare

@xzyfer xzyfer released this 27 Nov 06:36

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

Choose a tag to compare

@xzyfer xzyfer released this 31 Dec 01:49

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

Choose a tag to compare

@xzyfer xzyfer released this 25 Jun 08:52
978b8f6

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

Choose a tag to compare

@xzyfer xzyfer released this 24 Jun 09:41

Dependencies

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

v4.1.0

Choose a tag to compare

@xzyfer xzyfer released this 23 Apr 10:29

Features

Dependencies

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

v4.0.2

Choose a tag to compare

@xzyfer xzyfer released this 16 Oct 08:02

Documentation

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

v4.0.1

Choose a tag to compare

@xzyfer xzyfer released this 08 Apr 03:13

Fixes

v4.0.0

Choose a tag to compare

@xzyfer xzyfer released this 05 Apr 11:20

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

Choose a tag to compare

@xzyfer xzyfer released this 24 Mar 01:49
04fb925

Features

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