pulumi/changelog/pending
Justin Van Patten d312b5560a
[sdk/python] Maintain old behavior for empty k8s invoke results (#14535)
The hand-rolled invoke code in the Kubernetes Python SDK is not
expecting empty dicts for empty results. Instead, it has code that
checks for `None`.

In general, we want to keep the behavior of returning empty dicts rather
than `None` for empty results, as this aligns with the behavior of other
SDKs (Node.js and Go) and is actually the original behavior of the
Python SDK (it regressed unintentionally in the v2 timeframe).

We're updating the Kubernetes Python SDK to be resilient to either
getting an empty dict or `None` for invokes with empty results.

Additionally, to maintain compat with older versions of the Kubernetes
Python SDK, we'll special case those invoke tokens. When an invoke's
result is empty and the token is one of the Kubernete's function tokens,
we'll return `None` rather than the empty dict.

Fixes #14508
2023-11-14 22:26:45 +00:00
..
20230908--cli-config--config-refresh-will-now-restore-secret-provider-config-from-the-last-deployment.yaml Restore secrets provider in config refresh (#13900) 2023-11-13 12:27:46 +00:00
20231031--engine--import-can-now-create-empty-component-resource-to-use-as-the-parent-of-other-imported-resources.yaml Allow `import` to create empty component resources (#14467) 2023-11-13 17:58:35 +00:00
20231031--engine--import-can-now-import-a-parent-resource-in-the-same-deployment-as-a-child-resource.yaml Allow importing a parent and child resource at the same time (#14461) 2023-11-10 13:31:11 +00:00
20231103--pkg--fixes-a-panic-in-property-mapping-logic.yaml Fix panic in mapper_encode (#14498) 2023-11-04 18:31:22 +00:00
20231103--sdk-python--add-provider-side-caching-for-dynamic-provider-deserialization.yaml Add deserialisation cache to Python dynamic provider (#14491) 2023-11-03 21:41:30 +00:00
20231103--sdkgen-go--remove-generic-tooutput-methods-from-legacy-non-generic-go-sdks.yaml [go/sdkgen] Remove generic ToOutput methods from non-generic go SDKs (#14492) 2023-11-04 12:17:41 +00:00
20231106--cli-new--fix-panic-parsing-template-url.yaml Fix panic in isZIPTemplateURL (#14504) 2023-11-06 15:26:47 +00:00
20231110--engine--ignore-spurious-error-from-kubernetes-providers-diffconfig-method.yaml Ignore spurious error from kubernetes DiffConfig (#14533) 2023-11-11 09:59:39 +00:00
20231111--sdk-python--maintain-old-behavior-for-empty-kubernetes-invoke-results.yaml [sdk/python] Maintain old behavior for empty k8s invoke results (#14535) 2023-11-14 22:26:45 +00:00
20231113--cli-new--simplifies-url-parsing-for-pulumi-new-zip.yaml Simplifies URL parsing for pulumi new <zip> (#14546) 2023-11-13 17:08:52 +00:00
20231113--components-yaml--upgrade-yaml-to-1-4-1.yaml upgrade pulumi-yaml to 1.4.1 (#14542) 2023-11-13 10:50:48 +00:00
20231113--engine--import-files-no-longer-need-parent-urns-in-the-name-table-for-resource-being-imported-in-the-same-file.yaml Auto fill in URNs for parents in import files (#14524) 2023-11-13 21:17:03 +00:00