v1.0.12
Note: DO NOT upgrade to v1.0.12 - this release accidentally removes the ApiError.java
file and the class in that file. It breaks compatibility. This is fixed in v1.0.13 which is already released.
- The SDK now generates undiscriminated unions with de-conflicted method signatures. Previously, certain undiscriminated unions would have failed to compile due to Java's type erasure causing conflicts.
- The SDK generator now supports returning response properties from client methods rather than just the responses themselves.
- The SDK generator now generates
@java.lang.Override
over@Override
in all files to avoid clashes with any
Override.java
class that may have been generated in the same package. The former was used most places, but not all,
until this release. RequestOptions
are now generated with thetimeout
field initialized toOptional.empty()
instead ofnull
to avoid NPEs iftimeout
is not set in the builder.