Skip to content

Releases: knative/func

v1.22.1

02 Jun 11:00
8bb33ba

Choose a tag to compare

v1.22.1

🚀 Features & Enhancements

🐛 Bug Fixes

⚙️ CI / Build / Workflow Improvements

📦 Dependency Updates (Dependabot / Automated)

🧪 Testing Improvements

🧹 Refactoring & Maintenance

📚 Documentation

  • Update docs with RBAC for raw & KEDA deploys (#3427) by @creydr
  • Fix whitespace i...
Read more

v1.22.0

01 May 21:36
3804dc9

Choose a tag to compare

🚀 Features & Enhancements

🐛 Bug Fixes

⚙️ CI / Build / Workflow Improvements

📦 Dependency Updates (Dependabot / Automated)

🧪 Testing Improvements

🧹 Refactoring & Maintenance

📚 Documentation

  • Update docs with RBAC for raw & KEDA deploys (#3427) by @creydr
  • Fix whitespace in docs ([...
Read more

v1.21.4

14 Apr 10:52
6bf2245

Choose a tag to compare

What's Changed

  • [release-1.21] Remember --registry-insecure setting on recurring runs by @creydr in #3574
  • [release-1.21] fix: Use tlsVerify param in PipelineRun template for pack too by @knative-prow-robot in #3590

Full Changelog: knative-v1.21.3...knative-v1.21.4

v1.20.2

14 Apr 10:20
d4f2a40

Choose a tag to compare

v1.20.2

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

Read more

v1.21.3

17 Mar 10:30
32c0b4a

Choose a tag to compare

v1.21.3

v1.21.2

v1.21.1

knative/func@release-1.21

Changes by Kind

Enhancement

  • Add --platform flag to func config ci command allowing users to specify which CI/CD platform to generate manifests for. Currently supports "github" (default). (#3379, @twoGiants)
  • Add --remote flag to func config ci to build functions on a Tekton enabled cluster and --workflow-dispatch to trigger workflows manually via the GitHub CLI or UI. (#3128, @twoGiants)
  • Add the --registry-authfile build parameter to allow to specify a custom registry auth file location (#3208, @creydr)
  • Add the possibility to deploy a function as raw kubernetes deployment via the --deployer=raw argument (#3075, @creydr)
  • Added env as a short alias for the environment command. Users can now use func env as a convenient shorthand for func environment. (#3219, @RayyanSeliya)
  • Allow to print the output from func version as json or yaml too (#3280, @creydr)
  • Event subscriptions now work with raw Kubernetes deployer (--deployer raw). (#3335, @24aysh)
  • Feat: pull secrets pre-check before deployment (#3333, @matejvasek)
  • Implement GitHub Actions workflow generation in func config ci command. The command now creates a complete deployment workflow with Kubernetes context setup, func CLI installation, and automated deployment. Supports customizable parameters for branch trigger, kubeconfig secret name, registry URL variable, and workflow name. (#3295, @twoGiants)
  • Improve error message when func describe is run outside function directory
    to be more beginner-friendly and provide clear guidance on creating functions
    before describing them. (#3027, @RayyanSeliya)
  • Invalid domain names are now caught immediately with helpful error messages, preventing wasted build time (#3152, @RayyanSeliya)
  • Invalid namespace names are now caught immediately with helpful error messages, preventing wasted build time (#3133, @RayyanSeliya)
  • Provide used middleware version as a function label (#3270, @creydr)
  • The func config ci command now resolves --path and --branch flags intelligently:
    • --path defaults to current working directory when empty or "."
    • --branch defaults to current git branch when not specified (previously "main") (#3371, @twoGiants)
  • The func config ci command now supports configurable registry authentication and runner options with the following new flags:
    • --use-registry-login: Enable/disable registry login step in generated workflow (default: true)
    • --registry-login-url-variable-name: Customize registry URL variable name (default: REGISTRY_LOGIN_URL)
    • --registry-user-variable-name: Customize registry username variable name (default: REGISTRY_USERNAME)
    • --registry-pass-secret-name: Customize registry password secret name (default: REGISTRY_PASSWORD)
    • --self-hosted-runner: Use self-hosted runners instead of ubuntu-latest (default: false) (#3297, @twoGiants)

Documentation

  • Added Command Reference section to README for easier discovery of CLI documentation (#3245, @RayyanSeliya)

Bug or Regression

  • Add latest middleware versions in func version output (#3281, @creydr)
  • Fix: on-cluster-build freeze caused by co-scheduling/affinity issues (#3350, @matejvasek)
  • Fix: populate image field in func describe (#3220, @creydr)
  • Fix: push permission check with gitlab image registry (#3263, @matejvasek)
  • Func run --builder=host now fails fast with helpful guidance when explicit ports are invalid, privileged, or already in use instead of silently choosing a random port (#3176, @RayyanSeliya)
  • Function names starting with hyphens now show helpful DNS-1035 naming guidance instead of confusing flag parsing errors (#3167, @RayyanSeliya)
  • func deploy now validates cluster connectivity before building, providing immediate feedback with clear error messages instead of wasting time on builds that will fail deployment. (#3117, @RayyanSeliya)

Uncategorized

  • Feat: better error for s2i build -- show inner cause of the error (#3185, @matejvasek)
  • Fix: hidden flags username/password (and affiliated envvars) now work also for s2i and pack builder (#3298, @matejvasek)

Dependencies

Added

  • github.com/apapsch/go-jsonmerge/v2: v2.0.0
  • github.com/charmbracelet/colorprofile: v0.3.3
  • github.com/charmbracelet/x/ansi: v0.11.0
  • github.com/charmbracelet/x/cellbuf: v0.0.14
  • github.com/charmbracelet/x/term: v0.2.2
  • github.com/clipperhouse/displaywidth: v0.5.0
  • github.com/clipperhouse/stringish: v0.1.1
  • github.com/clipperhouse/uax29/v2: v2.3.0
  • github.com/erikgeiser/coninput: 1c3628e
  • github.com/google/jsonschema-go: v0.3.0
  • github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus: v1.0.1
  • github.com/grpc-ecosystem/go-grpc-middleware/v2: v2.3.0
  • github.com/modelcontextprotocol/go-sdk: v1.1.0
  • github.com/oapi-codegen/runtime: v1.0.0
  • github.com/xo/terminfo: abceb7e
  • go.etcd.io/raft/v3: v3.6.0
  • sigs.k8s.io/structured-merge-diff/v6: v6.3.0

Changed

Read more

v1.21.2

10 Mar 10:24
3f9df74

Choose a tag to compare

v1.21.2

v1.21.1

knative/func@release-1.21

Changes by Kind

Enhancement

  • Add --platform flag to func config ci command allowing users to specify which CI/CD platform to generate manifests for. Currently supports "github" (default). (#3379, @twoGiants)
  • Add --remote flag to func config ci to build functions on a Tekton enabled cluster and --workflow-dispatch to trigger workflows manually via the GitHub CLI or UI. (#3128, @twoGiants)
  • Add the --registry-authfile build parameter to allow to specify a custom registry auth file location (#3208, @creydr)
  • Add the possibility to deploy a function as raw kubernetes deployment via the --deployer=raw argument (#3075, @creydr)
  • Added env as a short alias for the environment command. Users can now use func env as a convenient shorthand for func environment. (#3219, @RayyanSeliya)
  • Allow to print the output from func version as json or yaml too (#3280, @creydr)
  • Event subscriptions now work with raw Kubernetes deployer (--deployer raw). (#3335, @24aysh)
  • Feat: pull secrets pre-check before deployment (#3333, @matejvasek)
  • Implement GitHub Actions workflow generation in func config ci command. The command now creates a complete deployment workflow with Kubernetes context setup, func CLI installation, and automated deployment. Supports customizable parameters for branch trigger, kubeconfig secret name, registry URL variable, and workflow name. (#3295, @twoGiants)
  • Improve error message when func describe is run outside function directory
    to be more beginner-friendly and provide clear guidance on creating functions
    before describing them. (#3027, @RayyanSeliya)
  • Invalid domain names are now caught immediately with helpful error messages, preventing wasted build time (#3152, @RayyanSeliya)
  • Invalid namespace names are now caught immediately with helpful error messages, preventing wasted build time (#3133, @RayyanSeliya)
  • Provide used middleware version as a function label (#3270, @creydr)
  • The func config ci command now resolves --path and --branch flags intelligently:
    • --path defaults to current working directory when empty or "."
    • --branch defaults to current git branch when not specified (previously "main") (#3371, @twoGiants)
  • The func config ci command now supports configurable registry authentication and runner options with the following new flags:
    • --use-registry-login: Enable/disable registry login step in generated workflow (default: true)
    • --registry-login-url-variable-name: Customize registry URL variable name (default: REGISTRY_LOGIN_URL)
    • --registry-user-variable-name: Customize registry username variable name (default: REGISTRY_USERNAME)
    • --registry-pass-secret-name: Customize registry password secret name (default: REGISTRY_PASSWORD)
    • --self-hosted-runner: Use self-hosted runners instead of ubuntu-latest (default: false) (#3297, @twoGiants)

Documentation

  • Added Command Reference section to README for easier discovery of CLI documentation (#3245, @RayyanSeliya)

Bug or Regression

  • Add latest middleware versions in func version output (#3281, @creydr)
  • Fix: on-cluster-build freeze caused by co-scheduling/affinity issues (#3350, @matejvasek)
  • Fix: populate image field in func describe (#3220, @creydr)
  • Fix: push permission check with gitlab image registry (#3263, @matejvasek)
  • Func run --builder=host now fails fast with helpful guidance when explicit ports are invalid, privileged, or already in use instead of silently choosing a random port (#3176, @RayyanSeliya)
  • Function names starting with hyphens now show helpful DNS-1035 naming guidance instead of confusing flag parsing errors (#3167, @RayyanSeliya)
  • func deploy now validates cluster connectivity before building, providing immediate feedback with clear error messages instead of wasting time on builds that will fail deployment. (#3117, @RayyanSeliya)

Uncategorized

  • Feat: better error for s2i build -- show inner cause of the error (#3185, @matejvasek)
  • Fix: hidden flags username/password (and affiliated envvars) now work also for s2i and pack builder (#3298, @matejvasek)

Dependencies

Added

  • github.com/apapsch/go-jsonmerge/v2: v2.0.0
  • github.com/charmbracelet/colorprofile: v0.3.3
  • github.com/charmbracelet/x/ansi: v0.11.0
  • github.com/charmbracelet/x/cellbuf: v0.0.14
  • github.com/charmbracelet/x/term: v0.2.2
  • github.com/clipperhouse/displaywidth: v0.5.0
  • github.com/clipperhouse/stringish: v0.1.1
  • github.com/clipperhouse/uax29/v2: v2.3.0
  • github.com/erikgeiser/coninput: 1c3628e
  • github.com/google/jsonschema-go: v0.3.0
  • github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus: v1.0.1
  • github.com/grpc-ecosystem/go-grpc-middleware/v2: v2.3.0
  • github.com/modelcontextprotocol/go-sdk: v1.1.0
  • github.com/oapi-codegen/runtime: v1.0.0
  • github.com/xo/terminfo: abceb7e
  • go.etcd.io/raft/v3: v3.6.0
  • sigs.k8s.io/structured-merge-diff/v6: v6.3.0

Changed

Read more

v1.21.1

03 Feb 10:27
e77aad8

Choose a tag to compare

v1.21.1

knative/func@release-1.21

Changes by Kind

Enhancement

  • Add --platform flag to func config ci command allowing users to specify which CI/CD platform to generate manifests for. Currently supports "github" (default). (#3379, @twoGiants)
  • Add --remote flag to func config ci to build functions on a Tekton enabled cluster and --workflow-dispatch to trigger workflows manually via the GitHub CLI or UI. (#3128, @twoGiants)
  • Add the --registry-authfile build parameter to allow to specify a custom registry auth file location (#3208, @creydr)
  • Add the possibility to deploy a function as raw kubernetes deployment via the --deployer=raw argument (#3075, @creydr)
  • Added env as a short alias for the environment command. Users can now use func env as a convenient shorthand for func environment. (#3219, @RayyanSeliya)
  • Allow to print the output from func version as json or yaml too (#3280, @creydr)
  • Event subscriptions now work with raw Kubernetes deployer (--deployer raw). (#3335, @24aysh)
  • Feat: pull secrets pre-check before deployment (#3333, @matejvasek)
  • Implement GitHub Actions workflow generation in func config ci command. The command now creates a complete deployment workflow with Kubernetes context setup, func CLI installation, and automated deployment. Supports customizable parameters for branch trigger, kubeconfig secret name, registry URL variable, and workflow name. (#3295, @twoGiants)
  • Improve error message when func describe is run outside function directory
    to be more beginner-friendly and provide clear guidance on creating functions
    before describing them. (#3027, @RayyanSeliya)
  • Invalid domain names are now caught immediately with helpful error messages, preventing wasted build time (#3152, @RayyanSeliya)
  • Invalid namespace names are now caught immediately with helpful error messages, preventing wasted build time (#3133, @RayyanSeliya)
  • Provide used middleware version as a function label (#3270, @creydr)
  • The func config ci command now resolves --path and --branch flags intelligently:
    • --path defaults to current working directory when empty or "."
    • --branch defaults to current git branch when not specified (previously "main") (#3371, @twoGiants)
  • The func config ci command now supports configurable registry authentication and runner options with the following new flags:
    • --use-registry-login: Enable/disable registry login step in generated workflow (default: true)
    • --registry-login-url-variable-name: Customize registry URL variable name (default: REGISTRY_LOGIN_URL)
    • --registry-user-variable-name: Customize registry username variable name (default: REGISTRY_USERNAME)
    • --registry-pass-secret-name: Customize registry password secret name (default: REGISTRY_PASSWORD)
    • --self-hosted-runner: Use self-hosted runners instead of ubuntu-latest (default: false) (#3297, @twoGiants)

Documentation

  • Added Command Reference section to README for easier discovery of CLI documentation (#3245, @RayyanSeliya)

Bug or Regression

  • Add latest middleware versions in func version output (#3281, @creydr)
  • Fix: on-cluster-build freeze caused by co-scheduling/affinity issues (#3350, @matejvasek)
  • Fix: populate image field in func describe (#3220, @creydr)
  • Fix: push permission check with gitlab image registry (#3263, @matejvasek)
  • Func run --builder=host now fails fast with helpful guidance when explicit ports are invalid, privileged, or already in use instead of silently choosing a random port (#3176, @RayyanSeliya)
  • Function names starting with hyphens now show helpful DNS-1035 naming guidance instead of confusing flag parsing errors (#3167, @RayyanSeliya)
  • func deploy now validates cluster connectivity before building, providing immediate feedback with clear error messages instead of wasting time on builds that will fail deployment. (#3117, @RayyanSeliya)

Uncategorized

  • Feat: better error for s2i build -- show inner cause of the error (#3185, @matejvasek)
  • Fix: hidden flags username/password (and affiliated envvars) now work also for s2i and pack builder (#3298, @matejvasek)

Dependencies

Added

  • github.com/apapsch/go-jsonmerge/v2: v2.0.0
  • github.com/charmbracelet/colorprofile: v0.3.3
  • github.com/charmbracelet/x/ansi: v0.11.0
  • github.com/charmbracelet/x/cellbuf: v0.0.14
  • github.com/charmbracelet/x/term: v0.2.2
  • github.com/clipperhouse/displaywidth: v0.5.0
  • github.com/clipperhouse/stringish: v0.1.1
  • github.com/clipperhouse/uax29/v2: v2.3.0
  • github.com/erikgeiser/coninput: 1c3628e
  • github.com/google/jsonschema-go: v0.3.0
  • github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus: v1.0.1
  • github.com/grpc-ecosystem/go-grpc-middleware/v2: v2.3.0
  • github.com/modelcontextprotocol/go-sdk: v1.1.0
  • github.com/oapi-codegen/runtime: v1.0.0
  • github.com/xo/terminfo: abceb7e
  • go.etcd.io/raft/v3: v3.6.0
  • sigs.k8s.io/structured-merge-diff/v6: v6.3.0

Changed

Read more

v1.21.0

28 Jan 19:29
7d24048

Choose a tag to compare

knative/func@release-1.21

Changes by Kind

Enhancement

  • Add --platform flag to func config ci command allowing users to specify which CI/CD platform to generate manifests for. Currently supports "github" (default). (#3379, @twoGiants)
  • Add --remote flag to func config ci to build functions on a Tekton enabled cluster and --workflow-dispatch to trigger workflows manually via the GitHub CLI or UI. (#3128, @twoGiants)
  • Add the --registry-authfile build parameter to allow to specify a custom registry auth file location (#3208, @creydr)
  • Add the possibility to deploy a function as raw kubernetes deployment via the --deployer=raw argument (#3075, @creydr)
  • Added env as a short alias for the environment command. Users can now use func env as a convenient shorthand for func environment. (#3219, @RayyanSeliya)
  • Allow to print the output from func version as json or yaml too (#3280, @creydr)
  • Event subscriptions now work with raw Kubernetes deployer (--deployer raw). (#3335, @24aysh)
  • Feat: pull secrets pre-check before deployment (#3333, @matejvasek)
  • Implement GitHub Actions workflow generation in func config ci command. The command now creates a complete deployment workflow with Kubernetes context setup, func CLI installation, and automated deployment. Supports customizable parameters for branch trigger, kubeconfig secret name, registry URL variable, and workflow name. (#3295, @twoGiants)
  • Improve error message when func describe is run outside function directory
    to be more beginner-friendly and provide clear guidance on creating functions
    before describing them. (#3027, @RayyanSeliya)
  • Invalid domain names are now caught immediately with helpful error messages, preventing wasted build time (#3152, @RayyanSeliya)
  • Invalid namespace names are now caught immediately with helpful error messages, preventing wasted build time (#3133, @RayyanSeliya)
  • Provide used middleware version as a function label (#3270, @creydr)
  • The func config ci command now resolves --path and --branch flags intelligently:
    • --path defaults to current working directory when empty or "."
    • --branch defaults to current git branch when not specified (previously "main") (#3371, @twoGiants)
  • The func config ci command now supports configurable registry authentication and runner options with the following new flags:
    • --use-registry-login: Enable/disable registry login step in generated workflow (default: true)
    • --registry-login-url-variable-name: Customize registry URL variable name (default: REGISTRY_LOGIN_URL)
    • --registry-user-variable-name: Customize registry username variable name (default: REGISTRY_USERNAME)
    • --registry-pass-secret-name: Customize registry password secret name (default: REGISTRY_PASSWORD)
    • --self-hosted-runner: Use self-hosted runners instead of ubuntu-latest (default: false) (#3297, @twoGiants)

Documentation

  • Added Command Reference section to README for easier discovery of CLI documentation (#3245, @RayyanSeliya)

Bug or Regression

  • Add latest middleware versions in func version output (#3281, @creydr)
  • Fix: on-cluster-build freeze caused by co-scheduling/affinity issues (#3350, @matejvasek)
  • Fix: populate image field in func describe (#3220, @creydr)
  • Fix: push permission check with gitlab image registry (#3263, @matejvasek)
  • Func run --builder=host now fails fast with helpful guidance when explicit ports are invalid, privileged, or already in use instead of silently choosing a random port (#3176, @RayyanSeliya)
  • Function names starting with hyphens now show helpful DNS-1035 naming guidance instead of confusing flag parsing errors (#3167, @RayyanSeliya)
  • func deploy now validates cluster connectivity before building, providing immediate feedback with clear error messages instead of wasting time on builds that will fail deployment. (#3117, @RayyanSeliya)

Uncategorized

  • Feat: better error for s2i build -- show inner cause of the error (#3185, @matejvasek)
  • Fix: hidden flags username/password (and affiliated envvars) now work also for s2i and pack builder (#3298, @matejvasek)

Dependencies

Added

  • github.com/apapsch/go-jsonmerge/v2: v2.0.0
  • github.com/charmbracelet/colorprofile: v0.3.3
  • github.com/charmbracelet/x/ansi: v0.11.0
  • github.com/charmbracelet/x/cellbuf: v0.0.14
  • github.com/charmbracelet/x/term: v0.2.2
  • github.com/clipperhouse/displaywidth: v0.5.0
  • github.com/clipperhouse/stringish: v0.1.1
  • github.com/clipperhouse/uax29/v2: v2.3.0
  • github.com/erikgeiser/coninput: 1c3628e
  • github.com/google/jsonschema-go: v0.3.0
  • github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus: v1.0.1
  • github.com/grpc-ecosystem/go-grpc-middleware/v2: v2.3.0
  • github.com/modelcontextprotocol/go-sdk: v1.1.0
  • github.com/oapi-codegen/runtime: v1.0.0
  • github.com/xo/terminfo: abceb7e
  • go.etcd.io/raft/v3: v3.6.0
  • sigs.k8s.io/structured-merge-diff/v6: v6.3.0

Changed

Read more

v1.20.1

16 Dec 14:49
7052943

Choose a tag to compare

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

Read more

v1.20.0

05 Nov 17:41
c9d4c54

Choose a tag to compare

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

Read more