This repository has been archived by the owner on Apr 5, 2020. It is now read-only.
Releases: xp-framework/rest
Releases · xp-framework/rest
8.1.1: Payload and parameters fix
- Fixed requests with payload and query parameters - @thekid
8.1.0: Links
8.0.1: PHP 5.4 BC
- 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
- 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)
- New
- Merged PR #14: Remove deprecated execute() overloading - @thekid
7.3.2: Networking
- Made compatible with xp-framework/network v8.0.0 - @thekid
7.3.1: Dependency compatibility
- Added compatibility with newest xp-framework/http and xp-framework/xml
releases (both 8.0.0)
(@thekid)
7.3.0: XP8 compatiblity
- Added forward compatibility with XP 8.0.0: Use File::in() instead of
the deprecated getInputStream()
(@thekid)
7.2.1: PHP 7 fix
- Fixed problems when using XP6 releases together with PHP 7
(@thekid)