Skip to content
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.

Releases: xp-framework/rest

8.1.1: Payload and parameters fix

27 Sep 10:02
Compare
Choose a tag to compare
  • Fixed requests with payload and query parameters - @thekid

8.1.0: Links

26 Sep 13:39
Compare
Choose a tag to compare
  • Merged pull request #17: Link header support - @thekid
  • Changed RestRequest to optionally accept parameters in constructor
    argument uri, adding support to the resource() method by doing so.
    (@thekid)

8.0.1: PHP 5.4 BC

17 Sep 16:27
Compare
Choose a tag to compare
  • Restored PHP 5.4 compatibility which was officially dropped in 6.4.0.
    Doing so only required changing a single line, so doing it in order
    to increase adoption of 8.0.0
    (@thekid)

8.0.0: Resource API

04 Sep 13:19
Compare
Choose a tag to compare
  • Merged PR #16: Resource API. Entry point is webservices.rest.Endpoint.
    • New resource() method exposes a fluent interface covering typical
      use cases GET, HEAD, POST, PUT, PATCH and DELETE.
    • New with() method adds ability to supply omnipresent headers, such
      as User-Agent (required by GitHub, for example).
    • Methods now support absolute, relative and full URLs for ease of use
      with HATEOAS links.
    • RestClient class is now deprecated. Migration to new API is typically
      as easy as exchanging new RestClient(...) with new Endpoint(...).
      The PR contains an overview of possible caveats you may encounter.
      (@thekid)
  • Merged PR #14: Remove deprecated execute() overloading - @thekid

7.3.2: Networking

29 Aug 18:39
Compare
Choose a tag to compare
  • Made compatible with xp-framework/network v8.0.0 - @thekid

7.3.1: Dependency compatibility

28 Aug 21:15
Compare
Choose a tag to compare
  • Added compatibility with newest xp-framework/http and xp-framework/xml
    releases (both 8.0.0)
    (@thekid)

7.3.0: XP8 compatiblity

28 Aug 18:59
Compare
Choose a tag to compare
  • Added forward compatibility with XP 8.0.0: Use File::in() instead of
    the deprecated getInputStream()
    (@thekid)

7.2.1: PHP 7 fix

03 Jul 13:57
Compare
Choose a tag to compare
  • Fixed problems when using XP6 releases together with PHP 7
    (@thekid)

7.2.0: JSON Library

08 Jun 13:57
Compare
Choose a tag to compare

7.1.0: Error handling

01 May 12:39
Compare
Choose a tag to compare
  • Merged PR #12: Add RestResponse::error(). This new method complements
    the data() method in preventing programming mistakes by making error
    handling explicit
    (@thekid, Olaf Seng)