Releases: console-helpers/jira-api-restclient
Releases · console-helpers/jira-api-restclient
v2.0.0-B1
Added
- Added
Api::getWorklogs
call for getting issue work logs by [@camspanos]. - Enhance
Api::getCreateMeta
call with ability (optional) to return issue fields by [@arnested]. - Added
Api::createRemotelink
call for creating linking issue with remote applications by [@elmi82]. - Added
Api::findVersionByName
call for getting project version information by it's name by [@jpastoor]. - Added
Api::updateVersion
call for editing version by [@jpastoor]. - Added
Api::releaseVersion
call for marking version as released by [@jpastoor]. - Added
Api::getAttachmentsMetaInformation
call for getting attachments meta information by [@N-M]. - Added
Api::getProjectComponents
call for getting project components by [@N-M]. - Added
Api::getProjectIssueTypes
call for getting project issue types and issue statuses connected to them by [@N-M]. - Added
Api::getResolutions
call for getting available issue resolutions by [@N-M]. - Allow configuring issues queried per page in
Walker
class by [@aik099]. - Added optional override for the filename in
Api::createAttachment
by [@betterphp] - Allow getting issue count back from
Walker
class by [@aik099]. - Setup
.gitattributes
for betterCHANGELOG.md
merging by [@glensc]. - Added
Api::addWorklog
andApi::deleteWorklog
calls for more control over the work logs [@dumconstantin] and [@aik099]. - Added
Api::getWorklogs
call for getting issue work logs by [@camspanos] (#37). - Added
Api::createRemotelink
call for linking issue with its remote applications by [@elmi82] (#43). - Added
Api::findVersionByName
call for getting project version information by its name by [@jpastoor] (#82). - Added
Api::updateVersion
call for editing version by [@jpastoor] (#82). - Added
Api::releaseVersion
call for marking version as released by [@jpastoor] (#82). - Added
Api::getAttachmentsMetaInformation
call for getting attachments meta information by [@N-M] (#101). - Added
Api::getProjectComponents
call for getting project components by [@N-M] (#104). - Added
Api::getProjectIssueTypes
call for getting project issue types and issue statuses connected to them by [@N-M] (#104). - Added
Api::getResolutions
call for getting available issue resolutions by [@N-M] (#104). - Allow configuring issues queried per page in
Walker
class by [@aik099] (#142). - Allow getting issue count back from
Walker
class by [@aik099] (#149). - Setup
.gitattributes
for betterCHANGELOG.md
merging by [@glensc] (#185).
Changed
- Classes/interfaces were renamed to use namespaces by [@chobie] (#21).
- Using PSR-4 autoloader from Composer by [@chobie].
- Minimal supported PHP version changed from 5.2 to 5.3 by [@chobie] (#21).
- The
Api::getPriorties
renamed intoApi::getPriorities
by [@josevh] and [@jpastoor] (#68). - The
Api::setEndPoint
now also removes trailing slash from the given url by [@Procta] (#67). - Added local cache to getResolutions by [@jpastoor] (#131).
- Renamed Api::api() parameter
$return_as_json
to$return_as_array
by [@jpastoor] (#134). - Renamed
Api::createRemotelink
toApi::createRemoteLink
by [@glensc] (#183). - The
CurlClient::sendRequest
is throwing exception, when$data
parameter isn't an array and$method
is GET by [@alopex06] (#100). - Minimal supported PHP version changed from 5.3 to 5.6 by [@aik099] (#207).
- Enhance
Api::getCreateMeta
call with an optional ability (via the new$expand
parameter) to return issue fields by [@arnested] (#26). - Added an optional
$name
parameter (replaces$options
parameter) toApi::createAttachment
for specifying name of the uploaded file by [@betterphp] (#141). - The
$method
parameter of theApi::api
method is now mandatory (previously hadself::REQUEST_GET
value) by [@aik099] (#226). - The
$data
parameter of theClientInterface::sendRequest
method is now mandatory (previously hadarray()
value) by [@aik099] (#226).
Fixed
- Attachments created using
PHPClient
were not accessible from JIRA by [@ubermuda] (#59). - Inability to create attachment using
CurlClient
on PHP 5.6+ by [@shmaltorhbooks] (#52). - The
Api::getIssueTypes
call wasn't working on JIRA 6.4+ due newavatarId
parameter for issue types by [@addersuk] (#50). - The
CurlClient
wasn't recognizing201
response code as success (e.g. used by/rest/api/2/issueLink
API call) by [@zuzmic] (#40). - Anonymous access to JIRA from
CurlClient
wasn't working by [@digitalkaoz] (#32). - Fixed PHP deprecation notice, when creating issue attachments via
CurlClient
on PHP 5.5+ by [@DerMika] (#86). - The
Api::getRoles
call was always retuning an error by [@aik099] (#99). - Attempt to make a
DELETE
API call usingCurlClient
wasn't working by [@aik099] (#115). - Clearing local caches (statuses, priorities, fields and resolutions) on endpoint change by [@jpastoor] (#131).
- Error details from failed API calls were not available back from
Api::api method
call by [@betterphp] (#140). - Warning about
count()
function usage on PHP 7.2, when searching for issues by [@aik099] (#174). - The
Api::createRemotelink
wasn't updating an existing remote link, because given$global_id
parameter was incorrectly passed to the Jira by [@glensc] (#178). - The
Api::getIssueTypes
was always returning an error, becauseentityId
,hierarchyLevel
anduntranslatedName
issue type properties weren't supported by [@aik099] (#208). - The
PHPClient
was sending wrongContent-Type
header for GET requests by [@aik099] (#108). - Attempt to make a
DELETE
API call usingPHPClient
wasn't working by [@aik099] (#108). - The
PHPClient
thrown exceptions weren't inline withCurlClient
thrown exceptions by [@aik099] (#108). - Fixed the
CurlClient
inability to perform an SSL connection from macOS due to locked HTTP protocol version by [@benPesso] (#147). - The
Api::getIssueTypes
method was always throwing an error due toscope
issue type parameter wasn't supported by [@danillofb] (#181).