Intended to follow «Keep a Changelog»
- Two new CookieTranscriptors
CookieHeaderTranscriptor
; squeezingSet-Cookie
headers from PSR-7 into the cookie management ofsfWebRequest
AbstractCookieDispatchTranscriptor
; more powerful, extensible, yet more dangerous approach – using black magic.- Comes with new
CookieDispatcher
,DispatchSubstitutor
and a bunch of other cookie related classes
- Comes with new
- General maintainance: annotations, spelling
- Improving test coverage calculation
- using
@covers
&@uses
annotations - enforce using new phpunit settings
- using
- Improve test coverage
- Improve DX (docker, Makefile, gitattributes, cs-fixer rules)
- Extend mocks, due to new functionality
- …
- Clone the CookieDispatcher-Approach for the ResponseAdapter
- but instead of reading CookieContainer from options → in-situ intercept them → onStatusSent
- Cookies: Write to response
- Cookies: Read from request
- Cookies: write and overwrite to request
- Refactor
Request::withUri
to be closer to PSR-7 - Refactor
BodyStreamHook::addBodyFromResponse
using WeakMap for a PHP >=8.0 (or with polyfill) - Allow configurable StreamFactory instead of hardcoded used
- or try
php-http/discovery
- or try
- Change namespace from brnc to ebln, with version ^2
- Changed package name to
ebln/psr7-symfony1-adapter
- Dependencies
- added:
"psr/http-message": "^1.1 || ^2.0"
as a direct dependency! - removed: support for
guzzlehttp/psr7
<2.4.5
- bumped to
webmozart/assert:^1.11
- added:
- Running CI checks fro PHP 7.4 - 8.3
- Minor code fixes, due to psalm reports
- Update dev dependencies
- Update CI (GH actions)
- Fix local dev env / dockerfile
- Update code style and cs-fixer
- Code
- fixed
getRequestTarget
due toRequestIntegrationTest::testGetRequestTargetInOriginFormNormalizesUriWithMultipleLeadingSlashesInPath
- Signature of
Factory\DecoyHttpFactory::createUploadedFile
changed slightly withRequestTarget
not accepting mixed anymore
- fixed
- Remove
mock/guzzle-psr7
asphp-http/psr7-integration-tests
supportsGuzzleHttp\Psr7 ^2.0
- Updated dev dependencies
- Update code style
- fixed downstream vulnerabilities by bumping
guzzlehttp/psr7
- PSR-17
ResponseFactory
to enable PSR-15 ResponseTranscriptor
to transcribe PSR-7 responses directly to Symfony1 one's- Dependency to PSR-17 i.e.
psr/http-factory
- PSR-17 GuzzleStreamFactory and a DecoyHttpFactory to support
symfony/psr-http-message-bridge
- Started a changelog
- composer-normalize
- Updated dev dependencies
- Renamed "Utility" to
brnc\Symfony1\Message\Utility
, technically [BREAKING] yet was never supposed to be used in user land
- DX: makefile, dockerfile & xdebug
No changelog before October 2021, the following was only casually reconstructed
- Support for status codes greater than 500 (yet less than 600)
- Support for status codes greater than 500 (yet less than 600)
- Bumped
guzzlehttp/psr7
dependency to1.7 || 2.0
- Dropped support for PHP <7.4
- Feature A