Releases: glenn2223/vscode-live-sass-compiler
Releases · glenn2223/vscode-live-sass-compiler
v5.1.0-rc.3
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
from1.34.1
to1.35.2
- Potentially breaking bug fix: Properly throw an error for Unicode ranges that have too many
?
s after hexadecimal digits, such asU+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)
- Potentially breaking bug fix: Properly throw an error for Unicode ranges that have too many
autoprefixer
from10.2.6
to10.3.1
- Added
::file-selector-button
support - Fixed adding wrong prefixes to
content
- Added
Changes
- Added more and adjusted some logging messages (primarily to
Trace
levels) - Some linting tweaks (nothing user facing)
v5.1.0-rc.2
5.1.0-rc.2 - 2021-06-30
Fixed
- The UI description for
showOutputWindowOn
was stating the default isWarning
when, in fact, it isInformation
- File searching is no longer case sensitive - it is still accent sensitive
5.1.0-rc.1
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 usedliveSassCompile.settings.formats.indentType
- control whether indents are spaces or tabsliveSassCompile.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 whenshowOutputOn
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
from1.32.12
to1.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 newmath.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 as0.5
rather than1/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)
- Potentially breaking bug fix: Null values in
postcss
from8.2.14
to8.3.5
- Source map performance improvements
- Fixed broken AST detection
- Other changes (nothing user facing)
autoprefixer
from10.2.5
to10.2.6
- Fixed “no prefixes needed” warning
fdir
from5.0.0
to5.1.0
- Performance & memory usage has also been greatly improved due to the many internal refactoring
- Other changes (nothing user facing)
picomatch
from2.2.3
to2.3.0
- Fixes bug where file names with two dots were not being matched consistently with negation
extglobs
containing a star
- Fixes bug where file names with two dots were not being matched consistently with negation
- Various dev dependency updates (nothing user facing)
v5.0.4
v5.0.3
5.0.3 - 2021-05-05
Changes
- The default for
liveSassCompile.settings.showOutputWindowOn
is nowInformation
- 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
from8.2.10
to8.2.14
- Fixed ReDoS vulnerabilities in source map parsing
- Other small changes (nothing user facing)
sass
from1.32.11
to1.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
5.0.2 - 2021-04-19
Updated
picomatch
from10.2.4
to10.2.5
- Do not skip pattern separator for square brackets
- Other small changes (nothing user facing)
postcss
from8.2.9
to8.2.10
- Fixed ReDoS vulnerabilities in source map parsing
- Other small changes (nothing user facing)
sass
from1.32.8
to1.32.11
- Small changes (nothing user facing)
- Various dev dependency updates (nothing user facing)
v5.0.1
v5.0.0
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 calledshowOutputWindowOn
(#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
orNone
- 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 astring[] OR boolean
- Rather than
null
, you now usefalse
- Rather than
- The default is now
- No longer supporting
brace expansion
glob patterns (#27)- This is because the underlying glob pattern matching has moved from
minimatch
topicomatch
. A full feature comparison can be found here
- This is because the underlying glob pattern matching has moved from
- 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 oneincludeItems
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 apackage.json
file
(This allows you to use the same setting across your solution, rather than duplicating content)
- a
-
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
- Full support for
-
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
from10.2.4
to10.2.5
- Fixed
:
support in@supports
- Fixed
postcss
from8.2.4
to8.2.9
- Small fixes (nothing user facing)
sass
from1.32.5
to1.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)
- Allow
- Various dev dependency updates (nothing user facing)
Changed
- Now using
fdir
withpicomatch
instead ofglob
andminimatch
- 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
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
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)
- Running the
Changed
- Some documentation tweaks