* 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
Version: 0.122.0-bp156.1.6
* 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