Skip to content

v5.0.0-beta.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@jgerigmeyer jgerigmeyer released this 22 Nov 22:05
· 144 commits to main since this release
a453cdd
  • 💥 BREAKING: Require Dart Sass (^1.45.0) for @example scss annotations, using the updated Dart Sass JavaScript API. The sass.implementation option is removed, along with support for node-sass.
  • 💥 BREAKING: Rename sass.importer option to sass.importers, matching the Dart Sass option.
  • 💥 BREAKING: Remove sass.includePaths and sass.outputStyle options. These are replaced with a new sass.sassOptions option, which accepts any options that Dart Sass accepts (e.g. loadPaths or style). See the Dart Sass documentation for more details.
  • 💥 BREAKING: Font, ratio, size, and color previews are now rendered without user-provided stylesheets (to avoid style conflicts). CSS custom properties are made available via the new (🚀) customPropertiesCSS or existing customCSS options. To be included, custom properties must be declared on html, body, or :root.
  • 🏠 INTERNAL: Replace Bluebird dependency with native promises.
  • 🏠 INTERNAL: Upgrade dependencies

Full Changelog: v5.0.0-beta.4...v5.0.0-beta.5