Skip to content

Releases: python-gitlab/python-gitlab

v3.12.0

28 Nov 00:32
Compare
Choose a tag to compare

Feature

  • Add support for SAML group links (#2367) (1020ce9)
  • groups: Add LDAP link manager and deprecate old API endpoints (3a61f60)
  • groups: Add support for listing ldap_group_links (#2371) (ad7c8fa)
  • Implement secure files API (d0a0348)
  • ci: Re-Run Tests on PR Comment workflow (034cde3)
  • api: Add support for getting a project's pull mirror details (060cfe1)
  • api: Add support for remote project import from AWS S3 (#2357) (892281e)
  • api: Add support for remote project import (#2348) (e5dc72d)
  • api: Add application statistics (6fcf3b6)

Fix

  • cli: Enable debug before doing auth (65abb85)
  • cli: Expose missing mr_default_target_self project attribute (12aea32)
  • Use POST method and return dict in cancel_merge_when_pipeline_succeeds() (#2350) (bd82d74)

Documentation

  • Use the term "log file" for getting a job log file (9d2b1ad)
  • groups: Describe GitLab.com group creation limitation (9bd433a)
  • api: Pushrules remove saying None is returned when not found (c3600b4)

v3.11.0

28 Oct 00:45
Compare
Choose a tag to compare

Feature

  • build: Officially support Python 3.11 (74f66c7)
  • api: Add support for topics merge API (9a6d197)

Fix

  • Remove project.approvals.set_approvals() method (91f08f0)
  • Use epic id instead of iid for epic notes (97cae38)
  • cli: Handle list response for json/yaml output (9b88132)
  • Intermittent failure in test_merge_request_reset_approvals (3dde36e)

Documentation

  • advanced: Add hint on type narrowing (a404152)
  • Add minimal docs about the enable_debug() method (b4e9ab7)
  • commits: Fix commit create example for binary content (bcc1eb4)
  • readme: Add a basic feature list (b4d53f1)
  • api: Describe use of lower-level methods (b7a6874)
  • api: Describe the list() and all() runners' functions (b6cc3f2)
  • api: Update merge_requests.rst: mr_id to mr_iid (b32234d)

v3.10.0

28 Sep 00:51
Compare
Choose a tag to compare

Feature

  • Add reset_approvals api (88693ff)
  • Add support for deployment approval endpoint (9c9eeb9)

Fix

  • cli: Add missing attributes for creating MRs (1714d0a)
  • cli: Add missing attribute for MR changes (20c46a0)

v3.9.0

28 Aug 00:41
Compare
Choose a tag to compare

Feature

  • Add support for merge_base API (dd4fbd5)

v3.8.1

10 Aug 12:50
Compare
Choose a tag to compare

Fix

  • client: Do not assume user attrs returned for auth() (a07547c)

v3.8.0

04 Aug 17:04
Compare
Choose a tag to compare

Feature

  • client: Warn user on misconfigured URL in auth() (0040b43)
  • Support downloading archive subpaths (cadb0e5)

Fix

  • client: Ensure encoded query params are never duplicated (1398426)
  • Optionally keep user-provided base URL for pagination (#2149) (e2ea8b8)

Documentation

  • Describe self-revoking personal access tokens (5ea48fc)

v3.7.0

28 Jul 21:36
Compare
Choose a tag to compare

Feature

  • Allow sort/ordering for project releases (b1dd284)
  • cli: Add a custom help formatter (005ba93)
  • Add support for iterations API (194ee01)
  • groups: Add support for shared projects API (66461ba)
  • issues: Add support for issue reorder API (8703324)
  • namespaces: Add support for namespace existence API (4882cb2)
  • Add support for group and project invitations API (7afd340)
  • projects: Add support for project restore API (4794ecc)
  • Add support for filtering jobs by scope (0e1c0dd)
  • Add asdict() and to_json() methods to Gitlab Objects (08ac071)
  • api: Add support for instance-level registry repositories (284d739)
  • groups: Add support for group-level registry repositories (70148c6)
  • Add 'merge_pipelines_enabled' project attribute (fc33c93)
  • Support validating CI lint results (3b1ede4)
  • cli: Add support for global CI lint (3f67c4b)
  • objects: Add Project CI Lint support (b213dd3)
  • Add support for group push rules (b5cdc09)
  • api: Add support for get for a MR approval rule (89c18c6)

Fix

  • Support array types for most resources (d9126cd)
  • Use the [] after key names for array variables in params (1af44ce)
  • runners: Fix listing for /runners/all (c6dd57c)
  • config: Raise error when gitlab id provided but no config section found (1ef7018)
  • config: Raise error when gitlab id provided but no config file found (ac46c1c)
  • Add get_all param (and --get-all) to allow passing all to API (7c71d5d)
  • Results returned by attributes property to show updates (e5affc8)
  • Enable epic notes (5fc3216)
  • cli: Remove irrelevant MR approval rule list filters (0daec5f)
  • Ensure path elements are escaped (5d9c198)

Documentation

  • cli: Showcase use of token scopes (4a6f8d6)
  • projects: Document export with upload to URL (03f5484)
  • Describe fetching existing export status (9c5b8d5)
  • authors: Add John (e2afb84)
  • Document CI Lint usage (d5de4b1)
  • users: Add docs about listing a user's projects (065a1a5)
  • Update return type of pushrules (53cbecc)
  • Describe ROPC flow in place of password authentication (91c17b7)
  • readme: Remove redundant -v that breaks the command (c523e18)

v3.6.0

28 Jun 02:13
Compare
Choose a tag to compare

Feature

  • downloads: Allow streaming downloads access to response iterator (#1956) (b644721)
  • api: Support head() method for get and list endpoints (ce9216c)
  • api: Implement HEAD method (90635a7)
  • users: Add approve and reject methods to User (f57139d)
  • api: Convert gitlab.const to Enums (c3c6086)
  • Add support for Protected Environments (1dc9d0f)
  • users: Add ban and unban methods (0d44b11)
  • docker: Provide a Debian-based slim image (384031c)
  • Support mutually exclusive attributes and consolidate validation to fix board lists (#2037) (3fa330c)
  • client: Introduce iterator=True and deprecate as_list=False in list() (cdc6605)

Fix

  • base: Do not fail repr() on lazy objects (1efb123)
  • cli: Project-merge-request-approval-rule (15a242c)
  • cli: Fix project export download for CLI (5d14867)

Documentation

  • api: Add separate section for advanced usage (22ae101)
  • api: Document usage of head() methods (f555bfb)
  • projects: Provide more detailed import examples (8f8611a)
  • projects: Document 404 gotcha with unactivated integrations (522ecff)
  • variables: Instruct users to follow GitLab rules for values (194b6be)
  • api: Stop linking to python-requests.org (49c7e83)
  • api: Fix incorrect docs for merge_request_approvals (#2094) (5583eaa)
  • api-usage: Add import os in example (2194a44)
  • Drop deprecated setuptools build_sphinx (048d66a)
  • usage: Refer to upsteam docs instead of custom attributes (ae7d3b0)
  • ext: Fix rendering for RequiredOptional dataclass (4d431e5)
  • Documentation updates to reflect addition of mutually exclusive attributes (24b720e)
  • Use as_list=False or all=True in Getting started (de8c6e8)

v3.5.0

28 May 15:53
Compare
Choose a tag to compare

Feature

  • objects: Support get project storage endpoint (8867ee5)
  • Display human-readable attribute in repr() if present (6b47c26)
  • ux: Display project.name_with_namespace on project repr (e598762)

Fix

  • cli: Changed default allow_abbrev value to fix arguments collision problem (#2013) (d68cacf)
  • Duplicate subparsers being added to argparse (f553fd3)

Documentation

  • Update issue example and extend API usage docs (aad71d2)
  • CONTRIBUTING.rst: Fix link to conventional-changelog commit format documentation (2373a4f)
  • Add missing Admin access const value (3e0d4d9)
  • merge_requests: Add new possible merge request state and link to the upstream docs (e660fa8)

v3.4.0

28 Apr 02:50
Compare
Choose a tag to compare

Feature

  • Emit a warning when using a list() method returns max (1339d64)
  • objects: Support getting project/group deploy tokens by id (fcd37fe)
  • user: Support getting user SSH key by id (6f93c05)
  • api: Re-add topic delete endpoint (d1d96bd)

Fix

  • Add ChunkedEncodingError to list of retryable exceptions (7beb20f)
  • Avoid passing redundant arguments to API (3431887)
  • cli: Add missing filters for project commit list (149d244)
  • Add 52x range to retry transient failures and tests (c3ef1b5)
  • Also retry HTTP-based transient errors (3b49e4d)

Documentation

  • api-docs: Docs fix for application scopes (e1ad93d)