platformchangelog.dev
43 tools
feedrelease

Pulumi 3.269.0

++++++++**********

Pulumi v3.269.0 adds runtime functions to the Go, Node.js and Python SDKs that check whether a resource with a given ID exists without adopting it into the stack. It runs OPA policy packs through a pulumi-language-opa plugin that the CLI downloads on demand. The release also makes pulumi logs and pulumi watch error by default ahead of their removal, and includes 18 fixes across PCL, the CLI and the SDKs.

What changes for platform teams

Teams running OPA policy packs will get the CLI-downloaded language plugin instead of the old analyzer fallback for runtimes without a language plugin. Scripts that call pulumi logs or pulumi watch will start failing by default and should be checked before the removal lands.

Changes

  • [sdk] Add runtime functions to the Go, Node.js and Python SDKs that check whether a resource with a given ID exists without adopting it into the stackadded
  • [engine] Negotiate OutputValues on Call so SDKs receive per-value return dependenciesadded
  • [auto] Add convert to the generated automation APIs for NodeJS, Python and Goadded
  • [auto] Add refresh to the generated automation APIs for NodeJS, Python and Goadded
  • [auto] Add about commands to the generated automation APIs for NodeJS, Python and Goadded
  • [auto] Add config commands to the generated automation APIs for NodeJS, Python and Goadded
  • [cli/policy] Run OPA policy packs through the pulumi-language-opa language plugin, which the CLI downloads on demand, and stop falling back to a pulumi-analyzer-policy-<runtime> plugin for policy packs whose runtime has no language pluginadded
  • [cli/new] Mark npm as the recommended package manager when prompting in pulumi newadded
  • [sdk/go] Make IDInput and URNInput satisfy StringInput, and AssetInput and ArchiveInput satisfy AssetOrArchiveInputadded
  • [cli/new] Skip the package manager prompt for new Node.js projects when only one package manager is installedadded
  • [cli/new] Use pip without prompting for a toolchain in pulumi new when neither Poetry nor uv is installedadded
  • [cli] Make pulumi logs error by default before its removaladded
19 more lines
  • [cli] Make pulumi watch error by default before its removaladded
  • [pcl] Accept a lookup default of any type and type the result as the unification of the element type and the defaultfixed
  • [pcl] Report a missing lookup default at bind time instead of failing when the program runsfixed
  • [pcl] Accept a tuple literal that holds an output where a function or property expects the input form of a tuple, such as length([secret(x)])fixed
  • [pcl] Fix a panic in the PCL interpreter's entries built-in on a map whose values have different shapes or on an empty mapfixed
  • [cli/policy] Fix pulumi policy group edit so that it adds and removes stacks, Policy Packs, and Insights accountsfixed
  • [pcl] Stop lifting a prompt operand's type-conversion wrapper into an unnecessary apply, which produced invalid Go codefixed
  • [cli/new] Fix switching template source when prefixes matchfixed
  • [cli] Redact secrets carried on output values in plaintext log output and in pulumi logs sharefixed
  • [cli/new] Fix template fetching when changing branchesfixed
  • [cli] Log in through the browser on pulumi login in agent mode instead of creating a new agent accountfixed
  • [programgen/go] Remove redundant ToIDOutput().ToStringOutput() conversions when passing resource IDs to string inputsfixed
  • [programgen/go] Type object literals of outputs as pulumi.StringMap and friends so they compile and export without a castfixed
  • [cli/neo] Honor optional refresh settings in agent previews without persisting refreshed statefixed
  • [cli] Stop finished download and unpack progress bars from reappearing below later output, such as the pulumi new success messagefixed
  • [sdk/python] Fix Output.recover failing to catch faults that arrive through apply or after the program body has returnedfixed
  • [pcl] Recover from failed function calls with recover in the PCL interpreterfixed
  • [pcl] Check assignability of recursive types, such as a schema object that nests itself, without overflowing the stackfixed
  • [pcl] Fix Equals on recursive object types that differ under a cyclefixed
31 lines13 added18 fixedtyped from the source notes

Full release notes ↗ · all Pulumi releases

written by claude-haiku-5-5, prompt 7cbe154, checked by publish rules

Report a mistake

context

Tools

Open Policy AgentPulumi

Other Pulumi releases

How this was written

The change list is the project's own release notes, sorted into change types by fixed rules. The summary was written from the original by the model named above, checked by fixed publishing rules, and read by an editor after publication. See the methodology.

Back to the feed