pulumi/CHANGELOG_PENDING.md

59 lines
2.3 KiB
Markdown
Raw Normal View History

2021-05-06 20:27:21 +02:00
### Breaking Changes
### Improvements
- [cli] - Provide user information when protected resources are not able to be deleted
[#7055](https://github.com/pulumi/pulumi/pull/7055)
- [auto/dotnet] - Provide PulumiFn implementation that allows runtime stack type
[#6910](https://github.com/pulumi/pulumi/pull/6910)
2021-05-06 20:27:21 +02:00
- [auto/go] - Provide GetPermalink for all results
[#6875](https://github.com/pulumi/pulumi/pull/6875)
- [cli] - Error instead of panic on invalid state file import
[#7065](https://github.com/pulumi/pulumi/pull/7065)
- Warn when a secret config is read as a non-secret
[#6896](https://github.com/pulumi/pulumi/pull/6896)
[#7078](https://github.com/pulumi/pulumi/pull/7078)
[#7079](https://github.com/pulumi/pulumi/pull/7079)
[#7080](https://github.com/pulumi/pulumi/pull/7080)
- [sdk/nodejs|python] - Add GetSchema support to providers
[#6892](https://github.com/pulumi/pulumi/pull/6892)
### Bug Fixes
- [sdk/python] Fix relative `runtime:options:virtualenv` path resolution to ignore `main` project attribute
[#6966](https://github.com/pulumi/pulumi/pull/6966)
- [auto/dotnet] - Disable Language Server Host logging and checking appsettings.json config
[#7023](https://github.com/pulumi/pulumi/pull/7023)
- [auto/python] - Export missing `ProjectBackend` type
[#6984](https://github.com/pulumi/pulumi/pull/6984)
- [sdk/nodejs] - Fix noisy errors.
[#6995](https://github.com/pulumi/pulumi/pull/6995)
- Config: Avoid emitting integers in objects using exponential notation.
[#7005](https://github.com/pulumi/pulumi/pull/7005)
- [codegen/python] - Fix issue with lazy_import affecting pulumi-eks
[#7024](https://github.com/pulumi/pulumi/pull/7024)
- Ensure that all outstanding asynchronous work is awaited before returning from a .NET
Pulumi program.
[#6993](https://github.com/pulumi/pulumi/pull/6993)
2021-05-14 19:28:45 +02:00
Await outstanding async work in Go. (#6983) The Pulumi Go SDK does not currently await all outstanding asynchronous work associated with a Pulumi program. Because all relevant asynchronous work is created via the Pulumi SDK, we can track this asynchronous work and ensure that it has all completed prior to returning from `Context.Run`. This is complicated by the fact that many of the existing APIs that are able to create `Output`s--`NewOutput`, `ToOutput`, `Any`, `ToSecret`, and `All`--do not have a `*Context` parameter, and so have no straightforward way to associate themselves with a `*Context`. To address this, these changes add new versions of each of these APIs as methods on `*Context`. Despite these new methods, most Pulumi programs should work without changes: the bulk of `Output`s are created by the SDK itself as part of resource registration, and for `Any` and `All`, we can pick up the context from any `Output`s present in the arguments. The only programs that should require changes are those that create outputs from whole cloth using `NewOutput`, `ToOutput`, or `ToSecret` and create unawaited async work rooted at those outputs. On an implementation level, these changes track asynchronous work using a `sync.WaitGroup` associated with each `*Context`. This `WaitGroup` is passed to each output associated with the context. The SDK increments this `WaitGroup`'s count prior to starting any asynchronous work and decrements it once the work (including any callbacks triggered by the work) is complete. This fixes the Go portion of #3991.
2021-05-14 21:00:21 +02:00
- Config: Avoid emitting integers in objects using exponential notation.
[#7005](https://github.com/pulumi/pulumi/pull/7005)
2021-05-14 19:28:45 +02:00
- Build: Add vs code dev container
[#7052](https://github.com/pulumi/pulumi/pull/7052)
Await outstanding async work in Go. (#6983) The Pulumi Go SDK does not currently await all outstanding asynchronous work associated with a Pulumi program. Because all relevant asynchronous work is created via the Pulumi SDK, we can track this asynchronous work and ensure that it has all completed prior to returning from `Context.Run`. This is complicated by the fact that many of the existing APIs that are able to create `Output`s--`NewOutput`, `ToOutput`, `Any`, `ToSecret`, and `All`--do not have a `*Context` parameter, and so have no straightforward way to associate themselves with a `*Context`. To address this, these changes add new versions of each of these APIs as methods on `*Context`. Despite these new methods, most Pulumi programs should work without changes: the bulk of `Output`s are created by the SDK itself as part of resource registration, and for `Any` and `All`, we can pick up the context from any `Output`s present in the arguments. The only programs that should require changes are those that create outputs from whole cloth using `NewOutput`, `ToOutput`, or `ToSecret` and create unawaited async work rooted at those outputs. On an implementation level, these changes track asynchronous work using a `sync.WaitGroup` associated with each `*Context`. This `WaitGroup` is passed to each output associated with the context. The SDK increments this `WaitGroup`'s count prior to starting any asynchronous work and decrements it once the work (including any callbacks triggered by the work) is complete. This fixes the Go portion of #3991.
2021-05-14 21:00:21 +02:00
- Ensure that all outstanding asynchronous work is awaited before returning from a Go
Pulumi program. Note that this may require changes to programs that use the
`pulumi.NewOutput` API.
[#6983](https://github.com/pulumi/pulumi/pull/6983)