Skip to content

OINK v1.3.2

Latest

Choose a tag to compare

@Vonng Vonng released this 18 Oct 13:37
bd2e856

OINK 1.3.2 restores builds with Hugo Extended's built-in Sass compiler. Ordinary users no longer need to install Dart Sass.

  • Restore Hugo Extended 0.166.0 as the minimum and pinned default for development and strict CI.
  • Compile main and ReDoc styles with built-in LibSass; preserve project SCSS hooks and dark code highlighting.
  • Allow ordinary Hugo 0.168.0 builds to show the upstream LibSass deprecation warning. Use 0.166.0 for --panicOnWarning checks.
  • Keep the independent readability and FileTree fixes from 1.3.1.

Both Hugo versions are tested with no Sass executable on PATH; the 0.168.0 compatibility check accepts only its known upstream warning.

Upgrade with hugo mod get github.com/pgsty/oink@v1.3.2 and commit go.mod / go.sum. Remove Dart Sass installation steps from your site's build configuration. Refresh vendored themes or classic theme copies when applicable.


OINK 1.3.2 恢复使用 Hugo Extended 内置的 Sass 编译器,普通用户无需安装 Dart Sass。

  • Hugo Extended 0.166.0 恢复为最低版本,并固定为开发与严格 CI 的默认版本。
  • 主样式与 ReDoc 样式使用内置 LibSass,保留项目 SCSS 钩子与深色代码高亮。
  • Hugo 0.168.0 普通构建可以保留上游 LibSass 弃用警告;使用 --panicOnWarning 时请选择 0.166.0。
  • 保留 1.3.1 中独立的可读性与 FileTree 修复。

两个 Hugo 版本均通过了 PATH 中没有 Sass 可执行程序的构建检查;0.168.0 兼容检查只接受已知上游警告。

运行 hugo mod get github.com/pgsty/oink@v1.3.2 升级,并提交 go.mod / go.sum。删除站点构建配置中的 Dart Sass 安装步骤;使用 vendor 或传统主题副本的站点需要同步更新主题文件。

Full changelog