function-sdk-go v0.5.0 is a minor release focusing on Crossplane v2 support and compatibility. This SDK is now built on crossplane-runtime v2.0.0. This release also includes a number of community driven contributions for new features and functionality.
Highlights 🎉
- Support for Operation functions, a key feature of Crossplane v2 #212
- Support for
crossplane-runtimev2 #226 - Expose prometheus metrics for function request duration, count, size, and error rates #229
- Implement a health server #208 - optionally include a health server in your functions that can be used as a gRPC liveness probe
SetDesiredCompositeResource()now sets the composite ready state as part of the function response #218- Test functions no longer rely on
provider-awstypes, simplifying the dependency and enabling usage of this SDK by a broader range of functions #224
What's Changed
- Empty commit after release-0.4 branch cut by @jbw976 in #202
- Update module golang.org/x/net to v0.33.0 [SECURITY] by @renovate[bot] in #203
- Update actions/cache digest to 5a3ec84 by @renovate[bot] in #199
- Update actions/checkout digest to 11bd719 - autoclosed by @renovate[bot] in #200
- Update module golang.org/x/crypto to v0.35.0 [SECURITY] by @renovate[bot] in #204
- feat: sync protobuff with xp v2 changes by @phisco in #209
- Update actions/setup-go digest to d35c59a by @renovate[bot] in #210
- Update module github.com/go-chi/chi/v5 to v5.2.2 [SECURITY] by @renovate[bot] in #213
- Update golangci/golangci-lint-action action to v8 by @renovate[bot] in #215
- Bump Go to v1.24, and golangci-lint to v2.2.1 by @negz in #211
- Support operation functions by @negz in #212
- feat: Implement optional health server by @yeldiRium in #208
- api: roll back run function protobuf extra resources field name change by @jbw976 in #220
- Support both required resources and (deprecated) extra resources by @negz in #221
- Expose composite ready state in function response by @tenitski in #218
- remove github.com/upbound/provider-aws dependency by @awprice in #224
- Update actions/checkout digest to 08eba0b by @renovate[bot] in #227
- Tailor CodeRabbit configuration for function-sdk-go by @negz in #231
- add support for exposing prometheus metrics for function runs by @sagarwal16-atlassian in #229
- Update to crossplane-runtime v2.0.0 by @twobiers in #226
- Update github/codeql-action digest to 4221315 by @renovate[bot] in #230
- Update actions/github-script digest to f28e40c by @renovate[bot] in #228
- Update module github.com/containerd/containerd to v1.7.27 [SECURITY] by @renovate[bot] in #207
- Update docker/login-action digest to 5e57cd1 by @renovate[bot] in #217
- Update k8s.io/utils digest to bc988d5 by @renovate[bot] in #188
- chore: add OWNERS.md file to match repo permissions by @jbw976 in #233
- Update module github.com/docker/docker to v28 [SECURITY] by @renovate[bot] in #222
New Contributors
- @jbw976 made their first contribution in #202
- @yeldiRium made their first contribution in #208
- @tenitski made their first contribution in #218
- @awprice made their first contribution in #224
- @sagarwal16-atlassian made their first contribution in #229
- @twobiers made their first contribution in #226
Full Changelog: v0.4.0...v0.5.0