Skip to content

Commit 9d815c1

Browse files
authored
Merge pull request #21 from DoclerLabs/decouple-guzzle-in-favor-of-psr
Remove Guzzle dependency in favor of PSR18
2 parents 60a9059 + f88beaa commit 9d815c1

File tree

60 files changed

+461
-1029
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+461
-1029
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [4.0.0] - 2020-11-26
8+
### Changed
9+
- Guzzle 6/7 dependency removed altogether in favor of PSR-18 interfaces for Http Client
10+
- Breaking change! `*ClientFactory` does not accept URI and Guzzle configuration anymore, but rather PSR-18 implementation
11+
- Guzzle 6/7 CookieJar dependency removed in favor of simplified CookieJar class
12+
713
## [3.2.1] - 2020-11-24
814
### Fixed
915
- `DateTimeInterface` serialization in `QuerySerializer`

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ The following environment variables are available:
3939
| `CLIENT_PHP_VERSION` | no | 7.2 | 7.0, 7.1, 7.2, 7.3, 7.4 | 7.4 |
4040
| `COMPOSER_JSON_TEMPLATE_DIR` | no | {path-to-repository}/template/composer.json.twig | | /path/composer.json.twig |
4141
| `README_MD_TEMPLATE_DIR` | no | {path-to-repository}/template/README.md.twig | | /path/README.md.twig |
42-
| `HTTP_CLIENT` | no | guzzle7 | guzzle6, guzzle7 | guzzle7 |
4342
| `HTTP_MESSAGE` | no | guzzle | guzzle, nyholm | nyholm |
4443
| `CONTAINER` | no | pimple | pimple | pimple |
4544

composer.json

-2
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@
2020
"cebe/php-openapi": "^1.4",
2121
"docler-labs/api-client-exception": "^1.0.1",
2222
"friendsofphp/php-cs-fixer": "^2.16",
23-
"guzzlehttp/guzzle": "^6.5",
2423
"guzzlehttp/psr7": "^1.6",
2524
"nikic/php-parser": "^4.10",
2625
"nyholm/psr7": "^1.3",
27-
"php-http/guzzle6-adapter": "^2.0",
2826
"pimple/pimple": "^3.3",
2927
"psr/http-client": "^1.0",
3028
"psr/http-message": "^1.0",

0 commit comments

Comments
 (0)