Skip to content

Releases: cybercog/youtrack-rest-php

6.0.1

30 Dec 20:56
Compare
Choose a tag to compare

Changed

  • Package display name updated from YouTrack REST PHP to PHP YouTrack REST. Doesn't affect on code in any way.

View the changes from 6.0.0 to 6.0.1

6.0.0

19 Nov 22:37
379cb67
Compare
Choose a tag to compare

Changed

  • Cog\YouTrack\Rest\Authorizer\CookieAuthorizer stopped to delegate client header manipulation to Authenticator (#32)
  • token method added to Cog\Contracts\YouTrack\Rest\Authenticator\Authenticator contract
  • Cog\Contracts\YouTrack\Rest\Client\Exceptions\ClientException extends RuntimeException instead of Exception
  • Cog\Contracts\YouTrack\Rest\Client\Exceptions\HttpClientException extends RuntimeException instead of Exception
  • Cog\Contracts\YouTrack\Rest\Authorizer\Exceptions\InvalidTokenException renamed to InvalidAuthorizationToken

Removed

  • Dropped putHeader method from Cog\Contracts\YouTrack\Rest\Client\Client contract

View the changes from 5.0.0 to 6.0.0

5.0.0

13 Sep 00:52
Compare
Choose a tag to compare

Changed

  • Exceptions moved to Cog\Contracts\YouTrack namespace (#34).

View the changes from 4.0.0 to 5.0.0

4.0.0

27 Aug 09:48
Compare
Choose a tag to compare

Changed

  • Contracts extracted to Cog\Contracts\YouTrack package (#32)
    • Cog\YouTrack\Rest\Authenticator\Contracts moved to Cog\Contracts\YouTrack\Rest\Authenticator
    • Cog\YouTrack\Rest\Authorizer\Contracts moved to Cog\Contracts\YouTrack\Rest\Authorizer
    • Cog\YouTrack\Rest\Client\Contracts moved to Cog\Contracts\YouTrack\Rest\Client
    • Cog\YouTrack\Rest\Client\HttpContracts moved to Cog\Contracts\YouTrack\Rest\HttpClient
    • Cog\YouTrack\Rest\Client\Response moved to Cog\Contracts\YouTrack\Rest\Response

View the changes from 3.2.0 to 4.0.0

3.2.0

29 Jul 06:27
Compare
Choose a tag to compare

Changed

  • withHeader, withHeaders methods to Client contract.
  • isClientError & isServerError asserts in Response contract.

Updated

  • putHeader method marked as deprecated to keep naming consistency and aliased to withHeader.

View the changes from 3.1.1 to 3.2.0

3.1.1

05 Jun 15:30
Compare
Choose a tag to compare

Updated

  • Fix client version

View the changes from 3.1.0 to 3.1.1

3.1.0

25 May 07:19
Compare
Choose a tag to compare

Added

  • isSuccess & isReponse asserts in Response contract.
  • header & body methods to Response contract.

View the changes from 3.0.0 to 3.1.0

3.0.0

22 May 08:42
Compare
Choose a tag to compare

Added

  • Authenticator contract and CookieAuthenticator implementation.
  • HttpClient contract and GuzzleHttpClient implementation.
  • isStatusCode assert in Response contract.

Updated

  • CookieAuthorizer constructor accepts Authenticator instead of credentials.
  • TokenAuthorizer constructor accepts string token instead of array.
  • Authorizer delegates authentication to Authenticator.
  • Client delegates HTTP requests to HttpClient.
  • Changed namespace of AuthenticationException.
  • getHeaders method was dropped from Authorizer contract.
  • Response interface methods getResponse, getStatusCode, getCookie, getLocation were renamed to httpResponse, statusCode, cookie, location respectively.
  • User-Agent header is more verbose.
  • REST Client version is defined in Client contract instead of each concrete implementation.
  • Additional param $options was added to Client methods: request, get, post, put, delete.

View the changes from 2.0.1 to 3.0.0

2.0.1

20 May 23:02
Compare
Choose a tag to compare

Fixed

  • Fix Client version in headers

View the changes from 2.0.0 to 2.0.1

2.0.0

20 May 18:40
Compare
Choose a tag to compare

Updated

  • Dropped Client getAuthorizer & setAuthorizer rudiment methods.

View the changes from 1.0.0 to 2.0.0