Changelog History
Page 10
-
v2.25.1 Changes
April 15, 2021๐ Bug Fixes
- [automation/python] - Fix serialization bug in
StackSettings
#6776
- [automation/python] - Fix serialization bug in
-
v2.25.0 Changes
April 14, 2021๐ฅ Breaking
- ๐ [automation/dotnet] Rename (Get,Set,Remove)Config(Value) #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
Example:
pulumi stack history --full-dates
[cli] Enable absolute and relative parent paths for pulumi main #6734
[sdk/dotnet] Thread-safe concurrency-friendly global state #6139
โก๏ธ [tooling] Update pulumi python docker image to python 3.9 #6706
[sdk/nodejs] Add program side caching for dynamic provider serialization behind env var #6673
[sdk/nodejs] Allow prompt values in
construct
for multi-lang components. #6522[automation/dotnet] Allow null environment variables #6687
[automation/dotnet] Expose WorkspaceStack.GetOutputsAsync #6699
Example:
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
Example:
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
Example:
var stack = await WorkspaceStack.CreateAsync(stackName, workspace); var cancelTask = stack.CancelAsync();
- ๐ฒ [automation/python] - Expose structured logging for Stack.up/preview/refresh/destroy. #6527
You can now pass in an
on_event
callback function as a keyword arg toup
,preview
,refresh
anddestroy
to process streaming json events defined inautomation/events.py
Example:
stack.up(on_event=print)
๐ Bug Fixes
[sdk/go] Fix wrongly named Go modules #6775
[cli] Handle non-existent creds file in
pulumi logout --all
#6741[automation/nodejs] Do not run the promise leak checker if an inline program has errored. #6758
๐ฒ [sdk/nodejs] Explicitly create event log file for NodeJS Automation API. #6730
๐ฒ [sdk/nodejs] Fix error handling for failed logging statements #6714
[sdk/nodejs] Fix
Construct
to wait for child resources of a multi-lang components to be created. #6452[sdk/python] Fix serialization bug if output contains 'items' property. #6701
๐ฑ [automation] Set default value for 'main' for inline programs to support relative paths, assets, and closure serialization. #6743
[automation/dotnet] Environment variable value type is now nullable. #6520
[automation/dotnet] Fix GetConfigValueAsync failing to deserialize #6698
[automation] Fix (de)serialization of StackSettings in .NET, Node, and Python. #6752 #6754 #6749
-
v2.24.1 Changes
April 01, 2021 -
v2.24.0 Changes
March 31, 2021๐ Improvements
[sdk/nodejs] Add provider side caching for dynamic provider deserialization #6657
๐ฒ [automation/dotnet] Expose structured logging #6572
๐ [cli] Support full fidelity YAML round-tripping
[sdk/python] Ensure all async tasks are awaited prior to exit. #6606
๐ Bug Fixes
[sdk/nodejs] Fix error propagation in registerResource and other resource methods. #6644
[automation/python] Fix passing of additional environment variables. #6639
[sdk/python] Make exceptions raised by calls to provider functions (e.g. data sources) catchable. #6504
[automation/go,python,nodejs] Respect pre-existing Pulumi.yaml for inline programs. #6655
-
v2.23.2 Changes
March 25, 2021๐ Improvements
[cli] Improve diff displays during
pulumi refresh
#6568๐ง [sdk/go] Cache loaded configuration files. #6576
๐คก [sdk/nodejs] Allow
Mocks::newResource
to determine whether the created resource is aCustomResource
. #6551[automation/*] Implement minimum version checking and add:
๐ Bug Fixes
-
v2.23.1 Changes
March 17, 2021๐ 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
- [cli] Fix a bug where a version wasn't passed to go install commands as part of
-
v2.23.0 Changes
March 17, 2021๐ฅ Breaking
- ๐ฒ [automation/go] - Expose structured logging for Stack.Up/Preview/Refresh/Destroy. #6436
This change is marked breaking because it changes the shape of the
PreviewResult
struct.Before
type PreviewResult struct { Steps []PreviewStep `json:"steps"` ChangeSummary map[string]int `json:"changeSummary"` }
After
type PreviewResult struct { StdOut string StdErr string ChangeSummary map[apitype.OpType]int }
- [automation/dotnet] Add ability to capture stderr #6513
This change is marked breaking because it also renames
OnOutput
toOnStandardOutput
.๐ Improvements
[sdk/go] Add helpers to convert raw Go maps and arrays to Pulumi
Map
andArray
inputs. #6337[sdk/go] Return zero values instead of panicing in
Index
andElem
methods. #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
โก๏ธ [build] Updating Pulumi to use Go 1.16 #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๐ฒ [automation/nodejs] - Expose structured logging for Stack.up/preview/refresh/destroy. #6454
[automation/nodejs] - Add
onOutput
event handler toPreviewOptions
. #6507[cli] Add locking support to the self-managed backends using the
PULUMI_SELF_MANAGED_STATE_LOCKING=1
environment variable. #2697
๐ Bug Fixes
๐คก [sdk/python] Fix mocks issue when passing a resource more than once. #6479
[automation/dotnet] Add ReadDiscard OperationType #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๐คก [sdk/go] Implement getResource in the mock monitor. #5923
-
v2.22.0 Changes
March 03, 2021๐ Improvements
- #6410 Add
diff
option to Automation API'spreview
andup
๐ Bug Fixes
[automation/dotnet] - resolve issue with OnOutput delegate not being called properly during pulumi process execution. #6435
๐ [automation/python,nodejs,dotnet] - BREAKING - Remove
summary
property fromPreviewResult
. Thesummary
property onPreviewResult
returns a result that is always incorrect and is being removed. #6405๐ [automation/python] - Fix Windows error caused by use of NamedTemporaryFile in automation api. #6421
0๏ธโฃ [sdk/nodejs] Serialize default parameters correctly. #6397
[cli] Respect provider aliases while diffing resources. #6453
- #6410 Add
-
v2.21.2 Changes
February 22, 2021๐ 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 onupdate
,preview
,destroy
,import
andrefresh
operations. #6251๐ง [cli] Added commands
config set-all
andconfig rm-all
to set and remove multiple configuration keys. #6373[automation/*] Consume
config set-all
andconfig rm-all
from automation API. #6388[sdk/dotnet] C# Automation API. #5761
[sdk/dotnet] F# API to specify stack options. #5077
๐ Bug Fixes
-
v2.21.1 Changes
February 18, 2021๐ Bug Fixes
- ๐ [sdk/python] Fixed a change to
Output.all()
that raised an error if no inputs are passed in. #6381
- ๐ [sdk/python] Fixed a change to