pulumi/CHANGELOG_PENDING.md
Pat Gavlin 236ce54269
[schema] Add the Pulumi Package metaschema. (#7952)
The Pulumi Package metaschema is a JSON schema definition that describes
the format of a Pulumi Package schema. The metaschema can be used to
validate certain basic properties of a Pulumi Package schema, including
(but not limited to):

- data types (e.g. is this property a string?)
- data formats (e.g. is this string property a valid regex?)
- object shapes (e.g. is this object missing required properties?)

The schema binder has been updated to use the metaschema as its first
validation pass.

In addition to its use in the binder, the metaschema has its own page in
the developer documentation. This page is generated using a small tool,
jsonschema2md.go.
2021-09-20 12:00:42 -07:00

1.1 KiB

Improvements

  • [sdk/go] - Improve error messages for (un)marshalling properties. #7936

  • [sdk/go] - Initial support for (un)marshalling output values. #7861

  • [sdk/go] - Add RegisterInputType and register built-in types. #7928

  • [codegen] - Packages include Package.Version when provided. #7938

  • [schema] The syntactical well-formedness of a package schema is now described and checked by a JSON schema metaschema. #7952

Bug Fixes

  • [codegen/schema] - Correct validation for Package #7896

  • [cli] Use json.Unmarshal instead of custom parser #7954

  • [sdk/{go,dotnet}] - Thread replaceOnChanges through Go and .NET #7967

  • [codegen/nodejs] - Correctly handle hyphenated imports #7993