From 8d51452d8ec82aae02a11e3df524ec01020a3f28 Mon Sep 17 00:00:00 2001 From: Anton Tayanovskyy Date: Tue, 19 Jul 2022 20:02:10 -0400 Subject: [PATCH] Release/0.5.1 (#753) * Edit CHANGELOG_PENDING * Add CHANGELOG entry for 0.5.1 --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ CHANGELOG_PENDING.md | 13 ++++++++++--- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 613c4bcf0ed..9dfaa750f84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,34 @@ CHANGELOG ========= +## 0.5.1 (2022-07-19) + +### Bug Fixes + +- [codegen] [#390](https://github.com/pulumi/pulumi-java/issues/390) + fixes code generation for output types with large (200+) number of + parameters hitting the JVM limits. Previously these types would + generate compiling code but throw exceptions at runtime when in use. + + Packages generated with this version of codegen will need to depend + on `com.pulumi:pulumi` (Java SDK) versions `0.5.0` or higher, so + that user programs get the upgraded Java SDK that can understand the + new class annotation scheme and continue working without changes. + +- [codegen] [#739](https://github.com/pulumi/pulumi-java/issues/739) + fixes ambiguity in the "packages" option by adding a new + "dependencies" option in Java extensions to Package Schema. With + this change, both package name overrides and desired Maven + dependencies in the generated build files can now be specified: + + packages: + "admissionregistration.k8s.io/v1: "admissionregistration.v1" + + build: gradle + + dependencies: + "com.pulumi:aws": "5.4.0" + ## 0.5.0 (2022-07-13) ### Improvements diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 7123f9b4e0d..10dafba98b3 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -1,10 +1,17 @@ ### Improvements -- [codegen] @CustomType builders now use the new @Builder and @Setter annotations - this is a breaking change and the generated code depends on SDK 0.5.0 - ### Bug Fixes +- [codegen] [#390](https://github.com/pulumi/pulumi-java/issues/390) + fixes code generation for output types with large (200+) number of + parameters hitting the JVM limits. Previously these types would + generate compiling code but throw exceptions at runtime when in use. + + Packages generated with this version of codegen will need to depend + on `com.pulumi:pulumi` (Java SDK) versions `0.5.0` or higher, so + that user programs get the upgraded Java SDK that can understand the + new class annotation scheme and continue working without changes. + - [codegen] [#739](https://github.com/pulumi/pulumi-java/issues/739) fixes ambiguity in the "packages" option by adding a new "dependencies" option in Java extensions to Package Schema. With