Pulumi v2.21.0 Release Notes

Release Date: 2021-02-17 // about 3 years ago
  • ๐Ÿ‘Œ 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:

      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