Releases: mruoss/kubereq
Releases · mruoss/kubereq
v0.4.1
What's Changed
- chore(deps): update dependency kind to v0.26.0 by @renovate in #53
- Update on API Spec by @github-actions in #52
- Refactoring the connect module and usage thereof by @mruoss in #54
- chore(deps): update dependency elixir to v1.18.0 by @renovate in #55
- Replace Fresh with our own websocket implementation by @mruoss in #56
New Contributors
- @github-actions made their first contribution in #52
Full Changelog: v0.4.0...v0.4.1
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
v0.3.2
v0.3.1
What's Changed
- chore(deps): update actions/checkout digest to eef6144 by @renovate in #36
- chore(deps): update dependency erlang to v27.1.2 by @renovate in #38
- Switch context via Req option and add
:current_namespace
to Kubeconf by @mruoss in #39 - chore(deps): update actions/checkout digest to 11bd719 by @renovate in #40
- move suffix replacement to delete_all operation by @mruoss in #42
Full Changelog: v0.3.0...v0.3.1
v0.3.0
⚠️ Breaking ⚠️
This release comes with a refactored API of the kubereq
library and will not
work for code using earlier versions of kubereq
. Migrating should be straight
forward in most cases.
Kubereq.new/N
was deprecated and replaced withKubereq.attach/1
- The result of
Kuberq.attach/1
can be used withReq
functions directly - Functions in the
Kubereq
modules still provide a nice abstraction over plain
Req
. They now forward allopts
toReq
. Kubereq.wait_until/5
now takes a Keyword list as fifth argument (was
integer
before). To migrate, just turntimeout
intotimeout: timeout
Full Changelog: v0.2.1...v0.3.0
v0.2.1
v0.2.0
What's Changed
- Update dependency erlang to v27.1 by @renovate in #27
- Update dependency elixir to v1.17.3 by @renovate in #28
- Update Kubeconfig.load/1 spec by @jonatanklosko in #29
- Use correct Req error handling instead of raising exceptions by @mruoss in #30
New Contributors
- @jonatanklosko made their first contribution in #29
Full Changelog: v0.1.8...v0.2.0