feat!: adopt mod-utils v6 (mod-flexsearch v5)#298
Merged
Conversation
Bump go.mod and Hugo module imports from mod-utils/v5 to mod-utils/v6 v6.0.1, and the module's own Go path from /v4 to /v5 in the same commit, per the mod-utils v6 adoption program. mod-flexsearch has no InitArgs/InitTypes call sites and no data/structures definitions, so the Args API migration (recipe step 4) is a no-op here: only utilities/LogWarn.html is used for a deprecated site-parameter warning, and its signature is unchanged in v6. No template or structure files were touched. Verification: exampleSite build exits 0 with zero ERROR lines and no new WARN lines; hugo mod graph (exampleSite context) shows only mod-utils/v6; own-exampleSite visual regression (10 pages) shows 0 flagged diffs against the pre-change baseline. BREAKING CHANGE: requires github.com/gethinode/mod-flexsearch/v5 import path; adopts mod-utils v6 and migrates argument handling to the Args API (see gethinode/mod-utils v5-to-v6 migration notes). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Author
|
🎉 This PR is included in version 5.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/v4to/v5and themod-utilsrequirement from/v5to/v6 v6.0.1(never v6.0.0, which has aknown camelKey defect), in
go.mod,config.toml, andexampleSite/go.mod/hugo.toml.v5-to-v6 migration notes
in the mod-utils README.
mod-flexsearch has zero
InitArgs.html/InitTypes.htmlcall sites and nodata/structuresdefinitions — it readssite.Paramsdirectly. The onlymod-utils partial it calls is
utilities/LogWarn.html(a deprecatedsite-parameter warning in
GetSearchConfig.html), whose signature isunchanged in v6. No template files were touched.
Verification
hugo mod graph(run fromexampleSite/) shows onlygithub.com/gethinode/mod-utils/v6@v6.0.1— nomod-utils/v5anywhere,including
_vendor.pnpm run build(hugo --gc --minify -s exampleSite) exits 0 with zeroERROR lines. The only WARN lines are pre-existing, unrelated deprecations
(
languageCode,css.Sass/libsass) and asset-pipeline "Processing file"notices — identical before and after the bump. No new warnings surfaced.
tests/visual/from thegethinode/hinode program branch): baseline captured from the pristine
clone before any change, candidate shot after the migration, compared with
--include "."(10/10 sitemap pages). Result: 10 ok, 0 flagged(0.0000% diff ratio on every page).
Call sites migrated
None — this module has no
InitArgs/InitTypescall sites to migrate.Warning triage
No new warnings. Pre-existing WARN lines (Hugo
languageCode/libsassdeprecations, asset "Processing file" notices) are unrelated to mod-utils and
unchanged before/after.
🤖 Generated with Claude Code