Skip to content

Commit 2f2576e

Browse files
committed
Add CHANGELOG.md
1 parent 498b9ba commit 2f2576e

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
9+
### Added
10+
11+
* Added CHANGELOG.md
12+
13+
## [0.5.0] - 2018-03-06
14+
15+
### Added
16+
17+
* Added a proper README with instructions.
18+
19+
### Changed
20+
21+
* Updated namespace to `Swis\JsonApi\Client` for consistency.
22+
* Split service provider binds so overwriting is easier.
23+
24+
### Removed
25+
26+
* Extracted fixtures client to [swisnl/php-http-fixture-client](https://github.com/swisnl/php-http-fixture-client) and [swisnl/guzzle-fixture-handler](https://github.com/swisnl/guzzle-fixture-handler)
27+
* Removed resources as it was redundant.
28+
29+
## [0.4.0] - 2018-01-16
30+
31+
### Changed
32+
33+
Refactored to use [php-http/httpplug](http://docs.php-http.org/en/latest/index.html) instead of Guzzle so the library doesn't depend on a specific http client implementation.
34+
35+
This does change how you customize the ServiceProvider, just include an adapter for the client you want to use and the library uses [autodiscovery](http://docs.php-http.org/en/latest/discovery.html) to find the correct [adapter/client](http://docs.php-http.org/en/latest/clients.html). It also uses a [MessageFactory](http://docs.php-http.org/en/latest/message/message-factory.html) for creating Requests and Response objects.
36+
37+
So for example, if you want to use Guzzle, just `composer require php-http/guzzle6-adapter`, and all should be swell.
38+
39+
In order to have a working mock client for testing you now need to include [php-http/mock-client](http://docs.php-http.org/en/latest/clients/mock-client.html). Which is an easy way to mock requests.

0 commit comments

Comments
 (0)