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

Deprecation errors with hugo 0.135 #76

Open
Boldie opened this issue Oct 6, 2024 · 2 comments
Open

Deprecation errors with hugo 0.135 #76

Boldie opened this issue Oct 6, 2024 · 2 comments

Comments

@Boldie
Copy link

Boldie commented Oct 6, 2024

$ docker run -v ${PWD}:/src hugomods/hugo:exts-0.135.0 hugo server
WARN  deprecated: site config key paginate was deprecated in Hugo v0.128.0 and will be removed in a future release. Use pagination.pagerSize instead.
ERROR deprecated: config: languages.en.footer_menu_left: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.en.footer_content: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.en.footer_menu_middle: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.en.footer_menu_right: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.de.footer_content: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.de.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.de.footer_menu_left: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.de.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.de.footer_menu_middle: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.de.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.de.footer_menu_right: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.de.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Watching for changes in /src/{archetypes,assets,content,data,i18n,layouts,static,themes}
Watching for config changes in /src/config/_default, /src/themes/bigspring-light/config.toml
Start building sites … 
hugo v0.135.0-f30603c47f5205e30ef83c70419f57d7eb7175ab+extended linux/amd64 BuildDate=2024-09-27T13:17:08Z VendorInfo=hugomods

WARN  deprecated: .Site.Social was deprecated in Hugo v0.124.0 and will be removed in a future release. Use .Site.Params instead.
WARN  deprecated: .Site.Authors was deprecated in Hugo v0.124.0 and will be removed in a future release. Use taxonomies instead.
ERROR deprecated: .Site.DisqusShortname was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.136.0. Use .Site.Config.Services.Disqus.Shortname instead.
Built in 181 ms
Error: error building site: logged 1 error(s)

There are some deprecations with hugo 0.135 and hugo breaks with errors while building.

@gontcharovd
Copy link

Yes, I'm facing the same issue.

More info here: gohugoio/hugo#12949

@djagoo
Copy link

djagoo commented Nov 4, 2024

Even with the non-light version I now get errors but I don't find .Site.Social or .Site.Authors anywhere.

Start building sites …
hugo v0.136.5+extended linux/amd64 BuildDate=unknown

ERROR deprecated: .Site.Social was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.137.0. Implement taxonomy 'social' or use .Site.Params.Social instead.
ERROR deprecated: .Site.Authors was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.137.0. Implement taxonomy 'authors' or use .Site.Params.Author instead.
Built in 1286 ms
Error: error building site: logged 2 error(s)

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

No branches or pull requests

3 participants