Releases: pulumi/crd2pulumi
Releases · pulumi/crd2pulumi
v1.5.4
Fix NodeJS metadata type (#159) All of our languages except NodeJS use `SchemaPackageWithObjectMetaType`. As a result, Node exposes only input types for object metadata which makes it awkward to consume downstream. I'm assuming https://github.com/pulumi/crd2pulumi/pull/143 didn't change this for backwards-compatibility reasons, or maybe it was overlooked. I _think_ it is safe to continue generating the `ObjectMeta` type alias (in case users are importing it) but use the input/output types (matching the upstream k8s types) on resources. Edit: > // schemaPackageWithObjectMetaType is the Pulumi schema package used to > // generate code for languages that need an ObjectMeta type (Python, Go, and .NET) So this seems intentional. For whatever reason, using this with Node has the effect of generating input/output types matching upstream's types, which seems desirable. Fixes https://github.com/pulumi/crd2pulumi/issues/158
v1.5.3
v1.5.2
v1.5.1
v1.5.0
Added
- Patch variant resources are now generated for all custom resources. Patch resources allow you to modify and an existing custom resource. For more details on using Patch resources, see our documentation.
Changed
- The Pulumi schema generation now utilizes the library from the Pulumi Kubernetes provider, replacing the previous custom implementation. This resolves a number of correctness issues when generating code. #143
- Golang package generation now correctly adheres to the
--goPath
CLI flag, aligning with the behavior of other languages. #89 - CRDs with oneOf fields are now correctly typed and not generic. #97
Fixed
- Various code generation correctness issues have been addressed, including:
- Python packages can now be successfully imported and consumed by Pulumi Python programs. #113
- Golang packages no longer produce compilation errors due to duplicate declarations. #104
- NodeJS package names are now properly generated. #70
- Dotnet packages now include the correct imports. #49
- NodeJS object metadata types no longer accept undefined values. #34
v1.4.0
v1.3.0
Prep v1.3.0 release
v1.2.5
Update changelog for v1.2.5 release
v1.2.4
Update pulumi pkg to fix emitting duplicate entires in pulumiTypes.go…
v1.2.3
Update changelog for v1.2.3 release