Pulumi

Latest version: v3.116.1

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

Scan your dependencies

Page 34 of 59

2.23.0

Breaking

- [automation/go] Expose structured logging for Stack.Up/Preview/Refresh/Destroy.
[6436](https://github.com/pulumi/pulumi/pull/6436)

This change is marked breaking because it changes the shape of the `PreviewResult` struct.

**Before**

go
type PreviewResult struct {
Steps []PreviewStep `json:"steps"`
ChangeSummary map[string]int `json:"changeSummary"`
}


**After**

go
type PreviewResult struct {
StdOut string
StdErr string
ChangeSummary map[apitype.OpType]int
}


- [automation/dotnet] Add ability to capture stderr
[6513](https://github.com/pulumi/pulumi/pull/6513)

This change is marked breaking because it also renames `OnOutput` to `OnStandardOutput`.

Improvements

- [sdk/go] Add helpers to convert raw Go maps and arrays to Pulumi `Map` and `Array` inputs.
[6337](https://github.com/pulumi/pulumi/pull/6337)

- [sdk/go] Return zero values instead of panicing in `Index` and `Elem` methods.
[6338](https://github.com/pulumi/pulumi/pull/6338)

- [sdk/go] Support multiple folders in GOPATH.
[6228](https://github.com/pulumi/pulumi/pull/6228

- [cli] Add ability to download arm64 provider plugins
[6492](https://github.com/pulumi/pulumi/pull/6492)

- [build] Updating Pulumi to use Go 1.16
[6470](https://github.com/pulumi/pulumi/pull/6470)

- [build] Adding a Pulumi arm64 binary for use on new macOS hardware.
Please note that `pulumi watch` will not be supported on darwin/arm64 builds.
[6492](https://github.com/pulumi/pulumi/pull/6492)

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

- [automation/nodejs] Add `onOutput` event handler to `PreviewOptions`.
[6507](https://github.com/pulumi/pulumi/pull/6507)

- [cli] Add locking support to the self-managed backends using the `PULUMI_SELF_MANAGED_STATE_LOCKING=1` environment variable.
[2697](https://github.com/pulumi/pulumi/pull/2697)

Bug Fixes

- [sdk/python] Fix mocks issue when passing a resource more than once.
[6479](https://github.com/pulumi/pulumi/pull/6479)

- [automation/dotnet] Add ReadDiscard OperationType
[6493](https://github.com/pulumi/pulumi/pull/6493)

- [cli] Ensure the user has the correct access to the secrets manager before using it as part of
`pulumi stack export --show-secrets`.
[6215](https://github.com/pulumi/pulumi/pull/6210)

- [sdk/go] Implement getResource in the mock monitor.
[5923](https://github.com/pulumi/pulumi/pull/5923)

2.22.0

Improvements

- [6410](https://github.com/pulumi/pulumi/pull/6410) Add `diff` option to Automation API's `preview` and `up`

Bug Fixes

- [automation/dotnet] resolve issue with OnOutput delegate not being called properly during pulumi process execution.
[6435](https://github.com/pulumi/pulumi/pull/6435)

- [automation/python,nodejs,dotnet] BREAKING Remove `summary` property from `PreviewResult`.
The `summary` property on `PreviewResult` returns a result that is always incorrect and is being removed.
[6405](https://github.com/pulumi/pulumi/pull/6405)

- [automation/python] Fix Windows error caused by use of NamedTemporaryFile in automation api.
[6421](https://github.com/pulumi/pulumi/pull/6421)

- [sdk/nodejs] Serialize default parameters correctly. [6397](https://github.com/pulumi/pulumi/pull/6397)

- [cli] Respect provider aliases while diffing resources.
[6453](https://github.com/pulumi/pulumi/pull/6453)

2.21.2

Improvements

- [cli] Disable permalinks to the update details page when using self-managed backends (S3, Azure, GCS). Should the user
want to get permalinks when using a self backend, they can pass a flag:
`pulumi up --suppress-permalink false`.
Permalinks for these self-managed backends will be suppressed on `update`, `preview`, `destroy`, `import` and `refresh`
operations.
[6251](https://github.com/pulumi/pulumi/pull/6251)

- [cli] Added commands `config set-all` and `config rm-all` to set and remove multiple configuration keys.
[6373](https://github.com/pulumi/pulumi/pull/6373)

- [automation/*] Consume `config set-all` and `config rm-all` from automation API.
[6388](https://github.com/pulumi/pulumi/pull/6388)

- [sdk/dotnet] C Automation API.
[5761](https://github.com/pulumi/pulumi/pull/5761)

- [sdk/dotnet] F API to specify stack options.
[5077](https://github.com/pulumi/pulumi/pull/5077)

Bug Fixes

- [sdk/nodejs] Don't error when loading multiple copies of the same version of a Node.js
component package. [6387](https://github.com/pulumi/pulumi/pull/6387)

- [cli] Skip unnecessary state file writes to address performance regression introduced in 2.16.2.
[6396](https://github.com/pulumi/pulumi/pull/6396)

2.21.1

Bug Fixes

- [sdk/python] Fixed a change to `Output.all()` that raised an error if no inputs are passed in.
[6381](https://github.com/pulumi/pulumi/pull/6381)

2.21.0

Improvements

- [cli] Added pagination options to `pulumi stack history` [6292](https://github.com/pulumi/pulumi/pull/6292)
This is used as follows:
`pulumi stack history --page-size=20 --page=1`

- [automation/*] Added pagination options for stack history in Automation API SDKs to improve
performance of stack updates. [6257](https://github.com/pulumi/pulumi/pull/6257)
This is used similar to the following example in go:
go
func ExampleStack_History() {
ctx := context.Background()
stackName := FullyQualifiedStackName("org", "project", "stack")
stack, _ := SelectStackLocalSource(ctx, stackName, filepath.Join(".", "program"))
pageSize := 0
page := 0
hist, _ := stack.History(ctx, pageSize, page)
fmt.Println(hist[0].StartTime)
}


- [pkg/testing/integration] Changed the default behavior for Python test projects to use `UseAutomaticVirtualEnv` by
default. `UsePipenv` is now the way to use pipenv with tests.
[6318](https://github.com/pulumi/pulumi/pull/6318)

Bug Fixes

- [automation/go] Exposed the version in the UpdateSummary for use in understanding the version of a stack update
[6339](https://github.com/pulumi/pulumi/pull/6339)

- [cli] Changed the behavior for Python on Windows to look for `python` binary first instead of `python3`.
[6317](https://github.com/pulumi/pulumi/pull/6317)

- [sdk/python] Gracefully handle monitor shutdown in the python runtime without exiting the process.
[6249](https://github.com/pulumi/pulumi/pull/6249)

- [sdk/python] Fixed a bug in `contains_unknowns` where outputs with a property named "values" failed with a TypeError.
[6264](https://github.com/pulumi/pulumi/pull/6264)

- [sdk/python] Allowed keyword args in Output.all() to create a dict.
[6269](https://github.com/pulumi/pulumi/pull/6269)

- [sdk/python] Defined `__all__` in modules for better IDE autocomplete.
[6351](https://github.com/pulumi/pulumi/pull/6351)

- [automation/python] Fixed a bug in nested configuration parsing.
[6349](https://github.com/pulumi/pulumi/pull/6349)

2.20.0

- [sdk/python] Fix `Output.from_input` to unwrap nested output values in input types (args classes), which addresses
an issue that was preventing passing instances of args classes with nested output values to Provider resources.
[6221](https://github.com/pulumi/pulumi/pull/6221)

Page 34 of 59

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.