Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 7, 2024

This PR contains the following updates:

Package Update Change
stern/stern minor v1.30.0v1.33.1

Release Notes

stern/stern (stern/stern)

v1.33.1

Compare Source

⚡ Notable Changes

WinGet is now supported for installing stern

If you're running on Windows, usually the actual best way is to use WinGet to install which is Windows' built-in package manager, you can install like this:

winget install stern.stern

Changes

v1.33.0

Compare Source

⚡ Notable Changes

New template variables Labels and Annotations

You can now use Labels and Annotations in your templates.

stern -n kube-system -l component --template '{{printf "%-25s %s" .Labels.component .Message}}{{"\n"}}'

Changes

  • Update dependencies for Kubernetes 1.34 (#​349) d6a0679 (Takashi Kusumi)
  • Fix asdf installation typo (#​348) 5946e7f (Guruprasad Bhat)
  • 338: fix: move highlighting after formatting (#​339) 6d915a8 (Peter)
  • Add support for labels & annotations in templates (#​344) 3cd85b4 (Nicholas Hurden)

v1.32.0

Compare Source

⚡ Notable Changes

A new template function prettyJSON

You can now use a new template function prettyJSON that parse input and emit it as pretty printed JSON. If it parse fails output string as is.


# Will try to parse .Message as JSON and pretty print it, if not json will output as is
stern --template='{{ .Message | prettyJSON }}{{"\n"}}' backend

# Or with parsed json, will drop non-json logs because of `with`
stern --template='{{ with $msg := .Message | tryParseJSON }}{{ prettyJSON $msg }}{{"\n"}}{{end}}' backend
A new template function bunyanLevelColor

You can now use a new template function bunyanLevelColor that print bunyan numeric log level using appropriate color.

A new flag --condition

A new --condition allows you to filter logs with the pod condition on: [condition-name[=condition-value]. The default condition-value is true. Match is case-insensitive. Currently, it is only supported with --tail=0 or --no-follow.


# Only display logs for pods that are not ready:
stern . --condition=ready=false --tail=0

Changes

  • Add --condition (#​276) 2576972 (Felipe Santos)
  • Add check for when --no-follow is set with --tail=0 (#​331) 276e906 (Felipe Santos)
  • Implement JSON pretty print (#​324) ccd8add (Fabio Napoleoni)
  • Fix descriptions of extjson and ppextjson (#​325) d9a9858 (Takashi Kusumi)
  • Allow levelColor template function to parse numbers (#​321) db69276 (Jimmie Högklint)

v1.31.0

Compare Source

Changes

  • Fix --verbosity flag to show missing logs (#​317) c2b4410 (Takashi Kusumi)
  • Update dependencies for Kubernetes 1.31 (#​315) a4fdcc9 (Takashi Kusumi)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Oct 7, 2024
@renovate renovate bot force-pushed the renovate/stern-stern-1.x branch from bbbd805 to 6726745 Compare January 21, 2025 01:23
@renovate renovate bot changed the title Update dependency stern/stern to v1.31.0 Update dependency stern/stern to v1.32.0 Jan 21, 2025
@renovate renovate bot force-pushed the renovate/stern-stern-1.x branch from 6726745 to af501a0 Compare September 19, 2025 16:06
@renovate renovate bot changed the title Update dependency stern/stern to v1.32.0 Update dependency stern/stern to v1.33.0 Sep 19, 2025
@renovate renovate bot force-pushed the renovate/stern-stern-1.x branch from af501a0 to e5ce1a7 Compare November 4, 2025 12:05
@renovate renovate bot changed the title Update dependency stern/stern to v1.33.0 Update dependency stern/stern to v1.33.1 Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant