feature: upgrade hugo to v0.141.0 and fix error handlin across multiple files#51469
feature: upgrade hugo to v0.141.0 and fix error handlin across multiple files#51469samzong wants to merge 2 commits intokubernetes:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Oops! we use hugo 0.133 in netlify.toml... And, are we want to upgrade? The current ver of hugo is 147. We are much worse off. |
|
/area web-development |
|
If we want to make this change, we must also edit |
|
(aside: would this be a feature and therefore not a refactor?) |
Yep, I have change the title, If we discussing about upgrade hugo version, it's should be a feature. |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
We should check that container image build and local previewing is OK, before we merge this. |
|
We could do this in 2 steps:
I am wary of upgrading all the way to the latest minor release, because I / we won't have time to check all the pages that have changed. |
Signed-off-by: samzong <samzong.lu@gmail.com>
5d48020 to
1f708ea
Compare
|
ok @lmktfy, As expected, I upgraded Hugo's version to v0.141.0, which includes new error handling methods. |
|
Has not been paying attention to this PR for a long time. |
Description
Hugo v0.141.0 breaking change - removed Resource.Err field, replaced with try keyword pattern.
Issue
Closes: #51468