Skip to content

go-cfenv v1.22.0

Choose a tag to compare

@norman-abramovitz norman-abramovitz released this 28 Jul 20:19

Release v1.22.0

[Features]

  • Service bindings are now read from the file named by VCAP_SERVICES_FILE_PATH when Cloud Foundry provides it, so apps with the file-based-vcap-services feature enabled work without any application change. That feature exists for bindings too large for an environment variable (RFC-0030); with it enabled Cloud Foundry does not set VCAP_SERVICES at all, which previously made cfenv.Current fail outright. The SERVICE_BINDING_ROOT form of the RFC is not supported — it follows the Kubernetes servicebinding.io layout, which has no faithful translation into the VCAP_SERVICES shape. (#28)