| 1 |
Revision history for Perl extension GitLab-API-v4. |
| 2 |
|
| 3 |
0.27 2023-06-07T20:50:56Z |
| 4 |
|
| 5 |
- Add run_pipeline_schedule. |
| 6 |
- Add share_group_with_group and unshare_group_with_group. |
| 7 |
- Add approve_merge_request and unapprove_merge_request |
| 8 |
- Add approve_user and reject_user. |
| 9 |
- Add ban_user and unban_user. |
| 10 |
- Add activate_user and deactivate_user. |
| 11 |
- Allow multi-line arguments. |
| 12 |
- Use JSON::MaybeXS instead of JSON. |
| 13 |
- Add verify_SSL=>1 to HTTP::Tiny to verify https server identity. |
| 14 |
- Handle multiple cookies correctly when there is more than one. |
| 15 |
- Live tests now run against GitLab CE 16.0.3 (was 11.10.4). |
| 16 |
- Add the the remote_mirrors, create_remote_mirror, and |
| 17 |
edit_remote_mirror methods. |
| 18 |
- Fixed incorrect license messaging in POD. |
| 19 |
|
| 20 |
0.26 2021-01-30T07:10:57Z |
| 21 |
|
| 22 |
- Changed licensing terms to be the same as Perl 5. |
| 23 |
- Add the user_memeberships method. |
| 24 |
- Remove file renaming before upload. |
| 25 |
- Provide a .editorconfig instead of .lvimrc. |
| 26 |
|
| 27 |
0.25 2020-02-12T22:20:48Z |
| 28 |
|
| 29 |
- Add the delete_pipeline method. |
| 30 |
|
| 31 |
0.24 2020-02-12T22:09:39Z |
| 32 |
|
| 33 |
- Add all the container registry methods. |
| 34 |
- Add http_tiny_request and http_tiny_response to ::RESTClient. This |
| 35 |
should help people debug issues easier. |
| 36 |
|
| 37 |
0.23 2019-10-18T19:55:06Z |
| 38 |
|
| 39 |
- Fix delete_runner so that it doesn't try to decode the response. |
| 40 |
- Any 204 response now just blanket returns undef. |
| 41 |
- More contextual JSON decoding error messages. |
| 42 |
|
| 43 |
0.22 2019-09-13T15:02:28Z |
| 44 |
|
| 45 |
- Add the statistics method. |
| 46 |
- The delete_user method can now take parameters, allowing for use of |
| 47 |
the hard_delete parameter. |
| 48 |
|
| 49 |
0.21 2019-08-24T18:56:13Z |
| 50 |
|
| 51 |
- The release endpoint returns a 403 on an unknown tag rather than a |
| 52 |
404 like it should. This condition is now detected and treated |
| 53 |
like a 404. |
| 54 |
|
| 55 |
0.20 2019-07-23T21:42:37Z |
| 56 |
|
| 57 |
- The preexisting create_release and edit_release methods have been |
| 58 |
renamed to create_tag_release and update_tag_release to make room |
| 59 |
for the new releases API. |
| 60 |
- Added methods for the new (added in GitLab 11.7) releases and |
| 61 |
release links APIs. |
| 62 |
|
| 63 |
0.19 2019-05-17T20:40:22Z |
| 64 |
|
| 65 |
- Live tests now run against GitLab CE 11.10.4 (was 11.2.3). |
| 66 |
- Add GitLab::API::v4::WWWClient. |
| 67 |
- Add GitLab::API::v4::Mock for writing unit tests. |
| 68 |
- Switch to the GNU General Public License version 3. |
| 69 |
|
| 70 |
0.18 2019-04-01T04:35:02Z |
| 71 |
|
| 72 |
- Add SUPPORT section to the docs. |
| 73 |
- The archive method no longer tries to decode the response. |
| 74 |
- Add the commit_refs method. |
| 75 |
- Add the trigger_pipeline method. |
| 76 |
- Document some create_pipeline method parameters. |
| 77 |
|
| 78 |
0.17 2019-02-20T22:47:58Z |
| 79 |
|
| 80 |
- Require perl 5.10.1 as I give up trying to support 5.8 due to other |
| 81 |
modules requiring 5.10 and strictures/multidimensional issues. |
| 82 |
- Simplify VERSION declarations. |
| 83 |
|
| 84 |
0.16 2019-02-18T06:21:15Z |
| 85 |
|
| 86 |
- Migrate build tooling from Dist::Zilla to Minilla. |
| 87 |
|
| 88 |
0.15 2019-01-09 |
| 89 |
|
| 90 |
- BREAKING CHANGE: gitlab-api-v4 now takes parameters in the form of |
| 91 |
param:value rather than --param=value. This is to avoid foot-gun |
| 92 |
ambiguities when options have the same names as parameters (such |
| 93 |
as --url). |
| 94 |
- Add --pretty and --canonical options to gitlab-api-v4. |
| 95 |
|
| 96 |
0.14 2018-12-04 |
| 97 |
|
| 98 |
- Add all_project_members and all_group_members methods. |
| 99 |
- gitlab-api-v4 now handles -- like you'd expect your typical linux |
| 100 |
tooling would. |
| 101 |
|
| 102 |
0.13 2018-11-08 |
| 103 |
|
| 104 |
- group() now accepts parameters. |
| 105 |
- Add the transfer_project_to_namespace() method. |
| 106 |
|
| 107 |
0.12 2018-09-11 |
| 108 |
|
| 109 |
- Added API methods for Protected Tags, Search, Project |
| 110 |
Import/Export, Project Badges, Resource Label Events, Discussions, |
| 111 |
Markdown, Group Issue Boards, Group Badges, and Snippets. |
| 112 |
- Reorganized project/group members/access requests sections to |
| 113 |
better match the official API. |
| 114 |
- Renamed the various project snippet methods to have "project" in |
| 115 |
their name. |
| 116 |
- Added constants for the snippet visibility levels. |
| 117 |
- Overhauled the POD heading layout in order to avoid the massive |
| 118 |
TOC. |
| 119 |
- Fix minor typo. |
| 120 |
|
| 121 |
0.11 2018-09-01 |
| 122 |
|
| 123 |
- Fixed the raw_file method to not try to decode the respository file |
| 124 |
contents and instead just return the undecoded response content. |
| 125 |
- Renamed the POD section "FILE METHODS" to |
| 126 |
"REPOSITORY FILE METHODS", to better match the GitLab API docs. |
| 127 |
- Add the hidden NO_ACCESS constant to ::Constants. |
| 128 |
- Live tests now run against GitLab CE 11.2.3 (was 10.2.2). |
| 129 |
|
| 130 |
0.10 2018-06-05 |
| 131 |
|
| 132 |
- Fix project_hook() so it uses the correct path. |
| 133 |
- create_project_hook() and edit_project_hook() now return their |
| 134 |
decoded response (the hook). |
| 135 |
- delete_project_hook() no longer tries to return anything as a |
| 136 |
successful delete is a 204 (no content) and a failed one is a 404. |
| 137 |
- Tests for all of the above. |
| 138 |
- Fix typo. |
| 139 |
|
| 140 |
0.09 2018-05-28 |
| 141 |
|
| 142 |
- Ensure chmod 600 of ~/.gitlab-api-v4-config is maintained. |
| 143 |
- Enable and fix upload_file_to_project by using |
| 144 |
HTTP::Tiny::Multipart. |
| 145 |
- Individual methods may now have a custom note added to their POD. |
| 146 |
- Added a self-contained unit test, unit.t, which can be expanded on |
| 147 |
in the future. This is unlike regression.t which requires that a |
| 148 |
GitLab installation be available. |
| 149 |
- Added the rest_client_class argument. |
| 150 |
|
| 151 |
0.08 2018-05-14 |
| 152 |
|
| 153 |
- Many API endpoints which return lists and did not support |
| 154 |
parameters now do in order for pagination arguments, and the |
| 155 |
paginator, to be used with them. |
| 156 |
- Add project_languages method. |
| 157 |
- Remove upload_file_to_project since it doesn't work. Will re-add |
| 158 |
when it is made to work later. |
| 159 |
|
| 160 |
0.07 2018-05-10 |
| 161 |
|
| 162 |
- Completely overhaul ::RestClient to use HTTP::Tiny instead of |
| 163 |
Role::REST::Client. This change will make it much easier to alter |
| 164 |
the behavior of the HTTP communication. |
| 165 |
- ::RestClient now supports the ability to decode non-ref JSON, such |
| 166 |
as unblock_user which returns just a JSON boolean. |
| 167 |
- block_user and unblock_user now return their decoded response. |
| 168 |
- delete_user is no longer expected to return anything. |
| 169 |
- Response decoding will now only be attempted for methods which are |
| 170 |
expected to return something. Slight optimization. |
| 171 |
- A 404 on a non-returning method throws an exception now, matching |
| 172 |
the docs. |
| 173 |
- The *_token arguments are now stored in a closure to help users |
| 174 |
avoid accidentally dumping them somewhere such as logs. |
| 175 |
- Added all methods for the TODO API. |
| 176 |
|
| 177 |
0.06 2018-04-09 |
| 178 |
|
| 179 |
- Add the project_service method. |
| 180 |
|
| 181 |
0.05 2018-03-06 |
| 182 |
|
| 183 |
- Fixup gitlab-api-v4 to support parameters who's values are empty or |
| 184 |
have whitespace in them. |
| 185 |
|
| 186 |
0.04 2018-02-03 |
| 187 |
|
| 188 |
- Support parameters in the project method. |
| 189 |
- Allow wide characters when printing the response output in the |
| 190 |
gitlab-api-v4 script. |
| 191 |
|
| 192 |
0.03 2018-01-12 |
| 193 |
|
| 194 |
- Greatly extended authentication and configuration options for the |
| 195 |
gitlab-api-v4 script; added GitLab::API::v4::Config. |
| 196 |
- The gitlab-api-v4 script now always outputs JSON (the default was |
| 197 |
YAML, with the option to pick other formats). |
| 198 |
- Fixed the fork_project method to hit the correct URL. |
| 199 |
|
| 200 |
0.02 2017-12-15 |
| 201 |
|
| 202 |
- Fix double-slashes in URL paths. |
| 203 |
- Fixed gitlab-api-v4 script to actually work. |
| 204 |
|
| 205 |
0.01 2017-12-11 |
| 206 |
|
| 207 |
- Added the sudo method and the sudo_user argument. |
| 208 |
- Split the token arguments into the access_token and private_token |
| 209 |
arguments. |
| 210 |
- Removed the login/email/password arguments as they are not |
| 211 |
supported by v4. |
| 212 |
- Many many methods added/removed/renamed/modified. |
| 213 |
- Imported GitLab::API::v3 @ |
| 214 |
fb9253c58b68ca1be71feedf12c1d6004c8ba8d6. |
| 215 |
|