Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: hugo-bash-completion | Distribution: openSUSE:Factory:zSystems |
Version: 0.131.0 | Vendor: openSUSE |
Release: 1.2 | Build date: Fri Aug 2 16:34:51 2024 |
Group: System/Shells | Build host: reproducible |
Size: 11657 | Source RPM: hugo-0.131.0-1.2.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/gohugoio/hugo | |
Summary: Bash Completion for hugo |
The official bash completion script for hugo, generated during the build.
Apache-2.0
* Fri Aug 02 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.131.0: * releaser: Bump versions for release of 0.131.0 * Fix images.AutoOrient regression * revamp pagegroup tests with quicktest * allow nested params when using Pages.GroupByParam and Pages.GroupByParamDate * build(deps): bump github.com/bep/godartsass/v2 from 2.0.0 to 2.1.0 * build(deps): bump google.golang.org/api from 0.152.0 to 0.189.0 * build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 * build(deps): bump gocloud.dev from 0.36.0 to 0.38.0 * build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.3 * build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.12 to 2.2.13 * deps: Upgrade github.com/hairyhenderson/go-codeowners v0.4.0 => v0.5.0 * build(deps): bump github.com/fatih/color from 1.16.0 to 1.17.0 * build(deps): bump github.com/evanw/esbuild from 0.21.4 to 0.23.0 * build(deps): bump github.com/tdewolff/minify/v2 from 2.20.36 to 2.20.37 * Revert "deps: Set toolchain go1.21.0 in go.mod" * Run go mod tidy * resources/page: Expand parmalinks tokens in `url` * Bump to go 1.21 in go.mod * tpl: Sync Go template packages with the Go 1.22.5 source * Upgrade to Go 1.22.5 * deps: Set toolchain go1.21.0 in go.mod * deps: Upgrade golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d => v0.23.0 * Shorten processed image filenames * Consolidate all hashing to the common/hashing package * Replace the MD5 hashing of images with xxHash * resources: Add BenchmarkHashImage * deps: Replace github.com/mitchellh/hashstructure/v2 with github.com/gohugoio/hashstructure * identity: Use xxHash in hashstructure (note) * identity: Upgrade to github.com/mitchellh/hashstructure/v2 v2.0.2 * identity: Add BenchmarkHashString * deps: Upgrade github.com/bep/imagemeta v0.7.4 => v0.7.5 * deps: Upgrade github.com/aws/aws-sdk-go-v2 v1.26.1 => v1.30.3 * deps: Upgrade to github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 * releaser: Prepare repository for 0.131.0-DEV - Packaging improvements: * Update to BuildRequires: golang(API) >= 1.21 matching go.mod * Mon Jul 29 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.130.0: * releaser: Bump versions for release of 0.130.0 * math: Add trigonometric functions and some angle helper functions * deps: Upgrade github.com/bep/imagemeta v0.7.3 => v0.7.4 * deps: Upgrade github.com/bep/imagemeta v0.7.1 => v0.7.3 * readme: Pull the star history down a little * deps: Upgraded github.com/bep/imagemeta v0.7.0 => v0.7.1 * Switch EXIF library * readme: Add Star History * releaser: Prepare repository for 0.130.0-DEV * Wed Jul 17 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.129.0: * tpl: Use xxHash instead of MD5 to hash the deferred templates * Throw error if resources.PostProcess is used in a deferred template * deps: Upgrade github.com/bep/gitmap v1.4.0 => v1.6.0 (note) * deps: Go mod tidy * deps: Upgraded github.com/tdewolff/minify/v2 v2.20.20 => v2.20.36 * deps: Upgrade to golang.org/x/image v0.18.0 * commands: Fix --navigateToChanged server behavior when editing headless content * commands: Simplify the browser live reload logic * Use xxHash for the change detector * source: Expose GitInfo Body * commands: Fix hugo mod get -u ./... * Add hash.XxHash * Thu Jul 04 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.128.2: * Fix site.GetPage, never do short lookups for paths with leadig slash * Thu Jul 04 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.128.1: * create/skeletons: Fix languageCode region subtag * Fix it so publishDate rolls up to section, taxonomy, or term pages * Update README.md * Tue Jun 25 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.128.0: * deps: Upgrade github.com/yuin/goldmark v1.7.2 => v1.7.4 * Add css.TailwindCSS * Clean up the css related template funcs package structure * Delete unused release hook script * modules: Remove newly introduced "mount source" does not exist warning * deps: Upgrade github.com/yuin/goldmark-emoji v1.0.2 => v1.0.3 * tpl/debug: Fix reset of debug timers when running the server * Implement defer * Fix Erroridf/Warnidf mixed case issue * Update README.md * common/hexec: Fall back to the binary in PATH if npx fails * deploy: Add stripIndexHtml target option * Speed up GetTerms * markup/goldmark: Add the Hugo Goldmark Extras "delete" extension * Fix live reload when both CSS and HTML changes * resources: Update Dart Sass error message * config: Fix typo * resources/page: Deprecate PageSize in favor of PagerSize * Rename DefaultPageSize => PagerSize * deps: Upgrade github.com/alecthomas/chroma v2.13.0 => v2.14.0 * resources/page: Let GroupByParam return nil instead of error * Add option to not generate aliases for first page of pagination pages * js: Support more recent targets with js.Build / esbuild * deps: Upgrade github.com/evanw/esbuild v0.20.2 => v0.21.4 * Wed Jun 05 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.127.0: * Misc remote HTTP/content adapter enhancements * resources: Fix spelling * deps: Upgrade github.com/gohugoio/httpcache v0.6.0 => v0.7.0 * Add a HTTP cache for remote resources. * Sun Jun 02 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.126.3: * content adapter: Fix site.GetPage using the base part of the path * resources/page: Deprecate .Sites.First in favor of .Sites.Default * metrics: Increase maximum length of cumulative duration to 15 * content adapter: Handle <!--more--> separator in content.value * Thu May 30 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.126.2: * content adapter: Fix server crash on partial edit * Delete .github/workflows/test-dart-sass-v1.yml * commands: Add shorthand flags -M (--renderToMemory) and -N (--navigateToChanged) * content adapter: Add support for menus in AddPage * content adapter: Fix issue with content starting out with a shortcode * hugolib: Allow override of sitemap file name * commands: Improve list command * config: Remove extraneous BuildConfig setting * tpl/tplimpl: Resolve render hook destinations with leading ./ * Also warn about duplicate content paths with --printPathWarnings * Wed May 15 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.126.1: * Fix mixed case Page params handling in content adapters * Fix paths with dots issue with content adapters * Tue May 14 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.126.0: * tpl/tplimpl: Plainify title and description in twitter_cards.html * tpl/tplimpl: Plainify title and description in schema.html * resources/images: Handle NaN EXIF latitude and longitude * Create pages from _content.gotmpl * create/skeletons: Remove superfluous language code fallback * tpl/tplimpl: Improve locale value in opengraph.html * build(deps): bump golang.org/x/net from 0.24.0 to 0.25.0 * build(deps): bump golang.org/x/image from 0.15.0 to 0.16.0 * livereload: Improve the livereload script build and update to v4.0.2 * tpl/tplimpl: Retain query string and fragment in render-image.html * markup/goldmark: Support extras extension * Wed May 08 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.125.7: * deps: Downgrade github.com/getkin/kin-openapi v0.124.0 => v0.123.0 * readme: Update Sponsors * Wed May 08 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.125.6: * Fix one more resource change eviction logic issue * Make the cache eviction logic for stale entities more robust * build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 * Run mage generate * resources/page: Pull internal Page methods into its own interface * Wed May 01 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.125.5: * Fix rebuilds on cascade deletes/renames * commands: Print "Webserver is ..." right before "Total ..." * Make sure replaced pages gets marked as stale * Thu Apr 25 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.125.4: * commands: Clarify that create or install a theme are two options * config: Setups with only one active language can never be multihost * Fix rebuilds when running hugo -w * build(deps): bump github.com/tdewolff/minify/v2 from 2.20.19 to 2.20.20 * tpl/tplimpl: Fix double-escaping in opengraph template * Use Apache License without modification * Mon Apr 22 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.125.3: Refs boo#1223309 * markup/goldmark: Fix data race in the hugocontext wrapper * Delete .hugo_build.lock * tpl: Escape .Title in built-in image and link render hooks * tpl/tplimpl: Improve embedded templates * SECURITY.md: Update link to security model * modules: Fix potential infinite loop in module collection * Sat Apr 20 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.125.2: * Only add root sections to the section pages menu * Fix partial rebuilds for SCSS fetched with GetMatch and similar Fixes #12395 * commands: Add gen chromastyles --lineNumbersTableStyle flag * resources/images: Fix TestColorLuminance on s390x * commands: Provide examples for chromastyles flags * Thu Apr 18 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.125.1: * tpl: Use erroridf for remote YouTube errors * build: Fix `GLIBC_2.29' not found issue * Tue Apr 16 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.125.0: * docs: Regen docshelper * Fix server rebuilds when adding a content file on Linux * build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 * Add Luminance to Color * hugolib: Add an asciidoc rebuild test case * Pass .RenderShortcodes' Page to render hooks as .PageInner * build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 * helpers: Fix TrimShortHTML when used with AsciiDoc content * github: Add a "free space" step on Ubuntu * helpers: Add BenchmarkTrimShortHTML * github: Update actions * github: Format GitHub actions files * hugolib: Display server address after each rebuild * resources/page: Add taxonomies Page method * commands: Adjust completions * completion: Improve existing argument completions, add many more * Upgrade to Go 1.22.2 * build(deps): bump golang.org/x/tools from 0.19.0 to 0.20.0 * github: Fix CI build * all: Fix duplicate words in comments * build(deps): bump golang.org/x/net from 0.23.0 to 0.24.0 * build(deps): bump github.com/getkin/kin-openapi from 0.123.0 to 0.124.0 * all: Typo fixes * babel: Run go fmt * babel: Close file before removing * bump golang.org/x/mod from 0.16.0 to 0.17.0 * hugolib: Fix regression for blank summaries * Fix sectionPagesMenu for pages in root level * resources/page: Escape hash sign in permalinks * build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 * build(deps): bump github.com/yuin/goldmark from 1.7.0 to 1.7.1 * tpl/strings: Improve type checking * build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront * build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 * tpl/tplimpl: Improve youtube shortcode * errors: Return error from cast.ToStringE() consistently * tpl/tplimpl: Improve embedded opengraph template * tpl/strings: Create strings.Diff template function * Fix resource bundling for overlapping page.md vs page.txt * tpl/tplimpl: Optionally exclude content from sitemap * tpl/tplimpl: Remove trailing slash from void elements * tpl/tplimpl: Update RSS template * tpl/tplimpl: Update schema template * resources: Use different cache key when copying resources * Fix panic with debug.Dump with Page when running the server * tpl/tplimpl: Update Google Analytics template and config * hugolib: Conditionally suppress .Site.Author deprecation notice * resources/page: Fix GoDoc comment * markup/asciidocext: Add Level to Heading struct * Fri Apr 05 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Packaging improvements: * Add basic %check to execute binary --help * Fri Apr 05 2024 Andrea Manzini <andrea.manzini@suse.com> - added zsh completion package - added %check section in spec file following rpmlint warning * Wed Mar 20 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.124.1: * Fix potential deadlock in Translations * Fix rebuild when changing mixed case named templates * testing: Set usesFMA as true for riscv64 too * Fix regression for outputs defined in front matter for term pages * Sat Mar 16 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.124.0: * Add segments config + --renderSegments flag * Fix .Parent when there are overlapping regular pages inbetween * hugolib: Remove Site.HomeAbsURL * deps: Upgrade github.com/gohugoio/hugo-goldmark-extensions/passthrough v0.1.0 => v0.2.0 * hugolib: Fix sitemap index with monolingual site * hugolib: Deprecate site methods Author, Authors, and Social * all: Typo fixes * Fix translationKey handling for term pages * Fix intersect and similar for term entry page collections * Upgrade to Go 1.22.1 * build(deps): bump github.com/evanw/esbuild from 0.20.1 to 0.20.2 * Fix server rebuilds when adding sub sections especially on Windows * tpl/tplimpl: Remove deprecated method from sitemapindex.xml * build(deps): bump golang.org/x/tools from 0.18.0 to 0.19.0 * build(deps): bump github.com/tdewolff/minify/v2 from 2.20.17 to 2.20.19 * deps: Upgrade github.com/alecthomas/chroma/v2 to v2.13.0 * tpl/tplimpl: Modify figure shortcode to look for page resource * Fix panic when changing archetype files when servere is running * build(deps): bump golang.org/x/mod from 0.15.0 to 0.16.0 * Fix front matter date location when value gets inherited from other dates * Fix Name for nested resourced fetched in resources.ByName and similar * common/hugo: Rename IsMultiHost and IsMultiLingual * hugolib: Deprecate .Site.MultiLingual in favor of hugo.IsMultiLingual * snap: Transition to from core20 to core22 * Fri Mar 08 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.123.8: * markup/goldmark: TOC: render strikethrough, emojis * Add hugo.IsMultiHost * docs: Fix hyphens and grammar in synopsis of command 'hugo server' * resources/images: Retain newlines with text overlays * Don't auto-create empty sections for nested taxonomies * Fix resource name in resources.ByType * Fix global resource isn't published when using an uncommon code construct * Fix section page resource not published if resource filename partially matches content file name * Fix taxonomy kind template lookup issue * tpl/tplimpl: Honor markdown attributes in embedded image render hook * Wed Mar 06 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.123.7: * hugofs: Fix vertical mount merge issue * Fix and add integration test for the Bootstrap SCSS module for both Dart Sass and Libsass * Fix resources.GetMatch, resources.Match, and resources.ByType to they don't normalize permalinks * Make sure that sitemaps gets generated even if there is a content bundle with the same path * resources/page: Make Taxonomy.Get and Taxonomy.Count case-insensitive * Wed Feb 28 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.123.6: * Fix panic when cascading headless from site config to section that does not have an _index.md file * Fix assets vs data issue * Fix draft for non-default content when content in default language does not exist * Wed Feb 28 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.123.5: * Fix .Page.Pages with similary named sections * Fix single mount rename panic * Fix multihost processed image not copied to non-default content languages * build(deps): bump github.com/bep/overlayfs from 0.9.1 to 0.9.2 * Tue Feb 27 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.123.4: * Fix cascade-pattern-with-extension for cascade in site config * build(deps): bump github.com/spf13/fsync from 0.10.0 to 0.10.1 * Fix term template lookup when its backed by a content file * resource: Revert the normalization of Resource.Name * Fix panic for disableKinds page for content resources * tocss: Fix the import resolving from absolute to relative assets paths * Maek Resoyrce.Key as (mostly) internal * config/allconfig: Fix typo * Fri Feb 23 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.123.3: * cache/dynacache: Reset ticker in case one cache eviction takes some time * Revert "cache/dynacache: Prevent multiple concurrent resizes" * cache/dynacache: Prevent multiple concurrent resizes * Speed up GetPage * hugolib: Fix a .Page.GetPage from bundle case * resources: Skip the image golden tests when running locally * js: Support JSX and JSXImportSourceOptions * hugolib: Add capitalizeListTitles config option * Thu Feb 22 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.123.2: * Fix it so not all bundled resources are removed when one translation is drafted * commands/mod: Ignore invalid module path * Fix regression on handling of overlapping file mounts * Sitemap should not use list.xml * Fix rebuild when adding a bundle with space in name * Fix relative import issue in libsass/dart sass * Fix relref regression with trailing slash * Thu Feb 22 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.123.1: * tpl/tplimpl: Resolve fragments in link render hook * Fix rebuilding of pages without default content language * Fix dart sass import regression * Fall back to original name in Resources.GetMatch/Match * Fix robots.txt using the built-in template regression * Mon Feb 19 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.123.0: * build(deps): bump github.com/tdewolff/minify/v2 from 2.20.16 to 2.20.17 * build(deps): bump github.com/evanw/esbuild from 0.20.0 to 0.20.1 * Handle rebuilds when resources passed to transform.Unmarshal etc. changes * Fix handling of build options for term pages * Fix sample logic when adding content files in server * build(deps): bump golang.org/x/tools from 0.17.0 to 0.18.0 * Fix handling of draft term pages * releaser: Fix archive homepage and description * commands: Fix --clock with the list command * Don't use the same value in .Data.Term.Title as in .Title * Fix server panic on i18n file change * build(deps): bump golang.org/x/net from 0.20.0 to 0.21.0 * Fix rebuild regression on non-default content language edits * Let standard library handle charset parameter to MIME types * Fix i18n rebuild regression * Fix rebuild with resources.Concat * Add images.Dither filter * markup/goldmark: Update TOC test * Fix taxonomy term with backing file regression * markup/goldmark: Improve TOC tests * Move the duplicate page/resource filter * Make HTML behave exactly like other content formats (note) * docs: Regen CLI docs * docs: Regenerate docshelper * build(deps): bump golang.org/x/mod from 0.14.0 to 0.15.0 * Upgrade to Go 1.22 * Avoid impporting deploy from config when nodeploy tag is set * Fix rebuild of changed bundled content files * Fix site.Taxonomies for taxonomies with space in name * commands: Remove unused memstats flag * source: Remove unused Filesystem struct * Filter dot files etc. in i18n * commands: Revert the recent changes that allowed profiling on server rebuilds * commands: Make the server flag --renderToDisk into --renderToMemory (note) * build(deps): bump github.com/yuin/goldmark from 1.6.0 to 1.7.0 * Handle resource changes when the resources is already evicted from cache * all: Rename Unmormalized => Unnormalized * hugolib: Formally deprecate .Page.NextPage .Page.PrevPage * hugio: Rename strigReadSeeker => stringReadSeeker * resources/page: Formally deprecate .Site.LastChange * Preserve file/dir name case when loading data * Detect now invalid path patterns in cascade * Handle build vs _build in front matter * resources: Optimize reading resource Content when it's already a string * Misc resource fixes/improvements * tpl/tplimpl: Update embedded instagram, twitter, and vimeo shortcodes * Add some more context to error * build(deps): bump github.com/getkin/kin-openapi from 0.122.0 to 0.123.0 * build(deps): bump github.com/tdewolff/minify/v2 from 2.20.13 to 2.20.16 * Improve nilpointer error message * Fix disabled languages regression * tpl/data: Fix GetCSV deprecation message * hugolib: Adjust a test case * hugolib: Revert deprecation of .Page.Lang * all: Deprecate .Page.Lang and .Page.File.Lang * Fix failing test on Windows * config/security: Add SYSTEMDRIVE to OsEnv allowlist * hugolib: Add some more details to the "paginator not supported" error * Run go mod tidy * build(deps): bump github.com/evanw/esbuild from 0.19.12 to 0.20.0 * deploy: Fix CloudFront invalidation with AWS SDK2 * deps: Update gocloud.dev/aws * Upgrade to deploy to use AWS SDK V2 * Improve error message when attempting to paginate from a single page template * build(deps): bump github.com/aws/aws-sdk-go from 1.48.6 to 1.50.7 * build(deps): bump golang.org/x/image from 0.14.0 to 0.15.0 * Fix build error * docs: Make null booleans falsy in the docs helper * Filter out duplicate content resource files * docs: Regen docs helper * output: Prevent setting Name directly in new output formats * Create default link and image render hooks * Fix recent regression .Resources.Get for resources with spaces in filename * Emit a warning that can be turned off when overwriting built-in .Params values * Add warnidf template function * Add path, kind and lang to content front matter * hugofs/glob: Fix dropped test error * all: Run gofumpt -l -w . * testing: Simplify some integration tests * Add the [params] concept to front matter * tpl/data: Deprecate data.GetJSON and data.GetCSV * modules: Print required Hugo version for incompatible modules * hugolib: Remove unused test image * navigation: Improve menu cache * testing: Rename integration_test.go to PACKAGE_integration_test.go * Port some integration tests to new test setup * all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning * Wed Feb 07 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.122.0: * build(deps): bump golang.org/x/tools from 0.16.0 to 0.17.0 * build(deps): bump github.com/rogpeppe/go-internal from 1.11.0 to 1.12.0 * docs: Regen docshelper * Squashed 'docs/' changes from 4dd2d6415..3b1a8579d * markup/goldmark: Support passthrough extension * build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.1.1 * build(deps): bump github.com/evanw/esbuild from 0.19.8 to 0.19.12 * tpl/tplimpl: Fix incorrect lastBuildDate * tpl: fix incorrect lastBuildDate * parser/metadecoders: Accumulate org keywords into arrays * deps: Update github.com/tdewolff/minify/v2 v2.20.9 => v2.20.13 * Upgrade to Go 1.21.6 * parser/metadecoders: Add CSV lazyQuotes option to transform.Unmarshal * README: Update minimum Go version to 1.20 * Fri Jan 05 2024 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.121.2: * build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 * tpl/math: Add math.Rand template function * Adjust site benchmark * Simplify baseline benchmark * resources/images: Create AutoOrient image filter * all: Remove unused code * Sun Dec 10 2023 rrahl0@proton.me - Update to version 0.121.1: * recompile with go 1.21.5 for security fixes relevant to hugo * Wed Dec 06 2023 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.121.0: * docs: Regen docshelper * build(deps): bump github.com/alecthomas/chroma/v2 from 2.11.1 to 2.12.0 * docs: Adjust last merge from docs repository * docs: Regen docs helper * Pull in the latest code from Go's template packages (#11771) * tpl: Allow using page resources on the images page parameter for `opengraph`, `schema` and `twitter_cards` templates * hugolib: Apply titleCaseStyle to automatic section pages * tpl/urls: Retain query and fragment with absURL and absLangURL * markup: Add Level to Heading struct * tpl/fmt: Print suppression help with erroridf * tpl/transform: Display Chroma highlighting errors * build(deps): bump github.com/tdewolff/minify/v2 from 2.20.8 to 2.20.9 * build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0 * build(deps): bump github.com/getkin/kin-openapi from 0.121.0 to 0.122.0 * github: Fix CI build on Windows * build(deps): bump golang.org/x/image from 0.13.0 to 0.14.0 * deps: Update github.com/tdewolff/minify/v2 v2.20.7 => v2.20.8 * build(deps): bump github.com/spf13/afero from 1.10.0 to 1.11.0 * build(deps): bump github.com/evanw/esbuild from 0.19.7 to 0.19.8 * Fix handling of dropped error in test * build(deps): bump google.golang.org/api from 0.151.0 to 0.152.0 * common/para: Skip flaky test on CI * deps: Upgrade to libwebp 1.3.2 * build(deps): bump github.com/aws/aws-sdk-go from 1.48.4 to 1.48.6 * build(deps): bump golang.org/x/tools from 0.15.0 to 0.16.0 * build(deps): bump github.com/getkin/kin-openapi from 0.120.0 to 0.121.0 * build(deps): bump github.com/bep/logg from 0.3.0 to 0.4.0 * deps: Upgrade to github.com/bep/simplecobra v0.4.0 * build(deps): bump github.com/aws/aws-sdk-go from 1.48.2 to 1.48.4 * watcher: Skip flaky test for now * build(deps): bump golang.org/x/tools from 0.14.0 to 0.15.0 * tpl/transform: Add transform.XMLEscape template function * build(deps): bump github.com/gorilla/websocket from 1.5.0 to 1.5.1 * build(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 * tpl/tplimpl: Remove superfluous type attr on script elements * build(deps): bump golang.org/x/net from 0.17.0 to 0.18.0 * build(deps): bump github.com/evanw/esbuild from 0.19.5 to 0.19.7 * build(deps): bump github.com/alecthomas/chroma/v2 from 2.10.0 to 2.11.1 * build(deps): bump github.com/tdewolff/minify/v2 from 2.20.5 to 2.20.7 * build(deps): bump google.golang.org/api from 0.138.0 to 0.151.0 * build(deps): bump github.com/aws/aws-sdk-go from 1.45.14 to 1.48.2 (#11724) * resources/resource: Fix GroupByParamDate with raw TOML dates * common/para: Skip flaky tests on Windows * navigation: Unexport menu entry methods * markup/goldmark: Sync image render hook code with Goldmark * helpers: Fix TrimShortHTML used by markdownify and RenderString * Thu Nov 16 2023 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.120.4: * Upgrade to go 1.21.4 * Add a new test helper * Thu Nov 02 2023 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.120.3: * tpl/tplimpl: Fix deprecation logic in embedded templates * Remove some old and unused deprecation code * Add a field prefix to the deprecated log statements * Avoid double printing INFO deprecation messages * build(deps): bump github.com/tdewolff/parse/v2 from 2.7.1 to 2.7.3 * build(deps): bump github.com/tdewolff/minify/v2 from 2.20.1 to 2.20.5 * Tue Oct 31 2023 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.120.2: * Fix deprecation printing on info level * tpl/tplimpl: Fix deprecation logic in RSS template * Mon Oct 30 2023 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.120.1: * deps: Update github.com/tdewolff/minify/v2 v2.20.0 => v2.20.1 * Mon Oct 30 2023 Jeff Kowalczyk <jkowalczyk@suse.com> - Update to version 0.120.0: * Add Solaris build * build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 * build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 * build(deps): bump github.com/alecthomas/chroma/v2 from 2.9.1 to 2.10.0 * Make site.BaseURL and $pager.URL a string * create/skeletons: Fix menu template * commands/new: Remove format flag from new content cmd * hugolib: Display correct markup identifier in error message * livereloadinject: Save some allocations * livereloadinject: Use more robust injection method * tpl/urls: Return strings from URL functions * transform/livereloadinject: Add benchmark * build(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0 * build(deps): bump github.com/tdewolff/minify/v2 from 2.12.9 to 2.20.0 * build(deps): bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 * build(deps): bump golang.org/x/image from 0.12.0 to 0.13.0 * Revert "modules: Throttle the "downloading modules …" log entries" * Revert "modules: Adjust the log throttle logic a little" * resources/images: Create padding image filter * markup/goldmark: Update the CJK extension to allow specifying line break styles * modules: Adjust the log throttle logic a little * modules: Throttle the "downloading modules …" log entries * tpl/collections: Make delimit return a string * build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 * build(deps): bump github.com/evanw/esbuild from 0.19.3 to 0.19.5 * build(deps): bump github.com/spf13/afero from 1.9.5 to 1.10.0 * build(deps): bump github.com/bep/logg from 0.2.0 to 0.3.0 * Revise the deprecation logging * Remove rest of the now unused emoji code * markdown: Pass emoji codes to yuin/goldmark-emoji * Fix so hugo get -u updates transitively * watcher/filenotify: Remove redundant duplicated comments * docs: Remove outdated note from CONTRIBUTING.md * tpl/debug: Add average and median to timer output * tpl/debug: Add debug.Timer * Add some convenient integration test helpers * hugolib: Deprecate .Site.DisqusShortname * tpl/tplimpl: Fix dropped error * hugolib: Deprecate .Site.GoogleAnalytics * tpl/tplimpl: Deprecate .Site.Author usage in RSS template * tpl/tplimpl: Deprecate .Site.Social usage with internal templates * markup/tableofcontents: Return template.HTML from .Fragments.ToHTML * deps: Update github.com/tdewolff/minify/v2 v2.12.7 => v2.12.9 * commands: Update message displayed when running CLI from GUI * common/hugo: Add hugo.IsServer and hugo.IsDevelopment * all: Format files with gofmt * magefile: Update isGoLatest to check for Go 1.21 * resources/integrity: Return string instead of template.HTMLAttr * Update README.md * tpl/lang: Formally deprecate lang.NumFmt * tpl/collections: Fix and deprecate echoParams * Thu Sep 28 2023 Jeff Kowalczyk <jkowalczyk@suse.com> - Packaging improvements: * Build PIE with pattern that may become recommended procedure: %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build A go toolchain buildmode default config would be preferable but none exist at this time. * Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable * Mon Sep 25 2023 jkowalczyk@suse.com - Update to version 0.119.0: * docs: Even more about images.Process * docs: More about images.Process * common: Remove unused constants * docs: Regen docshelper * Add images.Process filter * Add $image.Process * google_analytics_async.html: Add deprecation warning * build(deps): bump golang.org/x/tools from 0.12.0 to 0.13.0 * build(deps): bump github.com/alecthomas/chroma/v2 from 2.8.0 to 2.9.1 * build(deps): bump github.com/evanw/esbuild from 0.19.2 to 0.19.3 * Add images.Opacity filter * build(deps): bump github.com/aws/aws-sdk-go from 1.44.314 to 1.45.14 * build(deps): bump github.com/getkin/kin-openapi from 0.118.0 to 0.120.0 * build(deps): bump golang.org/x/image from 0.11.0 to 0.12.0 * Upgrade to Go 1.21.1 * commands: Update CLI docs with the important -u flag in hugo mod get * create/skeletons: Improve viewport meta tag * Fix tests for Go 1.21.1 * commands/gen: Remove default highlight style * Fix recently broken benchmark * Adjust baseline benchmarks * commands: Print language code after web server address info * Thu Sep 07 2023 jkowalczyk@suse.com - Update to version 0.118.2: * release: Revert to building with Go 1.20 * Thu Sep 07 2023 jkowalczyk@suse.com - Update to version 0.118.1: * Revert to bullseye as the release build image * Thu Sep 07 2023 jkowalczyk@suse.com - Update to version 0.118.0: * docs: Regen docs helper * Don't use the OS environment when creating config for docs * Delay the creation of cache directories until they're used * deploy: Create AWS session for CloudFront invalidation via Go CDK * markup/goldmark: Add CJK extension * build(deps): bump google.golang.org/api from 0.134.0 to 0.138.0 * Fix RegularPagesRecursive for the home page * build(deps): bump golang.org/x/tools from 0.11.1 to 0.12.0 * build(deps): bump gocloud.dev from 0.33.0 to 0.34.0 * build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.9 to 2.1.0 * testscripts: Move hugo new tests to where they belong * Fix .RawContent for empty content pages (#11407) * hugolib: Handle dropped error * common/loggers: Fix typo in option name * misc: Change dart-sass labels in workflows and snapcraft * Make sure resources directory isn't created in hugo new theme * Go 1.21 Upgrade * testscripts: Make mod vendor test stable * dockerfile: Update Docker images * Fix it so disable a module does not disable transitive dependency required by others * create/skeletons: Move theme's site config to top level * build(deps): bump github.com/yuin/goldmark from 1.5.5 to 1.5.6 * modules: Make new cache directories read/write * deploy: Update InvalidateCloudFront to use Go CDK helper * Avoid escaping HTML chars inside hugo_stats.json * commands/new: Embed site and theme skeletons * docshelper: Improve template lookup order descriptions * build(deps): bump github.com/evanw/esbuild from 0.18.17 to 0.19.2 * cache: Hide IsResourceDir from the exported config * commands: Handle floats without decimals in hugo config * docs: Replace docs.json with docs.yaml * config: Add a type value for the tags related config entry * Wed Aug 09 2023 jkowalczyk@suse.com - Update to version 0.117.0: * build(deps): bump golang.org/x/net from 0.13.0 to 0.14.0 * Add all config to docshelper.json * build(deps): bump golang.org/x/image from 0.10.0 to 0.11.0 * Try to make test more stable * deps: Sync go-i18n with upstream * Return original error on resources.GetRemote retry timeouts * testing: Write test caches to /tmp * Add retry in resources.GetRemote for temporary HTTP errors * build(deps): bump gocloud.dev from 0.24.0 to 0.33.0 * build(deps): bump golang.org/x/net from 0.11.0 to 0.13.0 * build(deps): bump github.com/marekm4/color-extractor from 1.2.0 to 1.2.1 * build(deps): bump github.com/frankban/quicktest from 1.14.5 to 1.14.6 * build(deps): bump golang.org/x/image from 0.9.0 to 0.10.0 * build(deps): bump github.com/clbanning/mxj/v2 from 2.5.7 to 2.7.0 * build(deps): bump golang.org/x/tools from 0.9.3 to 0.11.1 * build(deps): bump go.uber.org/automaxprocs from 1.5.2 to 1.5.3 * build(deps): bump github.com/hairyhenderson/go-codeowners * Add Page.RenderShortcodes * Update GitHub issue template * build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9 * Tue Aug 01 2023 jkowalczyk@suse.com - Update to version 0.116.1: * Fix module config watch regression * deps: Fix Chroma dependency version * Mon Jul 31 2023 jkowalczyk@suse.com - Update to version 0.116.0: * build(deps): bump github.com/evanw/esbuild from 0.18.11 to 0.18.17 * config: Do not fail on unknown config keys * resources: Fix spelling in method name * docs: Regenerate CLI docs * Fix so temporary images do not get published * readme: Fix link * commands: Update cacheDir description * Update where.md * docs: Update where function operators * docs: Rework the cacheDir documentation * Deprecate taxonomyTerm * Warn about unknown kinds in disableKinds * Move all Kind constants to its own package * build(deps): bump github.com/rogpeppe/go-internal * build(deps): bump golang.org/x/image from 0.8.0 to 0.9.0 * Remove unused autogenerated method * commands: Replace deprecated ioutil with os * tpl/collections: Add BenchmarkWhereOps * tpl/collections: Add like operator to where function * tpl/collections: Fix description of apply function * snap: Set cache location to $HOME/.cache/hugo_cache * Use os.UserCacheDir as first fallback if cacheDir is not set * Add a common regexp cache * Fix multiple languages in HUGO_DISABLELANGUAGES * snap: Allow access to SSH keys and $HOME/.config/hugo * deps: Upgrade github.com/yuin/goldmark v1.5.4 => v1.5.5 * Thu Jul 20 2023 jkowalczyk@suse.com - Update to version 0.115.4: * Fix broken handling of legacy taxonomyTerm in disableKinds * commands: Move testscript into its correct place * publisher: Improve class collector for dynamic classes * Fix cache busting setup * commands: Delay server builds after the watcher is set up * Create hugo_stats.json if it's mounted but does not exists * Re-instate disableLiveReload as a config option (and not just a flag) * common/htime: Fix localization of abbreviated month names * Improve error messages for PostCSS etc. * Fix setting config from env with complex (e.g. YAML) strings * Fix for data mounts in sub folders * Thu Jul 20 2023 jkowalczyk@suse.com - Update to version 0.115.3: * Improve behavior of defaultContentLanguageInSubdir when only the default language is enabled * Return error when .Render is invoked without arg * js: Pass tsconfig.json to esBuild * tpl/collections: Fix WordCount (etc.) regression in Where, Sort, Delimit * config/allconfig: Update timeout description * docs: Refresh docs.json * Thu Jul 20 2023 jkowalczyk@suse.com - Update to version 0.115.2: * snap: Allow access to AWS, Azure, and GCS config/credentials * snap: Update metadata and security.exec.osEnv * Make imageConfig work with modules * Restore language.disabled config * Fix hugo mod vendor for modules with hugo.toml * Fix static content files multilingual root regression * Fix defaultContentLanguageInSubdir with only 1 language * config: Expand default security.exec.osEnv policy * Add titleCaseStyle none and firstupper * Bump github.com/bep/clock v0.3.0 to renamed github.com/bep/clocks v0.5.0 * Tue Jul 04 2023 jkowalczyk@suse.com - Update to version 0.115.1: * Fix buildStats when tags and classes are disabled * Rework the build.writeStats struct * snap: Explicitly set security.exec.osenv during build * snap: Restore security.exec.osenv whitelist * github: Build for Dragonfly in CI build * Make build.writeStats a struct * build(deps): bump github.com/evanw/esbuild from 0.18.10 to 0.18.11 * build(deps): bump github.com/alecthomas/chroma/v2 from 2.7.0 to 2.8.0 * commands: Fix index out of range in hugo mod get * Only print the path warnings once * Tue Jul 04 2023 jkowalczyk@suse.com - Update to version 0.115.0: * Misc permalinks adjustments * commands: Handle hugo mod get --help * commands: Fix panic when running hugo new theme without theme name * Print help message when triggered with no flags * Fix output formats and media type per language config regression * build(deps): bump github.com/evanw/esbuild from 0.18.5 to 0.18.10 * common/collections: Fix append regression to allow appending nil * commands: Fix help message for hugo new theme * Don't panic on invalid security whitelist regexp * Fix false path warnings with resources.PostProcess * docs: Update permalinks documentation * resources/page: Allow section and taxonomy pages to have a permalink configuration * tpl/tplimpl: Fix typo in global variable name * commands: Enable format flag with hugo new site * Fix broken nodeploy setup * build(deps): bump github.com/niklasfasching/go-org from 1.6.6 to 1.7.0 * Mon Jun 26 2023 jkowalczyk@suse.com - Update to version 0.114.1: * Revert "build(deps): bump gocloud.dev from 0.24.0 to 0.30.0" * Fix broken nodeploy setup * snap: Switch from Embedded Dart Sass to Dart Sass (#11146) * commands: Make hugo env respect --logLevel * commands: Update Jekyll post-import output * build(deps): bump gocloud.dev from 0.24.0 to 0.30.0 * build(deps): bump github.com/evanw/esbuild from 0.18.4 to 0.18.5 * deps: Update github.com/tdewolff/minify/v2 v2.12.5 => v2.12.7 * Mon Jun 19 2023 jkowalczyk@suse.com - Update to version 0.114.0: * Revert "build(deps): bump gocloud.dev from 0.24.0 to 0.29.0" * Add empty Environ when loading test config * common/loggers: Drop the bold INFO etc. prefixes * loggers: Avoid using Logf for the LevelLoggerToWriter * tocss/dartsas: Avoid using Logf for the internal Dart Sass logging * helpers: Remove superflous formatting flag in deprecation warnings * Revert "deps: Update github.com/tdewolff/minify/v2 v2.12.5 => v2.12.6" * all: Fix typos in function names and comments * deploy: Fix deploy defaults for non-zero flag values (e.g. maxDeletes, invalidateCDN) * common/loggers: Re-add trailing newline in logger.Printf * build(deps): bump github.com/evanw/esbuild from 0.18.3 to 0.18.4 * Replace the old log setup, with structured logging etc. * Revert "snap: Transition base snap from core20 to core22 (#11101)" (#11125) * build(deps): bump github.com/evanw/esbuild from 0.18.2 to 0.18.3 * Fix upstream Go templates bug with reversed key/value assignment * build(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 * common/collections: Always make a copy of the input slice in Append * tpl/collections: Fix append when appending a slice to a slice of slices * build(deps): bump google.golang.org/api from 0.123.0 to 0.127.0 * build(deps): bump golang.org/x/tools from 0.9.1 to 0.9.3 * Re-add site.RSSLink (and deprecate it) * build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.11 to 2.2.12 * build(deps): bump github.com/getkin/kin-openapi from 0.117.0 to 0.118.0 * build(deps): bump golang.org/x/net from 0.10.0 to 0.11.0 * Fix .Width and .Height for animated gifs * snap: Transition base snap from core20 to core22 (#11101) * build(deps): bump gocloud.dev from 0.24.0 to 0.29.0 * tpl/math: Allow variadic math functions to take slice args, add math.Product, math.Sum * Fix config merge regression with root slices (e.g. disableKinds) * build(deps): bump golang.org/x/image from 0.7.0 to 0.8.0 * commands: Remove flags log, verboseLog, add flag logLevel, deprecate flags verbose and debug * build(deps): bump github.com/magefile/mage from 1.14.0 to 1.15.0 * build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.6 to 2.0.8 * build(deps): bump github.com/evanw/esbuild from 0.17.19 to 0.18.2 * Fix handling of aliases (e.g. hugo serve) * cache: Set default cache path based on $USER * build(deps): bump go.uber.org/atomic from 1.10.0 to 1.11.0 * build(deps): bump github.com/hairyhenderson/go-codeowners * resources: Remove failing and superflous test assertion * build(deps): bump github.com/frankban/quicktest from 1.14.4 to 1.14.5 * build(deps): bump github.com/mattn/go-isatty from 0.0.17 to 0.0.19 * build(deps): bump github.com/spf13/afero from 1.9.3 to 1.9.5 * commands,config: Fix typo in log and error messages * helpers: Avoid url.Parse in RelURL and AbsURL if we can * Add BenchmarkAbsURL * helpers: Improve schema detection when creating relative URLs * helpers: Add a basic benchmark for RelURL * config: Remove unexpected _merge keys introduced in author and social maps * Upgrade to v2 of the Dart Sass Embedded Protocol * Fix indented SASS imports for Dart Sass * Mon Jun 05 2023 jkowalczyk@suse.com - Update to version 0.113.0: * docs: Regenerate CLI docs * commands: Update CLI docs vs server and production * commands: Add TLS/HTTPS support to hugo server * Mon Jun 05 2023 jkowalczyk@suse.com - Update to version 0.112.7: * Fix menuItem.URL when pageRef is not set * Don't inject livereload script on hugo -w * markup: Fix typo in function and struct names * all: Replace deprecated ioutil with io and os * Thu Jun 01 2023 jkowalczyk@suse.com - Update to version 0.112.6: * commands: Add --lang to hugo config * Make sure any default mounts show up in "hugo config" * github: Fix Windows build * deps: Update github.com/tdewolff/minify/v2 v2.12.5 => v2.12.6 * tpl/tplimpl: Use .Language.LanguageCode in built-in templates * Fail on invalid defaultContentLanguage * Avoid panic in invalid language config * Don't panic on empty yaml config params * Prevent double escaping of image alt-text in Goldmar typographer * Fix potential deadlock in ByParam * Wed May 31 2023 jkowalczyk@suse.com - Update to version 0.112.5: * releaser: Add a way to bust the CircleCI Git cache * Fix it so languageCode on top level config still works * Wed May 31 2023 jkowalczyk@suse.com - Update to version 0.112.4: * docs: Regenerate CLI docs * commands: Add the common build flags to the config commands * Fix Processed images count regression for multiple languages * commands: Reinstate some of the removed build flags (e.g. --theme) to new and mod * Don't create the public folder unless needed * docs: Regen CLI docs * commands: Fail the build when no config file or config dir * langs: Remove the Language.Params deprecation message for now * Add language.LanguageCode * Fix --renderStaticToDisk regression * commands: Re-introduce the -f shorthand for hugo new site * commands: Move the --format flag to only the commands that support it * Wed May 24 2023 jkowalczyk@suse.com - Update to version 0.112.3: * Fix regression when loading config -e is empty or HUGO_ENV or HUGO_ENVIRONMENT is set * Wed May 24 2023 jkowalczyk@suse.com - Update to version 0.112.2: * minifiers: Make sure JS.Version always has a value * Fix regression with site.IsServer when not running a server * Tue May 23 2023 jkowalczyk@suse.com - Update to version 0.112.1: * Fix regression when config for OutputFormat.BaseName is an empty string * Tue May 23 2023 jkowalczyk@suse.com - Update to version 0.112.0: * circleci: Add github.com to known hosts * Revert "build(deps): bump gocloud.dev from 0.24.0 to 0.29.0" * Revert "postcss: Improve validation of option 'config'" * Add --format to hugo config * docs: Regen docshelper * commands: Add missing gen docshelper command * Fix "unknown command" message when no suggestion * postcss: Improve validation of option 'config' * docs: Regen CLI docs * Squashed 'docs/' changes from 6e32d0591..39af43ef1 * Avoid writing to hugo_stats.json when there are no changes * Add cache busting config to support Tailwind 3 * build(deps): bump github.com/tdewolff/parse/v2 from 2.6.5 to 2.6.6 * build(deps): bump gocloud.dev from 0.24.0 to 0.29.0 * build(deps): bump github.com/gobuffalo/flect from 0.3.0 to 1.0.2 * build(deps): bump golang.org/x/image from 0.5.0 to 0.7.0 * build(deps): bump github.com/tdewolff/minify/v2 from 2.12.4 to 2.12.5 * commands: Make all list commands list what 'all' did before * tpl/tplimpl: Add img loading attribute to figure shortcode (#10927) * commands: Fix build logic when listing expired/future draft content * Allow whitelisting mediaTypes used in resources.GetRemote * Add hugo.WorkingDir * Make language merging of markup etc. config without values in the root * tpl/urls: Return empty string when JoinPath has zero args * build(deps): bump github.com/dustin/go-humanize from 1.0.0 to 1.0.1 * build(deps): bump google.golang.org/api from 0.76.0 to 0.123.0 * build(deps): bump golang.org/x/tools from 0.4.0 to 0.9.1 * build(deps): bump github.com/cli/safeexec from 1.0.0 to 1.0.1 * build(deps): bump github.com/getkin/kin-openapi from 0.110.0 to 0.117.0 * deps: Update github.com/evanw/esbuild v0.17.0 => v0.17.19 * commands: Fix data race * deps: Update github.com/alecthomas/chroma/v2 v2.7.0 * Re-add --printUnusedTemplates and --printPathWarnings * tpl/urls: Fix build broken by a merge * tpl/urls: Add JoinPath template function * Allow legacy taxonomyTerm in disableKinds * Fix warn message about custom params on the language top level * Fix some spelling mistakes * all: Fix comments for exported functions and packages * deps: Update github.com/bep/golibsass v1.1.0 => v1.1.1 * Make GOMAXPROCS to be CPU limit aware * Allow empty params.mainSections * modules: Fix format flag in error * commands: Load config before creating the filesystem * Fix some recently introduced error handling issues * tpl/lang: document delimiter option for FormatNumberCustom * Re-add site.LanguagePrefix * github: Trim the test flow a little * commands: Improve the common build flag handling * Support, but warn, about top level language custom params * Handle transient errors in config loading etc. * Re-establish all the server flags * Deprecate site.Language.Params and some other fixes * Revert "Make GOMAXPROCS CPU limit aware" * Make GOMAXPROCS CPU limit aware * Add Sections to Site interface * helpers: simplify path tests with T.TempDir * tpl: Add math.Abs * Create a struct with all of Hugo's config options * Improve date parsing performance for the common case * Add a counter helper * Expand the baseline benchmark a little * Revert "Update syntax-highlighting.md (#10929)" (#10930) * Update syntax-highlighting.md (#10929) * Update README.md * tpl/strings: Clarify findRESubmatch description * langs/i18n: Fallback to defaultContentLanguage instead of English * tpl/debug: Add VisualizeSpaces * Update README.md * Prevent the global error collector to panic when sending on closed channel * markup/goldmark: Add config options for the typographer extension * readme: Fix build command * Update README.md * Add test for ToC vs include * resources.functions: improve validation * resources: Fix typos in error message and variables * markup/goldmark: Fail on invalid Markdown attributes * commands: Fix data race in test * tpl/math: Return error if less than 2 input numbers * Mon May 22 2023 Jeff Kowalczyk <jkowalczyk@suse.com> - Use _service mode manual as better alias name than disabled * Tue Apr 18 2023 Jeff Kowalczyk <jkowalczyk@suse.com> - Remove NO_BRP_STRIP_DEBUG=true experimentally to test which if any platforms in OBS currently produce invalid Go binaries when calling brp-15-strip-debug from brp-check-suse. Refs boo#1210938 * Go packages %define __arch_install_post export NO_BRP_STRIP_DEBUG=true * Available in golang-packaging as macro go_nostrip * go_nostrip is one of the only golang-packaging macros still useful after Go modules without a full rewrite or replacement * Also remove spec comment "# nodebug" * GNU strip circa 2016 would incorrectly strip Go intermediate step .a archives and write out an invalid binary instead of erroring. * Error manifested as fmt.a: go archive is missing __.PKGDEF on OBS built Go binaries which had passed their build step * Upstream issue reported in 2016 as https://github.com/golang/go/issues/17890 * brp-check-suse PR https://github.com/openSUSE/brp-check-suse/pull/7 closed in 2019 due to age, needs follow-up on current versions * Tue Mar 21 2023 Jeff Kowalczyk <jkowalczyk@suse.com> - Remove unnecessary _service set_version param basename=hugo. set_version detection works with the current simple package name. - Use _service mode manual as better alias name than disabled - Use syntax Supplements: (hugo and bash-completion) as per rpmlint * Wed Mar 15 2023 jkowalczyk@suse.com - Update to version 0.111.3: * deps: Update go-org to v1.6.6 * Fix "unknown shortcode token" when calling shortcode within fenced code block * Run gofmt -s on source files * docs: Improve examples of variadic math functions * tpl/math: Allow multi numbers in add, sub, mul, div, min and max * readme: Update dependency list * Improve error message for unclosed shortcode with inner content * Don't fail when calling Paginate with an empty pages.PagesGroup * server: Replace golang.org/x/net/context with context * tpl: Add hasSuffix alias * watcher: use time.NewTicker to prevent leaks * ensure we default to 10 correctly * switch transfers to workers * customize parallel transfer count * metadecoders: Add support for native org dates in frontmatter * Mon Mar 06 2023 jkowalczyk@suse.com - Update to version 0.111.2: * Fix .Fragments when called cross sites on uninitialized output format * Allow page.TableOfContents on self in shortcode * tpl/partial: Consolidate GoDoc * Fix "context canceled" with partial * cache: Fix --gc failure on Windows * Page context handling in i18n * Work around --gc failure on Windows <= 10 * Update to Go 1.20.1 * snap: Fix dart-sass-embedded installation * Correct typos in Go comments * Mon Mar 06 2023 jkowalczyk@suse.com - Update to version 0.111.1: * Fix "page" not defined * Wed Mar 01 2023 jkowalczyk@suse.com - Update to version 0.111.0: * Revert "build(deps): bump gocloud.dev from 0.24.0 to 0.28.0 (#10610)" * build: Bump build images * build: Update Linux ARM build image * tpl/tplimpl: Remove the Google News internal template * strings: fix Truncate behavior for formatted html * tpl/strings: Adjust benchmark * tpl/strings: Add BenchmarkTruncate * cods: Regen docs helper * Move the Related doc counter to prevent a race * Misc ioutil deprecation adjustments * Replace deprecated ioutil with io and os * build(deps): bump github.com/tdewolff/parse/v2 from 2.6.4 to 2.6.5 * build(deps): bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17 * build(deps): bump golang.org/x/image * Remove unused temp directory * exif: Return the proper exposure time value in some special cases * Add a page template func * dartsass: Import CSS without extension at compile time * Split parse and render for Goldmark * related: Add config option cardinalityThreshold * docs: Another fix related docs example * docs: Fix related docs example * build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0 * Fix shortcode error when closing without .Inner * Throw an error when shortcode is expected to be closed * Add some shortcode testcases * sass: Remove some unused leftover code * resources/sass: Remove debug statements * page: Move the cache double check right after the lock * page: Add some concurrency to the building of the related page index * related: Adjust benchmark * create: Fix typo in error message * tocss: Simplify the hugo:vars type handling * resource_transformers/tocss: Fixed hugo:vars casting * Adjust tests for GO 1.20 * tpl/internal: Sync Go template src to Go 1.20 * build: Update to Go 1.20 * Add page fragments support to Related * related: Adjust benchmark * related: Add benchmark * tpl/collections: Improve error message in Index * Make the HTML collector parsing more robust * Revert "build(deps): bump github.com/getkin/kin-openapi from 0.110.0 to 0.114.0" * deps: Upgrade github.com/yuin/goldmark v1.5.3 => v1.5.4 * tpl/strings: Add strings.ContainsNonSpace * build(deps): bump github.com/getkin/kin-openapi from 0.110.0 to 0.114.0 * deps: Upgrade github.com/alecthomas/chroma v2.4.0 => v2.5.0 * markup: Fix linenos codeblock hl option case regression * Fix slow HTML elements collector for the pre case * publisher: Add benchmark * snap: Install dart-sass-embedded for 32-bit ARM (armhf) too * snap: Add read access for ~/.gitconfig.local and ~/.config/git/* too * commands: Fix server url rewrites (http status 200) * build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.10 to 2.2.11 * build(deps): bump gocloud.dev from 0.24.0 to 0.28.0 (#10610) * Fix description of collections.Uniq * Update CONTRIBUTING.md * Fix shortcode detection in RenderString * Only invoke a given cached partial once * Update README.md * Tue Jan 17 2023 jkowalczyk@suse.com - Update to version 0.110.0: * related: Handly []any * Fix permalinks issue with repeated sections * tpl/strings: Add findRESubmatch * config/security: Add O\w+ (e.g. GOROOT) to the default allowed list * Preserve front matter slice value types (e.g. int) * Make hugo.toml the new config.toml * Add fill HTTP Response info into .Data in resources.GetRemote * Fix HEAD method in resources.GetRemote * Fix order when reading custom headers in resources.GetRemote * deps: Upgrade github.com/evanw/esbuild v0.15.18 => v0.17.0 * resource: Fix Go Doc vs .Data.Integrity * Misc doc, code refactoring to improve documentation * Make readFile return nil when file not found (note) * Remove reference to Goreleaser in code comment * tpl/compare: Sort special float values as string * tpl/diagrams: Move Goat to its own file * Fri Dec 23 2022 jkowalczyk@suse.com - Update to version 0.109.0: * Adjust "you need the extended version" error message * resource/page: Slight adjustment of Page.Ancestors * resource/page: Add Page.Ancestors * build(deps): bump golang.org/x/tools from 0.3.0 to 0.4.0 * Annotate test assertions * hugolib: Exclude non-linkable pages from translations map * Add HUGO_PUBLISHDIR to the Node environment * tpl: Improve template funcs GoDoc * tpl/resources: Fix data race in ToCSS * tocss: Add some more test cases * tocss: Fix unquote case with double quotes * Allow "fast render mode" even if --disableLiveReload is set * tocss: Add vars option * modules: Improve "module workspace" not found error * modules: Adjust watch logic vs workspace use definitions * Add any configured Go Workspace file to the config watcher * modules: Make the module.workspace=off as default (note) * helpers: Allow at signs in UnicodeSanitize (note) * parser/metadecoders: Remove superflous cast in test * parser/metadecoders: Simplify nil check in Unmarshal * parser/metadecoders: Add empty /data JSON file as empty map * Also consider wrapped errors when checking for file IsNotExist errors * tpl/openapi3: Wrap *kopenapi3.T * resources/js: Fix some import discrepancies between Hugo and ESBuild * github: Update to Dart Sass 1.56.2 * github: Use ruby/setup-ruby * parser/metadecoders: Fix spelling * Tue Dec 06 2022 jkowalczyk@suse.com - Update to version 0.108.0: * Make the hugo env non verbose output slightly more verbose * Add dart-sass-embedded version info to hugo env -v * deps: Upgrade github.com/bep/godartsass v0.15.0 => v0.16.0 * tpl/embedded: Make Open Graph's series optional * common/hugio: Fix multiWriteCloser.Close * build(deps): bump github.com/getkin/kin-openapi from 0.109.0 to 0.110.0 * docs: Add basic doc for wrapStandAloneImageWithinParagraph etc. * dartsass: Add sourceMapIncludeSources option * github: Update Dart Sass Embedded to 1.56.1 * markup/goldmark: Add removeSurroundingParagraph for Markdown images * build(deps): bump github.com/evanw/esbuild from 0.15.16 to 0.15.18 * build(deps): bump golang.org/x/text from 0.4.0 to 0.5.0 * build(deps): bump github.com/evanw/esbuild from 0.15.15 to 0.15.16 * tpl/tplimpl: Allow alternate comment syntax * resources: Increase timeout for http.Client * tpl/collections: Fix some index cases where the indices given is a slice and be more lenient with nil inputs * tpl: Misco GoDoc improvements * config/security: Add CI env var to whitelist * deps: Upgrade github.com/bep/godartsass v0.14.0 => v0.15.0 * tpl: Use consistent delimiter spacing in examples * Thu Nov 24 2022 jkowalczyk@suse.com - Update to version 0.107.0: * build(deps): bump github.com/getkin/kin-openapi from 0.108.0 to 0.109.0 * build(deps): bump github.com/evanw/esbuild from 0.15.14 to 0.15.15 * Add a cache for lexers.Get * markup/goldmark: Improve benchmark * commands: Create assets directory with new site * build(deps): bump github.com/frankban/quicktest from 1.14.3 to 1.14.4 * build(deps): bump golang.org/x/tools from 0.2.0 to 0.3.0 * deps: Upgrade github.com/alecthomas/chroma/v2 v2.4.0 * hugo/parser: Fix shortcode boolean param parsing * Thu Nov 17 2022 jkowalczyk@suse.com - Update to version 0.106.0: * resources/tpl: Add a test for resources.Get * tlp/resources: resources.Get returns nil when given empty string * build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.4 to 2.0.6 * build(deps): bump github.com/evanw/esbuild from 0.15.13 to 0.15.14 * deps: Update the libweb version string * deps: Upgrade github.com/bep/gowebp v0.1.0 => v0.2.0 * build(deps): bump github.com/yuin/goldmark from 1.5.2 to 1.5.3 * build(deps): bump github.com/spf13/afero from 1.9.2 to 1.9.3 * build(deps): bump github.com/getkin/kin-openapi from 0.107.0 to 0.108.0 * tpl/internal: Sync go_templates * build(deps): bump github.com/clbanning/mxj/v2 from 2.5.6 to 2.5.7 * build(deps): bump golang.org/x/net from 0.1.0 to 0.2.0 * build(deps): bump github.com/evanw/esbuild from 0.15.12 to 0.15.13 * Add Go 1.16+ install method to README * Fix taxonomy weight sort regression * Fri Oct 28 2022 jkowalczyk@suse.com - Update to version 0.105.0: * build(deps): bump golang.org/x/tools from 0.1.12 to 0.2.0 * build(deps): bump github.com/getkin/kin-openapi from 0.106.0 to 0.107.0 * build(deps): bump golang.org/x/text from 0.3.7 to 0.4.0 * build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.1 * build(deps): bump github.com/getkin/kin-openapi from 0.103.0 to 0.106.0 * build(deps): bump github.com/tdewolff/minify/v2 from 2.12.1 to 2.12.4 * Revise the fix for shortcode vs output format nilpointer * Avoid nilpointer when shortcode page content output nil * livereload: Use text/javascript here, too * media: Rename application/javascript, application/typescript to text/javascript etc. * build(deps): bump github.com/yuin/goldmark from 1.4.15 to 1.5.2 * build(deps): bump github.com/fsnotify/fsnotify from 1.5.4 to 1.6.0 * Skip flakey server tests on GitHub Action on Windows * build(deps): bump github.com/magefile/mage from 1.13.0 to 1.14.0 * github: Avoid duplicate test runs * tpl/encoding: Add noHTMLEscape option to jsonify * build(deps): bump github.com/evanw/esbuild from 0.15.9 to 0.15.12 * Update Go and Alpine version in Dockerfile * Don't use self-closing generator tag * build: Update to Go 1.19.2 * github: Use SHA versions * Resolve dependency-path not found error in workflow * Use setup-go action to cache dependencies * Tue Oct 04 2022 jkowalczyk@suse.com - Update to version 0.104.3: * resources: Update golden image dithering exception list * resources/images: Fix 2 animated GIF resize issues * server: Fix flaky TestServerPathEncodingIssues tests * commands: Remove extraneous newline from result of convert toTOML * config/security: Fix filename * Tue Oct 04 2022 jkowalczyk@suse.com - Update to version 0.104.2: * Fix htimes /: operation not permitted error on config changes * Mon Sep 26 2022 jkowalczyk@suse.com - Update to version 0.104.1: * Fix /static performance regression from Hugo 0.103.0 * Fri Sep 23 2022 jkowalczyk@suse.com - Update to version 0.104.0: * Consolidate the glob case logic * hugofs: Fix glob case-sensitivity bug * server: Fix 404 redirects on Windows * build(deps): bump github.com/evanw/esbuild from 0.15.8 to 0.15.9 * build(deps): bump github.com/yuin/goldmark from 1.4.14 to 1.4.15 * build(deps): bump github.com/getkin/kin-openapi from 0.100.0 to 0.103.0 * docs: Regen docs helper * build(deps): bump github.com/alecthomas/chroma/v2 from 2.2.0 to 2.3.0 * build(deps): bump github.com/evanw/esbuild from 0.15.7 to 0.15.8 * docs: Regenerate CLI docs * Run go mod tidy * resources/images: Add $image.Colors * commands: Skip flaky test on CI * config/security: Allow proxy variables in subcommands * Mon Sep 19 2022 jkowalczyk@suse.com - Update to version 0.103.1: * server: Fix redirects when file path contains bytes > 0x80 * Use standard GOOS/GOARCH values in release archives * Mon Sep 19 2022 jkowalczyk@suse.com - Update to version 0.103.0: * Use standard GOOS/GOARCH values in release archives * Filter out any duplicate files to post process * Support PostProcess for all file types * build(deps): bump github.com/gobuffalo/flect from 0.2.5 to 0.3.0 * server: Add 404 support * build(deps): bump github.com/getkin/kin-openapi from 0.98.0 to 0.100.0 * build(deps): bump github.com/evanw/esbuild from 0.15.5 to 0.15.7 * build(deps): bump github.com/yuin/goldmark from 1.4.13 to 1.4.14 * Feat/sponsors in readme (#10273) * Squashed 'docs/' changes from e5aa641a6..392668f4f * Fix usage description * Add `--force` to `hugo new` * scss: Handle single-file sourcemaps correctly * Update stale.yml * Thu Sep 01 2022 jkowalczyk@suse.com - Update to version 0.102.3: * Fix shortcode parser regression with quoted param values * Wed Aug 31 2022 jkowalczyk@suse.com - Update to version 0.102.2: * deps: Update github.com/tdewolff/minify/v2 v2.12.0 => v2.12.1 * snap: Use "snapcraftctl set-grade" * snap: Use "snapcraftctl set-version" * snap: Make external dependencies actually work * release: Add the releaser commits to the ignore list * Mon Aug 29 2022 jkowalczyk@suse.com - Update to version 0.102.1: * release: Fix the Deb archives * Add linux/arm64 extended to release setup * license: Add copyright info * build(deps): bump go.uber.org/atomic from 1.9.0 to 1.10.0 * build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.9 to 2.2.10 * build(deps): bump github.com/getkin/kin-openapi from 0.97.0 to 0.98.0 * deps: Update github.com/pelletier/go-toml/v2 v2.0.2 => v2.0.4 * build(deps): bump github.com/spf13/afero from 1.8.2 to 1.9.2 * build(deps): bump github.com/tdewolff/parse/v2 from 2.6.1 to 2.6.2 * build(deps): bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16 * build(deps): bump github.com/rogpeppe/go-internal from 1.8.1 to 1.9.0 * build(deps): bump github.com/yuin/goldmark from 1.4.12 to 1.4.13 * build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 * build(deps): bump github.com/tdewolff/minify/v2 from 2.11.10 to 2.12.0 * build(deps): bump github.com/evanw/esbuild from 0.14.43 to 0.15.5 * Update README.md * github: Use GitHub's Choco-Install function to retry installs * common/hugio: One more fix for non-OS fs * common/hugio: Fix CopyDir when fs is not OS * snap: Delete obsolete custom x-nodejs plugins * livereload: Inject script without head or body tag * Update to Go 1.19 * markup/goldmark/codeblock: Fix attributes when no language identifier in CodeBlock * commands: Fix embed in livereload.go * Externalise and embed livereload.js string * Cache when not found in LookupLayout * parser/pageparser: Don't store the byte slices * Make the baseline benchmark's test files stable * Accept vendor-specified build date if .git/ is unavailable * snap: Replace mage with "go build" and set VendorInfo=snap * snap: Use interface names etc-gitconfig and gitconfig, Take 2 * Extract the baseline benchmark to a test * Add a baseline benchmark * snap: Use interface names etc-gitconfig and gitconfig * Thu Jun 16 2022 jkowalczyk@suse.com - Update to version 0.101.0: * build: Update to Go 1.18.3 * docs: Regen docshelper * markup/highlight: Add hl_inline option * deps: Update github.com/alecthomas/chroma/v2 v2.1.0 => v2.2.0 * build(deps): bump github.com/clbanning/mxj/v2 from 2.5.5 to 2.5.6 * build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.1 to 2.0.2 * build(deps): bump golang.org/x/tools from 0.1.10 to 0.1.11 * build(deps): bump github.com/tdewolff/minify/v2 from 2.11.5 to 2.11.10 * build(deps): bump github.com/evanw/esbuild from 0.14.42 to 0.14.43 * build(deps): bump github.com/getkin/kin-openapi from 0.94.0 to 0.97.0 * deps: Udpate to github.com/alecthomas/chroma/v2 * common: Add hugo.GoVersion * resources: Panic on Copy of Resource with .Err * resources/page: Add :slugorfilename attribute * Respect NO_COLOR * readme: Update dependency list * Fix relURL with leading slash when baseURL includes a subdirectory * js: Resolve index.esm.js * Add animated GIF support * resources: Add a Gif source file to golden tests * Wed Jun 08 2022 jkowalczyk@suse.com - Update to version 0.100.2: * Update CONTRIBUTING.md * Fix raw TOML dates in where/eq * deps: Update to github.com/pelletier/go-toml/v2 v2.0.1 * tpl/path: Add path.BaseName function * livereload: Use `X-Forwarded-Host` for Codespace * helpers: Fix panic with invalid defaultMarkdownHandler * resources: Register MediaTypes before build * Wed Jun 01 2022 jkowalczyk@suse.com - Update to version 0.100.1: * Fix panic with markdownify/RenderString with shortcode on Page with no content file * Tue May 31 2022 jkowalczyk@suse.com - Update to version 0.100.0: * Fix indentation in highlight shortcode * Make .RenderString render shortcodes * Improve shortcode indentation handling * Add Markdown as an output format * build(deps): bump github.com/evanw/esbuild from 0.14.39 to 0.14.42 * Run go mod tidy * Add a shortcode benchmark * Remove Blackfriday markdown engine * Fix HasMenuCurrent and IsDescendant/IsAncestor when comparing to itself * build(deps): bump github.com/sanity-io/litter from 1.5.4 to 1.5.5 * deps: Update to github.com/tdewolff/minify/v2 v2.11.5 * Don't use the baseURL /path as part of the resource cache key * postcss: Make the resource cache key more stable * commands: Fix case where languages cannot be configured * github: Set HUGO_BUILD_TAGS: extended when running tests * metrics: Fix divide by zero error * Fix error message when PostCSS config file is not found * server: Skip watching dirs in ignoreFiles * resources: Improve error message on .Resize etc. on SVGs * Fix Plainify edge cases * Add resources.Copy * basefs: add `noBuildLock` flag * import: Fix importing jekyll site * Wed May 18 2022 jkowalczyk@suse.com - Update to version 0.99.1: * server: Fix multihost crash * Update stale.yml * common/hugo: Fix version logic * Mon May 16 2022 jkowalczyk@suse.com - Update to version 0.99.0: * server: Refresh the error template * server: Fix SIGINT handling after loading bad configuration * Improve SASS errors * postcss: Fix import error handling * build(deps): bump github.com/fsnotify/fsnotify from 1.5.3 to 1.5.4 * common/herrors: Remove unused struct * build(deps): bump github.com/evanw/esbuild from 0.14.38 to 0.14.39 * errors: Misc improvements * server: Always rebuild the files involved in an error * postcss: Fix line numbers in error messages * Update CONTRIBUTING.md * js: Bump test dependency * deps: Update github.com/spf13/cast v1.4.1 => v1.5.0 * hugolib: Check for nil in shouldRender * Revise the use of htime.Since/htime.Now * tpl/collections: Make sort stable * docs: Regen CLI docs * Use configured timeZone for the clock * Add `clock` cli flag * Improve error messages, esp. when the server is running * tpl: Improve godoc * github: Add permissions to test action * tpl/crypto: Add example for FNV32a * Thu Apr 28 2022 jkowalczyk@suse.com - Update to version 0.98.0: * Some godoc adjustments and image struct renames * tpl/crypto: Add FNV32a * markup/goldmark: Fix attribute nilpointer * deps: Update to gocloud.dev v0.24.0 * build(deps): bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0 * deps: Update github.com/yuin/goldmark v1.4.11 => v1.4.12 * build(deps): bump github.com/evanw/esbuild from 0.14.36 to 0.14.38 * deps: Update github.com/tdewolff/minify/v2 v2.11.1 => v2.11.2 * tpl/lang: Handle nil values in lang.Merge * resources/page: Mark some more interface methods as internal * Deprecate page.Author and page.Authors * Mon Apr 18 2022 jkowalczyk@suse.com - Update to version 0.97.3: * Fix syncing of /static regression * Revert "Revert "Fix PostProcess regression for hugo server"" * Sun Apr 17 2022 jkowalczyk@suse.com - Update to version 0.97.2: * Revert "Fix PostProcess regression for hugo server" * Sat Apr 16 2022 jkowalczyk@suse.com - Update to version 0.97.1: * Fix PostProcess regression for hugo server * Fix MediaType when reading images from cache * deps: Upgrade github.com/bep/overlayfs v0.4.0 => v0.5.0 * Thu Apr 14 2022 jkowalczyk@suse.com - Update to version 0.97.0: * releaser: Reduce parallelism * Revert "build(deps): bump gocloud.dev from 0.20.0 to 0.25.0" * resources: Add `key` to reources.GetRemote options map * build(deps): bump github.com/evanw/esbuild from 0.14.34 to 0.14.36 * Make string sorting (e.g. ByTitle, ByLinkTitle and ByParam) language aware * Fix gosum checksum errors * build(deps): bump github.com/tdewolff/minify/v2 from 2.11.0 to 2.11.1 * compare: Add a string sort benchmark * Replace all usage of CopyOnWriteFs with OverlayFs * deps: Update github.com/tdewolff/minify/v2 v2.10.0 => v2.11.0 * Rework the Destination filesystem to make --renderStaticToDisk work * Revert "Revert "Some minor adjustments to the new static filesystem logic"" * Revert "Revert "Allow rendering static files to disk and dynamic to memory in server mode"" * build(deps): bump github.com/evanw/esbuild from 0.14.31 to 0.14.34 * modules/client: Vendor config directory if present * resources: Create a common ResourceFinder interface * build(deps): bump gocloud.dev from 0.20.0 to 0.25.0 * build(deps): bump golang.org/x/tools from 0.1.9 to 0.1.10 * build(deps): bump github.com/magefile/mage from 1.12.1 to 1.13.0 * build(deps): bump github.com/gobuffalo/flect from 0.2.4 to 0.2.5 * Localize all the GroupBy*Date methods * build(deps): bump github.com/getkin/kin-openapi from 0.93.0 to 0.94.0 * deploy: Set an MD5 attribute and use that if eTag not available * build(deps): bump github.com/sanity-io/litter from 1.5.2 to 1.5.4 * build(deps): bump github.com/evanw/esbuild from 0.14.25 to 0.14.31 * build(deps): bump github.com/frankban/quicktest from 1.14.2 to 1.14.3 * Add environment as a new filter to _cascade.target * Snap: Add {system,user}-gitconfig plugs to read gitconfig (#9619) * Sat Apr 09 2022 jkowalczyk@suse.com - Update to version 0.96.0: * Deprecate .File.Extension * resources: Add more details to .Err * commands: Change link protocol to https * build(deps): bump github.com/getkin/kin-openapi from 0.91.0 to 0.93.0 * tpl/crypto: Add optional encoding arg to hmac function * Update CONTRIBUTING.md to use "go install" to install mage * Dockerfile: Make it build with Go 1.18 * snap: Make it build with Go 1.18 * build(deps): bump github.com/yuin/goldmark from 1.4.10 to 1.4.11 * build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0 * commands: Improve server startup to make tests less flaky * all: Use strings.Cut * Support '-u=patch' in hugo mod get * Make sure file mounts higher up wins * resources/images: Require width and height for Crop, Fill, and Fit * all: gofmt -w -r 'interface{} -> any' . * dartsass: Enable deprecation, @warn and @debug logging * Use revision etc. from debug.BuildInfo * Tue Mar 22 2022 tuukka.pasanen@ilmi.fi - Update to version 0.95.0: * readme: Add note about Go 1.18 * tpl: Pull in Go 1.18 patch that fixes the "no space in {{ continue }} and {{ break }}" bug * readme: Add a contribution note * github: Make it build with Go 1.18 * tpl: Adjustments and an integration test for Go 1.18 * Remove Go 1.17 support * tpl: Sync go_templates for Go 1.18 * build: Bump to Go 1.18 * dartsass: Improve error message when no read access * Improve server startup/shutdown * commands: Improve server tests * Sat Mar 12 2022 jkowalczyk@suse.com - Update to version 0.94.2: * deps: Update github.com/yuin/goldmark v1.4.9 => v1.4.10 * Fri Mar 11 2022 jkowalczyk@suse.com - Update to version 0.94.1: * deps: Fix Goldmark regression with HTML comments * Revert "Allow rendering static files to disk and dynamic to memory in server mode" * Revert "Some minor adjustments to the new static filesystem logic" * Thu Mar 10 2022 jkowalczyk@suse.com - Update to version 0.94.0: * Revert "markup/highlight: Add hl_inline option" * Fail with error when double-rendering text in markdownify/RenderString * markup/goldmark: Default to https for linkify * Add lang attribute to internal alias template * markup/highlight: Add hl_inline option * minifiers: Make keepWhitespace = false default for HTML (note) * markup/goldmark/codeblocks: Fix slice bounds out of range * Cache reflect.MethodByName * releaser: Remove the GitHub link syntax around release contributors * Some minor adjustments to the new static filesystem logic * Allow rendering static files to disk and dynamic to memory in server mode * build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.8 to 2.2.9 * build(deps): bump github.com/evanw/esbuild from 0.14.23 to 0.14.25 * build(deps): bump github.com/niklasfasching/go-org from 1.6.0 to 1.6.2 * build(deps): bump github.com/getkin/kin-openapi from 0.90.0 to 0.91.0 * Tue Mar 08 2022 jkowalczyk@suse.com - Update to version 0.93.3: * Remove the decorator from the fs used in ReadDir * build(deps): bump github.com/yuin/goldmark from 1.4.7 to 1.4.8 * Remove the examples/ folder * Fri Mar 04 2022 jkowalczyk@suse.com - Update to version 0.93.2: * tpl/os: Revert readDir in theme behaviour * markup/goldmark: Escape image alt attribute * Wed Mar 02 2022 jkowalczyk@suse.com - Update to version 0.93.1: * tpl/transform: Fix it when template.HTML is passes as option to Hightlight * tpl/partials: Fix partialCached deadlock regression * tpl/collections: Fix apply when function have Context as first arg * Mon Feb 28 2022 jkowalczyk@suse.com - Update to version 0.93.0: * markup/highlight: Ignore HL_lines_parsed in the gen docs * cod: Regen CLI docs * tpl/diagrams: Rename the SVG accessor to Wrapped * markup/highlight: Rework the return value from HighlightCodeblock * tpl/transform: Add CanHighlight * Rename Codeowners() to CodeOwners() * tpl/diagrams: Rename Body to Inner * CodeblockContext method renames * build(deps): bump github.com/tdewolff/minify/v2 from 2.9.29 to 2.10.0 * markup/goldmark: Adjust test for Windows * markup/goldmark: Improve attributes vs options * markup/goldmark: Add Position to CodeblockContext * markup/goldmark: Unify some code block tests * Remove the trailing new line in .Code * markup/goldmark: Rename extension struct * build(deps): bump github.com/gobuffalo/flect from 0.2.3 to 0.2.4 * markup/goldmark: Use Ordinal to create default lineanchors * build(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.0 * build(deps): bump github.com/sanity-io/litter from 1.5.1 to 1.5.2 * Move the Goat template to the correct place * build(deps): bump google.golang.org/api from 0.63.0 to 0.70.0 * Update error message about failed menus in config.toml * build(deps): bump github.com/getkin/kin-openapi from 0.85.0 to 0.90.0 * Add test for line anchor attributes with code fences * build(deps): bump github.com/evanw/esbuild from 0.14.22 to 0.14.23 * Add Markdown diagrams and render hooks for code blocks * build(deps): bump github.com/aws/aws-sdk-go from 1.41.14 to 1.43.5 * build(deps): bump github.com/google/go-cmp from 0.5.6 to 0.5.7 * Add support for CODEOWNERS * Remove Viper as a dependency * helpers: Allow hyphens in UnicodeSanitize * Change `disqus_config` to `window.disqus_config` * deps: Update github.com/spf13/cobra v1.2.1 => v1.3.0 * Add page.Store * Allow images to be cropped without being resized * commands: Fix server panic regression * markup/goldmark: Add BenchmarkCodeblocks * deps: Update github.com/gohugoio/localescompressed v0.14.0 => v0.15.0 * deps: Update github.com/yuin/goldmark v1.4.4 => v1.4.7 * modules: Add modules.Workspace config for Go 1.18 * github: Configure stale to be run manually * tpl/partials: Fix recently introduced deadlock in partials cache * tpl/partials: Add some more partials to BenchmarkIncludeCached * deps: Update github.com/evanw/esbuild v0.14.11 => v0.14.22 * tpl/partials: Make sure a cached partial is invoked only once * build(deps): bump github.com/rogpeppe/go-internal from 1.8.0 to 1.8.1 * build(deps): bump github.com/magefile/mage from 1.11.0 to 1.12.1 * markup/goldmark: Exclude event attributes from markdown render hook * markup/goldmark: Fix mangling of headers/links in render hooks * markup/goldmark: Add a render hook benchmark * Fix BenchmarkCascadeTarget * metrics: Add cached count tracking * tpl: Remove TODO comment * Add --printUnusedTemplates * deps: Update github.com/tdewolff/minify/v2 v2.9.22 => v2.9.29 * commands: Rename --i18n-warnings to printI18nWarnings * commands: Rename --path-warnings, --print-men to --printPathWarnings, --printMemoryUsage * deps: Update github.com/alecthomas/chroma v0.9.4 => v0.10.0 * Finally remove deprecated Page methods * tpl: Use go:embed to load internal templates * Fri Feb 11 2022 tuukka.pasanen@ilmi.fi - Update to version 0.92.2: * Add HUGO_ENV to the os/exec environment * Simplify some integration tests * Fix validation of Page Kind in cascade target map * Add another cascade benchmark * commands: Fix server deadlock on config error * Exclude event attributes when rendering markdown * Remove the "check" command * Update the application/javascript media type * tpl/templates: Fix templates.Exist issue with base templates * Add a migration test helper * babel: Port integration tests to their own package * js: Port integration tests to its own package * postcss: Move integration test to its own package * minifier: Port integration tests to its package * templates: Port integration test to its package * tocss: Port integration tests to their package * openapi3: Port integration test into correct package * Add a new integration test framework * Validate comparison operator argument count * Remove hugo gen autocomplete * deps: Update github.com/pelletier/go-toml/v2 to v2.0.0-beta.6 * Fix erroneous warning with .Page.RenderString on a page without a backing file * Thu Jan 27 2022 jkowalczyk@suse.com - Update to version 0.92.1: * Make the RenderString content provider fix more general * Fix .RenderString issue in .Translations * general: Fix issue causing log threads to hang indefinitely when print() panics * Fix duplicate mount sources * tpl/collections: Fix apply with namespaced template funcs * common: Remove unused code * common/paths: Remove unused code * helpers: Remove unused code * Do not render hl_style as an HTML attribute * build(deps): bump github.com/spf13/viper from 1.8.1 to 1.10.1 * github: Clean up the issue templates a little * github: Add lock-threads step * Wed Jan 12 2022 jkowalczyk@suse.com - Update to version 0.92.0: * Only create LazyContentProvider for the non-rendering Site * Fix missing page data for alternative formats * docs: Add dependency table to maintainance page * deps: Upgrade github.com/evanw/esbuild v0.14.8 => v0.14.11 * Add hugo.Deps * hugolib: Fix livereload problem with files including NFC characters in MacOs * docs. Regen CLI docs * commands: Fix CLI help text for hugo new * Update to Go 1.17.6 * create: Correctly pass newContentEditor flags * Add --panicOnWarning flag * github: Increase stale days * Remove mmark * Misc depreation updates * Make the deprecated Page/File methods (from Hugo 0.55) ERROR * github: Add add stale GitHub action * Fix surprise OutputFormat.Rel overwriting * hugolib: Make an RST test optional * deps: Upgrade github.com/niklasfasching/go-org v1.5.0 => v1.6.0 * Thu Dec 23 2021 jkowalczyk@suse.com - Update to version 0.91.2: * Revert "config/security: Add HOME to default exec env var whitelist" * Make sure we always create the /public folder * Fix "stuck on build" in error situations in content processing * deps: Upgrade github.com/evanw/esbuild v0.14.7 => v0.14.8 * Wed Dec 22 2021 jkowalczyk@suse.com - Update to version 0.91.1: * media: Also consider extension in FromContent * media: Add missing BMP and GIF to the default MediaTypes list * media: Add PDF MIME type * deps: Update github.com/evanw/esbuild v0.14.5 => v0.14.7 * config/security: Add HOME to default exec env var whitelist * modules: Set GOCACHE env var * Fri Dec 17 2021 jkowalczyk@suse.com - Update to version 0.91.0: * releaser: Drop running tests as part of the release * tpl/resources: Add empty method mapping for GetRemote * Always use content to resolve content type in resources.GetRemote * Add resources.GetRemote * Allow for return partials with falsy arguments (#9298) * deps: Upgrade github.com/evanw/esbuild v0.14.2 => v0.14.5 * don't use path.Join, because it cleans the final path * Add some basic security policies with sensible defaults * Simplify Babel test assertions * Improve handling of remote image/jpeg resources (#9278) * Fix Dockerfile * Remove debug statement * Fix deprecation notice * Fri Dec 10 2021 jkowalczyk@suse.com - Update to version 0.90.1: * Remove the retries on error in remote resources.Get * Allow user to handle/ignore errors in resources.Get * Make resource.Get return nil on 404 not found * Update to Go 1.17.5 * Update to Go 1.17.4 and remove timeout in resources.Get * Wed Dec 08 2021 jkowalczyk@suse.com - Update to version 0.90.0: * releaser: Simplify the release process * releaser: Remove unused code * Add custom font support to images.Text * images: Fix cache busting of image text filter * build(deps): bump github.com/getkin/kin-openapi from 0.80.0 to 0.85.0 * images: Text filter that draws text with the given options (#9239) * tpl/transform: Optional options for highlight func * deps: Upgrade github.com/evanw/esbuild v0.13.12 => v0.14.2 (note) * releaser: Add "note" to Note regexp * build(deps): bump github.com/mitchellh/mapstructure from 1.4.2 to 1.4.3 * releaser: Rework and simplify to use GitHub only for release notes * build(deps): bump google.golang.org/api from 0.51.0 to 0.61.0 * media: Add rss suffix for application/rss+xml * parser: Add a test case in format resolution * lazy: Reset error in Reset * Implement XML data support * Validate private use language tags * resources: Add timeout to the HTTP request in Get * Add a remote retry for resources.Get * Make resources.Get use a file cache for remote resources * Remove empty href element from pagination template * Check for empty deployment targets and matchers * resources: Adjust the remote Get cache so it does not get evicted on restarts * Add remote support to resources.Get * Add deprecation warning to google_news template * helpers: Make UniqueStringsReuse allocation free * Wed Nov 17 2021 jkowalczyk@suse.com - Update to version 0.89.4: * Fix content dir resolution when main project is a Hugo Module * Mon Nov 15 2021 jkowalczyk@suse.com - Update to version 0.89.3: * Improve error when we cannot determine content directory in "hugo new" * deps: Upgrade github.com/yuin/goldmark v1.4.3 => v1.4.4 * commands: Make sure pollInterval is always set * create: Improve archetype directory discovery and tests * create: Add a log statement when archetype is a directory * create: Always print "Content ... created" * commands: Fix missing file locking in server partial render * modules: Improve error message * Mon Nov 08 2021 jkowalczyk@suse.com - Update to version 0.89.2: * Fix path resolution in hugo new * deps: Upgrade github.com/yuin/goldmark v1.4.2 => v1.4.3 * Fri Nov 05 2021 jkowalczyk@suse.com - Update to version 0.89.1: * Revert "releaser: Fat MacOS binaries" * create: Make sure the build lock is released before we open editor * readme: Update dependency list * Tue Nov 02 2021 jkowalczyk@suse.com - Update to version 0.89.0: * source: Make ContentBaseName() return the directory for branch bundles * Fix description of lang.FormatNumberCustom * Update Twitter shortcode oEmbed endpoint * common/htime: Fix time.Format with Go layouts * build(deps): bump github.com/evanw/esbuild from 0.13.10 to 0.13.12 * build(deps): bump github.com/yuin/goldmark from 1.4.1 to 1.4.2 * releaser: Fat MacOS binaries * releaser: Only build amd64 binary for freebsd, netbsd, openbsd, dragonfly * tpl/time: Use configured location when date passed to Format is string * build(deps): bump github.com/aws/aws-sdk-go from 1.40.8 to 1.41.14 * build(deps): bump github.com/getkin/kin-openapi from 0.79.0 to 0.80.0 * build(deps): bump github.com/evanw/esbuild from 0.13.8 to 0.13.10 * resources: Rename excepted filenames for image golden testdata * build(deps): bump github.com/frankban/quicktest from 1.13.1 to 1.14.0 * create: Validate the target path in hugo new * Fix panic when specifying multiple excludeFiles directives * htime: Set zone of datetime from from `go-toml` * Added nodesource apt repository to snap package * config: Set HUGO_ENABLEGITINFO=false override in Set_in_string * hugofs: Add includeFiles and excludeFiles to mount configuration * build(deps): bump github.com/mitchellh/mapstructure from 1.4.1 to 1.4.2 * resources: Always preserve the original transform error * readme: Add hyperlink to the banner * build(deps): bump github.com/getkin/kin-openapi from 0.78.0 to 0.79.0 * deps: github.com/evanw/esbuild v0.13.5 => v0.13.8 * create: Return error on no content dirs * Fix file permissions in new archetype implementation * Fix the "page picker" logic in --navigateToChanged * Add a cross process build lock and use it in the archetype content builder * deps: github.com/alecthomas/chroma v0.9.2 => v0.9.4 * Reimplement archetypes * build(deps): bump github.com/tdewolff/minify/v2 from 2.9.21 to 2.9.22 * deps: Update github.com/evanw/esbuild v0.13.5 * releaser: Fix regexp * build(deps): bump github.com/mattn/go-isatty from 0.0.13 to 0.0.14 * build(deps): bump github.com/getkin/kin-openapi from 0.75.0 to 0.78.0 * releaser: Update to Go go1.17.2 * Fix value of useResourceCacheWhen in TestResourceChainPostCSS * Allow multiple plugins in the PostCSS options map * docs: Create path.Clean documentation * Skip a test assertion on CI * tpl/path: Add path.Clean * readme: Remove tracking image * Revert "Remove credit from release notes" * Pass minification errors to the user * Clarify "precision" in currency format functions * build(deps): bump github.com/evanw/esbuild from 0.12.24 to 0.12.29 * resources: Use default math/rand.Source for concurrency safety * commands: Make the error handling for the mod commands more lenient * modules: Add some help text to the 'unknown revision' error * deps: Update github.com/yuin/goldmark v1.4.0 => v1.4.1 * Sat Sep 04 2021 jkowalczyk@suse.com - Update to version 0.88.1: * Bump down again to Go 1.16.7 for the release builds * Thu Sep 02 2021 jkowalczyk@suse.com - Update to version 0.88.0: * Release 0.88.0 * js: Fix import order for ./foo when both ./foo.js and ./foo/index.js exists * commands: Don't fail on template errors on go mod graph etc. * build(deps): bump github.com/getkin/kin-openapi from 0.74.0 to 0.75.0 * build(deps): bump github.com/frankban/quicktest from 1.13.0 to 1.13.1 * build(deps): bump github.com/evanw/esbuild from 0.12.22 to 0.12.24 * Avoid failing with "module not found" for hugo mod init and similar * Update to Go 1.17 * Remove Pygments from snapcraft.yml * Revert "build(deps): bump github.com/fsnotify/fsnotify from 1.4.9 to 1.5.0" * highlight: Add tabindex when code is not highlighted * build(deps): bump github.com/evanw/esbuild from 0.12.17 to 0.12.22 * Fix it so disableKinds etc. does not get merged in from theme * build(deps): bump golang.org/x/text from 0.3.6 to 0.3.7 * build(deps): bump github.com/fsnotify/fsnotify from 1.4.9 to 1.5.0 * Prevent minifier from removing quoutes around post-processed attributes * Revert "commands: Avoid too many watch file handles causing the server to fail to start" * highlight: Remove some pygments references * commands: Avoid too many watch file handles causing the server to fail to start * build(deps): bump github.com/getkin/kin-openapi from 0.68.0 to 0.74.0 * deps: Update github.com/spf13/cast v1.4.0 => v1.4.1 * Import time/tzdata on Windows * releaser: Bump to Go 1.16.7 * Revert "tpl/time: Handle nil values in time.AsTime" * tpl/time: Handle nil values in time.AsTime * parser: Indent TOML tables * Fix `lang.FormatPercent` description * Tue Aug 03 2021 jkowalczyk@suse.com - Update to version 0.87.0: * Release 0.87 * docs: Adjust config docs * docs: Adjust time zone docs * Make sure module config loading errors have file positioning info * tpl/time: Adjust tests to handle matching local time zones * mod: Remove superflous replace statement * Reduce binary size vs locale, update to CLDR v36.1 * deps: Update github.com/tdewolff/minify/v2 v2.9.20 => v2.9.21 * Fix error handling for the time func alias * Fail on invalid time zone * Improve handling of <nil> Params * build(deps): bump github.com/evanw/esbuild from 0.12.16 to 0.12.17 * build(deps): bump github.com/getkin/kin-openapi from 0.67.0 to 0.68.0 * tpl/lang: Add new localized versions of lang.FormatNumber etc. * Go back to WARNING for Page deprecations * Handle toml.LocalDate and toml.LocalDateTime in front matter * deps: Upgrade github.com/pelletier/go-toml/v2 v2.0.0-beta.3 => v2.0.0-beta.3.0.20210727221244-fa0796069526 * Switch to go-toml v2 * build(deps): bump github.com/tdewolff/minify/v2 from 2.9.19 to 2.9.20 * Add a TOML front matter benchmark * Add timezone support for front matter dates without one * Localize time.Format * build(deps): bump github.com/getkin/kin-openapi from 0.61.0 to 0.67.0 * build(deps): bump github.com/spf13/cast from 1.3.1 to 1.4.0 * build(deps): bump google.golang.org/api from 0.45.0 to 0.51.0 * build(deps): bump github.com/sanity-io/litter from 1.5.0 to 1.5.1 * build(deps): bump github.com/mattn/go-isatty from 0.0.12 to 0.0.13 * build(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.1 * build(deps): bump github.com/mitchellh/mapstructure from 1.3.3 to 1.4.1 * build(deps): bump github.com/google/go-cmp from 0.5.5 to 0.5.6 * build(deps): bump github.com/mitchellh/hashstructure from 1.0.0 to 1.1.0 * build(deps): bump github.com/gobuffalo/flect from 0.2.2 to 0.2.3 * build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.3 * build(deps): bump github.com/aws/aws-sdk-go from 1.38.23 to 1.40.8 * build(deps): bump github.com/tdewolff/minify/v2 from 2.9.18 to 2.9.19 * deps: Update github.com/evanw/esbuild v0.11.16 => v0.12.16 * Deprecate Blackfriday and fix a potential deadlock in config * deps: Update github.com/yuin/goldmark v1.3.9 => v1.4.0 * build(deps): bump github.com/frankban/quicktest from 1.12.0 to 1.13.0 * Bump all long-living deprecations to ERRORs * Fix theme count in release notes * Fri Jul 30 2021 jkowalczyk@suse.com - Update to version 0.86.1: * config: Fix a potential deadlock in config reading * Wed Jul 21 2021 jkowalczyk@suse.com - Update to version 0.86.0: * Release 0.86.0 * navigation: Check Page first in URL() * commands: Fix panic on invalid config in "hugo mod get" and similar * Simplify "active menu" logic for section menus * Fix Params case handling for menu items defined in site config * minifiers: Make keepWhitespace = true default for HTML * hugofs: Make FileMeta a struct * markup: Add tabindex="0" to default <pre> wrapper * Fix default values when loading from config dir * Fix the deprecation error/warn log levels * markup/goldmark: Rename/reorder the hook methods * markup/goldmark: Support auto links in render hook * Adjust a test helper * Add config.cascade * resources: Regenerate image golden testdata * Fix transparency problem when converting 32-bit images to WebP * Mon Jul 05 2021 jkowalczyk@suse.com - Update to version 0.85.0: * commands: Move time notification to after any build errors * exif: Log warning for metadata decode error * Fix tab selection of disabled items in internal pagination template * commands: Make the --poll flag a duration * Add polling as a fallback to native filesystem events in server watch * deps: Bump github.com/yuin/goldmark v1.3.9 * Fix panic when theme has permalinks config * Thu Jul 01 2021 jkowalczyk@suse.com - Update to version 0.84.4: * Fix Cloudflare vs Netlify cache dir issue * Fix date format in schema and opengraph templates * Tue Jun 29 2021 jkowalczyk@suse.com - Update to version 0.84.3: * config: Fix Netlify default cache dir logic * config: Fix handling of invalid OS env config overrides * Mon Jun 28 2021 jkowalczyk@suse.com - Update to version 0.84.2: * modules: Add module.import.noMounts config * modules: Use value type for module.Time * commands: Add version time to "hugo config mounts" * commands: Add some more info to "hugo config mounts" * Fix config handling with empty config entries after merge * Fix config loading for "hugo mod init" * deps: Update to Minify v2.9.18 * Remove credit from release notes * Thu Jun 24 2021 jkowalczyk@suse.com - Update to version 0.84.1: * Fix language menu config regression * config: Fix merge of config with map[string]string values. * releaser: Bump to Goreleaser v0.171.0 * markup: Rename Header(s) to Heading(s) in ToC struct * Fri Jun 18 2021 jkowalczyk@suse.com - Update to version 0.84.0: * releaser: Increase timeout * output: Make WebAppManifestFormat NotAlternative=true * media: Adjust test assertion * media: support application/manifest+json * Implement configuration in a directory for modules * tpl: Rename err-missing-instagram-accesstoken => error-missing-instagram-accesstoken * deps: Update github.com/alecthomas/chroma v0.9.1 => v0.9.2 * Split out the puthe path/filepath functions into common/paths * resources/image: Fix fill with smartcrop sometimes returning 0 bytes images * deps: Update to Goldmark v1.3.8 * Do not read config from os.Environ when running tests * Misc config loading fixes * github: Set a dummy Instagram token * Update to Go 1.16.5, Goreleaser 0.169.0 * tpl: Add a terse pagination template variant to improve performance * Upgrade Instagram shortcode * Fix nested OS env config override when parent does not exist * tpl/fmt: Add erroridf template func * tpl/data: Print response body on HTTP errors * tpl/data: Misc header improvements, tests, allow multiple headers of same key * tpl/data: Allows user-defined HTTP headers with getJSON and getCSV * hugofs: Set modTime at creation time * Fix invalid timestamp of the "public" folder * config: Fix env split to allow = character in values * Add math.Max and math.Min * Catch incomplete shortcode error * Use SPDX license identifier * navigation: Cache and copy Menu for sorting * deps: Update to LibSASS 3.6.5 * publisher: Make the HTML element collector more robust * Revert "publisher: Make the HTML element collector more robust" * Revert "publisher: Get the collector in line with the io.Writer interface" * publisher: Get the collector in line with the io.Writer interface * publisher: Make the HTML element collector more robust * common/maps: Add Scratch.DeleteInMap * Display version when building site (#8533) * docs: Update querify function description and examples * tpl: Allow 'Querify' to take lone slice/interface argument * modules/npm: Change SetEscapeHTML to false * Add a benchmark * readme: Update dependency list * tpl: Fix countwords to handle special chars * Sun May 02 2021 jkowalczyk@suse.com - Update to version 0.83.1: * langs/i18n: Fix warning regression in i18n * docs: Fix shortcode * Sun May 02 2021 tuukka.pasanen@ilmi.fi - Packaging: add webp image encoding support to go build env vars * CGO_CFLAGS add $(pkg-config --cflags libwebp) -DLIBWEBP_NO_SRC * CGO_LDFLAGS add $(pkg-config --libs libwebp) * For future troubleshooting refrence, fixes build errors like: go build -mod=vendor -tags extended -buildmode=pie [#] github.com/bep/gowebp/internal/libwebp In file included from vendor/github.com/bep/gowebp/internal/libwebp/a__encoder.go:7: ./encode.h:2:10: fatal error: ../../libwebp_src/src/webp/encode.h: No such file or directory [#]include "../../libwebp_src/src/webp/encode.h" * Sat May 01 2021 jkowalczyk@suse.com - Update to version 0.83.0: * docs: Fix shortcode * docs: Regenerate docs helper * docs: Regenerate CLI docs * commands: Remove all dates from gendoc * deps: Update getkin/kin-openapi v0.60.0 => v0.61. * langs/i18n: Fix multiple unknown language codes * deps: Update github.com/evanw/esbuild v0.11.14 => v0.11.16 * Remove .Site.Authors from embedded templates * deploy: Don't treat a NotFound response for Delete as a fatal error. * snap: Switch to deb packages of nodejs and python3-pygments * snapcraft.yaml: Install bin/node from node/14/stable * build(deps): bump github.com/getkin/kin-openapi from 0.55.0 to 0.60.0 * build(deps): bump github.com/evanw/esbuild from 0.11.13 to 0.11.14 * resources/page: Fix permalinks pattern detection for some of the sections variants * deps: Update to Chroma v0.9.1 * langs/i18n: Improve plural handling of floats * tpl/collections: Fix where on type mismatches * Make the shortcode template lookup for output formats stable * build(deps): bump github.com/evanw/esbuild from 0.11.12 to 0.11.13 * langs/i18n: Revise the plural implementation * snapcraft.yaml: Update to "base: core20" * build(deps): bump github.com/frankban/quicktest from 1.11.3 to 1.12.0 * build(deps): bump google.golang.org/api from 0.44.0 to 0.45.0 * build(deps): bump github.com/aws/aws-sdk-go from 1.37.11 to 1.38.23 * Correct function name in comment * Fix Params case handling in where with slices of structs (e.g. Pages) * deps: Upgraded github.com/evanw/esbuild v0.11.0 => v0.11.12 * docs: Regen docs helper * build(deps): bump github.com/tdewolff/minify/v2 from 2.9.15 to 2.9.16 * build(deps): bump golang.org/x/text from 0.3.5 to 0.3.6 * publisher: Remove some unreachable code * build(deps): bump github.com/getkin/kin-openapi from 0.39.0 to 0.55.0 * publisher: Some performance tweaks for the HTML elements collector * publisher: Exclude comment and doctype elements from writeStats * Regression in media type suffix lookup * build(deps): bump github.com/yuin/goldmark from 1.3.2 to 1.3.5 * Remove duplicate references from release notes * build(deps): bump github.com/spf13/afero from 1.5.1 to 1.6.0 * build(deps): bump github.com/pelletier/go-toml from 1.8.1 to 1.9.0 * Add webp image encoding support * build(deps): bump google.golang.org/api from 0.40.0 to 0.44.0 * build(deps): bump github.com/nicksnyder/go-i18n/v2 from 2.1.1 to 2.1.2 * build(deps): bump github.com/rogpeppe/go-internal from 1.6.2 to 1.8.0 * Remove extraneous space from figure shortcode * build(deps): bump github.com/magefile/mage from 1.10.0 to 1.11.0 * build(deps): bump github.com/google/go-cmp from 0.5.4 to 0.5.5 * org: Disable broken pretty relative links feature * deps: Update go-org to v1.5.0 * build(deps): bump github.com/jdkato/prose from 1.2.0 to 1.2.1 * build(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.3 * Add complete dependency list in "hugo env -v" * Add hugo.IsExtended * publisher: Also test minified HTML in the element collector * publisher: Skip script, pre and textarea content when looking for HTML elements * output: Only output mediaType once in docshelper JSON * Fix typo in docshelper.go * tpl: Remove the FuzzMarkdownify func for now * Add slice syntax to sections permalinks config * deps: Upgrade github.com/evanw/esbuild v0.9.6 => v0.11.0 * Try to fix the fuzz build * Mon Apr 26 2021 Fabian Vogt <fvogt@suse.com> - Build the "extended" version of hugo - Force dynamic linking against libsass * Tue Apr 20 2021 jkowalczyk@suse.com - Update to version 0.82.1: * Regression in media type suffix lookup * Wed Mar 24 2021 Jeff Kowalczyk <jkowalczyk@suse.com> - Improve packaging using macros available in rpm-4.11+, SLE-12:SP3+: * Replace two %setup calls with %autosetup -a 1 (rpm-4.11+, SLE-12:SP3+) * Remove %defattr(-,root,root) not needed * Remove %if before %license macro (rpm-4.11+, SLE-12:SP3+) * Sun Mar 21 2021 jkowalczyk@suse.com - Update to version 0.82.0: * docs: Regenerate docs helper * docs: Regen CLI docs * Squashed 'docs/' changes from bb15e9804..9cece6640 * Simplify some config loading code * deps: Update github.com/evanw/esbuild v0.9.0 => v0.9.6 * Apply OS env overrides twice * Attributes for code fences should be placed after the lang indicator only * deps: Bump github.com/tdewolff/minify/v2 v2.9.15 * Fix OS env override for nested config param only available in theme * Fix `new theme` command description * github: More explicit support link to discourse * media: Make Type comparable * deps: Update to esbuild v0.9.0 * exif: Fix handling of utf8 runes in nullString() * exif: Allow more spacing characters in strings * media: Add a basic benchmark * Fix output format handling for render hooks * Rename a test * Add a debug helper * Add support for Google Analytics v4 * Bump go.mod to Go 1.16 * #8210 Upgrade golang version for Dockerfile * Update CONTRIBUTING.md * markup: Handle attribute lists in code fences * Allow markdown attribute lists to be used in title render hooks * Squashed 'docs/' changes from d343ebf71..bb15e9804 * build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.7 to 2.2.8 * tpl: Add method mappings for strings.Contains, strings.ContainsAny * Fixes #7698. * commands: Fix autocomplete docs * Fri Mar 12 2021 Jeff Kowalczyk <jkowalczyk@suse.com> - Improve packaging: * BuildRequires: golang(API) >= 1.16 as recommended expression * Drop BuildRequires: fdupes no longer needed to check %goprep source moves * Remove unused %define project github.com/gohugoio/hugo * Fix syntax error extraneous trailing % on %endif * Sat Feb 20 2021 jkowalczyk@suse.com - Update to version 0.81.0: * Require go1.16 or newer * tpl: Make the build green again * docs: Regen CLI docs * docs: Regen docs helper * Squashed 'docs/' changes from ef9c4913c..d343ebf71 * tpl: Regenerate internal templates * tpl: Update date logic of opengraph and schema internal templates * build: Add arm64 to Darwinextended build and add vendorInfo * Update Travis, GitHub, CircleCI and Snap to Go 1.16 (only) * tpl: Add temporary patch to fix template data race * Pull in latest Go 1.16 template source * Add breaking tests for "map read and map write in templates" * Pull in latest Go template source * Expand template newline testcase to commands * Add a test case for Go 1.16 template action newlines * tpl/internal: Synch Go templates fork with Go 1.16dev * deps: Update github.com/tdewolff/minify/v2 v2.6.2 => v2.9.13 * build(deps): bump github.com/frankban/quicktest from 1.11.2 to 1.11.3 * build(deps): bump github.com/getkin/kin-openapi from 0.32.0 to 0.39.0 * build(deps): bump github.com/aws/aws-sdk-go from 1.36.33 to 1.37.11 * build(deps): bump github.com/sanity-io/litter from 1.3.0 to 1.5.0 * build(deps): bump github.com/olekukonko/tablewriter from 0.0.4 to 0.0.5 * deps: Update to esbuild v0.8.46 * modules: Add config option modules.vendorClosest * js: Fix potential path issue on Windows * build(deps): bump google.golang.org/api from 0.26.0 to 0.40.0 * Change version string format and add VendorInfo to help with issue triaging * modules: Allow absolute paths for any modules resolved via project replacement * modules: Throw an error running hugo mod vendor on mountless module * Fix some humanize issues * commands: Add PowerShell completion support * Refer to mage instead of make in comment regarding commitHash * markup/goldmark: Fix handling of legacy attribute config * markup/goldmark: Add attributes support for blocks (tables etc.) * deps: Update to Goldmark v1.3.2 * Update to Dart Sass Protocol beta6 * tpl/embedded: Exclude pages without Permalink from sitemap * langs/i18n: Support translation files with suffix *.yml * Refactor: Write to stdout by default * Refactor: Remove powershell support * Feat: Add zsh, fish and powershell completion support * github: Enable NPM tests on Windows * deps: Update to esbuild v0.8.39 * Trim whitespace in elements written to hugo_stats.json * tpl/data: Add default user-agent header for getJSON requests * build(deps): bump github.com/aws/aws-sdk-go from 1.35.0 to 1.36.33 * docs: Remove mention of a file size limit for readFile * tpl/os: remove 1mb limit for readFile. * js: Add Inject config option * tpl: Fix race condition in text template baseof * js: Add Shims option * Fix nilpointer in js.Build error handling * Squashed 'docs/' changes from 1de7a358c..ef9c4913c * build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1 * pipes: Add external source map support to js.Build and Babel * tpl: Fix metrics hint tracking * tpl: Do not return errors in substr for out-of-bounds cases * tpl: Add missing test scenario for strings.Substr * deps: Update go-org to v1.4.0 * rst: Adjust log level * Fri Jan 08 2021 jenting.hsiao@suse.com - Update to version 0.80.0: * Allow Dart Sass transformations to be cached on disk * dartsass: Dart Sass only supports `expanded` and `compressed` * dartsass: Add missing OutputStyle option * Update emoji import paths and version * Add Dart Sass support * GroupByParamDate now supports datetimes * para: Skip para test when not on CI * Update SECURITY.md * Improve LookPath * docs: create a SECURITY.md * Fix Resource.ResourceType so it always returns MIME's main type * para: Show more detail on failed time test * images: Add images.Overlay filter * tpl: Regenerate templates * tpl: Fix series detection in opengraph * hugolib/paths: Fix typo * all: Fix minor typos * Fix BenchmarkMergeByLanguage * deps: Bump github.com/spf13/cobra from 0.15.0 to 0.20.0 * chore: configure proper link to discourse.gohugo.io (#8020) * tpl/internal/go_templates: Revert formatting * all: Format code with gofumpt * build(deps): bump github.com/evanw/esbuild from 0.8.15 to 0.8.17 * tpl: Add title parameter to YouTube shortcode * Use --baseURL path for live-reload URL * Fix RelURL and AbsURL when path starts with language * build(deps): bump github.com/getkin/kin-openapi from 0.31.0 to 0.32.0 * tpl: Fix substr when length parameter is zero * tpl: Refactor and fix substr logic
/usr/share/bash-completion /usr/share/bash-completion/completions /usr/share/bash-completion/completions/hugo
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Jan 4 23:43:41 2025