Helm
v4.2.0Kubernetes CoreHelm v4.2.0 ships Kubernetes 1.36 client support, a new mustToToml template function, fixes for dry-run server mode with generateName, and several post-renderer YAML parsing correctness fixes.
enhancementAdopt mustToToml for safer TOML templating
The new mustToToml function behaves like mustToJson — it returns an error instead of silently failing when TOML serialization goes wrong. If you're using toToml anywhere in your chart templates, swap it for mustToToml so template rendering failures are surfaced as actual errors rather than empty or malformed output.
breakingRemove --hide-notes and --render-subchart-notes from your CI scripts
Both flags are now deprecated and will likely be removed in a future release. Audit your helm install/upgrade/template invocations in CI pipelines and scripts. Dropping them now avoids a forced migration later when they're removed entirely.
enhancementValidate --dry-run=server against generateName resources
Previously, --dry-run=server skipped resources that used generateName instead of name, which gave false confidence that those resources were being validated. That's fixed now. Re-run your server-side dry-run checks against any charts that use generateName — you may catch validation errors that were previously being silently ignored.
主な変更 (5)
- Kubernetes client libraries bumped to v1.36, keeping Helm aligned with current cluster versions
- New mustToToml template function added alongside the existing toToml (error-safe variant)
- --dry-run=server now correctly handles resources using generateName instead of skipping them
- --hide-notes and --render-subchart-notes flags deprecated; start removing them from scripts
- Multiple post-renderer YAML parsing bugs fixed: wrong separator handling, line ending preservation, and hook conflicts