Pulumi v3.252.0

v3.252.0
Added 4
  • Add `import` to the generated automation APIs for NodeJS, Python and Go
  • Add a `--reason` flag to `pulumi env open-request` to explain the request to approvers
  • Allow binding hooks to a resource's `onError` option
  • Add a `production` runtime option for Node.js projects that skips `devDependencies` when set to `true` in `Pulumi.yaml`
Changed 5
  • Improve the error message when using Pulumi ESC with a DIY backend to suggest logging into Pulumi Cloud
  • Show command name for cli commands when running any command that lists logs
  • Render strings containing non-UTF8 bytes as b"<base64>" in diffs and JSON output
  • Improve the error message when a resource URN is not found in the state for `pulumi state` commands, suggesting close-matching URNs and how to list the URNs in the stack
  • Report the TypeScript version in `pulumi about`
Fixed 11
  • Exit with a non-zero code when a command group such as `pulumi env` is given an unknown subcommand or no subcommand at all
  • Fix a panic when displaying a stack-level policy violation
  • Make reading non-secret stack outputs and running `pulumi about` no longer require the passphrase for passphrase-encrypted stacks
  • Avoid `pulumi logs <command>` showing the log for the currently running command
  • Fix calling delete on PF resources that need read called first
  • Submit the change request created by `pulumi env open-request` so it is pending approval instead of being left as an unsubmitted draft
3.252.0 (2026-07-13)
Features
  • [auto] Add import to the generated automation APIs for NodeJS, Python and Go #23876
  • [cli] Improve the error message when using Pulumi ESC with a DIY backend to suggest logging into Pulumi Cloud #23811
  • [cli] Show command name for cli commands when running any command that lists logs #23889
  • [cli/display] Render strings containing non-UTF8 bytes as b"" in diffs and JSON output #23870
  • [cli/env] Add a --reason flag to pulumi env open-request to explain the request to approvers #23802
  • [cli/state] Improve the error message when a resource URN is not found in the state for pulumi state commands, suggesting close-matching URNs and how to list the URNs in the stack #23812
  • [pcl] Allow binding hooks to a resource's onError option #23838
  • [sdk/nodejs] Add a production runtime option for Node.js projects. When set to true in Pulumi.yaml, pulumi install skips devDependencies (npm --production, pnpm --production, yarn --production). #23849
Bug Fixes
  • [cli] Exit with a non-zero code when a command group such as pulumi env is given an unknown subcommand or no subcommand at all #23814
  • [cli] Fix a panic when displaying a stack-level policy violation #23692
  • [cli] Make reading non-secret stack outputs and running pulumi about no longer require the passphrase for passphrase-encrypted stacks #23820
  • [cli] Avoid pulumi logs <command> showing the log for the currently running command #23887
  • [cli/do] Fix calling delete on PF resources that need read called first #23837
  • [cli/env] Submit the change request created by pulumi env open-request so it is pending approval instead of being left as an unsubmitted draft #23802
  • [cli/neo] Fix the initial prompt sometimes rendering above the welcome banner in pulumi neo #23831
  • [engine] Fix importing a resource whose import identifier differs from its canonical ID causes the resource to be deleted on a subsequent update #23834
  • [programgen] Deduplicate identical apply arguments to avoid unnecessary Promise.all/pulumi.all/Output.All in generated code #22293
  • [sdk] Failed resource registrations will return faulted outputs, not unknown outputs #23844
  • [sdk/nodejs] Fix empty node_modules folders in serialized function archives when using pnpm or symlinked workspace packages #23866
Miscellaneous
  • [sdk/nodejs] Report the TypeScript version in pulumi about #23850
  • [sdk/nodejs] Update OpenTelemetry dependencies #23855
View original

Upgraded? How did it go?

Discussion