Releases: suborbital/grav
Beta-5.1
Beta-5
Beta-4.2
Beta-4.1
Beta-4
Beta-3.3
Beta-3.2
Beta-3.1
Beta-3
This release re-imagines Transport and Discovery plugins to make them easier than ever to build. Grav now keeps track of state on behalf of the plugins, making them "stateless". This release does not contain any breaking changes.
This release also includes the new Grav guide!
Beta-2
This release contains some big improvements to the ergonomics of the Grav API. It is a breaking change.
The big update is with how message replies and timeouts are handled.
Methods that previously took a timeout now have an *Until
variant instead such that timeouts are completely optional.
What was previously called MessageTicket
is now called MsgReceipt
and has become a "smart" type that is created whenever a message is sent. A receipt is an extension of the pod that sent the original message, and methods on this type allow for receiving replies to the sent message. For example:
pod.Send(msg).WaitOn(func(msg Message) {
// get your reply here!
})
WaitUntil
and OnReply
(async variant) are also available.