pypi / python-gitlab
python-gitlab
What changed in python-gitlab 6 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
2 breaking13 new APIs and options1 behavior and defaults8 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpython-gitlab 818 changes
Breaking changes 1
GraphQL.execute() no longer accepts graphql.Source.
New APIs and options 9
Supports a custom webhook template on project hooks.
Adds ListMixin to the remaining discussion note managers, enabling list operations on them.
Allows updating only a user's email, username, or name.
Adds the Security Manager role as an access-level constant for developers to use.
Full service account support is added at instance, group, and project level.
Adds an optional parameter to set an approval rule on all protected branches.
Adds support for managing project feature flags and their user lists through the API.
Runner jobs now support the order_by filter.
Runner jobs now support the sort filter.
Behavior and default changes 1
Additionally handles retries when requests time out.
Fixes and other changes 7
Adds all available attributes to project hooks.
Allows the resolved field on a project merge request discussion note to be updated.
Retries fetching the server version after an unknown result.
Create and update attributes for CI/CD variables are updated.
Service account token classes are registered in RotateMixin CLI actions.
Defines the project repr_attr attribute.
File save sends start_branch as a body attribute.
python-gitlab 73 changes
Breaking changes 1
Python 3.9 is no longer supported; Python 3.10 or higher is required, and Python 3.14 is supported.
New APIs and options 1
Adds support for deleting registry protection rules.
Fixes and other changes 1
Prevents negative sleep time during rate limit retries.
python-gitlab 63 changes
New APIs and options 3
Adds the content_ref parameter to ProjectCiLintManager.
Adds the dry_run_ref parameter to ProjectCiLintManager.
Implements skip_confirmation for creating user emails.