I have installed hugo v0.168.0-e27a6760c5547237f87d353aebe0580feadb20f4+extended linux/amd64 BuildDate=2026-10-13T16:42:50Z VendorInfo=gohugoio as binary from your GitHub release page.
Now I’m always getting this warning:
WARN deprecated: css.Sass: libsass was deprecated in Hugo v0.153.0 and will be removed in a future release. Use dartsass instead. See https://gohugo.io/functions/css/sass/#dart-sass
I get this warning even in a clean docker container, with no sass packages installed from my side. My site also does not explicitly include libsass.
The linked website could not really help me to resolve this issue.
What am I supposed to do to get rid of this warning?
As of 0.153.0 there’s no need for the extended edition to use webp:
Historically, certain features—specifically WebP encoding and LibSass—required the Hugo Extended binary. However, as of v0.153.0:
WebP encoding is now supported in all Hugo editions.
the bare existence of a feature does not trigger a deprecation warning. Only used features trigger these warnings. A bare hugo env call just lists what’s there but no warning on libsass.
The warning is WARN deprecated: css.Sass: libsass ... which tells us:
you (or your theme) is calling css.Sass somewhere and that triggers the warning.
the default transpiler is still libsass - for backward compatibility. To switch to dartsass follow css.Sass - transpiler
I would use the standard edition and follow dartsass instructions posted by @bep.