Skip to content

v3.0.0

Choose a tag to compare

@h-enk h-enk released this 21 Sep 13:59
· 15 commits to main since this release

BREAKING CHANGE ⚠️

LibSass support has been removed. Dart Sass is now required.

What Changed

  • Replaced LibSass with Dart Sass for CSS compilation
  • All asset build pipelines now follow Hugo's official best practices
  • JavaScript build aligned with Hugo's esbuild/Babel patterns

Why

  • LibSass has been deprecated by the Sass team since 2020
  • Dart Sass provides modern Sass language features and better maintenance
  • Hugo's official patterns ensure future compatibility and reliability

How to Upgrade

Install Dart Sass in your environment:

  • macOS (Homebrew): brew install sass/sass/sass
  • Linux (Snap): sudo snap install dart-sass
  • Windows (Scoop): scoop install sass
  • Or: npm install -g sass

Other Improvements

  • Enhanced Prettier, ESLint, and VS Code configuration
  • Expanded Dependabot automation and dependency management
  • Improved error handling and performance in JavaScript modules
  • Modern CSS reset and better cross-browser consistency
  • Dart Sass pipeline with environment-aware options and PostCSS integration

See Also: