Releases: einride/supervisor-go
Releases · einride/supervisor-go
v0.14.0
v0.13.0
v0.12.0
v0.11.0
v0.10.0
v0.9.1
v0.9.0
v0.8.0: chore: bump dependencies
Keeping things up to date.
Promote pkg/statepublisher to its own module
This release only moves pkg/statepublisher
package out of this repository and into its own repository https://github.com/einride/servicestatepublisher-go.
Commits:
- Promote pkg/statepublisher to its own package 3077648
Update guide
If you did not use pkg/statepublisher
there is nothing that needs to be done.
If you did, however, a few things needs to be done:
go get github.com/einride/servicestatepublisher-go
.- Replace every occurrence of
github.com/einride/supervisor-go/pkg/statepublisher
withgithub.com/einride/servicestatepublisher-go
. - Replace every occurrence of
servicestatepublisher.StatusInsertChannel
to servicestatepublisher.PublishStatusUpdates`. - Add a
Marshal() ([]byte, error)
method to your config struct to make it implementservicestatepublisher.ServiceConfig
(which previously was calledservicestatepublisher.ConfigJSON
and was a type that wrapped a byte slice) and use it as the service config inservicestatepublisher.Init
call.
Add state publisher lcm package
The state publisher publishes state of a service on lcm for anyone to consume.