Subject: CVS commit: pkgsrc/www/hugo
From: Benny Siegert
Date: 2023-12-31 14:38:08
Message id: 20231231133808.ACC28FA42@cvs.NetBSD.org

Log Message:
hugo: update to 0.121.1

0.116

There are two notable changes in this release. For one, we have changed the
default location of the cacheDir (where Hugo stores all its file caches).
Having the cache stored in a /tmp folder has had its issues, especially for
the module cache and especially on MacOS. The current new default should be
better and more stable. See See Configure CacheDir for more info.

Also in this release: The where template func finally supports regular
expressions with the new like operator.

0.117

This is a release on the small side, but. especially the new
Page.RenderShortcodes method is so useful, especially for bigger sites, that
we decided to get it out sooner rather than later. This method renders all the
shortcodes in the content, preserving the surrounding markup (e.g. Markdown)
as is. See the Hugo Documentation for more information.

0.118

Hugo 0.118.0 now builds with Go 1.21. This version also comes with:

- Proper CJK support in Markdown
- A revamped implementation of hugo new site and hugo new theme.

0.119

This release comes with a dependency refresh and some useful image processing
improvements:

- A new general-purpose Process method and filter.
- A new Opacity filter.

Process support all of the existing scaling operations, but it can also be
used do simple format conversions (e.g. from JPG to PNG).

0.120

This is a full dependency refresh and a couple of new cool features:

A new Padding image filter, and a new debug.Timer template func. The new
debug.Timer is useful for finding performance bottle necks in templates.

If you then run hugo --logLevel info you should see timer info logged at the
end of the build. You can have as many timers as you want and if you don't
stop them, they will be stopped at the end of build.

Hugo now also builds release binaries for Solaris now that a long-living issue
in the upstream fsnotify library has been fixed.

0.121

There are some minor new features in this release, but it's mostly a release
with bug fixes and dependency updates. One notable dependency update is libweb
v1.3.2 which comes with a security fix for the Webp decoder (CVE-2023-4863).
Hugo only uses the encoder (we use Go's native Webp decoder) so we're not
affected by this, but we have been contacted by some corporate Hugo users
who's eager to have a clean security report.

kin-openapi v0.122.0 has some minor breaking API changes which, from Hugo's
side of it, can be adapted by using the new .Map accessors if you get an
error.

Files:
RevisionActionfile
1.86modifypkgsrc/www/hugo/Makefile
1.22modifypkgsrc/www/hugo/distinfo
1.13modifypkgsrc/www/hugo/go-modules.mk