Skip to content

Releases: palantir/conjure-go

v5.0.3

25 Aug 22:12
bbefa06
Compare
Choose a tag to compare
Type Description Link
Fix use the new boolean.Boolean type for bool map keys

This change introduces the boolean.Boolean for use as the key type for all
conjure defined maps that specify a bool as the key which will ensure wire compatibility.
#136

v5.0.2

25 Jun 20:56
c7131f7
Compare
Choose a tag to compare
Type Description Link
Fix Generated clients correctly set list/set query parameters as multiple values #130

v5.0.1

19 May 23:30
a4b4918
Compare
Choose a tag to compare
Type Description Link
Fix Fix error constructors with fields that are type names #124

v5.0.0

08 May 01:39
9ca2ae8
Compare
Choose a tag to compare
Type Description Link
Improvement Generated error types now implement the wparams.ParamStorer interface.
This ensures any downstream consumers of the error (e.g., witchcraft-go-logging)
will automatically do the right thing with the params.
#114
Improvement Each generated conjure error type is registered with CGR's error registry
via an init() function, allowing unmarshal errors into the generated error
struct types. This unblocks returning real conjure errors. One init()
function will be added to register all error types in a given package.
#115
Break Bump conjure-go-runtime dependency to v2. This picks up improvements to decoding conjure error types. #116
Break Generated servers emit conjure errors, allowing them to be deserialized by conjure-go-runtime clients #117
Break Conjure generated servers now use the github.com/palantir/conjure-go-runtime/conjure-go-server library for request handling. This change correctly handles conjure error status codes and prioritizes them over any legacy error code. It also writes non-json-marshalable errors as plaintext with the correct headers. #118
Break Update module to v5 #119

v4.3.1

10 Mar 21:03
855414f
Compare
Choose a tag to compare
Type Description Link
Fix Supports generating server code for a definition that has a query parameter that is a collection of a primitive. #108
Fix Update golang.org/x/tools dependency

Update dependency to ensure that packages that end in versions
(such as "v2") are not removed from imports.
#110

v4.3.0

03 Feb 20:45
4ae3cb2
Compare
Choose a tag to compare
Type Description Link
Improvement Uses the latest Conjure API definitions and updates generation file code and IR filename to include the version. #106
Fix Ensure that imports for endpoint definitions are processed and
added before generating server code so that import paths for
endpoint objects are correct.
#107

v4.2.2

28 Jan 18:18
40a176d
Compare
Choose a tag to compare
Type Description Link
Fix Add support for string list and set query parameters. #105

v4.2.1

27 Nov 21:25
16e2213
Compare
Choose a tag to compare
Type Description Link
Fix Update godel-conjure-plugin and godel/pkg/products modules #102

v4.2.0

26 Nov 04:58
b5ef8bf
Compare
Choose a tag to compare
Type Description Link
Fix Use palantir/go-ptimports instead of palantir/checks

Use the non-deprecated project to perform formatting.

This change also modifies the parameters provided to the formatter,
which changes the imports in generated code by no longer separating
project imports into their own block.
#100
Feature Add module definition #101
Fix Ensure import paths are correct in modules

If the generated code is within a module, ensure that the import
paths are relative to the module root.

Fixes #98
#99

v4.1.1

16 Sep 17:54
Compare
Choose a tag to compare
  • This release is functionally the same as v4.1.0, but fixes some publishing issues.