Doks 1.3

January 17, 2024 by Henk Verlinde Henk Verlinde2 minutes

Doks 1.3

Doks 1.3 — our first release of the new year — is here! This release includes restructured dependencies, deduplicated Bootstrap variables, and more.

Doks 1.3 — our first release of the new year — is here! This release includes restructured dependencies, deduplicated Bootstrap variables, and more.

Highlights include:

To take advantage of the latest features, make sure you’re running the latest version of Doks. You can upgrade to Doks 1.3 by following the Upgrade to v1.3 migration guide.

Restructured dependencies

Doks main dependencies are now specified in Doks’ package.json — in stead of in @hyas/doks-core’s package.json — so you can easily update for example Hugo, Hyas Images, and Hyas SEO yourself.

{
  "scripts": {
    "postinstall": "hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugo"
  },
  "dependencies": {
    "@hyas/doks-core": "^1.3.0",
    "@hyas/images": "^2.0.3",
    "@hyas/inline-svg": "^1.0.5",
    "@hyas/seo": "^2.1.0",
    "@tabler/icons": "^2.40.0",
    "exec-bin": "^1.0.0",
    "gethyas": "^2.2.2",
    "hugo-installer": "^4.0.1"
  },
  "devDependencies": {
    "shx": "^0.3.4"
  },
  "otherDependencies": {
    "hugo": "0.121.1"
  }
}

Hyas Images for example is updated like any @hyas/* integration (or theme):

Deduplicated Bootstrap variables

Doks now only specifies customized Bootstrap SCSS variables in _variables-overrides.scss — instead of overriding all Bootstrap SCSS variables — making customizations easier and more robust.

Add your customizations in assets/scss/common/:

_variables-custom.scss
/* Put your custom SCSS variables here */
_custom.scss
/* Put your custom SCSS code here */

Bug Fixes

Additional bug fixes are included in this release. Check out the release notes to learn more.