Skip to content

v1.0.12

Compare
Choose a tag to compare
@rmkonnur rmkonnur released this 20 Jun 19:43
· 20 commits to main since this release
052ca5e

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 the timeout field initialized to Optional.empty() instead of null
    to avoid NPEs if timeout is not set in the builder.