pulumi/changelog/pending
Aaron Friel c2e41beff2
Fix rendering of output events in rendering update diffs (#17029)
This fixes a bug found while working on another internal issue. This bug
is reproduced in the first commit which adds tests, clearly showing the
behavior of the incoherent rendering. The second commit makes the change
and updates the tests.

Fixes #17028

Fixes all outputs being printed adjacent without context, as seen in the
linked issue and the first commit:

```
    --outputs:--
    readme: "line 1\nline2\nline3\nline4"
        --outputs:--
        arn                : "arn:aws:iam::616138583583:role/eks-role-24b1266"
        assumeRolePolicy   : (json) {
            Statement: [
                [0]: {
                    Action   : "sts:AssumeRole"
                    Effect   : "Allow"
                    Principal: {
                        Service: "eks.amazonaws.com"
                    }
                    Sid      : ""
                }
            ]
            Version  : "2008-10-17"
        }

        createDate         : "2022-02-09T23:14:50Z"
        id                 : "eks-role-24b1266"
        inlinePolicies     : [
            [0]: {
                name  : ""
                policy: ""
            }
        ]
        managedPolicyArns  : [
            [0]: "arn:aws:iam::aws:policy/AmazonEKSClusterPolicy"
            [1]: "arn:aws:iam::aws:policy/AmazonEKSServicePolicy"
        ]
        uniqueId           : "AROAY65FYVYPWXZQUXMBX"
        --outputs:--
        id       : "eks-role-24b1266-20220209231452499500000001"
        --outputs:--
        id       : "eks-role-24b1266-20220209231452597100000002"
        --outputs:--
```
2024-08-27 18:37:03 +00:00
..
20240820--cli-display--improve-rendering-of-update-diffs-in-some-circumstances.yaml Fix rendering of output events in rendering update diffs (#17029) 2024-08-27 18:37:03 +00:00
20240826--auto-go--include-panic-value-in-message-for-non-error-panics.yaml Include panic value in message for non-error panics (#17066) 2024-08-27 07:32:18 +00:00
20240826--sdk--remove-unused-resource-newuniquehexv2.yaml Remove unused resource.NewUniqueHexV2 (#17067) 2024-08-26 10:48:25 +00:00
20240827--pkg--remove-ds-auto-api-dependency-on-tests.yaml Do not rely on auto api for cloning repos on ds tests (#17071) 2024-08-27 15:41:31 +00:00