All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
...
- The
Api::downloadAttachmentmethod now throws an exception, when attempting to download from a non-Jira website by @aik099 (#240). - The
$paramsargument of theApi::getWorklogsmethod is now optional by @aik099 (#244). - The
$paramsargument of theApi::getTransitionsmethod is now optional by @aik099 (#244). - The
$start_at = 0argument ofApi::searchmethod was renamed into the$next_page_token = nullto reflect underlying Jira API changes by @aik099 (#248). - Improved performance of
Result::getIssuesCountmethod by @aik099 (#248). - Drop support for PHP <7.4.0 by @alex-dna (#250).
- The
Api::searchmethod and theWalkerclass no longer return total issue count, because underlaying Jira API doesn't support this @aik099 (#248).
- The
CurlClientin combination with cURL version < 7.33.0 was getting426 Upgrade Requirederror on any request to the Atlassian Cloud servers by @aik099 (#239). - The
PHPClienton PHP < 8.0 was getting426 Upgrade Requirederror on any request to the Atlassian Cloud servers by @aik099 (#239). - The
Api::downloadAttachmentmethod wasn't working withCurlClientfor Atlassian Cloud servers by @aik099 (#240).
2.0.0-B1 - 2025-01-04
- Added
Api::addWorklogandApi::deleteWorklogcalls for more control over the work logs @dumconstantin and @aik099 (#219). - 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 a version by @jpastoor (#82). - Added
Api::releaseVersioncall for marking a 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).
- 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
Api::getResolutionsby @jpastoor (#131). - Renamed
Api::apiparameter$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).
- 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 a 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).
1.0.0 - 2014-07-27
- Initial release.