Releases: gtsystem/lightkube
Releases · gtsystem/lightkube
v0.17.0
New features
client.list()
now returns an iterable with a special propertyresourceVersion
to implement list + watch pattern by @XeCycle in #88
Bug fixes
- Httpx 0.28.x compatibility by @gtsystem in #82
- Fix autocomplete regression in vscode introduced in #74 by @gtsystem in #85
Breaking changes
- As part of the new feature above,
client.list()
now returns an Iteratable instead of an Iterator. If you are consuming the list usingnext()
you will need to get an iterator first callingiter(list)
. No changes are needed If you are consuming the returned data via a for loop.
Full Changelog: v0.16.0...v0.17.0
v0.16.0
What's Changed
- Document support for k8s v1.32 and remove v1.16 by @gtsystem in #83
- Document support for python 3.13 and remove official support for python 3.8 by @gtsystem in #83
- Support custom httpx transports by @XeCycle in #77
Bug fixes
- #78: Limit max httpx version to < 0.28.0 as 0.28.0 introduces a not documented breaking change by @gtsystem in #81
- When loading kubeconfig files configured with
ExecCredential
, lightkube now accepts theenv
parameter when set to null explicitly (Azure kubelogin compatiblity) by @raminqaf in #80
New Contributors
Full Changelog: v0.15.4...v0.16.0
v0.15.4
What's Changed
- Fix client config typing by @DanielArndt in #60
- Document support for Kubernetes 1.30 by @gtsystem in #61
- Fix issue #63, where pyright cannot recognize the correct type for some client methods by @gtsystem in #64
- Update 'config' type hint for lightkube.core.async_client.AsyncClient by @benfiola in #67
- Ensure apiVersion and kind are set for 'list' requests by @benfiola in #68
- Set
__all__
in__init__.py
by @max-muoto in #70 - Add support for dry-run by @michaeldmitry in #74
New Contributors
- @DanielArndt made their first contribution in #60
- @benfiola made their first contribution in #67
- @max-muoto made their first contribution in #70
- @michaeldmitry made their first contribution in #74
Full Changelog: v0.15.2...v0.15.4
v0.15.2
What's Changed
- Use type vars for resource registration to return the same type by @tim-hutchinson in #59
New Contributors
- @tim-hutchinson made their first contribution in #59
Full Changelog: v0.15.1...v0.15.2
v0.15.0
v0.14.0
v0.13.0
What's Changed
- Add and document support for Kubernetes 1.27 by @gtsystem
- Client pod logs can now stream with or without newlines by @addyess in #46
- Bug fix: Allow modification of models when
lazy=True
by @ addyess in #45
Note that httpx >= 0.24.0 is now required.
Full Changelog: v0.12.0...v0.13.0
v0.12.0
v0.11.0
New features
- Add
sort_objects()
to make batch resource actions simpler by @ca-scribner in #33. - Add functions to parse and compare quantities by @sed-i in #37
- Add new ways to create generic resources by @ca-scribner in #34
- If we have a YAML file that both defines a CRD and loads an instance of it, we can now use
load_all_yaml(..., create_resources_for_crds=True)
- Load existing custom resource from a cluster via
load_in_cluster_generic_resources(...)
.
- If we have a YAML file that both defines a CRD and loads an instance of it, we can now use
Bug fix
- Add handling of empty YAML in
codecs.load_all_yaml(...)
by @ca-scribner in #31
New Contributors
- @ca-scribner made their first contribution in #31
- @sed-i made their first contribution in #37
Full Changelog: v0.10.2...v0.11.0