8000 Release v17.14.a1 by palnabarun · Pull Request #1317 · kubernetes-client/python · GitHub
[go: up one dir, main page]

Skip to content

Release v17.14.a1 #1317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Nov 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2910f25
Update submodule
palnabarun Oct 12, 2020
d84f220
Merge pull request #1281 from palnabarun/update-submodule
k8s-ci-robot Oct 15, 2020
587cb21
Bump actions/setup-python from v2.1.3 to v2.1.4
dependabot[bot] Oct 28, 2020
927dedd
Merge pull request #1283 from kubernetes-client/dependabot/github_act…
roycaihw Oct 28, 2020
5c90c18
Update CHANGELOG and README to reflect v12.0.0 and v12.0.1
palnabarun Oct 15, 2020
8925bfe
Update hot patch section of release documentation
palnabarun Nov 7, 2020
92bf36b
Update constants to reflect Client release 17.0.0
palnabarun Nov 7, 2020
598d41b
Generate client 17.0.0
palnabarun Nov 7, 2020
e842ec9
Remove generated tests
palnabarun Nov 7, 2020
f1cc695
Fix custom objects API to preserve backward compatibility
palnabarun Jun 22, 2020
56ab983
Add kubernetes.client.apis as an alias to kubernetes.client.api
palnabarun Jun 22, 2020
0eb5f0f
Add test to ensure kubernetes client threadpool is cleaned up
fabianvf Feb 6, 2020
a80b3f5
add a test for default configuration behavior
roycaihw Nov 4, 2020
a9ad7d7
Update CHANGELOG with v17.0.0-snapshot
palnabarun Nov 7, 2020
bfb46ff
Update README
palnabarun Nov 7, 2020
140af57
Merge pull request #1309 from palnabarun/update-release-docs-2
k8s-ci-robot Nov 9, 2020
22d623b
Merge pull request #1308 from palnabarun/update-changelog
k8s-ci-robot Nov 13, 2020
b79ad68
Merge pull request #1307 from palnabarun/release-17.0-snapshot
k8s-ci-robot Nov 13, 2020
83fe9e9
Update constants to reflect Client release 17.14.0a1
palnabarun Nov 13, 2020
0628e6a
Generate client 17.14.0a1
palnabarun Nov 13, 2020
295a61f
Fix custom objects API to preserve backward compatibility
palnabarun Jun 22, 2020
1c9c467
Add kubernetes.client.apis as an alias to kubernetes.client.api
palnabarun Jun 22, 2020
03a72ad
Add test to ensure kubernetes client threadpool is cleaned up
fabianvf Feb 6, 2020
24edf5d
add a test for default configuration behavior
roycaihw Nov 4, 2020
524dbf9
Update CHANGELOG with v17.14.0a1
palnabarun Nov 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2.1.3
uses: actions/setup-python@v2.1.4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
# v17.14.0a1

Kubernetes API Version: 1.17.14

**Important Information:**

- The Kubernetes Python client versioning scheme has changed. The version numbers used till Kubernetes Python Client v12.y.z lagged behind the actual Kubernetes minor version numbers. From this release, the client is moving a version format `vY.Z.P` where `Y` and `Z` are respectively from the Kubernetes version `v1.Y.Z` and `P` would incremented due to changes on the Python client side itself. Ref: https://github.com/kubernetes-client/python/issues/1244
- Python 2 had reached [End of Life](https://www.python.org/doc/sunset-python-2/) on January 1, 2020. The Kubernetes Python Client will drop support for Python 2 from the next release (v18.0.0) and will no longer provide support to older clients as per the [Kubernetes support policy](https://kubernetes.io/docs/setup/release/version-skew-policy/#supported-versions).


**API Change:**
- Fixed: log timestamps now include trailing zeros to maintain a fixed width ([#91207](https://github.com/kubernetes/kubernetes/pull/91207), [@iamchuckss](https://github.com/iamchuckss)) [SIG Apps and Node]
- Resolve regression in metadata.managedFields handling in update/patch requests submitted by older API clients ([#92008](https://github.com/kubernetes/kubernetes/pull/92008), [@apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
- Fix bug where sending a status update completely wipes managedFields for some types. ([#90032](https://github.com/kubernetes/kubernetes/pull/90032), [@apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
- Fixes a regression with clients prior to 1.15 not being able to update podIP in pod status, or podCIDR in node spec, against >= 1.16 API servers ([#88505](https://github.com/kubernetes/kubernetes/pull/88505), [@liggitt](https://github.com/liggitt)) [SIG Apps and Network]
- CustomResourceDefinitions now validate documented API semantics of `x-kubernetes-list-type` and `x-kubernetes-map-type` atomic to reject non-atomic sub-types. ([#84722](https://github.com/kubernetes/kubernetes/pull/84722), [@sttts](https://github.com/sttts))
- Kube-apiserver: The `AdmissionConfiguration` type accepted by `--admission-control-config-file` has been promoted to `apiserver.config.k8s.io/v1` with no schema changes. ([#85098](https://github.com/kubernetes/kubernetes/pull/85098), [@liggitt](https://github.com/liggitt))
- Fixed EndpointSlice port name validation to match Endpoint port name validation (allowing port names longer than 15 characters) ([#84481](https://github.com/kubernetes/kubernetes/pull/84481), [@robscott](https://github.com/robscott))
- CustomResourceDefinitions introduce `x-kubernetes-map-type` annotation as a CRD API extension. Enables this particular validation for server-side apply. ([#84113](https://github.com/kubernetes/kubernetes/pull/84113), [@enxebre](https://github.com/enxebre))

To read the full CHANGELOG visit [here](https://raw.githubusercontent.com/kubernetes/kubernetes/master/CHANGELOG/CHANGELOG-1.17.md).

# v12.0.1

Kubernetes API Version: 1.16.15

**Breaking Change:**

- `kubernetes.config.Configuration()` will now return the default "initial" configuration, `kubernetes.config.Configuration.get_default_copy()` will return the default configuration if there is a default set via `Configuration.set_default(c)`, otherwise, it will also return the default "initial" configuration. [OpenAPITools/openapi-generator#4485](https://github.com/OpenAPITools/openapi-generator/pull/4485), [OpenAPITools/openapi-generator#5315](https://github.com/OpenAPITools/openapi-generator/pull/5315). **Note: ** This change also affects v12.0.0a1, v12.0.0b1 and v12.0.0.

**Bug Fix:**
- Prevent 503s from killing the client during discovery [kubernetes-client/python-base#187](https://github.com/kubernetes-client/python-base/pull/187)


# v12.0.0

Kubernetes API Version: 1.16.15

**New Feature:**
- Implement Port Forwarding [kubernetes-client/python-base#210](https://github.com/kubernetes-client/python-base/pull/210), [kubernetes-client/python-base#211](https://github.com/kubernetes-client/python-base/pull/211), [kubernetes-client/python#1237](https://github.com/kubernetes-client/python/pull/1237)
- Support loading configuration from file-like objects [kubernetes-client/python-base#208](https://github.com/kubernetes-client/python-base/pull/208)
- Returns the created k8s objects in `create_from_{dict,yaml}` [kubernetes-client/python#1262](https://github.com/kubernetes-client/python/pull/1262)


# v12.0.0b1

Kubernetes API Version: 1.16.14
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,14 @@ between client-python versions.
| 8.0 Alpha/Beta | Kubernetes main repo, 1.12 branch | ✗ |
| 8.0 | Kubernetes main repo, 1.12 branch | ✗ |
| 9.0 Alpha/Beta | Kubernetes main repo, 1.13 branch | ✗ |
| 9.0 | Kubernetes main repo, 1.13 branch | |
| 9.0 | Kubernetes main repo, 1.13 branch | |
| 10.0 Alpha/Beta | Kubernetes main repo, 1.14 branch | ✗ |
| 10.0 | Kubernetes main repo, 1.14 branch | ✓ |
| 11.0 Alpha/Beta | Kubernetes main repo, 1.15 branch | ✗ |
| 11.0 | Kubernetes main repo, 1.15 branch | ✓ |
| 12.0 Alpha/Beta | Kubernetes main repo, 1.16 branch | ✗ |
| 12.0 | Kubernetes main repo, 1.16 branch | ✓ |
| 17.0 Alpha/Beta | Kubernetes main repo, 1.17 branch | ✓ |

Key:

Expand Down Expand Up @@ -174,4 +177,3 @@ This will cause a failure in non-exec/attach calls. If you reuse your api clien
recreate it between api calls that use _stream_ and other api calls.

See more at [exec example](examples/pod_exec.py).

2 changes: 2 additions & 0 deletions devel/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ For more details, see [#974](https://github.com/kubernetes-client/python/issues/

4. Remove the tests directory (ref: https://github.com/kubernetes-client/python/commit/ec9c944f076999543cd2122aff2d86f969d82548). See the [upstream issue](https://github.com/OpenAPITools/openapi-generator/issues/5377) for more information.

5. Add tests for the default `Configuration` behavior (ref: https://github.com/kubernetes-client/python/pull/1303 and https://github.com/kubernetes-client/python/pull/1285). The commit [1ffa61d0650e4c93e0d7f0becd2c54797eafd407](https://github.com/kubernetes-client/python/pull/1285/commits/1ffa61d0650e4c93e0d7f0becd2c54797eafd407) should be cherry-picked.

Commit the manual changes like this [PR](https://github.com/kubernetes-client/python/pull/995/commits) does, then create your PR for review.

Alternatively, you can use the `scripts/apply-hotfixes.sh` script to apply
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/.openapi-generator/swagger.json.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
92a199ec5d6f1d4a6df0bbfe509b5bbd504bba8a817a2e6a4c60e8ba2a0049e8
04859ba873ac89c62207ee4a60256edc321314c7d8521c5fd7fba41a1290d637
Loading
0