Releases: gohugoio/hugo
v0.147.9
Improvements and fixes
- Remove WARN with false negatives 6a4a3ab @bep #13806
- resources/page: Make sure a map is always initialized 36f6f98 @bep #13810
- tpl/tplimpl: Copy embedded HTML table render hook to each output format 18a9ca7 @jmooring #13351
- tpl/tplimpl: Change resources.GetRemote errors to suppressible warnings b6c8dfa @jmooring #13803
- common/terminal: Enable color output on windows 4217fee @jmooring #8209
- hugolib: Remove test for deprecated future 4ef5720 @bep
Dependency Updates
- build(deps): bump google.golang.org/api from 0.221.0 to 0.237.0 621ea42 @dependabot[bot]
- build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.36.1 to 1.36.4 34e8378 @dependabot[bot]
- build(deps): bump golang.org/x/image from 0.27.0 to 0.28.0 4d3ebe4 @dependabot[bot]
- deps: Upgrade github.com/spf13/cast v1.8.0 => v1.9.2 b5c0383 @jmooring
v0.147.8
The primary motivation behind this release is to get the Docker package security patched and up to date.
Improvements
- dockerfile: Update Alpine 8e61f1f @bep #13783
- dockerfile: Update Go version f37412a @bep #13780
- hugolib: Emit ignorable warning when home page is a leaf bundle 01241d5 @jmooring #13538
- all: Replace _build with build in tests 32eb1a8 @bep
Dependency Updates
- build(deps): bump github.com/evanw/esbuild from 0.25.3 to 0.25.5 21a4a9a @dependabot[bot]
- build(deps): bump github.com/niklasfasching/go-org from 1.7.0 to 1.8.0 7a4a479 @dependabot[bot]
- build(deps): bump golang.org/x/net from 0.39.0 to 0.40.0 54065b7 @dependabot[bot]
- build(deps): bump github.com/yuin/goldmark from 1.7.11 to 1.7.12 e333836 @dependabot[bot]
- build(deps): bump github.com/tdewolff/minify/v2 from 2.23.5 to 2.23.8 cc7bfee @dependabot[bot]
v0.147.7
Bug fixes
- Fix language handling in shortcode templates 5273a88 @bep #13767
- Make sure that unreferenced but changed bundle resources gets republished 766a2e7 @bep #13748
- resources/page: Respect disablePathToLower for permalink tokens 843ffeb @jmooring #13755
Improvements
- Handle KaTeX warnings (#13760) 6334948 @bep #13735
- common/collections: Increase test coverage bff5d19 @pixel365
- parser/pageparser: Add coverage for all IsX methods of Item da370d3 @pixel365
- resources: Remove unused interface 6bd328c @bep
Dependency Updates
- build(deps): bump golang.org/x/image from 0.26.0 to 0.27.0 7525963 @dependabot[bot]
- build(deps): bump golang.org/x/text from 0.24.0 to 0.25.0 0df9f35 @dependabot[bot]
- build(deps): bump github.com/spf13/cast from 1.7.1 to 1.8.0 302e6a7 @dependabot[bot]
- build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.2 to 2.18.0 202fe0d @dependabot[bot]
- deps: Upgrade github.com/olekukonko/tablewriter v0.0.5 => v1.0.7 13e1617 @bep
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]