Back to Pulumi

V2.21.0

changelog/v2.21.0.md

3.244.02.0 KB
Original Source

2.21.0 (2021-02-17)

Improvements

  • [cli] Added pagination options to pulumi stack history #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 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

Bug Fixes

  • [automation/go] Exposed the version in the UpdateSummary for use in understanding the version of a stack update #6339

  • [cli] Changed the behavior for Python on Windows to look for python binary first instead of python3. #6317

  • [sdk/python] Gracefully handle monitor shutdown in the python runtime without exiting the process. #6249

  • [sdk/python] Fixed a bug in contains_unknowns where outputs with a property named "values" failed with a TypeError. #6264

  • [sdk/python] Allowed keyword args in Output.all() to create a dict. #6269

  • [sdk/python] Defined __all__ in modules for better IDE autocomplete. #6351

  • [automation/python] Fixed a bug in nested configuration parsing. #6349