Revision history for Perl extension GitLab::API::v4.
0.07 2018-05-10
- Completely overhaul ::RestClient to use HTTP::Tiny instead of
Role::REST::Client. This change will make it much easier to alter the
behavior of the HTTP communication.
- ::RestClient now supports the ability to decode non-ref JSON, such as
unblock_user which returns just a JSON boolean.
- block_user and unblock_user now return their decoded response.
- delete_user is no longer expected to return anything.
- Response decoding will now only be attempted for methods which are
expected to return something. Slight optimization.
- A 404 on a non-returning method throws an exception now, matching the docs.
- The *_token arguments are now stored in a closure to help users avoid
accidentally dumping them somewhere such as logs.
- Added all methods for the TODO API.
0.06 2018-04-09
- Add the project_service method.
0.05 2018-03-06
- Fixup gitlab-api-v4 to support parameters who's values are empty or have
whitespace in them.
0.04 2018-02-03
- Support parameters in the project method.
- Allow wide characters when printing the response output in the
gitlab-api-v4 script.
0.03 2018-01-12
- Greatly extended authentication and configuration options for the
gitlab-api-v4 script; added GitLab::API::v4::Config.
- The gitlab-api-v4 script now always outputs JSON (the default was YAML,
with the option to pick other formats).
- Fixed the fork_project method to hit the correct URL.
0.02 2017-12-15
- Fix double-slashes in URL paths.
- Fixed gitlab-api-v4 script to actually work.
0.01 2017-12-11
- Added the sudo method and the sudo_user argument.
- Split the token arguments into the access_token and private_token arguments.
- Removed the login/email/password arguments as they are not supported by v4.
- Many many methods added/removed/renamed/modified.
- Imported GitLab::API::v3 @ fb9253c58b68ca1be71feedf12c1d6004c8ba8d6.