Skip to content

v1.20.1

Latest

Choose a tag to compare

@knative-prow-releaser-robot knative-prow-releaser-robot released this 16 Dec 14:49
7052943

v1.20.1

Changes by Kind

Enhancement

  • Func build and func deploy commands now provide clearer error messages when registry is missing, with actionable guidance instead of confusing prompts. (#3058, @RayyanSeliya)
  • Func build and func deploy commands now provide clearer, more educational error messages when the --platform flag is used without the S2I builder, with actionable guidance and builder capability explanations. (#3062, @RayyanSeliya)
  • Func build and func deploy commands now validate conflicting --image and --registry flags before starting the build process, providing clear error messages and actionable guidance instead of misleading build failures. (#3066, @RayyanSeliya)
  • Improve error message when --language flag is missing in func create
    to be more beginner-friendly, include example usage, and point to func languages. (#3016, @RayyanSeliya)
  • Improve error message when func invoke is run outside function directory
    to be more beginner-friendly, include step-by-step workflow guidance. (#3018, @RayyanSeliya)
  • Improve error message when func run is run outside function directory
    to be more beginner-friendly, include step-by-step workflow guidance, and
    explain that func run is used for local testing. (#3022, @RayyanSeliya)
  • Improve error message when func subscribe is run outside function directory
    to be more beginner-friendly and provide clear guidance on creating functions
    before subscribing to events. (#3025, @RayyanSeliya)
  • Improve error messages for func list command to be more beginner-friendly.
    Connection errors now include workflow guidance, prerequisites, troubleshooting
    steps, and links to official Knative installation documentation. (#3038, @RayyanSeliya)
  • Improve func delete user experience by replacing cryptic "name required" error with clear guidance on how to delete functions using name or path options. (#3054, @RayyanSeliya)
  • Improve func deploy user experience by showing clear error guidance immediately when run outside a function directory, instead of prompting for registry configuration first. (#3042, @RayyanSeliya)

Bug or Regression

  • Enhanced builder/container flag handling: pack/s2i builders now default to container mode, --container=false automatically selects host builder, with validation for incompatible combinations. (#2966, @RayyanSeliya)
  • Fix: Python pack build/run doesn't pick up code changes (#3079) (#3080, @matejvasek)
  • Fix: fallback to python3 if python not present (#3082, @matejvasek)
  • Fix: host builder can push images to cluster internal registries (#3130, @matejvasek)
  • Fix: host builder uses base-image with correct version of Python (#2965, @matejvasek)

Other (Cleanup or Flake)

  • Remove the --container flag - builds are determined via builder itself for func run command (#2987, @gauron99)

Uncategorized

  • Release Note (#2953, @RayyanSeliya)

  • $ func deploy --remote --builder=pack --registry=registry.default.svc.cluster.local:5000/func -v
    Error: cannot upload sources to the PVC: cannot start the pod: pod prematurely exited (output: "ERROR: cannot purge dest dir: unlinkat
    /tmp/volume_mnt/source/.s2i/bin/assemble: permission denied\n", exitcode: 1)
    e2e_test.go:1249: exit status 1 (#2946, @lkingland)
  • Fix: backward compatibility for building old Python Functions with newer func (#2962, @matejvasek)

Dependencies

Added

  • al.essio.dev/pkg/shellescape: v1.6.0
  • buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go: 52f3232
  • buf.build/go/protovalidate: v0.14.0
  • buf.build/go/protoyaml: v0.6.0
  • cloud.google.com/go/monitoring: v1.24.2
  • github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric: v0.51.0
  • github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping: v0.51.0
  • github.com/MakeNowJust/heredoc/v2: v2.0.1
  • github.com/containerd/accelerated-container-image: v1.2.3
  • github.com/containerd/containerd/v2: v2.1.1
  • github.com/containerd/errdefs/pkg: v0.3.0
  • github.com/containerd/fuse-overlayfs-snapshotter/v2: v2.1.1
  • github.com/containerd/plugin: v1.0.0
  • github.com/keybase/go-keychain: v0.0.1
  • github.com/moby/go-archive: v0.1.0
  • github.com/moby/sys/atomicwriter: v0.1.0
  • github.com/moby/sys/capability: v0.4.0
  • github.com/moby/sys/reexec: v0.1.0
  • github.com/opencontainers/runtime-tools: 2e043c6
  • github.com/otiai10/mint: v1.6.3
  • github.com/petermattis/goid: 4fcff4a
  • github.com/prometheus/otlptranslator: v1.0.0
  • github.com/santhosh-tekuri/jsonschema/v5: v5.3.1
  • github.com/santhosh-tekuri/jsonschema/v6: v6.0.1
  • github.com/sasha-s/go-deadlock: v0.3.5
  • github.com/sigstore/protobuf-specs: v0.4.1
  • github.com/smallstep/pkcs7: v0.1.1
  • github.com/tonistiigi/dchapes-mode: 73d941a
  • github.com/zalando/go-keyring: v0.2.6
  • golang.org/x/tools/go/expect: v0.1.1-deprecated
  • gonum.org/v1/gonum: v0.16.0
  • tags.cncf.io/container-device-interface/specs-go: v1.0.0
  • tags.cncf.io/container-device-interface: v1.0.1

Changed

Removed

  • github.com/containerd/cgroups: v1.1.0
  • github.com/containerd/fuse-overlayfs-snapshotter: v1.0.8
  • github.com/gogo/googleapis: v1.4.1
  • github.com/googleapis/google-cloud-go-testing: 1c9a4c6
  • github.com/kr/fs: v0.1.0
  • github.com/mmcloughlin/avo: v0.5.0
  • github.com/pkg/sftp: v1.13.6
  • go.mozilla.org/pkcs7: 33d0574