Kazan v0.11.0 Release Notes
Release Date: 2019-03-26 // over 5 years ago-
๐ New Features
Kazan.Server
now exposesfrom_env/1
andfrom_env!/0
functions for creating aKazan.Server
from application config. This should make it easier for users using GCP to continue to use application config.- โ Added some new configuration options that allow users to provide their own OpenAPI spec files. This should let users use kazan when they have k8s extensions installed.
- ๐
Kazan.Server
now supportsusername
andpassword
fields in config files. - ๐ HTTP Basic auth is now supported for authentication with k3s.
๐ Bug Fixes
- ๐ Fix a crash in
Kazan.Watcher
if one of the destination processes crashes.
Previous changes from v0.10.0
-
๐ฅ Breaking Changes
- Watch operations now return a
Watcher.Event
rather than a k8s WatchEvent
struct. - Watcher.Event has atoms for the type instead of strings.
- โ Added a new
gone
event type to watchers. Processes listening for events
should restart a watcher with a new rv when receiving one of these. - Kazan.Request.create (which is used by most of the API request creation methods
now returns{:error, term}
rather than{:err, term}
. This was a bug fix
as the typespec stated that they returned{:error, term}
.
๐ New Features
- We now generate typespecs for all the generated functions &
structs. This should allow dialyzer users to validate their code
๐ and improves the documentation.
๐ Bug Fixes
- ๐ Fixed an issue where watchers would crash repeatedly if the underlying k8s
watch rv became invalid somehow. (#45)
- Watch operations now return a