Releases: python-gitlab/python-gitlab
Releases · python-gitlab/python-gitlab
v3.6.0
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 deprecateas_list=False
inlist()
(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
orall=True
in Getting started (de8c6e8
)
v3.5.0
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
v3.4.0
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
)
v3.3.0
v3.2.0
Feature
- merge_request_approvals: Add support for deleting MR approval rules (
85a734f
) - artifacts: Add support for project artifacts delete API (
c01c034
) - mixins: Allow deleting resources without IDs (
0717517
) - objects: Add a complete artifacts manager (
c8c2fa7
)
Fix
- services: Use slug for id_attr instead of custom methods (
e30f39d
) - Remove custom
delete
method for labels (0841a2a
)
Documentation
- Enable gitter chat directly in docs (
bd1ecdd
) - Add delete methods for runners and project artifacts (
5e711fd
) - Add retry_transient infos (
bb1f054
) - Add transient errors retry info (
b7a1266
) - artifacts: Deprecate artifacts() and artifact() methods (
64d01ef
) - Revert "chore: add temporary banner for v3" (#1864) (
7a13b9b
)
v3.1.1
v3.1.0
Feature
- add support for Group Access Token API (
c01b7c4
) - Add support for Groups API method
transfer()
(0007006
) - api: Add
project.transfer()
and deprecatetransfer_project()
(259668a
) - api: Return result from
SaveMixin.save()
(e6258a4
)
Fix
- cli: Add missing list filters for environments (
6f64d40
) - Use url-encoded ID in all paths (
12435d7
) - members: Use new *All objects for *AllManager managers (
755e0a3
) - api: Services: add missing
lazy
parameter (888f332
) - broken URL for FAQ about attribute-error-list (
1863f30
) - remove default arguments for mergerequests.merge() (
8e589c4
) - remove custom URL encoding (
3d49e5e
)
Documentation
v3.0.0
Feature
- docker: Remove custom entrypoint from image (
80754a1
) - cli: Allow options from args and environment variables (
ca58008
) - api: Support file format for repository archive (
83dcabf
) - Add support for
squash_option
in Projects (a246ce8
) - cli: Do not require config file to run CLI (
92a893b
) - api: Add support for Topics API (
e7559bf
) - Add delete on package_file object (
124667b
) - Add support for
projects.groups.list()
(68ff595
) - api: Add support for epic notes (
7f4edb5
) - Remove support for Python 3.6, require 3.7 or higher (
414009d
) - api: Add project milestone promotion (
f068520
) - api: Add merge trains (
fd73a73
) - api: Add merge request approval state (
f41b093
) - api: Add project label promotion (
6d7c88a
) - objects: Support delete package files API (
4518046
) - objects: List starred projects of a user (
47a5606
) - build: Officially support and test python 3.10 (
c042ddc
) - objects: Support Create and Revoke personal access token API (
e19314d
) - Default to gitlab.com if no URL given (
8236281
) - Allow global retry_transient_errors setup (
3b1d3a4
)
Fix
- Handle situation where GitLab does not return values (
cb824a4
) - Stop encoding '.' to '%2E' (
702e41d
) - build: Do not include docs in wheel package (
68a97ce
) - api: Delete invalid 'project-runner get' command (#1628) (
905781b
) - api: Replace deprecated attribute in delete_in_bulk() (#1536) (
c59fbdb
) - objects: Rename confusing
to_project_id
argument (ce4bc0d
) - Raise error if there is a 301/302 redirection (
d56a434
) - build: Do not package tests in wheel (
969dccc
)
Breaking
- The gitlab CLI will now accept CLI arguments and environment variables for its global options in addition to configuration file options. This may change behavior for some workflows such as running inside GitLab CI and with certain environment variables configured. (
ca58008
) - stop encoding '.' to '%2E'. This could potentially be a breaking change for users who have incorrectly configured GitLab servers which don't handle period '.' characters correctly. (
702e41d
) - A config file is no longer needed to run the CLI. python-gitlab will default to https://gitlab.com with no authentication if there is no config file provided. python-gitlab will now also only look for configuration in the provided PYTHON_GITLAB_CFG path, instead of merging it with user- and system-wide config files. If the environment variable is defined and the file cannot be opened, python-gitlab will now explicitly fail. (
92a893b
) - As of python-gitlab 3.0.0, Python 3.6 is no longer supported. Python 3.7 or higher is required. (
414009d
) - As of python-gitlab 3.0.0, the default branch for development has changed from
master
tomain
. (545f8ed
) - remove deprecated branch protect methods in favor of the more complete protected branches API. (
9656a16
) - The deprecated
name_regex
attribute has been removed in favor ofname_regex_delete
. (see https://gitlab.com/gitlab-org/gitlab/-/commit/ce99813cf54) (c59fbdb
) - rename confusing
to_project_id
argument in transfer_project toproject_id
(--project-id
in CLI). This is used for the source project, not for the target namespace. (ce4bc0d
) - remove deprecated constants defined in gitlab.v4.objects, and use only gitlab.const module (
3f320af
) - remove deprecated tag release API. This was removed in GitLab 14.0 (
2b8a94a
) - remove deprecated project.issuesstatistics in favor of project.issues_statistics (
ca7777e
) - remove deprecated members.all() method in favor of members_all.list() (
4d7b848
) - remove deprecated pipelines() methods in favor of pipelines.list() (
c4f5ec6
) - python-gitlab will now default to gitlab.com if no URL is given (
8236281
) - raise error if there is a 301/302 redirection (
d56a434
)
Documentation
- Switch to Furo and refresh introduction pages (
ee6b024
) - Correct documentation for updating discussion note (
ee66f4a
) - Rename documentation files to match names of code files (
ee3f865
) - project: Remove redundant encoding parameter (
fed613f
) - Use annotations for return types (
79e785e
) - Update docs to use gitlab.const for constants (
b3b0b5f
) - Only use type annotations for documentation (
b7dde0d
) - Add links to the GitLab API docs (
e3b5d27
) - Fix API delete key example (
b31bb05
) - pipelines: Document take_ownership method (
69461f6
) - api: Document the update method for project variables (
7992911
) - api: Clarif...