Pulumi

Latest version: v3.116.1

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 33 of 59

2.25.1

Bug Fixes

- [automation/python] Fix serialization bug in `StackSettings`
[6776](https://github.com/pulumi/pulumi/pull/6776)

2.25.0

Breaking

- [automation/dotnet] Rename (Get,Set,Remove)Config(Value)
[6731](https://github.com/pulumi/pulumi/pull/6731)

The following methods on Workspace and WorkspaceStack classes have
been renamed. Please update your code (before -> after):

* GetConfigValue -> GetConfig
* SetConfigValue -> SetConfig
* RemoveConfigValue -> RemoveConfig
* GetConfig -> GetAllConfig
* SetConfig -> SetAllConfig
* RemoveConfig -> RemoveAllConfig

This change was made to align with the other Pulumi language SDKs.

Improvements

- [cli] Add option to print absolute rather than relative dates in stack history
[6742](https://github.com/pulumi/pulumi/pull/6742)

Example:
bash
pulumi stack history --full-dates


- [cli] Enable absolute and relative parent paths for pulumi main
[6734](https://github.com/pulumi/pulumi/pull/6734)

- [sdk/dotnet] Thread-safe concurrency-friendly global state
[6139](https://github.com/pulumi/pulumi/pull/6139)

- [tooling] Update pulumi python docker image to python 3.9
[6706](https://github.com/pulumi/pulumi/pull/6706)

- [sdk/nodejs] Add program side caching for dynamic provider serialization behind env var
[6673](https://github.com/pulumi/pulumi/pull/6673)

- [sdk/nodejs] Allow prompt values in `construct` for multi-lang components.
[6522](https://github.com/pulumi/pulumi/pull/6522)

- [automation/dotnet] Allow null environment variables
[6687](https://github.com/pulumi/pulumi/pull/6687)

- [automation/dotnet] Expose WorkspaceStack.GetOutputsAsync
[6699](https://github.com/pulumi/pulumi/pull/6699)

Example:
csharp
var stack = await WorkspaceStack.CreateAsync(stackName, workspace);
await stack.SetConfigAsync(config);
var initialOutputs = await stack.GetOutputsAsync();


- [automation/dotnet] Implement (Import,Export)StackAsync methods on LocalWorkspace and WorkspaceStack and expose StackDeployment helper class.
[6728](https://github.com/pulumi/pulumi/pull/6728)

Example:
csharp
var stack = await WorkspaceStack.CreateAsync(stackName, workspace);
var upResult = await stack.UpAsync();
deployment = await workspace.ExportStackAsync(stackName);


- [automation/dotnet] Implement CancelAsync method on WorkspaceStack
[6729](https://github.com/pulumi/pulumi/pull/6729)

Example:
csharp
var stack = await WorkspaceStack.CreateAsync(stackName, workspace);
var cancelTask = stack.CancelAsync();


- [automation/python] Expose structured logging for Stack.up/preview/refresh/destroy.
[6527](https://github.com/pulumi/pulumi/pull/6527)

You can now pass in an `on_event` callback function as a keyword arg to `up`, `preview`, `refresh`
and `destroy` to process streaming json events defined in `automation/events.py`

Example:
python
stack.up(on_event=print)


Bug Fixes

- [sdk/go] Fix wrongly named Go modules
[6775](https://github.com/pulumi/pulumi/issues/6775)

- [cli] Handle non-existent creds file in `pulumi logout --all`
[6741](https://github.com/pulumi/pulumi/pull/6741)

- [automation/nodejs] Do not run the promise leak checker if an inline program has errored.
[6758](https://github.com/pulumi/pulumi/pull/6758)

- [sdk/nodejs] Explicitly create event log file for NodeJS Automation API.
[6730](https://github.com/pulumi/pulumi/pull/6730)

- [sdk/nodejs] Fix error handling for failed logging statements
[6714](https://github.com/pulumi/pulumi/pull/6714)

- [sdk/nodejs] Fix `Construct` to wait for child resources of a multi-lang components to be created.
[6452](https://github.com/pulumi/pulumi/pull/6452)

- [sdk/python] Fix serialization bug if output contains 'items' property.
[6701](https://github.com/pulumi/pulumi/pull/6701)

- [automation] Set default value for 'main' for inline programs to support relative paths, assets, and closure serialization.
[6743](https://github.com/pulumi/pulumi/pull/6743)

- [automation/dotnet] Environment variable value type is now nullable.
[6520](https://github.com/pulumi/pulumi/pull/6520)

- [automation/dotnet] Fix GetConfigValueAsync failing to deserialize
[6698](https://github.com/pulumi/pulumi/pull/6698)

- [automation] Fix (de)serialization of StackSettings in .NET, Node, and Python.
[6752](https://github.com/pulumi/pulumi/pull/6752)
[6754](https://github.com/pulumi/pulumi/pull/6754)
[6749](https://github.com/pulumi/pulumi/pull/6749)

2.24.1

Bug Fixes

- [cli] Revert the swapping out of the YAML parser library
[6681](https://github.com/pulumi/pulumi/pull/6681)

- [automation/go,python,nodejs] Respect pre-existing Pulumi.yaml for inline programs.
[6655](https://github.com/pulumi/pulumi/pull/6655)

2.24.0

Improvements

- [sdk/nodejs] Add provider side caching for dynamic provider deserialization
[6657](https://github.com/pulumi/pulumi/pull/6657)

- [automation/dotnet] Expose structured logging
[6572](https://github.com/pulumi/pulumi/pull/6572)

- [cli] Support full fidelity YAML round-tripping
- Strip Byte-order Mark (BOM) from YAML configs during load. [6636](https://github.com/pulumi/pulumi/pull/6636)
- Swap out YAML parser library [6642](https://github.com/pulumi/pulumi/pull/6642)

- [sdk/python] Ensure all async tasks are awaited prior to exit.
[6606](https://github.com/pulumi/pulumi/pull/6606)

Bug Fixes

- [sdk/nodejs] Fix error propagation in registerResource and other resource methods.
[6644](https://github.com/pulumi/pulumi/pull/6644)

- [automation/python] Fix passing of additional environment variables.
[6639](https://github.com/pulumi/pulumi/pull/6639)

- [sdk/python] Make exceptions raised by calls to provider functions (e.g. data sources) catchable.
[6504](https://github.com/pulumi/pulumi/pull/6504)

- [automation/go,python,nodejs] Respect pre-existing Pulumi.yaml for inline programs.
[6655](https://github.com/pulumi/pulumi/pull/6655)

2.23.2

Improvements

- [cli] Improve diff displays during `pulumi refresh`
[6568](https://github.com/pulumi/pulumi/pull/6568)

- [sdk/go] Cache loaded configuration files.
[6576](https://github.com/pulumi/pulumi/pull/6576)

- [sdk/nodejs] Allow `Mocks::newResource` to determine whether the created resource is a `CustomResource`.
[6551](https://github.com/pulumi/pulumi/pull/6551)

- [automation/*] Implement minimum version checking and add:
- Go: `LocalWorkspace.PulumiVersion()` [6577](https://github.com/pulumi/pulumi/pull/6577)
- Nodejs: `LocalWorkspace.pulumiVersion` [6580](https://github.com/pulumi/pulumi/pull/6580)
- Python: `LocalWorkspace.pulumi_version` [6589](https://github.com/pulumi/pulumi/pull/6589)
- Dotnet: `LocalWorkspace.PulumiVersion` [6590](https://github.com/pulumi/pulumi/pull/6590)

Bug Fixes

- [sdk/python] Fix automatic venv creation
[6599](https://github.com/pulumi/pulumi/pull/6599)

- [automation/python] Fix Settings file save
[6605](https://github.com/pulumi/pulumi/pull/6605)

- [sdk/dotnet] Remove MaybeNull from Output/Input.Create to avoid spurious warnings
[6600](https://github.com/pulumi/pulumi/pull/6600)

2.23.1

Bug Fixes

- [cli] Fix a bug where a version wasn't passed to go install commands as part of `make brew` installs from homebrew
[6566](https://github.com/pulumi/pulumi/pull/6566)

Page 33 of 59

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.