Releases: palantir/conjure-go
Releases · palantir/conjure-go
v6.4.0
Type | Description | Link |
---|---|---|
Fix | Fixes issue where operation to determine module for Conjure output would sometimes fails. Adds the "-mod=readonly" flag to the "go list" operation used to determine the module for the code generated by Conjure. This makes the operation more resilient and is the proper approach for this operation, as it is only used to determine the module name. |
#200 |
Improvement | Add errorName as safe param to generated errors, bringing conjure-go to parity with conjure-java. |
#211 |
v6.3.0
Type | Description | Link |
---|---|---|
Improvement | Fixes issue where generated Conjure clients and servers did not properly handle empty responses for Conjure endpoints returning optional<binary> . The Conjure specification states that endpoints returning optional<binary> should return a 204 status code to indicate an empty optional (to distinguish from the case where the response is a present optional of 0 length). This change interprets optional<binary> as *ReadCloser (rather than `ReadCloser') and updates the server to mark 'nil' responses with a 204 status code. Correspondingly, clients return 'nil' when the response has a 204 status code. |
#191 |
v6.2.0
Type | Description | Link |
---|---|---|
Improvement | Updates conjure definitions to 4.14.1 to include fields such as "tags" and "extensions". | #183 |
Improvement | Generate an AcceptFuncs lambda visitor for union types. Adds an option to generate an "AcceptFuncs" function for union types which accepts lambda functions that can be used as visitors. This allows visitors to be called on union types without having to implement a visitor interface. |
#190 |