pulumi/changelog/pending
Julien 1dd366951f
Ignore DependsOn for direct form invokes instead of raising an error (#18089)
When we introduced DependsOn for output form invokes in Go, we made it
an error to pass this option to direct form invokes. Unfortunately that
is not backwards compatible, and users for example pass the same set of
options to resources and invokes. Previously this worked without issue,
but now this can result in an error.

This also occurs in our SDKs. The Kubernetes SDK has resources that
internally call an invoke with the options of the resource.

The solution is to ignore DependsOn in this case, instead of making it
an error. This is what we did for Python and Typescript, [for
example](27cf193189/sdk/nodejs/runtime/invoke.ts (L88-L92)).

Fixes https://github.com/pulumi/pulumi/issues/18087
2024-12-20 16:40:43 +00:00
..
20241205--auto-go--add-configfile-to-getconfig-and-setconfig-operations.yaml Add ConfigFile to GetConfig and SetConfig Ops In Go Automation API (#17939) 2024-12-12 18:55:47 +00:00
20241206--cli-plugin--log-plugin-unstructured-output-to-debug-instead-of-info.yaml Log Plugin stdout & stderr as debug (instead of info) (#17943) 2024-12-12 18:09:19 +00:00
20241212--engine--change-loader-server-to-use-package-load-v2-so-it-can-include-paramaterization.yaml fixup changelog style (#18072) 2024-12-19 11:58:42 +00:00
20241212--engine--warn-if-refresh-or-destroy-use-older-parameterized-packages.yaml Update the refresh/destroy warnings for parameterized packages (#18029) 2024-12-20 02:03:17 +00:00
20241212--programgen-dotnet--emit-local-dependencies-in-restore-sources-deterministically.yaml [codegen/dotnet] Emit local dependencies in restore sources deterministically (#18026) 2024-12-12 12:33:16 +00:00
20241213--auto-go--fix-potential-race-condition-when-using-automation-api.yaml fix race conditions in nxadm/tail library (#18044) 2024-12-16 14:32:08 +00:00
20241213--cli-install--avoid-unnecessary-node-js-installations.yaml Avoid unnecessary Node.js installations (#18041) 2024-12-13 10:34:14 +00:00
20241213--sdkgen-dotnet--compute-restore-sources-from-local-dependencies-and-referenced-packages.yaml [sdkgen/dotnet] Compute restore sources from local dependencies and referenced packages (#18042) 2024-12-13 15:11:51 +00:00
20241216--sdk-python--fix-hang-on-error-when-using-uv-on-windows.yaml Fix hang on error when using uv on Windows (#18054) 2024-12-16 18:14:20 +00:00
20241216--sdkgen-go--skip-testpackageaddgoparameterized.yaml Skip TestPackageAddGoParameterized (#18049) 2024-12-16 09:32:50 +00:00
20241217--backend-diy--retry-deletes-of-lock-files-if-they-fail.yaml retry deletes in a bucket if they fail (#18059) 2024-12-18 09:38:13 +00:00
20241218--sdk-nodejs--respect-the-nocheck-option-from-tsconfig-json.yaml Respect the noCheck option from tsconfig.json (#18067) 2024-12-20 16:00:57 +00:00
20241219--auto-go--fix-debug-flag-in-automation-api.yaml Append debug flags after subcommand to account for non global flags like "debug" (#18071) 2024-12-19 23:10:29 +00:00
20241219--sdk-dotnet--update-dotnet-to-3-71-1.yaml Update dotnet to 3.71.1 (#18084) 2024-12-20 12:52:58 +00:00
20241219--sdk-nodejs--gracefully-handle-errors-that-dont-implement-tostring.yaml Gracefully handle errors that don't implement toString (#18080) 2024-12-20 14:29:09 +00:00
20241219--sdk-yaml--update-pulumi-yaml-to-1-13-0.yaml Update pulumi-yaml to 1.13.0 (#18077) 2024-12-19 14:53:51 +00:00
20241220--sdk-go--ignore-dependson-for-direct-form-invokes-instead-of-raising-an-error.yaml Ignore DependsOn for direct form invokes instead of raising an error (#18089) 2024-12-20 16:40:43 +00:00