Releases: codemageddon/kubex
Releases · codemageddon/kubex
0.1.0-beta.2
Added
ClientOptions.trust_env: bool = False— opt-in to environment-driven HTTP proxy
configuration (HTTP_PROXY,HTTPS_PROXY,ALL_PROXY,NO_PROXY) and netrc-based
proxy credentials on both backends. Netrc is used for proxy credentials only; kubex's
per-request bearerAuthorizationheader always wins over any netrc-derived target-host
Basic auth.
Changed
- The httpx backend now passes
trust_env=Falsetohttpx.AsyncClientby default,
overriding httpx's own library default ofTrue. Users who relied on httpx silently
honoringHTTP_PROXY/HTTPS_PROXY/NO_PROXYmust opt in explicitly with
ClientOptions(trust_env=True). This aligns httpx behavior with aiohttp, which has
always defaulted totrust_env=False.
0.1.0-beta.1
Initial public beta release.
Added
- Async-first
Api[ResourceType]client with type-safe CRUD, watch, and three patch types (MergePatch,StrategicMergePatch,JsonPatch). - Pluggable HTTP backends:
HttpxClientandAioHttpClient. Async-runtime agnostic — supports asyncio and trio. - Descriptor-based subresource APIs:
logs,status,scale,eviction,ephemeral_containers,resize,exec,attach,portforward,metadata. - Configuration loading from kubeconfig files and in-cluster pod environment, with exec-provider and refreshable-token authentication.
- OpenAPI → Pydantic v2 code generator and pre-generated workspace packages for Kubernetes 1.32–1.37.
- MkDocs documentation site, examples, and a benchmark suite against
kubernetes-asyncio.