v0.4.0
⚠️ Breaking Changes ⚠️
Kubereq.watch/3
andKubereq.watch_single/4
now also returnt:Kubereq.response/0
.
The stream which was returned directly before is now accessible through the:body
key of the returnedt:Req.Response.t/0
struct. The:stream_to
option was removed.
Kubereq.Watcher
was added for implementing long running watch event handlers.
Changes
Kubereq.wait_until/5
gets by withoutTask.async/1
.Kubereq.create/3
,Kubereq.update/3
andKubereq.apply/5
: Extractapi_verison
andkind
from passed resource.
Added
Kubereq.Watcher
- A behaviour module for implementing a Kubernetes watch event handler.- Streaming for paginated list operation via the
:into
option ofKubereq.list/3
#46 Kubereq.can_i/3
- Checks whether the authenticated user is authorized to perform a specific action.- Error raising variants for all functions in
Kubereq
exceptKubereq.wait_until/5
.
Chores
Full Changelog: v0.3.2...v0.4.0