Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency hugo to v0.120.4 - autoclosed #58

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 17, 2022

Mend Renovate logo banner

This PR contains the following updates:

Package Update Change
hugo minor 0.74.3 -> 0.120.4

Release Notes

gohugoio/hugo (hugo)

v0.120.4

Compare Source

The only change in this release is that the release binaries are compiled with Go 1.21.4 which comes with a security fix for Windows that may be relevant for Hugo. See:

What's Changed

v0.120.3

Compare Source

What's Changed

v0.120.2

Compare Source

What's Changed

v0.120.1

Compare Source

What's Changed

v0.120.0

Compare Source

This is a full dependency refresh and a couple of new cool features:

A new Padding image filter, and a new debug.Timer template func. The new debug.Timer is useful for finding performance bottle necks in templates:

{{ $timer := debug.Timer "slowTemplate" }}
// ...
{{ $timer.Stop }}

If you then run hugo --logLevel info you should see timer info logged at the end of the build. You can have as many timers as you want and if you don't stop them, they will be stopped at the end of build.

Hugo now also builds release binaries for Solaris now that a long-living issue in the upstream ƒsnotify library has been fixed, thanks to @​nshalman.

Notes
  • The enableEmoji flag now only works for Markdown content. This is unfortunate, but the old solution has some known issues and it was too hard to make it work properly as a general thing across all formats. See #​11598
  • site.DisqusShortname is deprecated 2eca1b3
  • site.GoogleAnalytics is deprecated a692278
  • site.Author is deprecated d4016dd
  • site.Social is deprecated 4910312

Also, we have changed the string type for some of the fields and methods:

  • .Fragments.ToHTML not returns template.HTML
  • $resource.Data.Integrity now returns a string and not a template.HTMLAttr
  • delimit now returns a string and not a template.HTML See #​10876 #​11502.
  • the URL functions now returns a string, see #​11536
  • The paginator Pager now returns a string.
  • site.BaseURL now returns a string.

The above should both solve some issues and make the above types more useful and easer to reason about. But if you use the delimit function to process HTML and see some unexpected escaping after this release, e.g.:

{{ $s := slice "<i>foo</i>" }}
{{ delimit $s "," }}

Then you need to mark the type with safeHTML:

{{ $s := slice "<i>foo</i>" }}
{{ delimit $s "," | safeHTML }}
Bug fixes
Improvements
Dependency Updates
Documentation

v0.119.0

Compare Source

This version is built with Go 1.21.1 which contains some relevant security fixes for the html/template package, see Issue 62196 and Issue 62197. This is the main reason Hugo 0.119.0 is released sooner rather than later. But this release also comes with a dependency refresh and some useful image processing improvements:

  • A new general-purpose Process method and filter.
  • A new Opacity filter.

Process support all of the existing scaling operations, but it can also be used do simple format conversions (e.g. from JPG to PNG). A before/after example:

{{ $watermark := resources.Get "logo.jpg" | images.Filter  
       (images.GaussianBlur 6) 
       (images.Opacity 0.5) 
}}
{{ $watermark = $watermark.Resize (printf "%dx%d png" $watermark.Width $watermark.Height )

There are some issues with the above:

  1. The source image does not support transparency, so the transparency pixels will be filled with the configured background colour.
  2. The image will be decoded and encoded twice with a potential loss in quality.
  3. It's clumsy.

With Hugo 0.119.0 the above can be written as:

{{ $watermark := resources.Get "logo.jpg" | images.Filter  
       (images.GaussianBlur 6) 
       (images.Opacity 0.5) 
       (images.Process "png") 
}}

Bug fixes

Improvements

Dependency Updates

Documentation

v0.118.2

Compare Source

What's Changed

v0.118.1

Compare Source

Note: There still seem to be an issue on Vercel.


This release only fixes a GLIBC_xxx not found issue with the Linux AMD64 binary when running on older Linux versions, which is the situation when building on Netlify/Vercel etc. 7e9092e @​bep #​11414

There's no functional changes in this release. See v0.118.0.

v0.118.0

Compare Source

Note: Hugo 0.118.2 fixes an issue with the Linux binaries when building on Netlify/Vercel/etc.


Hugo 0.118.0 now builds with Go 1.21. This version also comes with:

  • Proper CJK support in Markdown:
  [markup.goldmark]
    [markup.goldmark.extensions]
      [markup.goldmark.extensions.cjk]

### Whether to enable CJK support.
        enable = false

### Whether softline breaks between east asian wide characters should be ignored.
        eastAsianLineBreaks = false    

###  Whether a '\' escaped half-space(0x20) should not be rendered.
        escapedSpace = false
  • A revamped implementation of hugo new site and hugo new theme. See details.

Bug fixes

Improvements

Dependency Updates

Documentation

Build Setup

v0.117.0

Compare Source

This is a release on the small side, but. especially the new Page.RenderShortcodes method is so useful, especially for bigger sites, that we decided to get it out sooner rather than later. This method renders all the shortcodes in the content, preserving the surrounding markup (e.g. Markdown) as is. See the Hugo Documentation for more information.

Improvements

Dependency Updates

Documentation

v0.116.1

Compare Source

What's Changed

v0.116.0

Compare Source

There are two notable changes in this release. For one, we have changed the default location of the cacheDir (where Hugo stores all its file caches). Having the cache stored in a /tmp folder has had its issues, especially for the module cache and especially on MacOS. The current new default should be better and more stable. See See Configure CacheDir for more info.

Also in this release: The where template func finally supports regular expressions with the new like operator.

Note

Bug fixes

Improvements

Dependency Updates

Documentation

Build Setup

v0.115.4

Compare Source

Bug fixes

Improvements

v0.115.3

Compare Source

What's Changed

v0.115.2

Compare Source

Bug fixes

Improvements

Build Setup

v0.115.1

Compare Source

Bug fixes

Improvements

Dependency Updates

Documentation

Build Setup

v0.115.0

Compare Source

The notable new feature in this release is that you can now have permalink configuration also for section and taxonomy pages. Thanks to @​Mai-Lapyst for the implementation. See the documentation for more information.

Bug fixes

Improvements

Dependency Updates

Documentation

Build Setup

v0.114.1

Compare Source

Bug fixes

Improvements

Dependency Updates

Build Setup

v0.114.0

Compare Source

The main new thing in this release is that we now support both major versions of the Dart Sass Embedded protocol, which means that you now can use the regular Dart Sass binary. We measured the new protocol to be faster with high concurrency:

name                             old time/op    new time/op    delta
Transpiler/SCSS-10                  114µs ± 0%     145µs ± 1%  +26.40%  (p=0.029 n=4+4)
Transpiler/Start_and_Execute-10    25.6ms ± 2%    26.0ms ± 3%     ~     (p=0.486 n=4+4)
Transpiler/SCSS_Parallel-10        89.0µs ± 2%    44.4µs ± 3%  -50.12%  (p=0.029 n=4+4)

name                             old alloc/op   new alloc/op   delta
Transpiler/SCSS-10                 1.33kB ± 1%    1.33kB ± 0%     ~     (p=1.000 n=4+4)
Transpiler/Start_and_Execute-10    22.4kB ± 1%    22.4kB ± 1%     ~     (p=0.886 n=4+4)
Transpiler/SCSS_Parallel-10        1.34kB ± 3%    1.33kB ± 1%     ~     (p=1.000 n=4+4)

name                             old allocs/op  new allocs/op  delta
Transpiler/SCSS-10                   18.0 ± 0%      18.0 ± 0%     ~     (all equal)
Transpiler/Start_and_Execute-10       144 ± 1%       150 ± 0%   +4.16%  (p=0.029 n=4+4)
Transpiler/SCSS_Parallel-10          18.0 ± 0%      18.0 ± 0%     ~     (all equal)

We have also moved to a new log library and added some new math functions and also revised the existing set to work better with a mix of scalars


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/hugo-0.x branch 2 times, most recently from d17ec76 to 4ee06a1 Compare November 17, 2022 19:30
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.105.0 chore(deps): update dependency hugo to v0.106.0 Nov 17, 2022
@renovate renovate bot force-pushed the renovate/hugo-0.x branch 2 times, most recently from 9e27190 to cfe650a Compare November 24, 2022 16:23
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.106.0 chore(deps): update dependency hugo to v0.107.0 Nov 24, 2022
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from cfe650a to fd31adc Compare December 6, 2022 15:35
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.107.0 chore(deps): update dependency hugo to v0.108.0 Dec 6, 2022
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from fd31adc to 805f236 Compare December 15, 2022 06:18
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.108.0 Update dependency hugo to v0.108.0 Dec 17, 2022
@renovate renovate bot changed the title Update dependency hugo to v0.108.0 chore(deps): update dependency hugo to v0.108.0 Dec 17, 2022
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 805f236 to be57150 Compare December 23, 2022 11:44
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.108.0 chore(deps): update dependency hugo to v0.109.0 Dec 23, 2022
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from be57150 to ca196a9 Compare January 17, 2023 15:20
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.109.0 chore(deps): update dependency hugo to v0.110.0 Jan 17, 2023
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from ca196a9 to aa46e8d Compare January 28, 2023 02:04
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from aa46e8d to 80e5398 Compare February 10, 2023 03:17
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 80e5398 to f4667de Compare March 1, 2023 21:22
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.110.0 chore(deps): update dependency hugo to v0.111.0 Mar 1, 2023
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from f4667de to dbc7f8d Compare March 2, 2023 14:49
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.111.0 chore(deps): update dependency hugo to v0.111.1 Mar 2, 2023
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from dbc7f8d to 4b069a6 Compare March 5, 2023 14:36
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.111.1 chore(deps): update dependency hugo to v0.111.2 Mar 5, 2023
@renovate renovate bot force-pushed the renovate/hugo-0.x branch 2 times, most recently from 5a2c110 to 273b7c4 Compare March 12, 2023 13:57
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.111.2 chore(deps): update dependency hugo to v0.111.3 Mar 12, 2023
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 273b7c4 to 130945c Compare March 15, 2023 19:35
@renovate renovate bot force-pushed the renovate/hugo-0.x branch 3 times, most recently from 950a88a to 290923e Compare April 18, 2023 00:50
@mikutas mikutas force-pushed the master branch 8 times, most recently from 4429888 to b0777f5 Compare September 11, 2023 15:40
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 3e021f3 to 4669164 Compare September 17, 2023 08:25
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 4669164 to 2399375 Compare September 24, 2023 16:08
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.118.2 chore(deps): update dependency hugo to v0.119.0 Sep 24, 2023
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 2399375 to 5428e1a Compare September 28, 2023 03:57
@renovate renovate bot force-pushed the renovate/hugo-0.x branch 2 times, most recently from bd6500d to 3ede203 Compare October 12, 2023 23:26
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 3ede203 to 290e892 Compare October 18, 2023 23:16
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 290e892 to 188fe58 Compare October 30, 2023 17:18
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.119.0 chore(deps): update dependency hugo to v0.120.1 Oct 30, 2023
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 188fe58 to 2eb5dd5 Compare October 31, 2023 19:49
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.120.1 chore(deps): update dependency hugo to v0.120.2 Oct 31, 2023
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 2eb5dd5 to cce24dc Compare November 1, 2023 18:57
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.120.2 chore(deps): update dependency hugo to v0.120.3 Nov 1, 2023
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from cce24dc to 1dbc89b Compare November 8, 2023 13:44
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.120.3 chore(deps): update dependency hugo to v0.120.4 Nov 8, 2023
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 1dbc89b to 2f751a7 Compare November 8, 2023 23:29
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 2f751a7 to f5bd1c9 Compare November 15, 2023 23:26
@renovate renovate bot changed the title chore(deps): update dependency hugo to v0.120.4 chore(deps): update dependency hugo to v0.120.4 - autoclosed Nov 24, 2023
@renovate renovate bot closed this Nov 24, 2023
@renovate renovate bot deleted the renovate/hugo-0.x branch November 24, 2023 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants