Since 9.0, lib no longer use buzz 0.7+, instead it has an HTTPlug abstraction layer.
- The constructor no longer allow to specify base url. Use
setUrl
orClient::create
instead. - The default url is set to
https://gitlab.com
. - The
$options
constructor argument have been removed, thegetOption
andsetOption
methods have been removed. See documentation to know how to customize the client timeout and how to use a custom user agent. - The
setBaseUrl
andgetBaseUrl
methods have been removed. UsesetUrl
instead. - The
clearHeaders
andsetHeaders
methods have been removed. See documentation to know how use custom headers. - The
setHttpClient
method have been removed. Use aGitlab\HttpClient\Builder
instead. - The
getHttpClient
method return type is changed toHttp\Client\Common\HttpMethodsClient
.
- The
PER_PAGE
class constant have been removed.
- The
all
method now take a single argument which is an associative array of query string parameters. - The
ORDER_BY
andSORT
class constants have been removed.
- The
visibility_level
parameter have been removed fromcreate
method. Usevisibility
instead. - The
all
method now take a single argument which is an associative array of query string parameters. - The
search
method have been removed. Useall
method instead. - The
members
method second and subsequent arguments have been replaced by a single associative array of query string parameters. - The
projects
method second and subsequent arguments have been replaced by a single associative array of query string parameters.
- The second argument of
update
,remove
,showComments
,showComment
,addComment
,updateComment
,removeComment
,setTimeEstimate
,resetTimeEstimate
,addSpentTime
andresetSpentTime
methods is now a scoped issue id (iid). - The
all
method second and subsequent arguments have been replaced by a single associative array of query string parameters.
- The
all
method second and subsequent arguments have been replaced by a single associative array of query string parameters.
- The
getList
,getByIid
,merged
,opened
andclosed
methods have been removed. Useall
method instead. - The
ORDER_BY
andSORT
class constants have been removed. - The
all
method now take a single argument which is an associative array of query string parameters. - The
getNotes
method now take only two arguments, the project id and the merge request iid.
- The
all
method second and subsequent arguments have been replaced by a single associative array of query string parameters.
- The
keys
,key
,addKey
,removeKey
,disableKey
andenableKey
methods have been removed. Use thedeployKeys
,deployKey
,addDeployKey
,deleteDeployKey
,removeDeployKey
andenableDeployKey
instead. - The
ORDER_BY
andSORT
class constants have been removed. - The
accessible
,owned
andsearch
methods have been removed. Useall
method instead. - The
all
method now take a single argument which is an associative array of query string parameters. - The
trace
method have been removed. UseGitlab\Api\Jobs::trace
instead. - The
builds
method have been removed. UseGitlab\Api\Jobs::all
instead. - The
build
method have been removed. UseGitlab\Api\Jobs::show
instead. - The
events
method second and subsequent arguments have been replaced by a single associative array of query string parameters. - The
deployments
method second and subsequent arguments have been replaced by a single associative array of query string parameters.
- The
search
method have been removed. Useall
method instead. - The
all
method now take a single argument which is an associative array of query string parameters.
- The
commitBuilds
method have been removed. UseGitlab\Api\Projects::pipelines
instead. - The
commits
method second and subsequent arguments have been replaced by a single associative array of query string parameters. - The
commitComments
method third and subsequent arguments have been replaced by a single associative array of query string parameters.
- The
keys
,key
,addKey
,removeKey
,disableKey
andenableKey
methods have been removed. Use thedeployKeys
,deployKey
,addDeployKey
,deleteDeployKey
,removeDeployKey
andenableDeployKey
instead.
- The
expires_at
property have been removed.`
- The
all
method now take a single argument which is an associative array of query string parameters. - The
lookup
andsearch
methods have been removed. Useall
method instead.