Releases: gohugoio/hugo
v0.147.6
What's Changed
- Improve warning message on superfluous prefix when using function 'partials.Include' e57dcd3 @deining
- Fix recent regression with cascading of params to content adapters eaf5ace @bep #13743
- Fix it so e.g. de in layouts/_shortcodes/de.html is not interpreted as a language code 9ad26b6 @bep #13740
- commands: Make sure the browser gets refreshed on changes when --disableFastRender is set f471936 @bep #13727
- tpl/transform: Expose the KaTeX strict option 013c8cf @jmooring #13729
v0.147.5
We have gotten some requests about updating the minifier library we use, so here you go @myitcv and others. I'm probably going to regret doing that particular upgrade on a Thursday, but so be it.
What's Changed
- Fix live reload when editing inline partials 0c7b1a3 @bep #13723
- build(deps): bump github.com/tdewolff/minify/v2 from 2.20.37 to 2.23.5 970b887 @dependabot[bot]
v0.147.4
What's Changed
- Fix it so css.TailwindCSS inlineImports options isn't always enabled a03a245 @bep #13719
- tpl: Add a test case 5a81a3a @bep #13699
- tpl: Narrow down the usage of plain text shortcodes when rendering HTML 6131782 @bep #13698
- tpl: Fix theme overrides when theme has old layout setup (e.g. _default) 6142bc7 @bep #13715
v0.147.3
Mostly bug fixes here, but also a new template func to get a really big number. You can read about why that is useful in the documentation.
- tpl/tplimpl: Change calls to simple versions of embedded shortcodes 8142699 @jmooring #13700
- config: Fix env override of slices bc98e7a @bep #13707
- Fix/implement cascade for content adapters c745a3e @bep #13692
- commands: Fix description of new theme commands 9d1d8c8 @jmooring #13701
- tpl/tplimpl: Fix vimeo shortcode test to accommodate API changes 84d7a10 @jmooring #13687
- tpl/math: Add MaxInt64 function 325a0db @jmooring #13693
v0.147.2
v0.147.1
Bug fixes
- tpl: Fix overlapping layout sections be93d52 @bep #13672
- Fix it so the owning taxonomy gets rerendered in server when new tags are added a1cb15e @bep #13648
Improvements
- tpl: Add some more test cases 5fec782 @bep #13672 #13668
- commands/server: Display correct multihost language in console 673a4d0 @jmooring #12564
- hugolib: Use new build key in content placeholder 31db7ed @jmooring #13655
Dependency Updates
- build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.0 to 2.17.2 620fc87 @dependabot[bot]
- build(deps): bump github.com/getkin/kin-openapi from 0.131.0 to 0.132.0 8b2124e @dependabot[bot]
- build(deps): bump github.com/yuin/goldmark from 1.7.10 to 1.7.11 927d1ec @dependabot[bot]
v0.147.0
This release comes with a new aligny
option (shoutout to @pranshugaba for the implementation) for images.Text that, in combination with alignx
makes it simple to e.g. center the text on top of image in both axis. But the main reason this release comes now and not later, is the improvements/fixes to the order Hugo applies the default configuration to some keys. This is inherited from how we did this before we rewrote the configuration handling, and it made the merging of configuration from modules/themes into the config root harder and less flexible than it had to be. Me, @bep, looking into this, was triggered by this forum topic. Having many sites share a common configuration is very useful. With this release, you can simply get what the thread starter asks for by doing something à la:
baseURL = "http://example.org"
title = "My Hugo Site"
# ... import any themes/modules.
# This will merge in all config imported from imported modules.
_merge = "deep"
See the documentation for details.
Bug fixes
- tpl: Fix it so we always prefer internal codeblock rendering over render-codeblock-foo.html and similar 07983e0 @bep #13651
- tpl/tplimpl: Fix allowFullScreen option in Vimeo and YouTube shortcodes 5c49140 @jmooring #13650
- config: Fix _merge issue when key doesn't exist on the left side 179aea1 @bep #13643 #13646
- all: Fix typos 6a0e042 @coliff
Improvements
- create/skeletons: Adjust template names in theme skeleton 75b219d @jmooring
- tpl: Remove some unreached code branches ad4f63c @bep
- images: Add some test cases for aligny on images.Text 5320231 @bep #13414
- images: Add option for vertical alignment to images.Text 2fce0ba @pranshugaba
Dependency Updates
- build(deps): bump github.com/evanw/esbuild from 0.25.2 to 0.25.3 1bd7ac7 @dependabot[bot]
- build(deps): bump github.com/alecthomas/chroma/v2 from 2.16.0 to 2.17.0 41cb880 @dependabot[bot]
v0.146.7
Bug fixes
- Revert the breaking change from 0.146.0 with dots in content filenames 4967308 @bep #13632
- tpl: Fix indeterminate template lookup with templates with and without lang 6d69dc8 @bep #13636
- tpl/collections: Fix where ... not in with empty slice 4eb0e42 @bep #13621
- tpl: Fix layout fall back logic when layout is set in front matter but not found 5e62cc6 @bep #13630
Improvements
- parser/metadecoders: Add CSV targetType (map or slice) option to transform.Unmarshal db72a1f @jmooring #8859
- tpl: Detect and fail on infinite template recursion 1408c15 @bep #13627
Dependency Updates
- build(deps): bump github.com/yuin/goldmark-emoji from 1.0.5 to 1.0.6 ad78761 @dependabot[bot]
- build(deps): bump github.com/bep/imagemeta from 0.11.0 to 0.12.0 9c65b9e @dependabot[bot]
- build(deps): bump github.com/yuin/goldmark from 1.7.9 to 1.7.10 be3b147 @dependabot[bot]