|
2 | 2 |
|
3 | 3 | <!--next-version-placeholder-->
|
4 | 4 |
|
| 5 | +## v4.0.0 |
| 6 | + |
| 7 | +### Feature |
| 8 | + |
| 9 | +* client: mask tokens by default when logging ([`1611d78`](https://github.com/python-gitlab/python-gitlab/commit/1611d78263284508326347843f634d2ca8b41215)) |
| 10 | +* api: add ProjectPackagePipeline |
| 11 | +* feat: officially support Python 3.12 ([`2a69c0e`](https://github.com/python-gitlab/python-gitlab/commit/2a69c0ee0a86315a3ed4750f59bd6ab3e4199b8e)) |
| 12 | +* packages: Allow uploading bytes and files |
| 13 | +* feat: Use requests AuthBase classes ([`5f46cfd`](https://github.com/python-gitlab/python-gitlab/commit/5f46cfd235dbbcf80678e45ad39a2c3b32ca2e39)) |
| 14 | +* api: add support for job token scope settings ([`59d6a88`](https://github.com/python-gitlab/python-gitlab/commit/59d6a880aacd7cf6f443227071bb8288efb958c4)) |
| 15 | +* api: support project remote mirror deletion ([`d900910`](https://github.com/python-gitlab/python-gitlab/commit/d9009100ec762c307b46372243d93f9bc2de7a2b)) |
| 16 | +* api: add optional GET attrs for /projects/:id/ci/lint ([`40a102d`](https://github.com/python-gitlab/python-gitlab/commit/40a102d4f5c8ff89fae56cd9b7c8030c5070112c)) |
| 17 | +* api: add support for new runner creation API (#2635) |
| 18 | +* releases: Add support for direct_asset_path |
| 19 | +* feat: Added iteration to issue and group filters ([`8d2d297`](https://github.com/python-gitlab/python-gitlab/commit/8d2d2971c3909fb5461a9f7b2d07508866cd456c)) |
| 20 | + |
| 21 | +### Fix |
| 22 | + |
| 23 | +* cli: add _from_parent_attrs to user-project manager (#2558) ([`016d90c`](https://github.com/python-gitlab/python-gitlab/commit/016d90c3c22bfe6fc4e866d120d2c849764ef9d2)) |
| 24 | +* cli: fix action display in --help when there are few actions |
| 25 | +* client: support empty 204 responses in http_patch ([`e15349c`](https://github.com/python-gitlab/python-gitlab/commit/e15349c9a796f2d82f72efbca289740016c47716)) |
| 26 | +* snippets: allow passing list of files ([`31c3c5e`](https://github.com/python-gitlab/python-gitlab/commit/31c3c5ea7cbafb4479825ec40bc34e3b8cb427fd)) |
| 27 | + |
| 28 | +### Documentation |
| 29 | + |
| 30 | +* correct error with back-ticks (#2653) |
| 31 | +* access_token: adopt token docs to 16.1 |
| 32 | +* files: fix minor typo in variable declaration ([`118ce42`](https://github.com/python-gitlab/python-gitlab/commit/118ce4282abc4397c4e9370407b1ab6866de9f97)) |
| 33 | + |
| 34 | +### Breaking |
| 35 | + |
| 36 | +* python-gitlab now explicitly passes auth to requests, meaning |
| 37 | + it will only read netrc credentials if no token is provided, fixing a bug where |
| 38 | + netrc credentials took precedence over OAuth tokens. This also affects the CLI, |
| 39 | + where all environment variables now take precedence over netrc files. ([`45b8930`](https://github.com/python-gitlab/python-gitlab/commit/45b89304d9745be1b87449805bf53d45bf740e90)) |
| 40 | +* python-gitlab now stores metadata in pyproject.toml |
| 41 | + as per PEP 621, with setup.py removed. pip version v21.1 or higher is |
| 42 | + required if you want to perform an editable install. ([`71fca8c`](https://github.com/python-gitlab/python-gitlab/commit/71fca8c8f5c7f3d6ab06dd4e6c0d91003705be09)) |
| 43 | +* Constants defined in `gitlab.const` can no longer be imported globally from `gitlab`. |
| 44 | + Import them from `gitlab.const` instead. ([`e4a1f6e`](https://github.com/python-gitlab/python-gitlab/commit/e4a1f6e2d1c4e505f38f9fd948d0fea9520aa909)) |
| 45 | +* Support for the deprecated `as_list` argument in |
| 46 | + `list()` calls has been removed. Use `iterator` instead. ([`9b6d89e`](https://github.com/python-gitlab/python-gitlab/commit/9b6d89edad07979518a399229c6f55bffeb9af08)) |
| 47 | +* The deprecated `lint()` method is no longer available. |
| 48 | + Use `ci_lint.create()` instead. ([`0b17a2d`](https://github.com/python-gitlab/python-gitlab/commit/0b17a2d24a3f9463dfbcab6b4fddfba2aced350b)) |
| 49 | +* The deprecated `project.artifact()` method is no longer available. |
| 50 | + Use `project.artifacts.raw()` instead. ([`90134c9`](https://github.com/python-gitlab/python-gitlab/commit/90134c949b38c905f9cacf3b4202c25dec0282f3)) |
| 51 | +* The deprecated `project.artifacts()` method is no longer available. |
| 52 | + Use `project.artifacts.download()` instead. ([`42639f3`](https://github.com/python-gitlab/python-gitlab/commit/42639f3ec88f3a3be32e36b97af55240e98c1d9a)) |
| 53 | +* The deprecated `group.add_ldap_group_link()` and `group.delete_ldap_group_link()` |
| 54 | + methods are no longer available. Use `group.ldap_group_links.create()` and `group.ldap_group_links.delete()` |
| 55 | + instead. ([`5c8b7c1`](https://github.com/python-gitlab/python-gitlab/commit/5c8b7c1369a28d75261002e7cb6d804f7d5658c6)) |
| 56 | +* The deprecated `project.transfer_project()` method is no longer available. |
| 57 | + Use `project.transfer()` instead. ([`27ed490`](https://github.com/python-gitlab/python-gitlab/commit/27ed490c22008eef383e1a346ad0c721cdcc6198)) |
| 58 | +* The `--all` option is no longer available in the CLI. Use `--get-all` instead. ([`e9d48cf`](https://github.com/python-gitlab/python-gitlab/commit/e9d48cf69e0dbe93f917e6f593d31327cd99f917)) |
| 59 | +* As of python-gitlab 4.0.0, Python 3.7 is no longer |
| 60 | + supported. Python 3.8 or higher is required. ([`058d5a5`](https://github.com/python-gitlab/python-gitlab/commit/058d5a56c284c771f1fb5fad67d4ef2eeb4d1916)) |
| 61 | + |
5 | 62 | ## v3.15.0 (2023-06-09)
|
6 | 63 | ### Feature
|
7 | 64 | * Add support for `select="package_file"` in package upload ([`3a49f09`](https://github.com/python-gitlab/python-gitlab/commit/3a49f099d54000089e217b61ffcf60b6a28b4420))
|
|
0 commit comments