3.8.3
(fix):
Upgrade generator-cli dependency to fix local generation handling of .fernignore files.
3.8.2
(fix):
Fix local file system generation to use proper Gradle directory structure (src/main/java).
Source files are now correctly placed at src/main/java/com/package instead of com/package
at the root.
3.8.4
(fix):
Fixed code generation for undiscriminated unions with optional types. Generated code now correctly
wraps optional values with Optional.of()
, and wire tests are properly generated by default.
3.8.1
(fix):
Append decimal to whole number double literals to prevent compilation errors.
3.8.0
(feat):
Add getResponse()
method to BasePage
for accessing pagination metadata like cursor tokens.
This enables stateless pagination by providing access to the full API response object.
Usage example:
3.7.0
(feat):
Wire tests are now enabled by default for all Java SDKs, providing comprehensive HTTP protocol
validation tests using MockWebServer. Wire tests validate request/response serialization, HTTP
methods, headers, and API contract adherence. To disable wire tests, explicitly set
enable-wire-tests: false
in your generator configuration.
3.6.3
(fix):
Fixed OAuth auth clients not receiving variables needed for token endpoints with path parameters.
3.6.2
(fix):
Fixed SDK variable setters incorrectly referencing non-existent clientOptionsBuilder
.
Variables now store in instance fields and apply via setVariables()
method.
3.6.1
(fix):
Fixed wire tests failing with InvalidDefinitionException
for Optional<T>
serialization by using
the configured ObjectMappers.JSON_MAPPER
instead of plain ObjectMapper
.
3.6.0
(feat):
Add support for PR mode for self-hosted/local sdk generation.
3.5.10
(fix):
Snippets now show client-level variables in builder instead of method parameters.
3.5.9
(fix):
Fixed missing java.util.Optional
import in dynamic snippets generation for wire tests.
3.5.8
(fix):
Fixed wire test generation for union services and added automatic pagination package detection.
3.5.7
(fix):
Fixed NullPointerException
in builder setters when collections are null by adding null checks before addAll()
/putAll()
calls.
3.5.6
(fix):
Fixed wire test generation: paginated endpoints return SyncPagingIterable<T>
, auth methods use correct builder patterns
3.5.5
(fix):
Fixed wire test compilation errors: pagination types now use raw responses, union factory methods use
correct variant names, and empty optionals generate Optional.empty()
instead of invalid Optional.of()
calls
3.5.4
(fix):
Fixed wire test compilation errors by adding missing imports for request/response types and
correcting primitive type mapping.