unstale

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 init

@unstale/cli on npm

python-gitlab 818 changes

Breaking changes 1

  • GraphQL.execute() no longer accepts graphql.Source.

    8.0.0release notes

New APIs and options 9

  • Supports a custom webhook template on project hooks.

    8.5.0release notes

  • Adds ListMixin to the remaining discussion note managers, enabling list operations on them.

    8.5.0release notes

  • Allows updating only a user's email, username, or name.

    8.5.0release notes

  • Adds the Security Manager role as an access-level constant for developers to use.

    8.4.0release notes

  • Full service account support is added at instance, group, and project level.

    8.3.0release notes

  • Adds an optional parameter to set an approval rule on all protected branches.

    8.2.0release notes

  • Adds support for managing project feature flags and their user lists through the API.

    8.2.0release notes

  • Runner jobs now support the order_by filter.

    8.1.0release notes

  • Runner jobs now support the sort filter.

    8.1.0release notes

Behavior and default changes 1

  • Additionally handles retries when requests time out.

    8.5.0release notes

Fixes and other changes 7

  • Adds all available attributes to project hooks.

    8.6.0release notes

  • Allows the resolved field on a project merge request discussion note to be updated.

    8.5.0release notes

  • Retries fetching the server version after an unknown result.

    8.5.0release notes

  • Create and update attributes for CI/CD variables are updated.

    8.3.0release notes

  • Service account token classes are registered in RotateMixin CLI actions.

    8.3.0release notes

  • Defines the project repr_attr attribute.

    8.0.0release notes

  • File save sends start_branch as a body attribute.

    8.0.0release notes

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.

    7.0.0release notes

New APIs and options 1

  • Adds support for deleting registry protection rules.

    7.1.0release notes

Fixes and other changes 1

  • Prevents negative sleep time during rate limit retries.

    7.1.0release notes

python-gitlab 63 changes

New APIs and options 3

  • Adds the content_ref parameter to ProjectCiLintManager.

    6.5.0release notes

  • Adds the dry_run_ref parameter to ProjectCiLintManager.

    6.5.0release notes

  • Implements skip_confirmation for creating user emails.

    6.5.0release notes