Releases: nexus-rpc/sdk-go
Releases · nexus-rpc/sdk-go
v0.1.1
v0.1.0
What's Changed
💥 BREAKING CHANGE 💥
- Rename
Client
toHTTPClient
. - Rename
ClientOptions
toHTTPClientOptions
. - Rename
NewClient
toNewHTTPClient
. - Hide
http.Response
fromUnexpectedResponseError
, it can now be obtained by casting theDetails
field. OperationCompletionSuccessful
now usesnexus.Header
andnexus.Reader
instead ofhttp.Header
andio.Reader
.OperationCompletionUnsuccessul
now uses anexus.Header
instead ofhttp.Header
.- Rename
OperationCompletion(Un)Successful(Options)
StartLinks
toLinks
. - Add a
FailureConverter
to convert from aFailure
toerror
and back and removeFailure
from the main SDK APIs. - Changed
HandlerError
to take aCause error
instead of aFailure
object. HandlerError
gets anUnwrap()
method for use with helpers in theerrors
package.- Changed
UnsuccessfulOperationError
to take aCause error
instead of aFailure
object. UnsuccessfulOperationError
gets anUnwrap()
method for use with helpers in theerrors
package.- Added new shorthand constructors for
UnsuccessfulOperationError
:NewFailedOperationError
andNewCanceledOperationError
. - Added a new
NewOperationCompletionUnsuccessful
constructor that takes an error object and options to support a failure converter. - Rename
StartLinks
toLinks
.
Full Changelog: v0.0.12...v0.1.0
v0.0.12
v0.0.11
What's Changed
- Error improvements by @bergundy in #18
- Fix typo in OperationCompletionSuccessfulOptions by @bergundy in #19
- Limit duration format according to spec by @bergundy in #20
- Add Operation InputType and OutputType helper methods by @bergundy in #21
- Export
Operation-Timeout
header name by @pdoerner in #24 - Expose API to get operations from the Service by @rodrigozhou in #22
Full Changelog: v0.0.10...v0.0.11
v0.0.10
What's Changed
- Add Link to StartOperationOptions by @rodrigozhou in #17
New Contributors
- @rodrigozhou made their first contribution in #17
Full Changelog: v0.0.9...v0.0.10
v0.0.9
v0.0.8
What's Changed
- Propagate context deadline to request timeout header by @pdoerner in #9
- Export request timeout header by @pdoerner in #10
- Add NewLazyValue constructor by @bergundy in #11
- Fix nil map assignment when content is given as input to StartOperation by @bergundy in #12
- Add service as a concept by @bergundy in #13
- Remove downstream error type and status code by @pdoerner in #14
New Contributors
Full Changelog: v0.0.7...v0.0.8