Skip to content

Releases: glenn2223/vscode-live-sass-compiler

v5.1.0-rc.3

14 Jul 14:08
Compare
Choose a tag to compare
v5.1.0-rc.3 Pre-release
Pre-release

5.1.0-rc.3 - 2021-07-14

Fixed

  • Stopped outputting Watching... twice when compilation happens on watching
  • A single file - that is a window without a workspace - would error and not compile

Updated

  • sass from 1.34.1 to 1.35.2
    • Potentially breaking bug fix: Properly throw an error for Unicode ranges that have too many ?s after hexadecimal digits, such as U+12345??
    • Potentially breaking bug fix: Fixed a bug where certain local variable declarations nested within multiple @if statements would incorrectly override a global variable. It's unlikely that any real stylesheets were relying on this bug, but if so they can simply add !global to the variable declaration to preserve the old behaviour
    • Fix an edge case where @extend wouldn't affect a selector within a pseudo-selector such as :is() that itself extended other selectors
    • Fix a couple bugs that could prevent some members from being found in certain files that use a mix of imports and the module system.
    • Fix incorrect recommendation for migrating division expressions that reference namespace variables.
    • Other changes (nothing user facing)
  • autoprefixer from 10.2.6 to 10.3.1
    • Added ::file-selector-button support
    • Fixed adding wrong prefixes to content

Changes

  • Added more and adjusted some logging messages (primarily to Trace levels)
  • Some linting tweaks (nothing user facing)

v5.1.0-rc.2

30 Jun 09:57
Compare
Choose a tag to compare
v5.1.0-rc.2 Pre-release
Pre-release

5.1.0-rc.2 - 2021-06-30

Fixed

  • The UI description for showOutputWindowOn was stating the default is Warning when, in fact, it is Information
  • File searching is no longer case sensitive - it is still accent sensitive

5.1.0-rc.1

22 Jun 11:19
4def898
Compare
Choose a tag to compare
5.1.0-rc.1 Pre-release
Pre-release

5.1.0-rc.1 - 2021-06-22

Added

  • New settings to support all other SASS output formatting options - Closes #82
    The new settings are:
    • liveSassCompile.settings.formats.linefeed - control the line terminator used
    • liveSassCompile.settings.formats.indentType - control whether indents are spaces or tabs
    • liveSassCompile.settings.formats.indentWidth - control the width of the indentation
  • New commands to change the showOutputOn from the command pallete - Closes #63
    Having these commands in the pallete also means that key combos can be set for each
    The new commands are:
    • liveSass.command.showOutputOn.trace
    • liveSass.command.showOutputOn.debug
    • liveSass.command.showOutputOn.information
    • liveSass.command.showOutputOn.warning
    • liveSass.command.showOutputOn.error
    • liveSass.command.showOutputOn.none

Fixed

  • Change detected - {DateTime} is now output when showOutputOn is set to "Information". This better reflects the functionality of the original extension

Changes

  • Added more and adjusted some logging messages (primarily to Trace levels)
  • A lot of documentation tweaks

Updated

  • sass from 1.32.12 to 1.34.1
    • Potentially breaking bug fix: Null values in @use and @forward
      configurations no longer override the !default variable, matching the
      behaviour of the equivalent code using @import.
    • Use the proper parameter names in error messages about string.slice
    • Deprecate the use of / for division. The new math.div() function should be used instead. See this page for details.
    • Add a list.slash() function that returns a slash-separated list.
    • Potentially breaking bug fix: The heuristics around when potentially slash-separated numbers are converted to slash-free numbers—for example, when 1/2 will be printed as 0.5 rather than 1/2—have been slightly expanded. Previously, a number would be made slash-free if it was passed as an argument to a user-defined function, but not to a built-in function. Now it will be made slash-free in both cases. This is a behavioural change, but it's unlikely to affect any real-world stylesheets.
    • :is() now behaves identically to :matches().
    • Fix a bug where non-integer numbers that were very close to integer values would be incorrectly formatted in CSS.
    • Fix a bug where very small number and very large negative numbers would be incorrectly formatted in CSS.
    • Fix the URL for the @-moz-document deprecation message.
    • Fix a bug with @for loops nested inside property declarations.`
    • Fix a couple bugs that could prevent some members from being found in certain files that use a mix of imports and the module system.
    • Fix incorrect recommendation for migrating division expressions that reference namespace variables
    • Fix a bug where the quiet dependency flag didn't silence warnings in some stylesheets loaded using @import
    • Other changes (nothing user facing)
  • postcss from 8.2.14 to 8.3.5
    • Source map performance improvements
    • Fixed broken AST detection
    • Other changes (nothing user facing)
  • autoprefixer from 10.2.5 to 10.2.6
    • Fixed “no prefixes needed” warning
  • fdir from 5.0.0 to 5.1.0
    • Performance & memory usage has also been greatly improved due to the many internal refactoring
    • Other changes (nothing user facing)
  • picomatch from 2.2.3 to 2.3.0
    • Fixes bug where file names with two dots were not being matched consistently with negation extglobs containing a star
  • Various dev dependency updates (nothing user facing)

v5.0.4

22 Jun 08:55
aaa9e84
Compare
Choose a tag to compare

5.0.4 - 2021-06-22

Security

  • Bumped glob-parent to 5.1.2
    • eliminate ReDoS

v5.0.3

05 May 22:36
349de1a
Compare
Choose a tag to compare

5.0.3 - 2021-05-05

Changes

  • The default for liveSassCompile.settings.showOutputWindowOn is now Information
    • To prevent future issues like #70 & #76. Where issues are created because, by default, compiling didn't output the same details that the original extension did
  • Updated the documentation to match the above change - and also sorted a couple of typos
  • Removed reference to live reload in package.json

Updated

  • postcss from 8.2.10 to 8.2.14
    • Fixed ReDoS vulnerabilities in source map parsing
    • Other small changes (nothing user facing)
  • sass from 1.32.11 to 1.32.12
    • Fix a bug that disallowed more than one module from extending the same selector from a module if that selector itself extended a selector from another upstream module.
  • Various dev dependency updates (nothing user facing)

v5.0.2

19 Apr 20:56
b2312fc
Compare
Choose a tag to compare

5.0.2 - 2021-04-19

Updated

  • picomatch from 10.2.4 to 10.2.5
    • Do not skip pattern separator for square brackets
    • Other small changes (nothing user facing)
  • postcss from 8.2.9 to 8.2.10
    • Fixed ReDoS vulnerabilities in source map parsing
    • Other small changes (nothing user facing)
  • sass from 1.32.8 to 1.32.11
    • Small changes (nothing user facing)
  • Various dev dependency updates (nothing user facing)

v5.0.1

07 Apr 08:01
709a5a7
Compare
Choose a tag to compare

5.0.1 - 2021-04-07

Fixed

  • Bump to stop installation issues caused by original RC uploads (#54)

Changes

  • No extension changes

v5.0.0

06 Apr 22:06
ac6a689
Compare
Choose a tag to compare

5.0.0 - 2021-04-06

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, Error or None
    • 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

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
  • Error catching no longer fails when the error is with finding SASS files. Instead, this fact is highlighted

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)

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
  • A lot of documentation tweaks

v5.0.0-rc.4

04 Apr 00:58
6c4e55c
Compare
Choose a tag to compare
v5.0.0-rc.4 Pre-release
Pre-release

5.0.0-rc.4 - 2021-04-04

Fixes

  • Saving a partial (or all files by a command) no longer compiles the partials themselves (#50)

v5.0.0-rc.3

03 Apr 21:02
5be24e4
Compare
Choose a tag to compare
v5.0.0-rc.3 Pre-release
Pre-release

5.0.0-rc.3 - 2021-04-03

Fixes

  • Checking file exclusion not working when there was a forceBasePath

  • Trace logging wrote Folder: [object Object] it now writes the folder name

  • Re-added ability to turn off output window on errors #53.

    This adds the new showOutputWindowOn option "None"

    The only time the output window is shown is:

    • Running the liveSass.command.debugInclusion (Check file will be included) command
    • Running the liveSass.command.debugFileList (Get all included files) command
    • When the forceBaseDirectory is not found or invalid (i.e. a file instead of a folder)

Changed

  • Some documentation tweaks