---
title: "Release v0.162.0 · gohugoio/hugo"
url: https://daily.dev/posts/release-v0-162-0-gohugoio-hugo-egkcuot9a
source_url: https://github.com/gohugoio/hugo/releases/tag/v0.162.0
type: article
source: "Hugo"
published: 2026-05-26T14:22:33.464Z
updated: 2026-05-26T14:22:59.128Z
tags: ["security", "golang", "image-processing"]
reading_time: 3
upvotes: 18
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Release v0.162.0 · gohugoio/hugo

**[Hugo](https://daily.dev/sources/hugo)** · 3 min read · 18 upvotes · 1 comments

## Summary

Hugo v0.162.0 ships with several bug fixes and improvements. Key fixes include Page.GitInfo for modules with go.mod in a repo subdirectory, the :counter placeholder in resources, and Jekyll import. Notable improvements include AVIF image processing support, disallowing HTML content by default, replacing RWMutex struct caches with ConcurrentMap, allowing overriding type and code in markup/highlight options, security redirect validation against security.http.urls, and upgrading to Go 1.26.3. Several dependency updates are also included.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/gohugoio/hugo/releases/tag/v0.162.0>

## Community discussion

Top comments from developers on daily.dev.

**@allinonetools** · 1 upvotes

> AVIF support is a nice addition. Smaller image sizes without sacrificing quality can make a real difference on content-heavy sites, and the security hardening is a solid update too.

## Similar posts on daily.dev

- [Release v0.157.0 · gohugoio/hugo](https://daily.dev/posts/release-v0-157-0-gohugoio-hugo-qtrqctcj6) · Hugo · 1 upvotes · 0 comments
- [Release v0.163.0 · gohugoio/hugo](https://daily.dev/posts/release-v0-163-0-gohugoio-hugo-luxxabkye) · Hugo · 0 upvotes · 0 comments
- [Release v0.156.0 · gohugoio/hugo](https://daily.dev/posts/release-v0-156-0-gohugoio-hugo-newtlz2hd) · Hugo · 0 upvotes · 0 comments
- [Release v0.158.0 · gohugoio/hugo](https://daily.dev/posts/release-v0-158-0-gohugoio-hugo-45zjlghfk) · Hugo · 0 upvotes · 0 comments
- [Release v0.163.1 · gohugoio/hugo](https://daily.dev/posts/release-v0-163-1-gohugoio-hugo-8arc16a1i) · Hugo · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#golang](https://daily.dev/tags/golang), [#image-processing](https://daily.dev/tags/image-processing)

[View this post on daily.dev](https://daily.dev/posts/release-v0-162-0-gohugoio-hugo-egkcuot9a)
