Skip to content

Add latest middleware versions in func version output#3281

Merged
knative-prow[bot] merged 2 commits intoknative:mainfrom
creydr:add-middleware-version-in-func-version-output
Dec 10, 2025
Merged

Add latest middleware versions in func version output#3281
knative-prow[bot] merged 2 commits intoknative:mainfrom
creydr:add-middleware-version-in-func-version-output

Conversation

@creydr
Copy link
Member

@creydr creydr commented Dec 9, 2025

Changes

  • 🎁 Add latest middleware versions in func version output
  • 🐛 Fix java MW version detector
Version: v0.0.0+source
Knative: 
Commit: 
SocatImage: ghcr.io/knative/func-utils:v2
TarImage: ghcr.io/knative/func-utils:v2
Middleware Versions: 
  go:
    http: v0.21.3
    cloudevent: v0.21.3
  python:
    cloudevent: 0.7.0
    http: 0.7.0
  node:
    http: 2.4.0
    cloudevent: 2.4.0
  typescript:
    http: 2.4.0
    cloudevent: 2.4.0
  quarkus:
    cloudevent: 3.30.1
    http: 3.30.1
  java:
    http: 2025.0.0
    cloudevent: 2025.0.0

/kind enhancement
/kind bug

Release Note

Add latest middleware versions in `func version` output

@knative-prow knative-prow bot added kind/enhancement kind/bug Categorizes issue or PR as related to a bug. labels Dec 9, 2025
@knative-prow knative-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Dec 9, 2025
@codecov
Copy link

codecov bot commented Dec 9, 2025

Codecov Report

❌ Patch coverage is 76.78571% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.72%. Comparing base (977a20e) to head (36998c2).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pkg/scaffolding/middleware_version.go 68.75% 8 Missing and 2 partials ⚠️
cmd/version.go 86.36% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3281      +/-   ##
==========================================
+ Coverage   54.50%   54.72%   +0.21%     
==========================================
  Files         168      168              
  Lines       19551    19594      +43     
==========================================
+ Hits        10657    10723      +66     
+ Misses       7827     7804      -23     
  Partials     1067     1067              
Flag Coverage Δ
e2e 40.30% <85.10%> (+0.60%) ⬆️
e2e go 36.26% <85.10%> (+0.61%) ⬆️
e2e node 31.70% <82.97%> (+0.79%) ⬆️
e2e python 35.99% <85.10%> (+0.67%) ⬆️
e2e quarkus 31.86% <82.97%> (+0.79%) ⬆️
e2e rust 31.31% <82.97%> (+0.79%) ⬆️
e2e springboot 31.34% <82.97%> (+0.82%) ⬆️
e2e typescript 31.82% <82.97%> (+0.79%) ⬆️
integration 17.67% <0.00%> (-0.04%) ⬇️
unit macos-14 44.39% <51.06%> (+0.01%) ⬆️
unit macos-latest 44.39% <51.06%> (+0.01%) ⬆️
unit ubuntu-24.04-arm 44.59% <46.42%> (+<0.01%) ⬆️
unit ubuntu-latest 45.31% <51.06%> (+0.01%) ⬆️
unit windows-latest 44.41% <51.06%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@creydr creydr force-pushed the add-middleware-version-in-func-version-output branch from 686d3a2 to 5baa8e0 Compare December 9, 2025 13:38
@creydr
Copy link
Member Author

creydr commented Dec 9, 2025

/cc @lkingland @gauron99

@knative-prow knative-prow bot requested review from gauron99 and lkingland December 9, 2025 15:50
@creydr creydr force-pushed the add-middleware-version-in-func-version-output branch from 5baa8e0 to 36998c2 Compare December 10, 2025 09:49
Copy link
Contributor

@gauron99 gauron99 left a comment

Choose a reason for hiding this comment

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

Thanks Christoph!
I think we can add the rust "middleware" specifying the web package instead of some "middleware" package directly. This would work for completing the middleware printing. But we leave that for some following PR
/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Dec 10, 2025
@knative-prow
Copy link

knative-prow bot commented Dec 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: creydr, gauron99

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 10, 2025
@knative-prow knative-prow bot merged commit 40f2fc9 into knative:main Dec 10, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. kind/enhancement lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments