Changelog
View SourceAll notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
0.4.2 - 2025-04-06
Added
- Support for
proxy-urlsetting in Kubeconfig #81
Changed
Fixed
- Added missing
Kubereq.PodExec.child_spec/1andKubereq.PodExec.child_spec/2. #81
0.4.1 - 2024-12-26
Added
- Support for selectors as maps
Changed
- Replace Fresh with our own implementation for web sockets #56
0.4.0 - 2024-12-13
⚠️ Breaking Changes ⚠️
Kubereq.watch/3andKubereq.watch_single/4now also returnKubereq.response/0. The stream which was returned directly before is now accessible through the:bodykey of the returnedReq.Response.t/0struct. The:stream_tooption was removed.Kubereq.Watcherwas added for implementing long running watch event handlers.
Changes
Kubereq.wait_until/5gets by withoutTask.async/1.Kubereq.create/3,Kubereq.update/3andKubereq.apply/5: Extractapi_verisonandkindfrom passed resource.
Added
Kubereq.Watcher- A behaviour module for implementing a Kubernetes watch event handler.- Streaming for paginated list operation via the
:intooption 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
KubereqexceptKubereq.wait_until/5.
0.3.2 - 2024-11-22
Added
- Support for websocket connections to
pods/logandpods/execsubresources #37
0.3.1 - 2024-10-24
Fixed
- Include resource name in the path for deletion in order to prevent deleting multiple resources #41, #42
Added
- Add current context's namespace as
:current_namespacefield to Kubeconfig. #39 - Add Req option
:contextto switch context ad-hoc. #39
0.3.0 - 2024-10-04
⚠️ 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/Nwas deprecated and replaced withKubereq.attach/1- The result of
Kuberq.attach/1can be used withReqfunctions directly - Functions in the
Kubereqmodules still provide a nice abstraction over plainReq. They now forward alloptstoReq. Kubereq.wait_until/5now takes a Keyword list as fifth argument (wasintegerbefore). To migrate, just turntimeoutintotimeout: timeout
0.2.1 - 2024-10-03
Fixed
0.2.0 - 2024-09-20
Changed
execauth and other steps now return errors instead of raising exceptions. #30
0.1.8 - 2024-09-14
Changed
Kubereq.Kubeconfig.Stub: Set server url to context name
0.1.7 - 2024-09-12
Added
Kubereq.Kubeconfig.Stub: A Kubeconfig step used for testing
0.1.6 - 2024-08-25
Fixed
Kubereq.Kubeconfig.ServiceAccount: make server key a binary
0.1.5 - 2024-08-24
Added
Kubereq.wait_until/5: Support returning{:error, error}tuple in the callback
0.1.4 - 2024-08-21
Fixed
Kubereq.Kubeconfig.File: Only expand path if not relative to HOME.
0.1.3 - 2024-08-19
Fixed
- Fixed several bugs and docs
- Dependency updates
0.1.2 - 2024-06-13
- Dependency updates
0.1.1
Fixed
- License was wrong in
mix.exs