v2.0.0-B1
Pre-release
Pre-release
Added
- Added
Api::getWorklogscall for getting issue work logs by [@camspanos]. - Enhance
Api::getCreateMetacall with ability (optional) to return issue fields by [@arnested]. - Added
Api::createRemotelinkcall for creating linking issue with remote applications by [@elmi82]. - Added
Api::findVersionByNamecall for getting project version information by it's name by [@jpastoor]. - Added
Api::updateVersioncall for editing version by [@jpastoor]. - Added
Api::releaseVersioncall for marking version as released by [@jpastoor]. - Added
Api::getAttachmentsMetaInformationcall for getting attachments meta information by [@N-M]. - Added
Api::getProjectComponentscall for getting project components by [@N-M]. - Added
Api::getProjectIssueTypescall for getting project issue types and issue statuses connected to them by [@N-M]. - Added
Api::getResolutionscall for getting available issue resolutions by [@N-M]. - Allow configuring issues queried per page in
Walkerclass by [@aik099]. - Added optional override for the filename in
Api::createAttachmentby [@betterphp] - Allow getting issue count back from
Walkerclass by [@aik099]. - Setup
.gitattributesfor betterCHANGELOG.mdmerging by [@glensc]. - Added
Api::addWorklogandApi::deleteWorklogcalls for more control over the work logs [@dumconstantin] and [@aik099]. - Added
Api::getWorklogscall for getting issue work logs by [@camspanos] (#37). - Added
Api::createRemotelinkcall for linking issue with its remote applications by [@elmi82] (#43). - Added
Api::findVersionByNamecall for getting project version information by its name by [@jpastoor] (#82). - Added
Api::updateVersioncall for editing version by [@jpastoor] (#82). - Added
Api::releaseVersioncall for marking version as released by [@jpastoor] (#82). - Added
Api::getAttachmentsMetaInformationcall for getting attachments meta information by [@N-M] (#101). - Added
Api::getProjectComponentscall for getting project components by [@N-M] (#104). - Added
Api::getProjectIssueTypescall for getting project issue types and issue statuses connected to them by [@N-M] (#104). - Added
Api::getResolutionscall for getting available issue resolutions by [@N-M] (#104). - Allow configuring issues queried per page in
Walkerclass by [@aik099] (#142). - Allow getting issue count back from
Walkerclass by [@aik099] (#149). - Setup
.gitattributesfor betterCHANGELOG.mdmerging 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::getPriortiesrenamed intoApi::getPrioritiesby [@josevh] and [@jpastoor] (#68). - The
Api::setEndPointnow 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_jsonto$return_as_arrayby [@jpastoor] (#134). - Renamed
Api::createRemotelinktoApi::createRemoteLinkby [@glensc] (#183). - The
CurlClient::sendRequestis throwing exception, when$dataparameter isn't an array and$methodis GET by [@alopex06] (#100). - Minimal supported PHP version changed from 5.3 to 5.6 by [@aik099] (#207).
- Enhance
Api::getCreateMetacall with an optional ability (via the new$expandparameter) to return issue fields by [@arnested] (#26). - Added an optional
$nameparameter (replaces$optionsparameter) toApi::createAttachmentfor specifying name of the uploaded file by [@betterphp] (#141). - The
$methodparameter of theApi::apimethod is now mandatory (previously hadself::REQUEST_GETvalue) by [@aik099] (#226). - The
$dataparameter of theClientInterface::sendRequestmethod is now mandatory (previously hadarray()value) by [@aik099] (#226).
Fixed
- Attachments created using
PHPClientwere not accessible from JIRA by [@ubermuda] (#59). - Inability to create attachment using
CurlClienton PHP 5.6+ by [@shmaltorhbooks] (#52). - The
Api::getIssueTypescall wasn't working on JIRA 6.4+ due newavatarIdparameter for issue types by [@addersuk] (#50). - The
CurlClientwasn't recognizing201response code as success (e.g. used by/rest/api/2/issueLinkAPI call) by [@zuzmic] (#40). - Anonymous access to JIRA from
CurlClientwasn't working by [@digitalkaoz] (#32). - Fixed PHP deprecation notice, when creating issue attachments via
CurlClienton PHP 5.5+ by [@DerMika] (#86). - The
Api::getRolescall was always retuning an error by [@aik099] (#99). - Attempt to make a
DELETEAPI call usingCurlClientwasn'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 methodcall by [@betterphp] (#140). - Warning about
count()function usage on PHP 7.2, when searching for issues by [@aik099] (#174). - The
Api::createRemotelinkwasn't updating an existing remote link, because given$global_idparameter was incorrectly passed to the Jira by [@glensc] (#178). - The
Api::getIssueTypeswas always returning an error, becauseentityId,hierarchyLevelanduntranslatedNameissue type properties weren't supported by [@aik099] (#208). - The
PHPClientwas sending wrongContent-Typeheader for GET requests by [@aik099] (#108). - Attempt to make a
DELETEAPI call usingPHPClientwasn't working by [@aik099] (#108). - The
PHPClientthrown exceptions weren't inline withCurlClientthrown exceptions by [@aik099] (#108). - Fixed the
CurlClientinability to perform an SSL connection from macOS due to locked HTTP protocol version by [@benPesso] (#147). - The
Api::getIssueTypesmethod was always throwing an error due toscopeissue type parameter wasn't supported by [@danillofb] (#181).