forked from ritwickdey/vscode-live-sass-compiler
-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# 5.1.0 - 2021-08-06 ### 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 - Stopped outputting `Watching...` twice when compilation happens on watching - A single file - that is a window without a workspace - would error and not compile - `Change detected - {DateTime}` is now output when `showOutputOn` is set to `"Information"`. This better reflects the functionality of the original extension ### Added - New settings to support all other SASS output formatting options - Closes [#82](#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](#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` ### Changes - Added more and adjusted some logging messages *(primarily to `Trace` levels)* - A lot of documentation tweaks - Some linting tweaks *(nothing user facing)* ### Updated - `sass` from `1.32.12` to `1.37.5` - **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. - **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](https://sass-lang.com/documentation/breaking-changes/slash-div) 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)* - `autoprefixer` from `10.2.5` to `10.3.1` - Added `::file-selector-button` support - Fixed adding wrong prefixes to `content` - Fixed “no prefixes needed” warning - `postcss` from `8.2.14` to `8.3.6` - Fixed column in `missed semicolon` error - Source map performance improvements - Fixed broken AST detection - Other changes *(nothing user facing)* - `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)*
- Loading branch information
Showing
13 changed files
with
1,359 additions
and
1,068 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,23 +22,14 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- id: Info | ||
uses: actions/[email protected] | ||
with: | ||
script: | | ||
console.log('Github Info', { ref: github.ref, event: github.event }) | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
|
||
- name: Install the package dependencies | ||
run: npm install | ||
|
||
- name: Install vsce | ||
run: npm i vsce -g | ||
|
||
# TESTS ARE FAILING - DOING MORE RESEARCH | ||
# - run: xvfb-run -a npm test | ||
|
@@ -49,36 +40,36 @@ jobs: | |
# if: runner.os != 'Linux' | ||
# name: Test extension | ||
|
||
# Removed && startsWith( github.ref, 'refs/tags/') | ||
- id: get-name | ||
if: success() && startsWith( github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' | ||
uses: actions/[email protected] | ||
with: | ||
script: | | ||
const ver = github.event.release.tag_name.substr(1) | ||
core.setOutput('name', `live-sass-${ver}.vsix`) | ||
if: success() && matrix.os == 'ubuntu-latest' | ||
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/v} | ||
|
||
- name: Install vsce | ||
run: npm i vsce -g | ||
|
||
- name: Package | ||
run: vsce package --yarn | ||
|
||
- name: Publish - vsce | ||
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' | ||
run: vsce publish ${{ steps.get-name.outputs.name }} --yarn | ||
if: success() && matrix.os == 'ubuntu-latest' && !github.event.release.prerelease | ||
run: vsce publish live-sass-${{ steps.get-name.outputs.tag }}.vsix --yarn | ||
env: | ||
VSCE_PAT: ${{ secrets.VSCE_PAT }} | ||
|
||
- name: Install ovsx | ||
run: npm i ovsx -g | ||
|
||
- name: Publish - ovsx | ||
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' | ||
run: ovsx publish ${{ steps.get-name.outputs.name }} | ||
if: success() && matrix.os == 'ubuntu-latest' | ||
run: ovsx publish live-sass-${{ steps.get-name.outputs.tag }}.vsix | ||
env: | ||
OVSX_PAT: ${{ secrets.OVSX_PAT }} | ||
|
||
- name: Upload asset | ||
if: startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' | ||
if: matrix.os == 'ubuntu-latest' | ||
uses: softprops/[email protected] | ||
with: | ||
files: ${{ steps.get-name.outputs.name }} | ||
files: live-sass-${{ steps.get-name.outputs.tag }}.vsix | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.