pulumi/pkg/codegen/schema
Aaron Friel ac80164670
Fix incorrect YAML type checking of StackReference outputs (#16625)
Part of pulumi/pulumi-yaml#599.

Pulumi YAML uses the schema defined here to type check outputs from the
`pulumi:pulumi:StackReference` resource. This changes the type of
`outputs` from `map[string]string` to `map[string]any`, permitting list,
map, and numeric outputs to be used as inputs to other resources.

To release this fix, we will need to release Pulumi twice and YAML once
if we are to use our ordinary release process:

1. Merge this PR.
2. Release sdk and pkg dependencies with this update applied.
3. Merge https://github.com/pulumi/pulumi-yaml/pull/600
4. Create and merge a PR to update Pulumi YAML's dependency on
`github.com/pulumi/pkg/v3`, as YAML links to the schema loader and will
read the updated schema here:

7f48ca370d/pkg/codegen/schema/loader.go (L136-L140)
 
5. Release Pulumi YAML
6. Create and merge a PR to update the YAML language plugin shipped with
Pulumi
7. Release Pulumi
2024-07-11 14:17:41 +00:00
..
bind.go Add ability to constrain supported languages of resource and function overlays (#16579) 2024-07-09 14:54:50 +00:00
docs_parser.go golangci-lint: Enable staticcheck 2023-01-14 16:59:46 -08:00
docs_renderer.go all: Assert => Assertf 2023-03-03 14:37:43 -08:00
docs_test.go Actually disable plugin acquisition (#14134) 2023-10-14 08:32:43 +00:00
loader.go Normalize plugin.Provider methods to (Context, Request) -> (Response, error) (#16302) 2024-06-07 19:47:49 +00:00
loader_client.go Add matrix testing (#13705) 2023-09-13 15:17:46 +00:00
loader_js.go [display] Enable WASM compilation (#16246) 2024-05-24 20:27:56 +00:00
loader_mmap.go [display] Enable WASM compilation (#16246) 2024-05-24 20:27:56 +00:00
loader_schema_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
loader_server.go Add schema loader service 2023-07-27 15:03:52 +01:00
loader_test.go all: Don't use cmdutil.Diag in tests 2023-03-13 12:54:04 -07:00
mock_pulumi_schema.go Fix incorrect YAML type checking of StackReference outputs (#16625) 2024-07-11 14:17:41 +00:00
package_reference.go Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
pulumi.json Change parameterization in schemas to base64 strings (#16614) 2024-07-10 15:36:05 +00:00
schema.go Change parameterization in schemas to base64 strings (#16614) 2024-07-10 15:36:05 +00:00
schema_test.go Add ability to constrain supported languages of resource and function overlays (#16579) 2024-07-09 14:54:50 +00:00