Releases: nexus-rpc/sdk-go
Releases · nexus-rpc/sdk-go
v0.2.0
What's Changed
Note this release includes a lot of API deprecations and restructuring without any breaking changes.
The deprecated APIs are scheduled for removal in v0.3.0
.
- Rename UnsuccessfulOperationError to OperationError by @bergundy in #33
- Add a Service.MustRegister helper by @bergundy in #35
- Add more OperationError constructors by @bergundy in #36
- Add HandlerError.RetryBehavior by @bergundy in #37
- Add support for operation token and deprecate operation ID by @bergundy in #38
- Bump version to 0.2.0 by @bergundy in #39
- Update README and examples by @bergundy in #40
- Prep for stable API by @bergundy in #42
- Document links and improve failure documentation by @bergundy in #43
- Add methods to create a handler context and extract links from context by @bergundy in #44
Full Changelog: v0.1.1...v0.2.0
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