dshoreman / servidor

A modern web application for managing servers
GNU Lesser General Public License v2.1
9 stars 11 forks source link

Update sass: 1.32.13 → 1.36.0 (minor) #463

Closed depfu[bot] closed 3 years ago

depfu[bot] commented 3 years ago

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ sass (1.32.13 → 1.36.0) · Repo · Changelog

Release Notes

1.36.0

To install Sass 1.36.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

Dart API

  • Added compileToResult(), compileStringToResult(), compileToResultAsync(), and compileStringToResultAsync() methods. These are intended to replace the existing compile*() methods, which are now deprecated. Rather than returning a simple string, these return a CompileResult object, which will allow us to add additional information about the compilation without having to introduce further deprecations.

    • Instead of passing a sourceMaps callback to compile*(), pass sourceMaps: true to compile*ToResult() and access CompileResult.sourceMap.

    • The CompileResult object exposes a loadedUrls object which lists the canonical URLs accessed during a compilation. This information was previously unavailable except through the JS API.

See the full changelog for changes in earlier releases.

1.35.2

To install Sass 1.35.2, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • 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 behavior.

  • Potentially breaking bug fix: Fix a bug where imports of root-relative URLs (those that begin with /) in @import rules would be passed to both Dart and JS importers as file: URLs.

  • Properly support selector lists for the $extendee argument to selector.extend() and selector.replace().

  • 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 race condition where meta.load-css() could trigger an internal error when running in asynchronous mode.

Dart API

  • Use the @internal annotation to indicate which Value APIs are available for public use.

See the full changelog for changes in earlier releases.

1.35.1

To install Sass 1.35.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Fix a bug where the quiet dependency flag didn't silence warnings in some stylesheets loaded using @import.

See the full changelog for changes in earlier releases.

1.35.0

To install Sass 1.35.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • 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 namespaced variables.

JS API

  • Add a quietDeps option which silences compiler warnings from stylesheets loaded through importers and load paths.

  • Add a verbose option which causes the compiler to emit all deprecation warnings, not just 5 per feature.

See the full changelog for changes in earlier releases.

1.34.1

To install Sass 1.34.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Fix a bug where --update would always compile any file that depends on a built-in module.

  • Fix the URL for the @-moz-document deprecation message.

  • Fix a bug with @for loops nested inside property declarations.

See the full changelog for changes in earlier releases.

1.34.0

To install Sass 1.34.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Don't emit the same warning in the same location multiple times.

  • Cap deprecation warnings at 5 per feature by default.

Command Line Interface

  • Add a --quiet-deps flag which silences compiler warnings from stylesheets loaded through --load-paths.

  • Add a --verbose flag which causes the compiler to emit all deprecation warnings, not just 5 per feature.

Dart API

  • Add a quietDeps argument to compile(), compileString(), compileAsync(), and compileStringAsync() which silences compiler warnings from stylesheets loaded through importers, load paths, and package: URLs.

  • Add a verbose argument to compile(), compileString(), compileAsync(), and compileStringAsync() which causes the compiler to emit all deprecation warnings, not just 5 per feature.

See the full changelog for changes in earlier releases.

1.33.0

To install Sass 1.33.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • 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 behavioral 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.

JS API

  • The this context for importers now has a fromImport field, which is true if the importer is being invoked from an @import and false otherwise. Importers should only use this to determine whether to load import-only files.

Dart API

  • Add an Importer.fromImport getter, which is true if the current Importer.canonicalize() call comes from an @import rule and false otherwise. Importers should only use this to determine whether to load import-only files.

See the full changelog for changes in earlier releases.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 53 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
codecov[bot] commented 3 years ago

Codecov Report

Merging #463 (6890ba9) into develop (f878939) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #463   +/-   ##
==========================================
  Coverage      99.54%   99.54%           
  Complexity       403      403           
==========================================
  Files             83       83           
  Lines           1090     1090           
==========================================
  Hits            1085     1085           
  Misses             5        5           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f878939...6890ba9. Read the comment docs.

depfu[bot] commented 3 years ago

Closed in favor of #468.