Skip to content

Commit 9c1c210

Browse files
author
semantic-release
committed
chore: release v4.6.0
1 parent 1b550ac commit 9c1c210

File tree

2 files changed

+156
-1
lines changed

2 files changed

+156
-1
lines changed

CHANGELOG.md

+155
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,161 @@
22

33

44

5+
## v4.6.0 (2024-05-28)
6+
7+
### Chore
8+
9+
* chore(deps): update python-semantic-release/upload-to-gh-release digest to 673709c ([`1b550ac`](https://github.com/python-gitlab/python-gitlab/commit/1b550ac706c8c31331a7a9dac607aed49f5e1fcf))
10+
11+
* chore(deps): update all non-major dependencies ([`4c7014c`](https://github.com/python-gitlab/python-gitlab/commit/4c7014c13ed63f994e05b498d63b93dc8ab90c2e))
12+
13+
* chore: update commit reference in git-blame-ignore-revs ([`d0fd5ad`](https://github.com/python-gitlab/python-gitlab/commit/d0fd5ad5a70e7eb70aedba5a0d3082418c5ffa34))
14+
15+
* chore(cli): add ability to not add `_id_attr` as an argument
16+
17+
In some cases we don't want to have `_id_attr` as an argument.
18+
19+
Add ability to have it not be added as an argument. ([`2037352`](https://github.com/python-gitlab/python-gitlab/commit/20373525c1a1f98c18b953dbef896b2570d3d191))
20+
21+
* chore: create a CustomAction dataclass ([`61d8679`](https://github.com/python-gitlab/python-gitlab/commit/61d867925772cf38f20360c9b40140ac3203efb9))
22+
23+
* chore: add an initial .git-blame-ignore-revs
24+
25+
This adds the `.git-blame-ignore-revs` file which allows ignoring
26+
certain commits when doing a `git blame --ignore-revs`
27+
28+
Ignore the commit that requires keyword arguments for
29+
`register_custom_action()`
30+
31+
https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view ([`74db84c`](https://github.com/python-gitlab/python-gitlab/commit/74db84ca878ec7029643ff7b00db55f9ea085e9b))
32+
33+
* chore: require keyword arguments for register_custom_action
34+
35+
This makes it more obvious when reading the code what each argument is
36+
for. ([`7270523`](https://github.com/python-gitlab/python-gitlab/commit/7270523ad89a463c3542e072df73ba2255a49406))
37+
38+
* chore: remove typing-extensions from requirements.txt
39+
40+
We no longer support Python versions before 3.8. So it isn't needed
41+
anymore. ([`d569128`](https://github.com/python-gitlab/python-gitlab/commit/d56912835360a1b5a03a20390fb45cb5e8b49ce4))
42+
43+
* chore(deps): update dependency requests to v2.32.0 [security] ([`1bc788c`](https://github.com/python-gitlab/python-gitlab/commit/1bc788ca979a36eeff2e35241bdefc764cf335ce))
44+
45+
* chore(deps): update all non-major dependencies ([`ba1eec4`](https://github.com/python-gitlab/python-gitlab/commit/ba1eec49556ee022de471aae8d15060189f816e3))
46+
47+
* chore(deps): update gitlab/gitlab-ee docker tag to v17 ([`5070d07`](https://github.com/python-gitlab/python-gitlab/commit/5070d07d13b9c87588dbfde3750340e322118779))
48+
49+
* chore(cli): on the CLI help show the API endpoint of resources
50+
51+
This makes it easier for people to map CLI command names to the API.
52+
53+
Looks like this:
54+
$ gitlab --help
55+
<snip>
56+
The GitLab resource to manipulate.
57+
application API endpoint: /applications
58+
application-appearance
59+
API endpoint: /application/appearance
60+
application-settings
61+
API endpoint: /application/settings
62+
application-statistics
63+
API endpoint: /application/statistics
64+
<snip> ([`f1ef565`](https://github.com/python-gitlab/python-gitlab/commit/f1ef5650c3201f3883eb04ad90a874e8adcbcde2))
65+
66+
* chore(cli): add some simple help for the standard operations
67+
68+
Add help for the following standard operations:
69+
* list: List the GitLab resources
70+
* get: Get a GitLab resource
71+
* create: Create a GitLab resource
72+
* update: Update a GitLab resource
73+
* delete: Delete a GitLab resource
74+
75+
For example:
76+
$ gitlab project-key --help
77+
usage: gitlab project-key [-h] {list,get,create,update,delete,enable} ...
78+
79+
options:
80+
-h, --help show this help message and exit
81+
82+
action:
83+
list
84+
get
85+
create
86+
update
87+
delete
88+
enable
89+
Action to execute on the GitLab resource.
90+
list List the GitLab resources
91+
get Get a GitLab resource
92+
create Create a GitLab resource
93+
update Update a GitLab resource
94+
delete Delete a GitLab resource ([`5a4a940`](https://github.com/python-gitlab/python-gitlab/commit/5a4a940f42e43ed066838503638fe612813e504f))
95+
96+
* chore: correct type-hint for `job.trace()`
97+
98+
Closes: #2808 ([`840572e`](https://github.com/python-gitlab/python-gitlab/commit/840572e4fa36581405b604a985d0e130fe43f4ce))
99+
100+
* chore: add type info for ProjectFile.content
101+
102+
Closes: #2821 ([`62fa271`](https://github.com/python-gitlab/python-gitlab/commit/62fa2719ea129b3428e5e67d3d3a493f9aead863))
103+
104+
### Feature
105+
106+
* feat(api): add additional parameter to project/group iteration search (#2796)
107+
108+
Co-authored-by: Cristiano Casella <[email protected]>
109+
Co-authored-by: Nejc Habjan <[email protected]> ([`623dac9`](https://github.com/python-gitlab/python-gitlab/commit/623dac9c8363c61dbf53f72af58835743e96656b))
110+
111+
* feat(api): add support for gitlab service account (#2851)
112+
113+
114+
Co-authored-by: Nejc Habjan <[email protected]> ([`b187dea`](https://github.com/python-gitlab/python-gitlab/commit/b187deadabbfdf0326ecd79a3ee64c9de10c53e0))
115+
116+
* feat: more usernames support for MR approvals
117+
118+
I don't think commit a2b8c8ccfb5d went far enough to enable usernames
119+
support. We create and edit a lot of approval rules based on an external
120+
service (similar to CODE_OWNERS), but only have the usernames available,
121+
and currently, have to look up each user to get their user ID to populate
122+
user_ids for .set_approvers() calls. Would very much like to skip the
123+
lookup and just send the usernames, which this change should allow.
124+
125+
See: https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-project-level-rule
126+
127+
Signed-off-by: Jarod Wilson <[email protected]> ([`12d195a`](https://github.com/python-gitlab/python-gitlab/commit/12d195a35a1bd14947fbd6688a8ad1bd3fc21617))
128+
129+
### Fix
130+
131+
* fix(deps): update minimum dependency versions in pyproject.toml
132+
133+
Update the minimum versions of the dependencies in the pyproject.toml
134+
file.
135+
136+
This is related to PR #2878 ([`37b5a70`](https://github.com/python-gitlab/python-gitlab/commit/37b5a704ef6b94774e54110ba3746a950e733986))
137+
138+
* fix(cli): don't require `--id` when enabling a deploy key
139+
140+
No longer require `--id` when doing:
141+
gitlab project-key enable
142+
143+
Now only the --project-id and --key-id are required. ([`98fc578`](https://github.com/python-gitlab/python-gitlab/commit/98fc5789d39b81197351660b7a3f18903c2b91ba))
144+
145+
* fix: don't raise `RedirectError` for redirected `HEAD` requests ([`8fc13b9`](https://github.com/python-gitlab/python-gitlab/commit/8fc13b91d63d57c704d03b98920522a6469c96d7))
146+
147+
* fix: handle large number of approval rules
148+
149+
Use `iterator=True` when going through the list of current approval
150+
rules. This allows it to handle more than the default of 20 approval
151+
rules.
152+
153+
Closes: #2825 ([`ef8f0e1`](https://github.com/python-gitlab/python-gitlab/commit/ef8f0e190b1add3bbba9a7b194aba2f3c1a83b2e))
154+
155+
* fix(projects): fix 'import_project' file argument type for typings
156+
157+
Signed-off-by: Adrian DC <[email protected]> ([`33fbc14`](https://github.com/python-gitlab/python-gitlab/commit/33fbc14ea8432df7e637462379e567f4d0ad6c18))
158+
159+
5160
## v4.5.0 (2024-05-13)
6161

7162
### Build

gitlab/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
__email__ = "[email protected]"
44
__license__ = "LGPL3"
55
__title__ = "python-gitlab"
6-
__version__ = "4.5.0"
6+
__version__ = "4.6.0"

0 commit comments

Comments
 (0)