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

Update https://github.com/gohugoio/hugo in repo_dependencies.yml from v0.49 to v0.50 #28

Closed

Conversation

dependencies[bot]
Copy link
Contributor

@dependencies dependencies bot commented Oct 29, 2018

Dependencies.io has updated https://github.com/gohugoio/hugo (a git dependency in repo_dependencies.yml) from "v0.49" to "v0.50".

v0.50

Hugo 0.50 brings greatly improved error messages, and we now also show them in the browser. Having error messages with filename, line- and column number greatly simplify troubleshooting. Many editors (like VS Code) even let you click and navigate directly to the problematic line. If your editor requires a different log format, you can set it via the HUGO_FILE_LOG_FORMAT OS environment variable:

env HUGO_FILE_LOG_FORMAT="\":file::line::col\"" hugo server

But this release isn't all about error handling. Getting line- and column number into "every" error also meant that we had to consolidate and simplify some code paths, which, as a nice side effect, made Hugo a little bit faster. Benchmarks show it running about 5% faster and consume about 8% less memory.

Also, we have now implemented "render on demand" in Hugo's Fast Render Mode (default when running hugo server). This means that you should now always see updated content when navigating around the site after a change.

This release represents 88 contributions by 14 contributors to the main Hugo code base.
bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to moorereason, anthonyfok, and GregorioMartinez for their ongoing contributions.

And a big thanks to digitalcraftsman and onedrawingperday for their relentless work on keeping the themes site in pristine condition and to kaushalmodi for his great work on the documentation site.

Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 14 contributions by 9 contributors. A special thanks to bep, NotWoods, Nick-Rivera, and tomanistor for their work on the documentation site.

Hugo now has:

Notes

  • You should not get stale content in Fast Render Mode anymore.
  • Errors will now show up in the browser by default, turn it off by running hugo server --disableBrowserError
  • jsonify will now produce pretty/indented output

Enhancements

Templates

Core

Other

Fixes

Templates

Core

Other

@matrixik matrixik closed this Mar 11, 2024
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.

2 participants