Kopf

Latest version: v1.37.2

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

Scan your dependencies

Page 4 of 17

1.33rc1

New features:

* Configurable timeouts for API operations and TCP connections. 793
* Configurable retries & backoffs for API server-side & networking errors. 788

Bugfixes:

* Prevent loss of events under high-load or with heavy sync-blockers in asyncio methods. 732
* Special thanks to paxbit & cjbaar for investigation.

Contributor experience:

* Kubernetes 1.16 and 1.17 dropped from CI; they will most likely continue to work as before. 794
* API clients refactored to have a unified requesting routine. 792 795
* Fix tests with namespaces mismatching the resource scopes. 791

1.32.1

Bugfixes:

* Propagate the sub-handling context to sub-sub-handlers. 780

1.32.0

New features:

* Rudimentary authentication from kubeconfig/serviceaccount with no pykube-ng/kubernetes libraries. 771

Bugfixes:

* Restore specific groups for peering selectors to prevent whole-cluster API group scanning. 741
* Fix an issue with Click 8.0.0 for custom type double-conversion. 769

Improvements:

* Better typing for memos in strictly typed operators (no `Union` is needed). 747 753
* Better typing for daemon stopping flags in strictly typed operators. 757 760
* Actionable suggestions on 401 "Unauthenticated" API errors. 770
* Expose Kopf's version in user-agent & in logs. 777

Contributor experience:

* Remove leading zeros from IPv4 in tests (broken CI for Python >= 3.9.5). 750
* Document the layered code architecture (with a picture). 766
* Proper badge URL for README. 749
* Lint the source code with pre-commit. 776 778

Internal refactoring:

* Rebalance the classes & modules **massively** — for cohesion and decoupling. 765 766 752 761 759 763 764 751
* Hide all internal modules & packages from users (via underscore-naming). 765
* Rename internal entities to not mention "resource(s)" explicitly. 756
* Fix the documentation cross-linking. 773
* Correct some code-formatting and linting issues. 775
* Parse E2E flags/configs with AST instead of RegExps. 733
* Use only pure f-strings for logs, avoid %s/%r formatting. 772

<img src="https://user-images.githubusercontent.com/544296/118763139-9f68da00-b877-11eb-8a28-b3c90d7a3c6a.png" height="200"/>

1.32rc2

New features:

* Rudimentary authentication from kubeconfig/serviceaccount with no pykube-ng/kubernetes libraries. 771

Improvements:

* Actionable suggestions on 401 "Unauthenticated" API errors. 770
* Expose Kopf's version in user-agent & in logs. 777

Contributor experience:

* Lint the source code with pre-commit. 776 778

Internal refactoring:

* Fix the documentation cross-linking. 773
* Correct some code-formatting and linting issues. 775
* Parse E2E flags/configs with AST instead of RegExps. 733
* Use only pure f-strings for logs, avoid %s/%r formatting. 772

1.32rc1

Bugfixes:

* Restore specific groups for peering selectors to prevent whole-cluster API group scanning. 741
* Fix an issue with Click 8.0.0 for custom type double-conversion. 769

Improvements:

* Better typing for memos in strictly typed operators (no `Union` is needed). 747 753
* Better typing for daemon stopping flags in strictly typed operators. 757 760

Internal refactoring:

* Rebalance the classes & modules **massively** — for cohesion and decoupling. 765 766 752 761 759 763 764 751
* Hide all internal modules & packages from users (via underscore-naming). 765
* Rename internal entities to not mention "resource(s)" explicitly. 756

Contributor experience:

* Remove leading zeros from IPv4 in tests (broken CI for Python >= 3.9.5). 750
* Document the layered code architecture (with a picture). 766
* Proper badge URL for README. 749

1.31.0

New features:

* Validating/mutating admission webhooks: 708 724 721 736
* With a built-in server.
* With self-signed certificates for dev-mode.
* With tunnelling via external systems (now: ngrok).
* With auto-detection of the best server/tunnel for the cluster.
* With automatic management of webhook configurations in the cluster.
* Documentation: https://kopf.readthedocs.io/en/stable/admission/

Improvements:

* Kopf exports types for type-checking. Thanks to SergeyTsaplin 704 720 722

Bugfix:

* Solved K8s API flooding with endless dummy-patching in certain conditions. Many thanks to paxbit! 731 728 686
* Fix absent namespaces for cluster-scoped resources in hierarchies. 726 727
* Extra characters are properly encoded in annotations. Thanks to silveryfu. 713

Contributor experience:

* Drop Kubernetes 1.14 support. 723
* Add Kubernetes 1.21 support. 737
* Examples are now type-checked too (non-strict). 704

<img src="https://user-images.githubusercontent.com/544296/116200138-40142000-a738-11eb-9f3c-a56726df558b.png" height="200"/> <img src="https://user-images.githubusercontent.com/544296/116200145-41dde380-a738-11eb-94aa-b945da89dc71.png" height="200"/>

Page 4 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.