Khepri 0.9.0
At this point, Khepri should be considered Beta and not production ready. The API will likely evolve and future releases will likely introduce breaking changes. The goal of this release is to make it easy for anyone to try it and possibly give feedback.
What's new in Khepri 0.9.0
This release focuses on a couple improvements and bug fixes to async commands.
Improvements to async commands
- Correctly use the cached leader ID if it is present to send the command (#228).
- Replace
khepri:wait_for_async_ret/{1,2}
withkhepri:handle_async_ret/{1,2}
(#229). The previous API didn't match the underlying Ra API. It's better for the caller to receive the message(s) from the Ra server, then callkhepri:handle_async_ret/{1,2}
to let Khepri do internal things such as updating the cached leader ID.
Other changes
Download
Khepri 0.9.0 is available from Hex.pm: https://hex.pm/packages/khepri/0.9.0
Upgrade
Using Rebar:
-
Update your
rebar.config
:%% In rebar.config {deps, [{khepri, "0.9.0"}]}.
-
Run
rebar3 upgrade khepri
.
Using Erlang.mk:
-
Update your
Makefile
:%% In your Makefile dep_khepri = hex 0.9.0
-
Remove the
deps/khepri
directory. The new version will be fetched the next time you build your project.