Releases: pulumi/pulumi-java
v0.7.1
v0.7.0
Improvements
- [codegen] Internal engineering work.
Bug Fixes
v0.6.0
Improvements
-
[sdk] #704: Remove
theget
prefix from getters inResource
class and inherited
classes Old getters are preserved and marked deprecated. New
getters:urn
,id
,pulumiResourceType
,pulumiResourceName
,
pulumiChildResources
. -
[sdk] #643: Do
not panic when the type of property in resource outputs does not
match the one on the wire, while deserializing. The fix proceed with
a null / default value and a warning in place of an error. -
[codegen] #759:
Fix code generation for exports with deeply nested generic types.
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 this version of Java SDK or higher, so that user programs get the
upgraded Java SDK that can understand the new export annotation
scheme and continue working without changes. -
[provider] #785:
The Pulumi CLI will no longer display seemingly duplicate stack
traces. The language host was modified to hide error messages from
an optional process of plugin discovery through classpath
introspection. Alsoplugin about
will no longer display errors
from plugin discovery. To display errors from plugin discovery, use
-v=9
with a value of 1 or greater.
Bug Fixes
-
[codegen] #771:
Fix import path for provider resources onpulumi convert
. -
[sdk] #778: Fix a
bug that prevented user from specifying both parent and child
aliases when refactoring component resources. -
[sdk] #840: Fix a
regression introduced after 0.5.2 when Pulumi Java SDK stopped
tolerating missing fields from providers that manifested as
InvocationTargetException caused by a NullPointerException.
v0.5.4
Improvements
- [provider] #791:
Basic support for using sbt projects and using Scala.
See the example intests/examples/minimalsbt
.
v0.5.3
Improvements
-
[provider] #776:
Reduced verbosity of Maven builds to only surface WARN and ERROR
logs to the Pulumi user when Pulumi invokes Maven under the hood -
[codegen] #702:
Enabledpulumi convert
to target Java. Now a maven configuration
(pom.xml
with dependencies) is created and the generated Java
files are moved to a proper package.
Bug Fixes
-
[sdk] #782: Fixed
a serializer regression that affected the releases of
com.pulumi:kubernetes
after3.19.1
. Upgradecom.pulumi:pulumi
dependency to fix the issue that manifested as:UnsupportedOperationException: Convert [...]: Error
v0.5.2
v0.5.1
Improvements
Bug Fixes
-
[codegen] #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
oncom.pulumi:pulumi
(Java SDK) versions0.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
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"
v0.5.0
Improvements
-
[provider] #728:
Added health checks topulumi-language-java
so that it never
leaks as an orphan process when the managingpulumi
process
terminates -
[codegen] #717:
Simplified publishing generated provider code to Maven Central.Added a
gradleNexusPublishPluginVersion
option that installs
gradle-nexus/publish-plugin
in the build code generated bypulumi-java-gen
.The option can also be activated on the command line during code
generation:pulumi-java-gen --build gradle-nexus
.This enables one-step publishing of generated Java packages via
Sonatype's OSSRH Nexus:gradle publishToSonatype closeAndReleaseSonatypeStagingRepository
Bug Fixes
- [codegen] #735:
Fix a bug introduced in0.4.1
.gradle publish
stopped generating
resources required by Pulumi and published broken packages.
v0.4.1
Add 0.4.1 release changelog (#714)
v0.4.0
Clean up CHANGELOG (#692)