Skip to content

v0.4.0

Choose a tag to compare

@iciclespider iciclespider released this 10 Feb 05:10
· 16 commits to main since this release
11e4e56

BREAKING CHANGE

The default value of the unknownsFatal flag was changed from True to now be False. This aligns better with the equivalent functionality of function-patch-and-transform.

What's Changed

The function-pythonic render command can now retrieve resources to render from a running Kubernetes cluster using the --kube-context command line option. This enables local interactive debugging and testing of function-pythonic Compositions against an active Kubernetes cluster.

Added sophisticated support for coding explicit composed resource dependencies. The composed resource's ready field is used to track when the dependency is available.

  • Explicit dependency handling and integrate render command with an active cluster by @iciclespider in #34

Other updates:

  • Allow resource creation to support specifying the kind in either the first or second argument, and the apiVersion in the other.
  • Change default unknownsFatal to False.
  • Add —logger-level command line option to enable configuring logging output.
  • Rework Resource.ready to enable explicit dependency handling.
  • Rework auto ready implementation to support explicit dependency handling.
  • Implemented Resource.addDependency to enable explicit dependencies.
  • Support XR connection running in Crossplane V2 using LegacyCluster compositions.
  • Rework function level logging.
  • Fix issues with using “append” in protobuf handling.

Dependency Updates

  • chore(deps): update dependency kopf to v1.41.0 by @renovate[bot] in #23
  • chore(deps): update dependency kopf to v1.41.1 by @renovate[bot] in #24
  • chore(deps): update dependency kopf to v1.42.0 by @renovate[bot] in #25
  • chore(deps): update dependency kopf to v1.42.1 by @renovate[bot] in #26
  • chore(deps): update dependency pip to v26 by @renovate[bot] in #27
  • chore(deps): update dependency kopf to v1.42.4 by @renovate[bot] in #28
  • chore(deps): update dependency crossplane-function-sdk-python to v0.11.0 by @renovate[bot] in #31
  • chore(deps): update dependency pip to v26.0.1 by @renovate[bot] in #30
  • chore(deps): update dependency kopf to v1.42.5 by @renovate[bot] in #32
  • chore(deps): update dependency kr8s to v0.20.15 by @renovate[bot] in #35

Full Changelog: v0.3.1...v0.4.0