Skip to content

Releases: palantir/conjure-go

v6.4.0

01 Jul 20:39
cf73aeb
Compare
Choose a tag to compare
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

17 Mar 19:47
83b33f5
Compare
Choose a tag to compare
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

17 Mar 18:55
4aa428a
Compare
Choose a tag to compare
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

v6.1.0

19 Nov 17:58
33693f9
Compare
Choose a tag to compare
Type Description Link
Improvement Use latest CGR wrapped error helpers, specifically the new WrapWith* constructors for generic error types and GetConjureError function for retrieving a nested conjure error. #170

v6.0.2

13 Nov 00:49
08fffe2
Compare
Choose a tag to compare
Type Description Link
Fix Don't fail deserialization on invalid enum values, making behavior consistent with conjure-java. #169

v6.0.1

11 Nov 17:25
f8ea3e8
Compare
Choose a tag to compare
Type Description Link
Break Render servers with witchcraft-go-server/v2. This change is included in the 6.x series breaking changes, which should now be used in lockstep with the WGS major upgrade. #167

v6.0.0

05 Nov 22:12
beed702
Compare
Choose a tag to compare
Type Description Link
Break Render enums as structs instead of string aliases #162
Break Bump go module to v6 #166

v5.4.0

04 Nov 17:07
3d49861
Compare
Choose a tag to compare
Type Description Link
Improvement Makes it so that generated server code for external types with fallback compiles. #165

v5.3.0

29 Oct 17:51
f99eb09
Compare
Choose a tag to compare
Type Description Link
Improvement Add IsUnknown() and Values() funcs for enums #160

v5.2.0

26 Oct 17:25
8ffc206
Compare
Choose a tag to compare
Type Description Link
Improvement Conjure go errors implement the Werror interface, allowing them to be used cleanly with and alongside generic werrors. #157