Hyas 2.4

May 7, 2024

Hyas 2.4

Henk Verlinde Henk Verlinde — Product

Hyas 2.4 is now available! This release includes a new Hugo requirement, an improved scripts setup, new development tools, and more.


Get started

To upgrade an existing project, see the updated Upgrade to Hyas v2 guide.

New Hugo requirement

Hyas 2.4 now requires you to have the latest Hugo extended version installed globally on your system. See Hugo’s documentation for installation instructions.

Improved scripts setup

Hyas 2.4 introduces a cleaner scripts section in your projects’ package.json:

  "name": "basic-starter",
  "version": "0.0.0",
  "description": "Hyas",
  "author": "Hyas",
  "license": "MIT",
  "scripts": {
    "create": "hugo new",
    "dev": "hugo server --disableFastRender --noHTTPCache",
    "format": "prettier **/** -w -c",
    "build": "hugo --minify --gc",
    "preview": "vite preview --outDir public"
  "dependencies": {
    "gethyas": "^2.4.2"
  "devDependencies": {
    "prettier": "^3.2.5",
    "vite": "^5.2.10"
  "engines": {
    "node": ">=20.11.0"

New development tools

Hyas now uses Prettier as a code formatter and Vite to preview your project’s build. You can configure Prettier in the .prettierrc.yaml and .prettierignore files in the root of your project. With Vite, when you use the --host flag, you can preview the build on your local network — for example on your mobile phone — here’s how:

Bug Fixes

Hyas 2.4 also includes several bug fixes. Check out the release notes to learn more.

Framework, Hugo, npm