v5.0.0
svc-autorelease
released this
08 May 01:39
·
518 commits
to develop
since this release
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 |