Skip to content

Update most dependencies to latest and Go to 1.26.11 - #4894

Draft
mozesl-nokia wants to merge 3 commits into
kptdev:mainfrom
nokia:go-1.26.11
Draft

mozesl-nokia wants to merge 3 commits into
kptdev:mainfrom
nokia:go-1.26.11

Conversation

@mozesl-nokia

@mozesl-nokia mozesl-nokia commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

As per the title, most dependencies have been updated to latest, with a few exceptions:

  • kyaml held back to v0.21.1 in the api and v0.21.2 in the lib and cli, like elsewhere, since the patch bump would push go to 1.26 and 1.27
  • k8s.io apis held back to 1.36.x so we don't introduce breaking changes for now

Some more notable changes:

  • cel-go changed its module path
  • the docsy theme changed its module path

  • I used AI in the creation of this PR:
    • Claude Sonnet 5.5, through Cursor, was used to figure out all the changes necessary for the docsy update.
      • This was reverted

Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
@mozesl-nokia
mozesl-nokia requested review from a team and a balanced review from Copilot November 27, 2026 14:52
@netlify

netlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for kptdocs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 9bdf9f3
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/6b0d522d3e4521c982a3fb44
😎 Deploy Preview https://deploy-preview-4894--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@mozesl-nokia
mozesl-nokia requested a review from a team November 27, 2026 14:52
@mozesl-nokia mozesl-nokia added the dependencies Pull requests that update a dependency file label Nov 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Clean documentation builds fail because Dart Sass is not provisioned and required Bootstrap and Font Awesome assets are missing from the dependency setup.

2 open issues
What changed in this PR

This PR refreshes dependencies across kpt’s library, CLI, API, documentation site, and documentation generator, while retaining the stated Kubernetes and kyaml compatibility limits.

Changes:

  • Raises Go requirements to 1.26.11 in the root, CLI, documentation, and generator modules, and aligns upgrade tooling and Netlify.
  • Updates dependency versions and migrates CEL imports to cel.dev/cel-go.
  • Migrates the documentation theme to Docsy v0.18.1 and updates the displayed kpt version.
File Description
scripts/​go-upgrade/​README.md Updates the documented Go target.
scripts/​go-upgrade/​config.env Sets the Go upgrade target to 1.26.11.
pkg/​lib/​celenv/​celenv.go Migrates CEL imports to the new module path.
mdtogo/​go.sum Refreshes text dependency checksums.
mdtogo/​go.mod Updates Go and the text dependency.
internal/​docs/​generated/​pkgdocs/​docs.go Adjusts generated help whitespace and example formatting.
go.sum Refreshes root dependency checksums.
go.mod Updates Go and library dependencies, including CEL.
documentation/​scripts/​serve-with-pagefind.js Updates the theme path in a comment only.
documentation/​netlify.toml Updates Netlify’s Go version.
documentation/​go.sum Replaces old theme checksums with Docsy v0.18.1.
documentation/​go.mod Updates Go and adopts the new Docsy module.
documentation/​config.toml Selects the new theme path and kpt version.
cli/​go.sum Refreshes CLI dependency checksums.
cli/​go.mod Updates Go and CLI dependencies.
api/​go.sum Records the revised API dependency checksums.
api/​go.mod Lowers several indirect dependency versions.

Review effort: Balanced

Comment thread documentation/config.toml Resolved
Comment thread documentation/go.mod Resolved
@mozesl-nokia
mozesl-nokia marked this pull request as draft November 30, 2026 09:10
@mozesl-nokia

Copy link
Copy Markdown
Contributor Author

Should probably wait for WASM removal (#4882) and separate out the docsy update in hindsight, put it back in draft for now.

This reverts commit 5418efd.

Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants