You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,15 @@
1
+
# v12.0.0
2
+
3
+
Kubernetes API Version: 1.16.15
4
+
5
+
**New Feature:**
6
+
- 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)
7
+
- Support loading configuration from file-like objects [kubernetes-client/python-base#208](https://github.com/kubernetes-client/python-base/pull/208)
8
+
- Returns the created k8s objects in `create_from_{dict,yaml}`[kubernetes-client/python#1262](https://github.com/kubernetes-client/python/pull/1262)
9
+
10
+
**Bug Fix:**
11
+
- Prevent 503s from killing the client during discovery [kubernetes-client/python-base#187](https://github.com/kubernetes-client/python-base/pull/187)
After changing constants to proper versions, update the client using this
52
+
command:
53
+
54
+
```bash
55
+
scripts/update-client.sh
56
+
```
57
+
58
+
Commit changes (should be only version number changes) to the release branch.
59
+
Name the commit something like "Update version constants for XXX release".
60
+
61
+
***After you finished the steps above, refer to the section "Hot issues" and
62
+
apply the manual fixes.***
63
+
64
+
```bash
65
+
git push upstream $RELEASE_BRANCH
66
+
```
6
67
7
68
## Hot issues
8
69
@@ -21,34 +82,24 @@ For more details, see [#974](https://github.com/kubernetes-client/python/issues/
21
82
22
83
3. Add ability to the client to be used as Context Manager [kubernetes-client/python#1073](https://github.com/kubernetes-client/python/pull/1073)
23
84
24
-
Commit the manual changes like this [PR](https://github.com/kubernetes-client/python/pull/995/commits) does,
25
-
then create your PR for review.
85
+
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.
86
+
87
+
Commit the manual changes like this [PR](https://github.com/kubernetes-client/python/pull/995/commits) does, then create your PR for review.
26
88
27
-
Alternatively, you can use the `scripts/apply-hotfixes.sh` script to apply changes from the above functionalities. **As mentioned above the script should be run after finishing the section `Update release tags`. Also, ensure a clean working directory before applying the script**
89
+
Alternatively, you can use the `scripts/apply-hotfixes.sh` script to apply
90
+
changes from the above functionalities. **As mentioned above the script should be run after finishing the section `Update release tags`. Also, ensure a clean working directory before applying the script**
28
91
29
92
## Change logs
93
+
30
94
Make sure the change logs are up to date [here](https://github.com/kubernetes-client/python/blob/master/CHANGELOG.md).
31
95
If they are not, follow commits added after the last release and update/commit
32
96
the change logs to master.
33
97
34
98
Then based on the release, follow one of next two steps.
35
99
36
-
## Update pre-release branch
37
-
38
-
The release branch name should have release-x.x format. All minor and pre-releases
39
-
should be on the same branch. To update an existing branch with master (only for
40
-
latest pre-release):
41
-
42
-
```bash
43
-
export RELEASE_BRANCH=release-x.y
44
-
git checkout $RELEASE_BRANCH
45
-
git fetch upstream
46
-
git rebase upstream/$RELEASE_BRANCH
47
-
git pull upstream master
48
-
```
100
+
## README
49
101
50
-
You may need to fix some conflicts. For auto-generated files, you can commit
51
-
either version. They will be updated to the current version in the next step.
102
+
Update the compatibility matrix and maintenance status in the README file.
52
103
53
104
## Patch a release branch
54
105
@@ -84,36 +135,6 @@ And make sure there is no API change (version number changes should be fine
84
135
as they will be updated in the next step anyway). Do not commit any changes at
85
136
this step and go back to the master branch if there are any API changes.
86
137
87
-
## Update release tags
88
-
89
-
Release tags are in the "scripts/constants.py" file. These are the constants you may
90
-
need to update:
91
-
92
-
CLIENT_VERSION: Client version should follow x.y.zDn where x,y,z are version
93
-
numbers (integers) and D is one of "a" for alpha or "b" for beta and n is the
94
-
pre-release number. For a final release, the "Dn" part should be omitted. Examples:
95
-
1.0.0a1, 2.0.1b2, 1.5.1.
96
-
97
-
DEVELOPMENT_STATUS: Update it to one of the values of "Development Status"
98
-
in [this list](https://pypi.python.org/pypi?%3Aaction=list_classifiers).
99
-
100
-
after changing constants to proper versions, update the client using this
101
-
command:
102
-
103
-
```bash
104
-
scripts/update-client.sh
105
-
```
106
-
107
-
and commit changes (should be only version number changes) to the release branch.
108
-
Name the commit something like "Update version constants for XXX release".
109
-
110
-
***After you finished the steps above, refer to the section "Hot issues" and
111
-
apply the manual fixes.***
112
-
113
-
```bash
114
-
git push upstream $RELEASE_BRANCH
115
-
```
116
-
117
138
## Make distribution packages
118
139
119
140
First make sure you are using a clean version of python. Use virtualenv and
0 commit comments