Lightkube

Latest version: v0.17.1

Safety actively analyzes 701264 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.17.0

New features
* `client.list()` now returns an iterable with a special property `resourceVersion` to implement list + watch pattern by XeCycle in https://github.com/gtsystem/lightkube/pull/88

Bug fixes
* Httpx 0.28.x compatibility by gtsystem in https://github.com/gtsystem/lightkube/pull/82
* Fix autocomplete regression in vscode introduced in 74 by gtsystem in https://github.com/gtsystem/lightkube/pull/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 using `next()` you will need to get an iterator first calling `iter(list)`. No changes are needed If you are consuming the returned data via a for loop.

**Full Changelog**: https://github.com/gtsystem/lightkube/compare/v0.16.0...v0.17.0

0.16.0

What's Changed
* Document support for k8s v1.32 and remove v1.16 by gtsystem in https://github.com/gtsystem/lightkube/pull/83
* Document support for python 3.13 and remove official support for python 3.8 by gtsystem in https://github.com/gtsystem/lightkube/pull/83
* Support custom httpx transports by XeCycle in https://github.com/gtsystem/lightkube/pull/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 https://github.com/gtsystem/lightkube/pull/81
* When loading kubeconfig files configured with `ExecCredential`, lightkube now accepts the `env` parameter when set to null explicitly (Azure kubelogin compatiblity) by raminqaf in https://github.com/gtsystem/lightkube/pull/80

New Contributors
* XeCycle made their first contribution in https://github.com/gtsystem/lightkube/pull/77
* raminqaf made their first contribution in https://github.com/gtsystem/lightkube/pull/80

**Full Changelog**: https://github.com/gtsystem/lightkube/compare/v0.15.4...v0.16.0

0.15.4

What's Changed
* Fix client config typing by DanielArndt in https://github.com/gtsystem/lightkube/pull/60
* Document support for Kubernetes 1.30 by gtsystem in https://github.com/gtsystem/lightkube/pull/61
* Fix issue 63, where pyright cannot recognize the correct type for some client methods by gtsystem in https://github.com/gtsystem/lightkube/pull/64
* Update 'config' type hint for lightkube.core.async_client.AsyncClient by benfiola in https://github.com/gtsystem/lightkube/pull/67
* Ensure apiVersion and kind are set for 'list' requests by benfiola in https://github.com/gtsystem/lightkube/pull/68
* Set `__all__` in `__init__.py` by max-muoto in https://github.com/gtsystem/lightkube/pull/70
* Add support for dry-run by michaeldmitry in https://github.com/gtsystem/lightkube/pull/74

New Contributors
* DanielArndt made their first contribution in https://github.com/gtsystem/lightkube/pull/60
* benfiola made their first contribution in https://github.com/gtsystem/lightkube/pull/67
* max-muoto made their first contribution in https://github.com/gtsystem/lightkube/pull/70
* michaeldmitry made their first contribution in https://github.com/gtsystem/lightkube/pull/74

**Full Changelog**: https://github.com/gtsystem/lightkube/compare/v0.15.2...v0.15.4

0.15.2

What's Changed
* Use type vars for resource registration to return the same type by tim-hutchinson in https://github.com/gtsystem/lightkube/pull/59

New Contributors
* tim-hutchinson made their first contribution in https://github.com/gtsystem/lightkube/pull/59

**Full Changelog**: https://github.com/gtsystem/lightkube/compare/v0.15.1...v0.15.2

0.15.0

What's Changed
* Resolve 54: Exposes `resource_registry.register(…)` by gtsystem in https://github.com/gtsystem/lightkube/pull/55


**Full Changelog**: https://github.com/gtsystem/lightkube/compare/v0.14.0...v0.15.0

0.14.0

What's Changed
* Issue 50 - `load_all_yml` now supports List objects by addyess in https://github.com/gtsystem/lightkube/pull/51

**Full Changelog**: https://github.com/gtsystem/lightkube/compare/v0.13.0...v0.14.0

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.