python-gitlab/python-gitlab (python-gitlab)
### [`v4.11.1`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v4111-2024-09-13)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.11.0...v4.11.1)
##### Fix
- fix(client): ensure type evaluations are postponed ([`b41b2de`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b41b2de8884c2dc8c8be467f480c7161db6a1c87))
### [`v4.11.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v4110-2024-09-13)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.10.0...v4.11.0)
##### Chore
- chore(pre-commit): add deps ([`fe5e608`](https://redirect.github.com/python-gitlab/python-gitlab/commit/fe5e608bc6cc04863bd4d1d9dbe101fffd88e954))
- chore(deps): update all non-major dependencies ([`fac8bf9`](https://redirect.github.com/python-gitlab/python-gitlab/commit/fac8bf9f3e2a0218f96337536d08dec9991bfc1a))
- chore(deps): update dependency types-setuptools to v74 ([`bdfaddb`](https://redirect.github.com/python-gitlab/python-gitlab/commit/bdfaddb89ae7ba351bd3a21c6cecc528772db4de))
- chore(deps): update all non-major dependencies ([`88c7529`](https://redirect.github.com/python-gitlab/python-gitlab/commit/88c75297377dd1f1106b5bc673946cebd563e0a1))
##### Documentation
- docs(objects): fix typo in get latest pipeline ([`b9f5c12`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b9f5c12d3ba6ca4e4321a81e7610d03fb4440c02))
##### Feature
- feat(client): make retries configurable in GraphQL ([`145870e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/145870e628ed3b648a0a29fc551a6f38469b684a))
- feat(client): add retry handling to GraphQL client ([`8898c38`](https://redirect.github.com/python-gitlab/python-gitlab/commit/8898c38b97ed36d9ff8f2f20dee27ef1448b9f83))
- feat(api): add exclusive GET attrs for /projects/:id/members ([`e637808`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e637808bcb74498438109d7ed352071ebaa192d5))
- feat: add a minimal GraphQL client ([`d6b1b0a`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d6b1b0a962bbf0f4e0612067fc075dbdcbb772f8))
- feat(api): add exclusive GET attrs for /groups/:id/members ([`d44ddd2`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d44ddd2b00d78bb87ff6a4776e64e05e0c1524e1))
##### Refactor
- refactor(client): move retry logic into utility ([`3235c48`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3235c48328c2866f7d46597ba3c0c2488e6c375c))
### [`v4.10.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v4100-2024-08-28)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.9.0...v4.10.0)
##### Chore
- chore(release): track tags for renovate ([`d600444`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d6004449ad5aaaf2132318a78523818996ec3e21))
- chore(deps): update python-semantic-release/upload-to-gh-release digest to [`17c75b7`](https://redirect.github.com/python-gitlab/python-gitlab/commit/17c75b7) ([`12caaa4`](https://redirect.github.com/python-gitlab/python-gitlab/commit/12caaa496740cb15e6220511751b7a20e2d29d07))
- chore(deps): update dependency types-setuptools to v73 ([`d55c045`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d55c04502bee0fb42e2ef359cde3bc1b4b510b1a))
- chore(deps): update all non-major dependencies ([`2ade0d9`](https://redirect.github.com/python-gitlab/python-gitlab/commit/2ade0d9f4922226143e2e3835a7449fde9c49d66))
- chore(deps): update gitlab/gitlab-ee docker tag to v17.3.1-ee.0 ([`3fdd130`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3fdd130a8e87137e5a048d5cb78e43aa476c8f34))
- chore(deps): update all non-major dependencies ([`0578bf0`](https://redirect.github.com/python-gitlab/python-gitlab/commit/0578bf07e7903037ffef6558e914766b6cf6f545))
- chore(deps): update gitlab/gitlab-ee docker tag to v17.3.0-ee.0 ([`e5a46f5`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e5a46f57de166f94e01f5230eb6ad91f319791e4))
- chore(deps): update dependency myst-parser to v4 ([`930d4a2`](https://redirect.github.com/python-gitlab/python-gitlab/commit/930d4a21b8afed833b4b2e6879606bbadaee19a1))
- chore(deps): update dependency sphinx to v8 ([`cb65ffb`](https://redirect.github.com/python-gitlab/python-gitlab/commit/cb65ffb6957bf039f35926d01f15db559e663915))
- chore(deps): update gitlab/gitlab-ee docker tag to v17.2.2-ee.0 ([`b2275f7`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b2275f767dd620c6cb2c27b0470f4e8151c76550))
- chore(deps): update all non-major dependencies ([`31786a6`](https://redirect.github.com/python-gitlab/python-gitlab/commit/31786a60da4b9a10dec0eab3a0b078aa1e94d809))
##### Documentation
- docs(faq): correct the attribute fetching example
There is an example about object attributes in the FAQ. It shows how to
properly fetch all attributes of all projects, by using list() followed
by a get(id) call.
Unfortunately this example used a wrong variable name, which caused it
not to work and which could have made it slightly confusing to readers.
This commit fixes that, by changing the variable name.
Now the example uses one variable for two Python objects. As they
correspond to the same GitLab object and the intended behavior is to
obtain that very object, just with all attributes, this is fine and is
probably what readers will find most useful in this context. ([`43a16ac`](https://redirect.github.com/python-gitlab/python-gitlab/commit/43a16ac17ce78cf18e0fc10fa8229f052eed3946))
##### Feature
- feat(api): project/group hook test triggering
Add the ability to trigger tests of project and group hooks.
Fixes [#2924](https://redirect.github.com/python-gitlab/python-gitlab/issues/2924) ([`9353f54`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9353f5406d6762d09065744bfca360ccff36defe))
##### Test
- test(cli): allow up to 30 seconds for a project export
Before we allowed a maximum of around 15 seconds for the
project-export. Often times the CI was failing with this value.
Change it to a maximum of around 30 seconds. ([`bdc155b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/bdc155b716ef63ef1398ee1e6f5ca67da1109c13))
### [`v4.9.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v490-2024-08-06)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.8.0...v4.9.0)
##### Chore
- chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v38 ([`f13968b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f13968be9e2bb532f3c1185c1fa4185c05335552))
- chore(deps): update all non-major dependencies ([`f95ca26`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f95ca26b411e5a8998eb4b81e41c061726271240))
- chore(deps): update dependency types-setuptools to v71 ([`d6a7dba`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d6a7dba600923e582064a77579dea82281871c25))
- chore(deps): update python-semantic-release/upload-to-gh-release digest to [`0dcddac`](https://redirect.github.com/python-gitlab/python-gitlab/commit/0dcddac) ([`eb5c6f7`](https://redirect.github.com/python-gitlab/python-gitlab/commit/eb5c6f7fb6487da21c69582adbc69aaf36149143))
- chore(deps): update gitlab/gitlab-ee docker tag to v17.2.1-ee.0 ([`d13a656`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d13a656565898886cc6ba11028b3bcb719c21f0f))
- chore(deps): update all non-major dependencies ([`7adc86b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7adc86b2e202cad42776991f0ed8c81517bb37ad))
- chore(deps): update python-semantic-release/upload-to-gh-release digest to [`e2355e1`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e2355e1) ([`eb18552`](https://redirect.github.com/python-gitlab/python-gitlab/commit/eb18552e423e270a27a2b205bfd2f22fcb2eb949))
- chore(deps): update all non-major dependencies ([`e820db0`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e820db0d9db42a826884b45a76267fee861453d4))
- chore(ci): make pre-commit check happy
pre-commit incorrectly wants double back-quotes inside the code
section. Rather than fight it, just use single quotes. ([`67370d8`](https://redirect.github.com/python-gitlab/python-gitlab/commit/67370d8f083ddc34c0acf0c0b06742a194dfa735))
##### Feature
- feat(snippets): add support for listing all instance snippets ([`64ae61e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/64ae61ed9ba60169037703041c2a9a71017475b9))
### [`v4.8.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v480-2024-07-16)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.7.0...v4.8.0)
##### Chore
- chore(deps): update gitlab/gitlab-ee docker tag to v17.1.2-ee.0 ([`6fedfa5`](https://redirect.github.com/python-gitlab/python-gitlab/commit/6fedfa546120942757ea48337ce7446914eb3813))
- chore(deps): update all non-major dependencies ([`4a2b213`](https://redirect.github.com/python-gitlab/python-gitlab/commit/4a2b2133b52dac102d6f623bf028bdef6dd5a92f))
- chore(ci): specify name of "stale" label
Saw the following error in the log:
\[[#2618](https://redirect.github.com/python-gitlab/python-gitlab/issues/2618)] Removing the label "Stale" from this issue...
\##\[error]\[[#2618](https://redirect.github.com/python-gitlab/python-gitlab/issues/2618)] Error when removing the label: "Label does not exist"
My theory is that the case doesn't match ("Stale" != "stale") and that
is why it failed. Our label is "stale" so update this to match.
Thought of changing the label name on GitHub but then would also
require a change here to the "any-of-labels". So it seemed simpler to
just change it here.
It is confusing though that it detected the label "stale", but then
couldn't delete it. ([`44f62c4`](https://redirect.github.com/python-gitlab/python-gitlab/commit/44f62c49106abce2099d5bb1f3f97b64971da406))
- chore(ci): stale: allow issues/PRs that have stale label to be closed
If a `stale` label is manually applied, allow the issue or PR to be
closed by the stale job.
Previously it would require the `stale` label and to also have one of
'need info' or 'Waiting for response' labels added. ([`2ab88b2`](https://redirect.github.com/python-gitlab/python-gitlab/commit/2ab88b25a64bd8e028cee2deeb842476de54b109))
- chore(ci): use codecov token when available ([`b74a6fb`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b74a6fb5157e55d3e4471a0c5c8378fed8075edc))
- chore(deps): update python-semantic-release/upload-to-gh-release digest to [`fe6cc89`](https://redirect.github.com/python-gitlab/python-gitlab/commit/fe6cc89) ([`3f3ad80`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3f3ad80ef5bb2ed837adceae061291b2b5545ed3))
- chore(deps): update all non-major dependencies ([`0f59069`](https://redirect.github.com/python-gitlab/python-gitlab/commit/0f59069420f403a17f67a5c36c81485c9016b59b))
- chore: add `show_caller` argument to `utils.warn()`
This allows us to not add the caller's location to the UserWarning
message. ([`7d04315`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7d04315d7d9641d88b0649e42bf24dd160629af5))
- chore: use correct type-hint for `die()` ([`9358640`](https://redirect.github.com/python-gitlab/python-gitlab/commit/93586405fbfa61317dc75e186799549573bc0bbb))
- chore(deps): update gitlab/gitlab-ee docker tag to v17.1.1-ee.0 ([`5e98510`](https://redirect.github.com/python-gitlab/python-gitlab/commit/5e98510a6c918b33c0db0a7756e8a43a8bdd868a))
- chore(deps): update python-semantic-release/upload-to-gh-release digest to [`c7c3b69`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c7c3b69) ([`23393fa`](https://redirect.github.com/python-gitlab/python-gitlab/commit/23393faa0642c66a991fd88f1d2d68aed1d2f172))
- chore(deps): update all non-major dependencies ([`cf87226`](https://redirect.github.com/python-gitlab/python-gitlab/commit/cf87226a81108fbed4f58751f1c03234cc57bcf1))
##### Documentation
- docs: document how to use `sudo` if modifying an object
Add a warning about using `sudo` when saving.
Give an example of how to `get` an object, modify it, and then `save`
it using `sudo`
Closes: [#532](https://redirect.github.com/python-gitlab/python-gitlab/issues/532) ([`d509da6`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d509da60155e9470dee197d91926850ea9548de9))
- docs: variables: add note about `filter` for updating
Add a note about using `filter` when updating a variable.
Closes: [#2835](https://redirect.github.com/python-gitlab/python-gitlab/issues/2835)
Closes: [#1387](https://redirect.github.com/python-gitlab/python-gitlab/issues/1387)
Closes: [#1125](https://redirect.github.com/python-gitlab/python-gitlab/issues/1125) ([`c378817`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c378817389a9510ef508b5a3c90282e5fb60049f))
##### Feature
- feat(api): add support for project cluster agents ([`32dbc6f`](https://redirect.github.com/python-gitlab/python-gitlab/commit/32dbc6f2bee5b22d18c4793f135223d9b9824d15))
- feat(api): add support for container registry protection rules ([`6d31649`](https://redirect.github.com/python-gitlab/python-gitlab/commit/6d31649190279a844bfa591a953b0556cd6fc492))
- feat(api): add support for package protection rules ([`6b37811`](https://redirect.github.com/python-gitlab/python-gitlab/commit/6b37811c3060620afd8b81e54a99d96e4e094ce9))
- feat(api): add support for commit sequence ([`1f97be2`](https://redirect.github.com/python-gitlab/python-gitlab/commit/1f97be2a540122cb872ff59500d85a35031cab5f))
##### Fix
- fix: issues `closed_by()/related_merge_requests()` use `http_list`
The `closed_by()` and `related_merge_requests()` API calls return
lists. So use the `http_list()` method.
This will also warn the user if only a subset of the data is returned. ([`de2e4dd`](https://redirect.github.com/python-gitlab/python-gitlab/commit/de2e4dd7e80c7b84fd41458117a85558fcbac32d))
- fix: Have `participants()` method use `http_list()`
Previously it was using `http_get()` but the `participants` API
returns a list of participants. Also by using this then we will warn
if only a subset of the participants are returned.
Closes: [#2913](https://redirect.github.com/python-gitlab/python-gitlab/issues/2913) ([`d065275`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d065275f2fe296dd00e9bbd0f676d1596f261a85))
- fix(files): CR: add explicit comparison to `None`
Co-authored-by: Nejc Habjan \ ([`51d8f88`](https://redirect.github.com/python-gitlab/python-gitlab/commit/51d8f888aca469cff1c5ee5e158fb259d2862017))
- fix(files): make `ref` parameter optional in get raw file api
The `ref` parameter was made optional in gitlab v13.11.0. ([`00640ac`](https://redirect.github.com/python-gitlab/python-gitlab/commit/00640ac11f77e338919d7e9a1457d111c82af371))
- fix(cli): generate UserWarning if `list` does not return all entries
Previously in the CLI, calls to `list()` would have `get_all=False` by
default. Therefore hiding the fact that not all items are being
returned if there were more than 20 items.
Added `--no-get-all` option to `list` actions. Along with the already
existing `--get-all`.
Closes: [#2900](https://redirect.github.com/python-gitlab/python-gitlab/issues/2900) ([`e5a4379`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e5a43799b5039261d7034af909011444718a5814))
##### Refactor
- refactor(package_protection_rules): add missing attributes ([`c307dd2`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c307dd20e3df61b118b3b1a8191c0f1880bc9ed6))
##### Test
- test(registry): disable functional tests for unavailable endpoints ([`ee393a1`](https://redirect.github.com/python-gitlab/python-gitlab/commit/ee393a16e1aa6dbf2f9785eb3ef486f7d5b9276f))
- test(files): test with and without `ref` parameter in test case ([`f316b46`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f316b466c04f8ff3c0cca06d0e18ddf2d62d033c))
- test(files): omit optional `ref` parameter in test case ([`9cb3396`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9cb3396d3bd83e82535a2a173b6e52b4f8c020f4))
- test(fixtures): remove deprecated config option ([`2156949`](https://redirect.github.com/python-gitlab/python-gitlab/commit/2156949866ce95af542c127ba4b069e83fcc8104))
### [`v4.7.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v470-2024-06-28)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.6.0...v4.7.0)
##### Chore
- chore(deps): update all non-major dependencies ([`88de2f0`](https://redirect.github.com/python-gitlab/python-gitlab/commit/88de2f0fc52f4f02e1d44139f4404acf172624d7))
- chore(deps): update all non-major dependencies ([`a510f43`](https://redirect.github.com/python-gitlab/python-gitlab/commit/a510f43d990c3a3fd169854218b64d4eb9491628))
- chore(deps): update gitlab/gitlab-ee docker tag to v17.0.2-ee.0 ([`51779c6`](https://redirect.github.com/python-gitlab/python-gitlab/commit/51779c63e6a58e1ae68e9b1c3ffff998211d4e66))
- chore(deps): update python-semantic-release/upload-to-gh-release digest to [`6b7558f`](https://redirect.github.com/python-gitlab/python-gitlab/commit/6b7558f) ([`fd0f0b0`](https://redirect.github.com/python-gitlab/python-gitlab/commit/fd0f0b0338623a98e9368c30b600d603b966f8b7))
- chore(deps): update all non-major dependencies ([`d4fdf90`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d4fdf90655c2cb5124dc2ecd8b449e1e16d0add5))
- chore(deps): update dependency types-setuptools to v70 ([`7767514`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7767514a1ad4269a92a6610aa71aa8c595565a7d))
- chore(deps): update gitlab/gitlab-ee docker tag to v17.0.1-ee.0 ([`df0ff4c`](https://redirect.github.com/python-gitlab/python-gitlab/commit/df0ff4c4c1497d6449488b8577ad7188b55c41a9))
- chore(deps): update python-semantic-release/upload-to-gh-release digest to [`477a404`](https://redirect.github.com/python-gitlab/python-gitlab/commit/477a404) ([`02a551d`](https://redirect.github.com/python-gitlab/python-gitlab/commit/02a551d82327b879b7a903b56b7962da552d1089))
- chore(deps): update all non-major dependencies ([`d5de288`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d5de28884f695a79e49605a698c4f17b868ddeb8))
- chore: add a help message for `gitlab project-key enable`
Add some help text for `gitlab project-key enable`. This both adds
help text and shows how to use the new `help` feature.
Example:
$ gitlab project-key --help
usage: gitlab project-key \[-h] {list,get,create,update,delete,enable} ...
options:
\-h, --help show this help message and exit
action:
{list,get,create,update,delete,enable}
Action to execute on the GitLab resource.
list List the GitLab resources
get Get a GitLab resource
create Create a GitLab resource
update Update a GitLab resource
delete Delete a GitLab resource
enable Enable a deploy key for the project ([`1291dbb`](https://redirect.github.com/python-gitlab/python-gitlab/commit/1291dbb588d3a5a54ee54d9bb93c444ce23efa8c))
- chore: sort CLI behavior-related args to remove
Sort the list of CLI behavior-related args that are to be removed. ([`9b4b0ef`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9b4b0efa1ccfb155aee8384de9e00f922b989850))
##### Feature
- feat(api): add support for latest pipeline ([`635f5a7`](https://redirect.github.com/python-gitlab/python-gitlab/commit/635f5a7128c780880824f69a9aba23af148dfeb4))
- feat: add `--no-mask-credentials` CLI argument
This gives the ability to not mask credentials when using the
`--debug` argument. ([`18aa1fc`](https://redirect.github.com/python-gitlab/python-gitlab/commit/18aa1fc074b9f477cf0826933184bd594b63b489))
##### Fix
- fix: add ability to add help to custom_actions
Now when registering a custom_action can add help text if desired.
Also delete the VerticalHelpFormatter as no longer needed. When the
help value is set to `None` or some other value, the actions will get
printed vertically. Before when the help value was not set the actions
would all get put onto one line. ([`9acd2d2`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9acd2d23dd8c87586aa99c70b4b47fa47528472b))
### [`v4.6.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v460-2024-05-28)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.5.0...v4.6.0)
##### Chore
- chore(deps): update python-semantic-release/upload-to-gh-release digest to [`673709c`](https://redirect.github.com/python-gitlab/python-gitlab/commit/673709c) ([`1b550ac`](https://redirect.github.com/python-gitlab/python-gitlab/commit/1b550ac706c8c31331a7a9dac607aed49f5e1fcf))
- chore(deps): update all non-major dependencies ([`4c7014c`](https://redirect.github.com/python-gitlab/python-gitlab/commit/4c7014c13ed63f994e05b498d63b93dc8ab90c2e))
- chore: update commit reference in git-blame-ignore-revs ([`d0fd5ad`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d0fd5ad5a70e7eb70aedba5a0d3082418c5ffa34))
- chore(cli): add ability to not add `_id_attr` as an argument
In some cases we don't want to have `_id_attr` as an argument.
Add ability to have it not be added as an argument. ([`2037352`](https://redirect.github.com/python-gitlab/python-gitlab/commit/20373525c1a1f98c18b953dbef896b2570d3d191))
- chore: create a CustomAction dataclass ([`61d8679`](https://redirect.github.com/python-gitlab/python-gitlab/commit/61d867925772cf38f20360c9b40140ac3203efb9))
- chore: add an initial .git-blame-ignore-revs
This adds the `.git-blame-ignore-revs` file which allows ignoring
certain commits when doing a `git blame --ignore-revs`
Ignore the commit that requires keyword arguments for
`register_custom_action()`
https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view ([`74db84c`](https://redirect.github.com/python-gitlab/python-gitlab/commit/74db84ca878ec7029643ff7b00db55f9ea085e9b))
- chore: require keyword arguments for register_custom_action
This makes it more obvious when reading the code what each argument is
for. ([`7270523`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7270523ad89a463c3542e072df73ba2255a49406))
- chore: remove typing-extensions from requirements.txt
We no longer support Python versions before 3.8. So it isn't needed
anymore. ([`d569128`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d56912835360a1b5a03a20390fb45cb5e8b49ce4))
- chore(deps): update dependency requests to v2.32.0 \[security] ([`1bc788c`](https://redirect.github.com/python-gitlab/python-gitlab/commit/1bc788ca979a36eeff2e35241bdefc764cf335ce))
- chore(deps): update all non-major dependencies ([`ba1eec4`](https://redirect.github.com/python-gitlab/python-gitlab/commit/ba1eec49556ee022de471aae8d15060189f816e3))
- chore(deps): update gitlab/gitlab-ee docker tag to v17 ([`5070d07`](https://redirect.github.com/python-gitlab/python-gitlab/commit/5070d07d13b9c87588dbfde3750340e322118779))
- chore(cli): on the CLI help show the API endpoint of resources
This makes it easier for people to map CLI command names to the API.
Looks like this:
$ gitlab --help
\
The GitLab resource to manipulate.
application API endpoint: /applications
application-appearance
API endpoint: /application/appearance
application-settings
API endpoint: /application/settings
application-statistics
API endpoint: /application/statistics
\ ([`f1ef565`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f1ef5650c3201f3883eb04ad90a874e8adcbcde2))
- chore(cli): add some simple help for the standard operations
Add help for the following standard operations:
- list: List the GitLab resources
- get: Get a GitLab resource
- create: Create a GitLab resource
- update: Update a GitLab resource
- delete: Delete a GitLab resource
For example:
$ gitlab project-key --help
usage: gitlab project-key \[-h] {list,get,create,update,delete,enable} ...
options:
\-h, --help show this help message and exit
action:
list
get
create
update
delete
enable
Action to execute on the GitLab resource.
list List the GitLab resources
get Get a GitLab resource
create Create a GitLab resource
update Update a GitLab resource
delete Delete a GitLab resource ([`5a4a940`](https://redirect.github.com/python-gitlab/python-gitlab/commit/5a4a940f42e43ed066838503638fe612813e504f))
- chore: correct type-hint for `job.trace()`
Closes: [#2808](https://redirect.github.com/python-gitlab/python-gitlab/issues/2808) ([`840572e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/840572e4fa36581405b604a985d0e130fe43f4ce))
- chore: add type info for ProjectFile.content
Closes: [#2821](https://redirect.github.com/python-gitlab/python-gitlab/issues/2821) ([`62fa271`](https://redirect.github.com/python-gitlab/python-gitlab/commit/62fa2719ea129b3428e5e67d3d3a493f9aead863))
##### Feature
- feat(api): add additional parameter to project/group iteration search ([#2796](https://redirect.github.com/python-gitlab/python-gitlab/issues/2796))
Co-authored-by: Cristiano Casella \
Co-authored-by: Nejc Habjan \ ([`623dac9`](https://redirect.github.com/python-gitlab/python-gitlab/commit/623dac9c8363c61dbf53f72af58835743e96656b))
- feat(api): add support for gitlab service account ([#2851](https://redirect.github.com/python-gitlab/python-gitlab/issues/2851))
Co-authored-by: Nejc Habjan \ ([`b187dea`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b187deadabbfdf0326ecd79a3ee64c9de10c53e0))
- feat: more usernames support for MR approvals
I don't think commit [`a2b8c8c`](https://redirect.github.com/python-gitlab/python-gitlab/commit/a2b8c8ccfb5d) went far enough to enable usernames
support. We create and edit a lot of approval rules based on an external
service (similar to CODE_OWNERS), but only have the usernames available,
and currently, have to look up each user to get their user ID to populate
user_ids for .set_approvers() calls. Would very much like to skip the
lookup and just send the usernames, which this change should allow.
See: https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-project-level-rule
Signed-off-by: Jarod Wilson \ ([`12d195a`](https://redirect.github.com/python-gitlab/python-gitlab/commit/12d195a35a1bd14947fbd6688a8ad1bd3fc21617))
##### Fix
- fix(deps): update minimum dependency versions in pyproject.toml
Update the minimum versions of the dependencies in the pyproject.toml
file.
This is related to PR [#2878](https://redirect.github.com/python-gitlab/python-gitlab/issues/2878) ([`37b5a70`](https://redirect.github.com/python-gitlab/python-gitlab/commit/37b5a704ef6b94774e54110ba3746a950e733986))
- fix(cli): don't require `--id` when enabling a deploy key
No longer require `--id` when doing:
gitlab project-key enable
Now only the --project-id and --key-id are required. ([`98fc578`](https://redirect.github.com/python-gitlab/python-gitlab/commit/98fc5789d39b81197351660b7a3f18903c2b91ba))
- fix: don't raise `RedirectError` for redirected `HEAD` requests ([`8fc13b9`](https://redirect.github.com/python-gitlab/python-gitlab/commit/8fc13b91d63d57c704d03b98920522a6469c96d7))
- fix: handle large number of approval rules
Use `iterator=True` when going through the list of current approval
rules. This allows it to handle more than the default of 20 approval
rules.
Closes: [#2825](https://redirect.github.com/python-gitlab/python-gitlab/issues/2825) ([`ef8f0e1`](https://redirect.github.com/python-gitlab/python-gitlab/commit/ef8f0e190b1add3bbba9a7b194aba2f3c1a83b2e))
- fix(projects): fix 'import_project' file argument type for typings
Signed-off-by: Adrian DC \ ([`33fbc14`](https://redirect.github.com/python-gitlab/python-gitlab/commit/33fbc14ea8432df7e637462379e567f4d0ad6c18))
### [`v4.5.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v450-2024-05-13)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.4.0...v4.5.0)
##### Build
- build: Add "--no-cache-dir" to pip commands in Dockerfile
This would not leave cache files in the built docker image.
Additionally, also only build the wheel in the build phase.
On my machine, before this PR, size is [`7484539`](https://redirect.github.com/python-gitlab/python-gitlab/commit/74845395); after this PR, size is
[`7261771`](https://redirect.github.com/python-gitlab/python-gitlab/commit/72617713). ([`4ef94c8`](https://redirect.github.com/python-gitlab/python-gitlab/commit/4ef94c8260e958873bb626e86d3241daa22f7ce6))
##### Chore
- chore(deps): update all non-major dependencies ([`4f338ae`](https://redirect.github.com/python-gitlab/python-gitlab/commit/4f338aed9c583a20ff5944e6ccbba5737c18b0f4))
- chore(deps): update gitlab/gitlab-ee docker tag to v16.11.2-ee.0 ([`9be48f0`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9be48f0bcc2d32b5e8489f62f963389d5d54b2f2))
- chore(deps): update dependency myst-parser to v3 ([`9289189`](https://redirect.github.com/python-gitlab/python-gitlab/commit/92891890eb4730bc240213a212d392bcb869b800))
- chore(deps): update all non-major dependencies ([`65d0e65`](https://redirect.github.com/python-gitlab/python-gitlab/commit/65d0e6520dcbcf5a708a87960c65fdcaf7e44bf3))
- chore(deps): update dependency jinja2 to v3.1.4 \[security] ([`8ea10c3`](https://redirect.github.com/python-gitlab/python-gitlab/commit/8ea10c360175453c721ad8e27386e642c2b68d88))
- chore(deps): update all non-major dependencies ([`1f0343c`](https://redirect.github.com/python-gitlab/python-gitlab/commit/1f0343c1154ca8ae5b1f61de1db2343a2ad652ec))
- chore(deps): update gitlab/gitlab-ee docker tag to v16.11.1-ee.0 ([`1ed8d6c`](https://redirect.github.com/python-gitlab/python-gitlab/commit/1ed8d6c21d3463b2ad09eb553871042e98090ffd))
- chore(deps): update all non-major dependencies ([`0e9f4da`](https://redirect.github.com/python-gitlab/python-gitlab/commit/0e9f4da30cea507fcf83746008d9de2ee5a3bb9d))
- chore(deps): update gitlab/gitlab-ee docker tag to v16 ([`ea8c4c2`](https://redirect.github.com/python-gitlab/python-gitlab/commit/ea8c4c2bc9f17f510415a697e0fb19cabff4135e))
- chore(deps): update all non-major dependencies ([`d5b5fb0`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d5b5fb00d8947ed9733cbb5a273e2866aecf33bf))
- chore(deps): update dependency pytest-cov to v5 ([`db32000`](https://redirect.github.com/python-gitlab/python-gitlab/commit/db3200089ea83588ea7ad8bd5a7175d81f580630))
- chore: update `mypy` to 1.9.0 and resolve one issue
mypy 1.9.0 flagged one issue in the code. Resolve the issue. Current
unit tests already check that a `None` value returns `text/plain`. So
function is still working as expected. ([`dd00bfc`](https://redirect.github.com/python-gitlab/python-gitlab/commit/dd00bfc9c832aba0ed377573fe2e9120b296548d))
- chore(deps): update dependency black to v24.3.0 \[security] ([`f6e8692`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f6e8692cfc84b5af2eb6deec4ae1c4935b42e91c))
- chore(deps): update all non-major dependencies ([`14a3ffe`](https://redirect.github.com/python-gitlab/python-gitlab/commit/14a3ffe4cc161be51a39c204350b5cd45c602335))
- chore(deps): update all non-major dependencies ([`3c4dcca`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3c4dccaf51695334a5057b85d5ff4045739d1ad1))
- chore(deps): update all non-major dependencies ([`04c569a`](https://redirect.github.com/python-gitlab/python-gitlab/commit/04c569a2130d053e35c1f2520ef8bab09f2f9651))
- chore: add tox `labels` to enable running groups of environments
tox now has a feature of `labels` which allows running groups of
environments using the command `tox -m LABEL_NAME`. For example
`tox -m lint` which has been setup to run the linters.
Bumped the minimum required version of tox to be 4.0, which was
released over a year ago. ([`d7235c7`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d7235c74f8605f4abfb11eb257246864c7dcf709))
- chore: add py312 & py313 to tox environment list
Even though there isn't a Python 3.13 at this time, this is done for
the future. tox is already configured to just warn about missing
Python versions, but not fail if they don't exist. ([`679ddc7`](https://redirect.github.com/python-gitlab/python-gitlab/commit/679ddc7587d2add676fd2398cb9673bd1ca272e3))
- chore(deps): update python-semantic-release/python-semantic-release action to v9 ([`e11d889`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e11d889cd19ec1555b2bbee15355a8cdfad61d5f))
- chore(deps): update all non-major dependencies ([`3c4b27e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3c4b27e64f4b51746b866f240a1291c2637355cc))
- chore(deps): update dependency furo to v2024 ([`f6fd02d`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f6fd02d956529e2c4bce261fe7b3da1442aaea12))
- chore(deps): update dependency pytest to v8 ([`253babb`](https://redirect.github.com/python-gitlab/python-gitlab/commit/253babb9a7f8a7d469440fcfe1b2741ddcd8475e))
- chore(deps): update dependency pytest-docker to v3 ([`35d2aec`](https://redirect.github.com/python-gitlab/python-gitlab/commit/35d2aec04532919d6dd7b7090bc4d5209eddd10d))
- chore: update version of `black` for `pre-commit`
The version of `black` needs to be updated to be in sync with what is
in `requirements-lint.txt` ([`3501716`](https://redirect.github.com/python-gitlab/python-gitlab/commit/35017167a80809a49351f9e95916fafe61c7bfd5))
- chore(deps): update all non-major dependencies ([`7dc2fa6`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7dc2fa6e632ed2c9adeb6ed32c4899ec155f6622))
- chore(deps): update codecov/codecov-action action to v4 ([`d2be1f7`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d2be1f7608acadcc2682afd82d16d3706b7f7461))
- chore: adapt style for black v24 ([`4e68d32`](https://redirect.github.com/python-gitlab/python-gitlab/commit/4e68d32c77ed587ab42d229d9f44c3bc40d1d0e5))
- chore(deps): update dependency black to v24 ([`f59aee3`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f59aee3ddcfaeeb29fcfab4cc6768dff6b5558cb))
- chore(deps): update all non-major dependencies ([`48726fd`](https://redirect.github.com/python-gitlab/python-gitlab/commit/48726fde9b3c2424310ff590b366b9fdefa4a146))
##### Documentation
- docs: add FAQ about conflicting parameters
We have received multiple issues lately about this. Add it to the FAQ. ([`683ce72`](https://redirect.github.com/python-gitlab/python-gitlab/commit/683ce723352cc09e1a4b65db28be981ae6bb9f71))
- docs(README): tweak GitLab CI usage docs ([`d9aaa99`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d9aaa994568ad4896a1e8a0533ef0d1d2ba06bfa))
- docs: how to run smoke tests
Signed-off-by: Tim Knight \ ([`2d1f487`](https://redirect.github.com/python-gitlab/python-gitlab/commit/2d1f4872390df10174f865f7a935bc73f7865fec))
- docs(objects): minor rst formatting typo
To correctly format a code block have to use `::` ([`57dfd17`](https://redirect.github.com/python-gitlab/python-gitlab/commit/57dfd1769b4e22b43dc0936aa3600cd7e78ba289))
- docs: correct rotate token example
Rotate token returns a dict. Change example to print the entire dict.
Closes: [#2836](https://redirect.github.com/python-gitlab/python-gitlab/issues/2836) ([`c53e695`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c53e6954f097ed10d52b40660d2fba73c2e0e300))
- docs: Note how to use the Docker image from within GitLab CI
Ref: [#2823](https://redirect.github.com/python-gitlab/python-gitlab/issues/2823) ([`6d4bffb`](https://redirect.github.com/python-gitlab/python-gitlab/commit/6d4bffb5aaa676d32fc892ef1ac002973bc040cb))
- docs(artifacts): Fix argument indentation ([`c631eeb`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c631eeb55556920f5975b1fa2b1a0354478ce3c0))
##### Feature
- feat(job_token_scope): support Groups in job token allowlist API ([#2816](https://redirect.github.com/python-gitlab/python-gitlab/issues/2816))
- feat(job_token_scope): support job token access allowlist API
Signed-off-by: Tim Knight \
l.dwp.gov.uk>
Co-authored-by: Nejc Habjan \ ([`2d1b749`](https://redirect.github.com/python-gitlab/python-gitlab/commit/2d1b7499a93db2c9600b383e166f7463a5f22085))
- feat(cli): allow skipping initial auth calls ([`001e596`](https://redirect.github.com/python-gitlab/python-gitlab/commit/001e59675f4a417a869f813d79c298a14268b87d))
- feat(api): allow updating protected branches ([#2771](https://redirect.github.com/python-gitlab/python-gitlab/issues/2771))
- feat(api): allow updating protected branches
Closes [#2390](https://redirect.github.com/python-gitlab/python-gitlab/issues/2390) ([`a867c48`](https://redirect.github.com/python-gitlab/python-gitlab/commit/a867c48baa6f10ffbfb785e624a6e3888a859571))
##### Fix
- fix: Consider `scope` an ArrayAttribute in PipelineJobManager
List query params like 'scope' were not being handled correctly for
pipeline/jobs endpoint.
This change ensures multiple values are appended with '\[]', resulting in
the correct URL structure.
Signed-off-by: Guilherme Gallo \
***
Background:
If one queries for pipeline jobs with `scope=[34;failed34;, 34;success34;]`
One gets:
GET /api/v4/projects/176/pipelines/1113028/jobs?scope=success\&scope=failed
But it is supposed to get:
GET /api/v4/projects/176/pipelines/1113028/jobs?scope\[]=success\&scope\[]=failed
The current version only considers the last element of the list argument.
Signed-off-by: Guilherme Gallo \ ([`c5d0404`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c5d0404ac9edfbfd328e7b4f07f554366377df3f))
- fix(test): use different ids for merge request, approval rule, project
The original bug was that the merge request identifier was used instead of the
approval rule identifier. The test didn't notice that because it used `1` for
all identifiers. Make these identifiers different so that a mixup will become
apparent. ([`c23e6bd`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c23e6bd5785205f0f4b4c80321153658fc23fb98))
- fix(api): fix saving merge request approval rules
Closes [#2548](https://redirect.github.com/python-gitlab/python-gitlab/issues/2548) ([`b8b3849`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b8b3849b2d4d3f2d9e81e5cf4f6b53368f7f0127))
- fix: user.warn() to show correct filename of issue
Previously would only go to the 2nd level of the stack for determining
the offending filename and line number. When it should be showing the
first filename outside of the python-gitlab source code. As we want it
to show the warning for the user of the libraries code.
Update test to show it works as expected. ([`529f1fa`](https://redirect.github.com/python-gitlab/python-gitlab/commit/529f1faacee46a88cb0a542306309eb835516796))
- fix(api): update manual job status when playing it ([`9440a32`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9440a3255018d6a6e49269caf4c878d80db508a8))
- fix(cli): allow exclusive arguments as optional ([#2770](https://redirect.github.com/python-gitlab/python-gitlab/issues/2770))
- fix(cli): allow exclusive arguments as optional
The CLI takes its arguments from the RequiredOptional, which has three fields: required, optional, and exclusive. In practice, the exclusive options are not defined as either required or optional, and would not be allowed in the CLI. This changes that, so that exclusive options are also added to the argument parser.
- fix(cli): inform argument parser that options are mutually exclusive
- fix(cli): use correct exclusive options, add unit test
Closes [#2769](https://redirect.github.com/python-gitlab/python-gitlab/issues/2769) ([`7ec3189`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7ec3189d6eacdb55925e8be886a44d7ee09eb9ca))
##### Test
- test: remove approve step
Signed-off-by: Tim Knight \ ([`48a6705`](https://redirect.github.com/python-gitlab/python-gitlab/commit/48a6705558c5ab6fb08c62a18de350a5985099f8))
- test: tidy up functional tests
Signed-off-by: Tim Knight \ ([`06266ea`](https://redirect.github.com/python-gitlab/python-gitlab/commit/06266ea5966c601c035ad8ce5840729e5f9baa57))
- test: update api tests for GL 16.10
- Make sure we're testing python-gitlab functionality,
make sure we're not awaiting on Gitlab Async functions
- Decouple and improve test stability
Signed-off-by: Tim Knight \ ([`4bef473`](https://redirect.github.com/python-gitlab/python-gitlab/commit/4bef47301342703f87c1ce1d2920d54f9927a66a))
- test(functional): enable bulk import feature flag before test ([`b81da2e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b81da2e66ce385525730c089dbc2a5a85ba23287))
- test: don't use weak passwords
Newer versions of GitLab will refuse to create a user with a weak
password. In order for us to move to a newer GitLab version in testing
use a stronger password for the tests that create a user. ([`c64d126`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c64d126142cc77eae4297b8deec27bb1d68b7a13))
- test: update tests for gitlab 16.8 functionality
- use programmatic dates for expires_at in tokens tests
- set PAT for 16.8 into tests
Signed-off-by: Tim Knight \ ([`f8283ae`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f8283ae69efd86448ae60d79dd8321af3f19ba1b))
- test(smoke): normalize all dist titles for smoke tests ([`ee013fe`](https://redirect.github.com/python-gitlab/python-gitlab/commit/ee013fe1579b001b4b30bae33404e827c7bdf8c1))
### [`v4.4.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v440-2024-01-15)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.3.0...v4.4.0)
##### Chore
- chore(deps): update all non-major dependencies ([`550f935`](https://redirect.github.com/python-gitlab/python-gitlab/commit/550f9355d29a502bb022f68dab6c902bf6913552))
- chore(deps): update pre-commit hook pycqa/flake8 to v7 ([`9a199b6`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9a199b6089152e181e71a393925e0ec581bc55ca))
- chore(deps): update dependency jinja2 to v3.1.3 \[security] ([`880913b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/880913b67cce711d96e89ce6813e305e4ba10908))
- chore(deps): update dependency flake8 to v7 ([`20243c5`](https://redirect.github.com/python-gitlab/python-gitlab/commit/20243c532a8a6d28eee0caff5b9c30cc7376a162))
- chore(deps): update all non-major dependencies ([`cbc13a6`](https://redirect.github.com/python-gitlab/python-gitlab/commit/cbc13a61e0f15880b49a3d0208cc603d7d0b57e3))
- chore(ci): align upload and download action versions ([`dcca59d`](https://redirect.github.com/python-gitlab/python-gitlab/commit/dcca59d1a5966283c1120cfb639c01a76214d2b2))
- chore(deps): update actions/upload-artifact action to v4 ([`7114af3`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7114af341dd12b7fb63ffc08650c455ead18ab70))
- chore(ci): add Python 3.13 development CI job
Add a job to test the development versions of Python 3.13. ([`ff0c11b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/ff0c11b7b75677edd85f846a4dbdab08491a6bd7))
- chore(deps): update all non-major dependencies ([`369a595`](https://redirect.github.com/python-gitlab/python-gitlab/commit/369a595a8763109a2af8a95a8e2423ebb30b9320))
##### Feature
- feat(api): add reviewer_details manager for mergrequest to get reviewers of merge request
Those changes implements 'GET /projects/:id/merge_requests/:merge_request_iid/reviewers' gitlab API call.
Naming for call is not reviewers because reviewers atribute already presen in merge request response ([`adbd90c`](https://redirect.github.com/python-gitlab/python-gitlab/commit/adbd90cadffe1d9e9716a6e3826f30664866ad3f))
- feat(api): support access token rotate API ([`b13971d`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b13971d5472cb228f9e6a8f2fa05a7cc94d03ebe))
- feat(api): support single resource access token get API ([`dae9e52`](https://redirect.github.com/python-gitlab/python-gitlab/commit/dae9e522a26041f5b3c6461cc8a5e284f3376a79))
##### Fix
- fix(cli): support binary files with `@` notation
Support binary files being used in the CLI with arguments using the
`@` notation. For example `--avatar @/path/to/avatar.png`
Also explicitly catch the common OSError exception, which is the
parent exception for things like: FileNotFoundError, PermissionError
and more exceptions.
Remove the bare exception handling. We would rather have the full
traceback of any exceptions that we don't know about and add them
later if needed.
Closes: [#2752](https://redirect.github.com/python-gitlab/python-gitlab/issues/2752) ([`57749d4`](https://redirect.github.com/python-gitlab/python-gitlab/commit/57749d46de1d975aacb82758c268fc26e5e6ed8b))
### [`v4.3.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v430-2023-12-28)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.2.0...v4.3.0)
##### Chore
- chore(deps): update all non-major dependencies ([`d7bdb02`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d7bdb0257a5587455c3722f65c4a632f24d395be))
- chore(deps): update actions/stale action to v9 ([`c01988b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c01988b12c7745929d0c591f2fa265df2929a859))
- chore(deps): update all non-major dependencies ([`9e067e5`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9e067e5c67dcf9f5e6c3408b30d9e2525c768e0a))
- chore(deps): update actions/setup-python action to v5 ([`fad1441`](https://redirect.github.com/python-gitlab/python-gitlab/commit/fad14413f4f27f1b6f902703b5075528aac52451))
- chore(deps): update all non-major dependencies ([`bb2af7b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/bb2af7bfe8aa59ea8b9ad7ca2d6e56f4897b704a))
- chore(deps): update all non-major dependencies ([`5ef1b4a`](https://redirect.github.com/python-gitlab/python-gitlab/commit/5ef1b4a6c8edd34c381c6e08cd3893ef6c0685fd))
- chore(deps): update dependency types-setuptools to v69 ([`de11192`](https://redirect.github.com/python-gitlab/python-gitlab/commit/de11192455f1c801269ecb3bdcbc7c5b769ff354))
##### Documentation
- docs: fix rst link typo in CONTRIBUTING.rst ([`2b6da6e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/2b6da6e63c82a61b8e21d193cfd46baa3fcf8937))
##### Feature
- feat(api): add support for the Draft notes API ([#2728](https://redirect.github.com/python-gitlab/python-gitlab/issues/2728))
- feat(api): add support for the Draft notes API
- fix(client): handle empty 204 reponses in PUT requests ([`ebf9d82`](https://redirect.github.com/python-gitlab/python-gitlab/commit/ebf9d821cfc36071fca05d38b82c641ae30c974c))
##### Fix
- fix(cli): add ability to disable SSL verification
Add a `--no-ssl-verify` option to disable SSL verification
Closes: [#2714](https://redirect.github.com/python-gitlab/python-gitlab/issues/2714) ([`3fe9fa6`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3fe9fa64d9a38bc77950046f2950660d8d7e27a6))
### [`v4.2.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v420-2023-11-28)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.1.1...v4.2.0)
##### Chore
- chore(deps): update all non-major dependencies ([`8aeb853`](https://redirect.github.com/python-gitlab/python-gitlab/commit/8aeb8531ebd3ddf0d1da3fd74597356ef65c00b3))
- chore(deps): update dessant/lock-threads action to v5 ([`f4ce867`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f4ce86770befef77c7c556fd5cfe25165f59f515))
- chore(deps): update all non-major dependencies ([`9fe2335`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9fe2335b9074feaabdb683b078ff8e12edb3959e))
- chore(deps): update all non-major dependencies ([`91e66e9`](https://redirect.github.com/python-gitlab/python-gitlab/commit/91e66e9b65721fa0e890a6664178d77ddff4272a))
- chore(deps): update all non-major dependencies ([`d0546e0`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d0546e043dfeb988a161475de53d4ec7d756bdd9))
##### Feature
- feat: add pipeline status as Enum
https://docs.gitlab.com/ee/api/pipelines.html ([`4954bbc`](https://redirect.github.com/python-gitlab/python-gitlab/commit/4954bbcd7e8433aac672405f3f4741490cb4561a))
- feat(api): add support for wiki attachments ([#2722](https://redirect.github.com/python-gitlab/python-gitlab/issues/2722))
Added UploadMixin in mixin module
Added UploadMixin dependency for Project, ProjectWiki, GroupWiki
Added api tests for wiki upload
Added unit test for mixin
Added docs sections to wikis.rst ([`7b864b8`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7b864b81fd348c6a42e32ace846d1acbcfc43998))
### [`v4.1.1`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v411-2023-11-03)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.1.0...v4.1.1)
##### Chore
- chore(ci): add release id to workflow step ([`9270e10`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9270e10d94101117bec300c756889e4706f41f36))
- chore(deps): update all non-major dependencies ([`32954fb`](https://redirect.github.com/python-gitlab/python-gitlab/commit/32954fb95dcc000100b48c4b0b137ebe2eca85a3))
##### Documentation
- docs(users): add missing comma in v4 API create runner examples
The examples which show usage of new runner registration api endpoint
are missing commas. This change adds the missing commas. ([`b1b2edf`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b1b2edfa05be8b957c796dc6d111f40c9f753dcf))
##### Fix
- fix(build): include py.typed in dists ([`b928639`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b928639f7ca252e0abb8ded8f9f142316a4dc823))
### [`v4.1.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v410-2023-10-28)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.0.0...v4.1.0)
##### Chore
- chore(deps): update all non-major dependencies ([`bf68485`](https://redirect.github.com/python-gitlab/python-gitlab/commit/bf68485613756e9916de1bb10c8c4096af4ffd1e))
- chore(CHANGELOG): re-add v4.0.0 changes using old format ([`258a751`](https://redirect.github.com/python-gitlab/python-gitlab/commit/258a751049c8860e39097b26d852d1d889892d7a))
- chore(CHANGELOG): revert python-semantic-release format change ([`b5517e0`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b5517e07da5109b1a43db876507d8000d87070fe))
- chore: add source label to container image ([`7b19278`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7b19278ac6b7a106bc518f264934c7878ffa49fb))
- chore(rtd): revert to python 3.11 ([#2694](https://redirect.github.com/python-gitlab/python-gitlab/issues/2694)) ([`1113742`](https://redirect.github.com/python-gitlab/python-gitlab/commit/1113742d55ea27da121853130275d4d4de45fd8f))
##### Ci
- ci: remove unneeded GitLab auth ([`fd7bbfc`](https://redirect.github.com/python-gitlab/python-gitlab/commit/fd7bbfcb9500131e5d3a263d7b97c8b59f80b7e2))
##### Feature
- feat: add Merge Request merge_status and detailed_merge_status values as constants ([`e18a424`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e18a4248068116bdcb7af89897a0c4c500f7ba57))
##### Fix
- fix: remove depricated MergeStatus ([`c6c012b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c6c012b9834b69f1fe45689519fbcd92928cfbad))
### [`v4.0.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v400-2023-10-17)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v3.15.0...v4.0.0)
##### Breaking
- docs(advanced): document new netrc behavior
BREAKING CHANGE: python-gitlab now explicitly passes auth to requests, meaning
it will only read netrc credentials if no token is provided, fixing a bug where
netrc credentials took precedence over OAuth tokens. This also affects the CLI,
where all environment variables now take precedence over netrc files. ([`45b8930`](https://redirect.github.com/python-gitlab/python-gitlab/commit/45b89304d9745be1b87449805bf53d45bf740e90))
- refactor(build): build project using PEP 621
BREAKING CHANGE: python-gitlab now stores metadata in pyproject.toml
as per PEP 621, with setup.py removed. pip version v21.1 or higher is
required if you want to perform an editable install. ([`71fca8c`](https://redirect.github.com/python-gitlab/python-gitlab/commit/71fca8c8f5c7f3d6ab06dd4e6c0d91003705be09))
- refactor(const): remove deprecated global constant import
BREAKING CHANGE: Constants defined in `gitlab.const` can no longer be imported globally from `gitlab`.
Import them from `gitlab.const` instead. ([`e4a1f6e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e4a1f6e2d1c4e505f38f9fd948d0fea9520aa909))
- refactor(list): `as_list` support is removed.
In `list()` calls support for the `as_list` argument has been removed.
`as_list` was previously deprecated and now the use of `iterator` will
be required if wanting to have same functionality as using `as_list`
BREAKING CHANGE: Support for the deprecated `as_list` argument in
`list()` calls has been removed. Use `iterator` instead. ([`9b6d89e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9b6d89edad07979518a399229c6f55bffeb9af08))
- refactor(lint): remove deprecated `lint()`in favor of `ci_lint.create()`
BREAKING CHANGE: The deprecated `lint()` method is no longer available.
Use `ci_lint.create()` instead. ([`0b17a2d`](https://redirect.github.com/python-gitlab/python-gitlab/commit/0b17a2d24a3f9463dfbcab6b4fddfba2aced350b))
- refactor(artifacts): remove deprecated `artifact()`in favor of `artifacts.raw()`
BREAKING CHANGE: The deprecated `project.artifact()` method is no longer available.
Use `project.artifacts.raw()` instead. ([`90134c9`](https://redirect.github.com/python-gitlab/python-gitlab/commit/90134c949b38c905f9cacf3b4202c25dec0282f3))
- refactor(artifacts): remove deprecated `artifacts()`in favor of `artifacts.download()`
BREAKING CHANGE: The deprecated `project.artifacts()` method is no longer available.
Use `project.artifacts.download()` instead. ([`42639f3`](https://redirect.github.com/python-gitlab/python-gitlab/commit/42639f3ec88f3a3be32e36b97af55240e98c1d9a))
- refactor(groups): remove deprecated LDAP group link add/delete methods
BREAKING CHANGE: The deprecated `group.add_ldap_group_link()` and `group.delete_ldap_group_link()`
methods are no longer available. Use `group.ldap_group_links.create()` and `group.ldap_group_links.delete()`
instead. ([`5c8b7c1`](https://redirect.github.com/python-gitlab/python-gitlab/commit/5c8b7c1369a28d75261002e7cb6d804f7d5658c6))
- refactor(projects): remove deprecated `project.transfer_project()` in favor of `project.transfer()`
BREAKING CHANGE: The deprecated `project.transfer_project()` method is no longer available.
Use `project.transfer()` instead. ([`27ed490`](https://redirect.github.com/python-gitlab/python-gitlab/commit/27ed490c22008eef383e1a346ad0c721cdcc6198))
- fix(cli): remove deprecated `--all` option in favor of `--get-all`
BREAKING CHANGE: The `--all` option is no longer available in the CLI. Use `--get-all` instead. ([`e9d48cf`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e9d48cf69e0dbe93f917e6f593d31327cd99f917))
- feat: remove support for Python 3.7, require 3.8 or higher
Python 3.8 is End-of-Life (EOL) as of 2023-06-27 as stated in
https://devguide.python.org/versions/ and
https://peps.python.org/pep-0537/
By dropping support for Python 3.7 and requiring Python 3.8 or higher
it allows python-gitlab to take advantage of new features in Python
3.8, which are documented at:
https://docs.python.org/3/whatsnew/3.8.html
BREAKING CHANGE: As of python-gitlab 4.0.0, Python 3.7 is no longer
supported. Python 3.8 or higher is required. ([`058d5a5`](https://redirect.github.com/python-gitlab/python-gitlab/commit/058d5a56c284c771f1fb5fad67d4ef2eeb4d1916))
##### Chore
- chore(ci): follow upstream config for release build_command ([`3e20a76`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3e20a76fdfc078a03190939bda303577b2ef8614))
- chore(ci): update release build
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
==3.13.0
->==4.11.1
Release Notes
python-gitlab/python-gitlab (python-gitlab)
### [`v4.11.1`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v4111-2024-09-13) [Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.11.0...v4.11.1) ##### Fix - fix(client): ensure type evaluations are postponed ([`b41b2de`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b41b2de8884c2dc8c8be467f480c7161db6a1c87)) ### [`v4.11.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v4110-2024-09-13) [Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.10.0...v4.11.0) ##### Chore - chore(pre-commit): add deps ([`fe5e608`](https://redirect.github.com/python-gitlab/python-gitlab/commit/fe5e608bc6cc04863bd4d1d9dbe101fffd88e954)) - chore(deps): update all non-major dependencies ([`fac8bf9`](https://redirect.github.com/python-gitlab/python-gitlab/commit/fac8bf9f3e2a0218f96337536d08dec9991bfc1a)) - chore(deps): update dependency types-setuptools to v74 ([`bdfaddb`](https://redirect.github.com/python-gitlab/python-gitlab/commit/bdfaddb89ae7ba351bd3a21c6cecc528772db4de)) - chore(deps): update all non-major dependencies ([`88c7529`](https://redirect.github.com/python-gitlab/python-gitlab/commit/88c75297377dd1f1106b5bc673946cebd563e0a1)) ##### Documentation - docs(objects): fix typo in get latest pipeline ([`b9f5c12`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b9f5c12d3ba6ca4e4321a81e7610d03fb4440c02)) ##### Feature - feat(client): make retries configurable in GraphQL ([`145870e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/145870e628ed3b648a0a29fc551a6f38469b684a)) - feat(client): add retry handling to GraphQL client ([`8898c38`](https://redirect.github.com/python-gitlab/python-gitlab/commit/8898c38b97ed36d9ff8f2f20dee27ef1448b9f83)) - feat(api): add exclusive GET attrs for /projects/:id/members ([`e637808`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e637808bcb74498438109d7ed352071ebaa192d5)) - feat: add a minimal GraphQL client ([`d6b1b0a`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d6b1b0a962bbf0f4e0612067fc075dbdcbb772f8)) - feat(api): add exclusive GET attrs for /groups/:id/members ([`d44ddd2`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d44ddd2b00d78bb87ff6a4776e64e05e0c1524e1)) ##### Refactor - refactor(client): move retry logic into utility ([`3235c48`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3235c48328c2866f7d46597ba3c0c2488e6c375c)) ### [`v4.10.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v4100-2024-08-28) [Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.9.0...v4.10.0) ##### Chore - chore(release): track tags for renovate ([`d600444`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d6004449ad5aaaf2132318a78523818996ec3e21)) - chore(deps): update python-semantic-release/upload-to-gh-release digest to [`17c75b7`](https://redirect.github.com/python-gitlab/python-gitlab/commit/17c75b7) ([`12caaa4`](https://redirect.github.com/python-gitlab/python-gitlab/commit/12caaa496740cb15e6220511751b7a20e2d29d07)) - chore(deps): update dependency types-setuptools to v73 ([`d55c045`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d55c04502bee0fb42e2ef359cde3bc1b4b510b1a)) - chore(deps): update all non-major dependencies ([`2ade0d9`](https://redirect.github.com/python-gitlab/python-gitlab/commit/2ade0d9f4922226143e2e3835a7449fde9c49d66)) - chore(deps): update gitlab/gitlab-ee docker tag to v17.3.1-ee.0 ([`3fdd130`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3fdd130a8e87137e5a048d5cb78e43aa476c8f34)) - chore(deps): update all non-major dependencies ([`0578bf0`](https://redirect.github.com/python-gitlab/python-gitlab/commit/0578bf07e7903037ffef6558e914766b6cf6f545)) - chore(deps): update gitlab/gitlab-ee docker tag to v17.3.0-ee.0 ([`e5a46f5`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e5a46f57de166f94e01f5230eb6ad91f319791e4)) - chore(deps): update dependency myst-parser to v4 ([`930d4a2`](https://redirect.github.com/python-gitlab/python-gitlab/commit/930d4a21b8afed833b4b2e6879606bbadaee19a1)) - chore(deps): update dependency sphinx to v8 ([`cb65ffb`](https://redirect.github.com/python-gitlab/python-gitlab/commit/cb65ffb6957bf039f35926d01f15db559e663915)) - chore(deps): update gitlab/gitlab-ee docker tag to v17.2.2-ee.0 ([`b2275f7`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b2275f767dd620c6cb2c27b0470f4e8151c76550)) - chore(deps): update all non-major dependencies ([`31786a6`](https://redirect.github.com/python-gitlab/python-gitlab/commit/31786a60da4b9a10dec0eab3a0b078aa1e94d809)) ##### Documentation - docs(faq): correct the attribute fetching example There is an example about object attributes in the FAQ. It shows how to properly fetch all attributes of all projects, by using list() followed by a get(id) call. Unfortunately this example used a wrong variable name, which caused it not to work and which could have made it slightly confusing to readers. This commit fixes that, by changing the variable name. Now the example uses one variable for two Python objects. As they correspond to the same GitLab object and the intended behavior is to obtain that very object, just with all attributes, this is fine and is probably what readers will find most useful in this context. ([`43a16ac`](https://redirect.github.com/python-gitlab/python-gitlab/commit/43a16ac17ce78cf18e0fc10fa8229f052eed3946)) ##### Feature - feat(api): project/group hook test triggering Add the ability to trigger tests of project and group hooks. Fixes [#2924](https://redirect.github.com/python-gitlab/python-gitlab/issues/2924) ([`9353f54`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9353f5406d6762d09065744bfca360ccff36defe)) ##### Test - test(cli): allow up to 30 seconds for a project export Before we allowed a maximum of around 15 seconds for the project-export. Often times the CI was failing with this value. Change it to a maximum of around 30 seconds. ([`bdc155b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/bdc155b716ef63ef1398ee1e6f5ca67da1109c13)) ### [`v4.9.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v490-2024-08-06) [Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.8.0...v4.9.0) ##### Chore - chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v38 ([`f13968b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f13968be9e2bb532f3c1185c1fa4185c05335552)) - chore(deps): update all non-major dependencies ([`f95ca26`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f95ca26b411e5a8998eb4b81e41c061726271240)) - chore(deps): update dependency types-setuptools to v71 ([`d6a7dba`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d6a7dba600923e582064a77579dea82281871c25)) - chore(deps): update python-semantic-release/upload-to-gh-release digest to [`0dcddac`](https://redirect.github.com/python-gitlab/python-gitlab/commit/0dcddac) ([`eb5c6f7`](https://redirect.github.com/python-gitlab/python-gitlab/commit/eb5c6f7fb6487da21c69582adbc69aaf36149143)) - chore(deps): update gitlab/gitlab-ee docker tag to v17.2.1-ee.0 ([`d13a656`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d13a656565898886cc6ba11028b3bcb719c21f0f)) - chore(deps): update all non-major dependencies ([`7adc86b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7adc86b2e202cad42776991f0ed8c81517bb37ad)) - chore(deps): update python-semantic-release/upload-to-gh-release digest to [`e2355e1`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e2355e1) ([`eb18552`](https://redirect.github.com/python-gitlab/python-gitlab/commit/eb18552e423e270a27a2b205bfd2f22fcb2eb949)) - chore(deps): update all non-major dependencies ([`e820db0`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e820db0d9db42a826884b45a76267fee861453d4)) - chore(ci): make pre-commit check happy pre-commit incorrectly wants double back-quotes inside the code section. Rather than fight it, just use single quotes. ([`67370d8`](https://redirect.github.com/python-gitlab/python-gitlab/commit/67370d8f083ddc34c0acf0c0b06742a194dfa735)) ##### Feature - feat(snippets): add support for listing all instance snippets ([`64ae61e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/64ae61ed9ba60169037703041c2a9a71017475b9)) ### [`v4.8.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v480-2024-07-16) [Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v4.7.0...v4.8.0) ##### Chore - chore(deps): update gitlab/gitlab-ee docker tag to v17.1.2-ee.0 ([`6fedfa5`](https://redirect.github.com/python-gitlab/python-gitlab/commit/6fedfa546120942757ea48337ce7446914eb3813)) - chore(deps): update all non-major dependencies ([`4a2b213`](https://redirect.github.com/python-gitlab/python-gitlab/commit/4a2b2133b52dac102d6f623bf028bdef6dd5a92f)) - chore(ci): specify name of "stale" label Saw the following error in the log: \[[#2618](https://redirect.github.com/python-gitlab/python-gitlab/issues/2618)] Removing the label "Stale" from this issue... \##\[error]\[[#2618](https://redirect.github.com/python-gitlab/python-gitlab/issues/2618)] Error when removing the label: "Label does not exist" My theory is that the case doesn't match ("Stale" != "stale") and that is why it failed. Our label is "stale" so update this to match. Thought of changing the label name on GitHub but then would also require a change here to the "any-of-labels". So it seemed simpler to just change it here. It is confusing though that it detected the label "stale", but then couldn't delete it. ([`44f62c4`](https://redirect.github.com/python-gitlab/python-gitlab/commit/44f62c49106abce2099d5bb1f3f97b64971da406)) - chore(ci): stale: allow issues/PRs that have stale label to be closed If a `stale` label is manually applied, allow the issue or PR to be closed by the stale job. Previously it would require the `stale` label and to also have one of 'need info' or 'Waiting for response' labels added. ([`2ab88b2`](https://redirect.github.com/python-gitlab/python-gitlab/commit/2ab88b25a64bd8e028cee2deeb842476de54b109)) - chore(ci): use codecov token when available ([`b74a6fb`](https://redirect.github.com/python-gitlab/python-gitlab/commit/b74a6fb5157e55d3e4471a0c5c8378fed8075edc)) - chore(deps): update python-semantic-release/upload-to-gh-release digest to [`fe6cc89`](https://redirect.github.com/python-gitlab/python-gitlab/commit/fe6cc89) ([`3f3ad80`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3f3ad80ef5bb2ed837adceae061291b2b5545ed3)) - chore(deps): update all non-major dependencies ([`0f59069`](https://redirect.github.com/python-gitlab/python-gitlab/commit/0f59069420f403a17f67a5c36c81485c9016b59b)) - chore: add `show_caller` argument to `utils.warn()` This allows us to not add the caller's location to the UserWarning message. ([`7d04315`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7d04315d7d9641d88b0649e42bf24dd160629af5)) - chore: use correct type-hint for `die()` ([`9358640`](https://redirect.github.com/python-gitlab/python-gitlab/commit/93586405fbfa61317dc75e186799549573bc0bbb)) - chore(deps): update gitlab/gitlab-ee docker tag to v17.1.1-ee.0 ([`5e98510`](https://redirect.github.com/python-gitlab/python-gitlab/commit/5e98510a6c918b33c0db0a7756e8a43a8bdd868a)) - chore(deps): update python-semantic-release/upload-to-gh-release digest to [`c7c3b69`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c7c3b69) ([`23393fa`](https://redirect.github.com/python-gitlab/python-gitlab/commit/23393faa0642c66a991fd88f1d2d68aed1d2f172)) - chore(deps): update all non-major dependencies ([`cf87226`](https://redirect.github.com/python-gitlab/python-gitlab/commit/cf87226a81108fbed4f58751f1c03234cc57bcf1)) ##### Documentation - docs: document how to use `sudo` if modifying an object Add a warning about using `sudo` when saving. Give an example of how to `get` an object, modify it, and then `save` it using `sudo` Closes: [#532](https://redirect.github.com/python-gitlab/python-gitlab/issues/532) ([`d509da6`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d509da60155e9470dee197d91926850ea9548de9)) - docs: variables: add note about `filter` for updating Add a note about using `filter` when updating a variable. Closes: [#2835](https://redirect.github.com/python-gitlab/python-gitlab/issues/2835) Closes: [#1387](https://redirect.github.com/python-gitlab/python-gitlab/issues/1387) Closes: [#1125](https://redirect.github.com/python-gitlab/python-gitlab/issues/1125) ([`c378817`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c378817389a9510ef508b5a3c90282e5fb60049f)) ##### Feature - feat(api): add support for project cluster agents ([`32dbc6f`](https://redirect.github.com/python-gitlab/python-gitlab/commit/32dbc6f2bee5b22d18c4793f135223d9b9824d15)) - feat(api): add support for container registry protection rules ([`6d31649`](https://redirect.github.com/python-gitlab/python-gitlab/commit/6d31649190279a844bfa591a953b0556cd6fc492)) - feat(api): add support for package protection rules ([`6b37811`](https://redirect.github.com/python-gitlab/python-gitlab/commit/6b37811c3060620afd8b81e54a99d96e4e094ce9)) - feat(api): add support for commit sequence ([`1f97be2`](https://redirect.github.com/python-gitlab/python-gitlab/commit/1f97be2a540122cb872ff59500d85a35031cab5f)) ##### Fix - fix: issues `closed_by()/related_merge_requests()` use `http_list` The `closed_by()` and `related_merge_requests()` API calls return lists. So use the `http_list()` method. This will also warn the user if only a subset of the data is returned. ([`de2e4dd`](https://redirect.github.com/python-gitlab/python-gitlab/commit/de2e4dd7e80c7b84fd41458117a85558fcbac32d)) - fix: Have `participants()` method use `http_list()` Previously it was using `http_get()` but the `participants` API returns a list of participants. Also by using this then we will warn if only a subset of the participants are returned. Closes: [#2913](https://redirect.github.com/python-gitlab/python-gitlab/issues/2913) ([`d065275`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d065275f2fe296dd00e9bbd0f676d1596f261a85)) - fix(files): CR: add explicit comparison to `None` Co-authored-by: Nejc Habjan \Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.