Skip to content

Releases: glenn2223/vscode-live-sass-compiler

v5.0.0-rc.2

02 Apr 20:45
c1b945b
Compare
Choose a tag to compare
v5.0.0-rc.2 Pre-release
Pre-release

5.0.0-rc.2 - 2021-04-02

Fixes

  • Relative paths in the exclude & include settings aren't working (#49)

Changed

  • Exclude setting did not have a pattern matching string (#30)

v5.0.0-rc.1

01 Apr 22:22
27da784
Compare
Choose a tag to compare
v5.0.0-rc.1 Pre-release
Pre-release

5.0.0-rc.1 - 2021-04-01

Breaking changes

  • Not dependant on ritwickdey.LiveServer as there was no actual code dependencies in the extension (#23). If you require the Live Server extension, it can still be installed from here
  • Changes to the showOutputWindow setting, now called showOutputWindowOn (#26)
    • The system now acts as more of a logger rather than a mass of information
    • Accepted values are now Trace, Debug, Information, Warning or Error
    • The default is now Warning
  • Changes to autoprefix settings (#41)
    • The default is now defaults (as per Autoprefixer recommendations)
    • The setting no longer accepts string[] OR null, but a string[] OR boolean
      • Rather than null, you now use false
  • No longer supporting brace expansion glob patterns (#27)
    • This is because the underlying glob pattern matching has moved from minimatch to picomatch. A full feature comparison can be found here
  • Only works on VS Code v1.52 and newer (#34)
  • Settings have been updated for continuity and to better aid extension performance (#30)
    • formats[].savePath must start with a path separator but not end in one
    • includeItems must start with a path separator and end in either .sass or .scss (for performance purposes)
    • forceBaseDirectory must start with a path separator but not end in one

Changed

  • Now using fdir with picomatch instead of glob and minimatch
    • Speed improvements, the most significant of which will be on larger projects
    • Greater support for glob patterns

Added

  • When autoprefix is true we will search for either:

    • a .browserlistsrc file or,
    • "browserslist": [ string[] ] in a package.json file

    (This allows you to use the same setting across your solution, rather than duplicating content)

  • Increased range of glob pattern support

    • Full support for extglobs
    • Added support for posix brackets
    • Added support for regex syntax
    • Full comparison can be found here
  • When a change is detected the initial output now includes a date and time stamp - See this comment on #26

Fixed

  • Fixed: the formats[].savePathSegmentKeys setting would allow non string values in the array
  • Fixed: the excludeList setting would allow non string values in the array
  • Fixed: the includeItems setting would allow non string values in the array
  • Fixed: the autoprefix setting would allow non string values in the array
  • Fixed: some setting descriptions have been updated for better clarity/readability

Updated

  • autoprefixer from 10.2.4 to 10.2.5
    • Fixed : support in @supports
  • postcss from 8.2.4 to 8.2.9
    • Small fixes (nothing user facing)
  • sass from 1.32.5 to 1.32.8
    • Allow @forward...with to take arguments that have a !default flag without a trailing comma.
    • Improve the performance of unitless and single-unit numbers.
    • Other small changes (nothing user facing)
  • Various dev dependency updates (nothing user facing)

Note: to release this on the marketplace I had to repackage with v5.0.0 - all documentation now and for each rc will continue as rc release. I'm hoping that by removing the preview from the package.json it will overwrite the previous version 🤞

v4.4.1

31 Jan 18:03
6d07ade
Compare
Choose a tag to compare

4.4.1 - 2021-01-31

Fixed

  • Fixed: forceBaseDirectory has full support in multi-root workspaces
  • Fixed: the path in forceBaseDirectory is now checked to see if it exists. If not a user friendly message is displayed in the output
  • Fixed: an error when checking files would still compile what it could. This would hide the error message from the user
  • Incorrect patern matches in settings show user friendly messages rather than "does not match pattern"

v4.4.0

31 Jan 03:20
9a5f537
Compare
Choose a tag to compare

4.4.0 - 2021-01-31

Added

  • New setting: liveSassCompile.settings.forceBaseDirectory #25
    • A new setting that can help performance in large projects with few Sass/Scss files.
    • Note: multi-root workspace with different folder structures can not use this efficiently (See setting note & VS Code Feature Request (:+1: it) )
  • New feature: The status bar Error and Success messages can be clicked which will open the Output Window #25

Updates

  • autoprefixer from 10.2.1 to 10.2.4
    • Small bug fixes (nothing user facing)
  • Various dev-dependancy updates

Fixed

  • Part fix: Slow file handling #22. Full fix in v5 as some small breaking changes
    • The glob pattern matcher is causing bottlenecks, reducing load calls with small patch. However moving away from glob is the end-game (which will be happening in v5)
  • Fix: compileCurrentSass shows wrong message on fail
    • When you run compileCurrentSass and it would fail (for whatever reason) it would cause the output to show Success rather than Error (just the output was wrong, nothing else)
  • Fix: Status bar inconsistancies during display changes
    • When command bar is changing between visuals it was possible to cause the status and the shown message to be out of sync (due to clicks while setTimeouts are pending), the setup also meant you couldn't sync them again (unless you did a manual compile command)

v4.3.4

21 Jan 00:44
2a6a0ff
Compare
Choose a tag to compare

4.3.4 - 2021-01-21

Fixed

  • Fixed #18: On launch there is no output, nor any Live SASS Compile ouput selection, when the setting watchOnLaunch is true
  • Fixed: Autoprefixer warning saying undefined for file path when generateMap is false
  • Fixed: Autoprefixer grid: "autoplace" was forced
    • If this feature is wanted then add /* autoprefixer grid: autoplace */ to the start of your file

Updates

  • sass from 1.32.4 to 1.32.5
    • Potentially breaking bug fix: When using @for with numbers that have units, the iteration variable now matches the unit of the initial number. This matches the behavior of Ruby Sass and LibSass.
    • Others: see sass release notes

v4.3.3

18 Jan 01:07
d2f129f
Compare
Choose a tag to compare

4.3.3 - 2021-01-18

Fixed

  • Fixed #15: No longer outputs absolute path in map file and map link in css output
  • Reinstated feature of partial files being checked for exclusion
  • Autoprefixer map lines now relate to actual SASS files rather than the css file generated
  • When there's an include list, a non partial file that's not "included" would still be processed
  • Now gets the correct list of included partial files

v4.3.2

15 Jan 00:24
fa4df0b
Compare
Choose a tag to compare

4.3.2 - 2021-01-15

Fixed

  • Now handle errors caused by incorrect autoprefixer browser queries
  • Corrected output for unhandled errors that get output when running "Report an issue" from the command liveSass.command.createIssue

Updates

  • sass from 1.30.0 to 1.32.4
  • autoprefixer from 10.1.0 to 10.2.1
    • Fixed transition-property warnings (by @Sheraff).
  • Other, non-facing changes
    • eslint from 7.16.0 to 7.17.0
    • ts-loader from 8.0.12 to 8.0.14
    • postcss from 8.2.1 to 8.2.4
    • vscode-test from 1.4.0 to 1.4.1
    • webpack from 5.11.0 to 5.14.0
    • webpack-cli from 4.2.0 to 4.3.0

v4.3.1

09 Jan 22:42
c81ce2c
Compare
Choose a tag to compare

4.3.1 - 2021-01-09

Fixed

  • Fixed #10: Partial SASS files not triggering compilation of all files
  • Correction of output when running liveSass.command.debugInclusion and the file is excluded

v4.3.0

06 Jan 01:10
a93a22c
Compare
Choose a tag to compare

4.3.0 - 2021-01-06

Added

  • Support for workspaces with multiple folders

Changed

  • Out of preview!
  • Small optimisation to some underlying async operations

Other

  • Small bit of general tidying, adjustment to README, new dev dependency for @.types/glob

v4.2.0

29 Dec 22:56
6fa13a1
Compare
Choose a tag to compare
v4.2.0 Pre-release
Pre-release

4.2.0 - 2020-12-22

Added

  • New debugging items
    • Two settings:
      • liveSass.command.debugInclusion to check that a current file will be included based on your settings
      • liveSass.command.debugFileList for a more in-depth look under the hood of the files included and excluded. Which can assist when logging issues
    • New item in the FAQ for extra help with glob patterns and reporting files not being compiled

Changed

  • Update the returned message from Autoprefixer warnings. They now better reflect that it's a warning not an error and include file information
  • Updated some dependencies:
    • autoprefixer: v10.1.0
    • glob: 7.1.6
    • postcss: 8.2.1
  • Also updated some dev dependencies (not effecting the extension itself)

Other

  • Moved to eslinting, prettified the Typescript files

Changelog

See the full changelog here.