Skip to content

chore: bump github.com/gohugoio/hugo from 0.98.0 to 0.99.1 #1699

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

Merged
merged 2 commits into from
May 25, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 23, 2022

Bumps github.com/gohugoio/hugo from 0.98.0 to 0.99.1.

Release notes

Sourced from github.com/gohugoio/hugo's releases.

v0.99.1

Fix server regression for multihost sites (multiple languages with different baseURLs) 2f9eac48 @​bep #9901

v0.99.0

The theme of this release is error handling – a topic grievously underrated in most development tools. You are often expected to Google this mysterious error and end up in some Stackoverflow thread telling you to use a specific Node version. Hugo has done an OK job in this department, but when I, @​bep, recently got stuck with a minify error I had no clue how to debug, I knew we had to take another look at this. There is a list of "error improvements below", but here is one visual example:

image

The two screenshots above is from the same template error in Hugo v0.98.0 (left) and the new v0.99.0 (right). This is a type error (method not found) in a partial included in a shortcode template. We did a decent job in v0.98.0, too, pointing at correct line in the partial. But the right version has the full stack, with absolute filename, line and column and some file context (highlighted lines) for all of the files involved in the error (Markdown file, shortcode and partial). Having these source file references to click on in the VS Code terminal is a real time saver, especially in Hugo projects with mulitiple file roots (themes, theme components).

A list of the most important "error improvements":

  • A new server error template (can be overridden in layouts/_server/error.html), always add the content file context if relevant, improve JS errors, Add file context (with position) to codeblock render blocks, add file context to errors in the publishing step (e.g. minify), and more. #9892 #9891 #9893
  • Fix SIGINT handling (allowing to kill the server) after loading bad configuration #9664
  • Improve SASS/SCSS errors (both Dart SASS and Libsass) #9897
  • Fix line numbers in errors from PostCSS, add missing file context to "import not found" #9895

Also worth mentioning is the new clock cli flag (#8787 ) which allows you to "set the clock" and see how your site looks like ... in the future.

This release represents 24 contributions by 4 contributors to the main Hugo code base.@​bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @​dependabot[bot], @​satotake, and @​nathannaveen for their ongoing contributions.

Many have also been busy writing and fixing the documentation in hugoDocs, which has received 3 contributions by 2 contributors.

Hugo now has:

Notes

Changes

  • server: Refresh the error template 657d1a2d @​bep
  • server: Fix SIGINT handling after loading bad configuration 87a22eb6 @​bep #9664
  • Improve SASS errors fc9f315d @​bep #9897
  • postcss: Fix import error handling 4b189d8f @​bep #9895
  • build(deps): bump github.com/fsnotify/fsnotify from 1.5.3 to 1.5.4 c2fa0a33 @​dependabot[bot]
  • common/herrors: Remove unused struct 48ea24f8 @​bep
  • build(deps): bump github.com/evanw/esbuild from 0.14.38 to 0.14.39 9f563856 @​dependabot[bot]
  • errors: Misc improvements 5c96bda7 @​bep #9892 #9891 #9893

... (truncated)

Commits
  • d524067 releaser: Bump versions for release of 0.99.1
  • 31ce89f releaser: Add release notes for 0.99.1
  • ee55fde releaser: Fix version replacement
  • 2f9eac4 server: Fix multihost crash
  • 3a8189e Update stale.yml
  • 7bc3401 common/hugo: Fix version logic
  • 1de333e releaser: Bump versions for release of 0.99.0
  • 35cb6ee releaser: Add release notes for 0.99.0
  • 657d1a2 server: Refresh the error template
  • 87a22eb server: Fix SIGINT handling after loading bad configuration
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@coadler coadler self-assigned this May 25, 2022
@coadler
Copy link
Contributor

coadler commented May 25, 2022

@dependabot recreate

Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo) from 0.98.0 to 0.99.1.
- [Release notes](https://github.com/gohugoio/hugo/releases)
- [Changelog](https://github.com/gohugoio/hugo/blob/master/goreleaser.yml)
- [Commits](gohugoio/hugo@v0.98.0...v0.99.1)

---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/gohugoio/hugo-0.99.1 branch from dcca517 to 7b11d3c Compare May 25, 2022 16:29
@coadler coadler merged commit 22ef456 into main May 25, 2022
@coadler coadler deleted the dependabot/go_modules/github.com/gohugoio/hugo-0.99.1 branch May 25, 2022 17:44
kylecarbs pushed a commit that referenced this pull request Jun 10, 2022
* chore: bump github.com/gohugoio/hugo from 0.98.0 to 0.99.1

Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo) from 0.98.0 to 0.99.1.
- [Release notes](https://github.com/gohugoio/hugo/releases)
- [Changelog](https://github.com/gohugoio/hugo/blob/master/goreleaser.yml)
- [Commits](gohugoio/hugo@v0.98.0...v0.99.1)

---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fixup! chore: bump github.com/gohugoio/hugo from 0.98.0 to 0.99.1

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Colin Adler <colin1adler@gmail.com>
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.

1 participant