Releases: tiny-blocks/http
Releases · tiny-blocks/http
v4.6.0
- Replace
DecodedRequestpublic properties withuri()/body()accessors and update usages in tests/docs. - Add
RouteParameterResolverto extract route params from arrays/objects/common attribute keys/direct attributes. - Expand test coverage for multiple framework-style route parameter formats and document the resolution order.
v4.5.0
- Refactored test namespaces from
TinyBlocks\HttptoTest\TinyBlocks\Httpfor clearer separation between test and production code. - Moved stream-related classes from
Internal\Response\StreamtoInternal\Streamfor better logical organization. - Added new
Requestclass with fluent API for decoding PSR-7ServerRequestobjects, providing typed access to route parameters and JSON body fields with safe default values.
v4.4.0
- Updates tiny-blocks/mapper dependency to version 2.0.
v4.3.0
- Add
Response::unauthorizedandResponse::forbiddenmethods with interface docs and tests. - Refactor
Stream::isWritable()for improved mode checking. - Remove unused
bcmathextension from CI workflow. - Simplify infection config by removing LogicalOr mutator override.
v4.2.0
- Bumps PHP requirement to 8.5 and updates related dependencies in composer.json.
- Refactors Makefile for improved usability, adds help target, and updates Docker image.
- Enhances CI workflow with build artifact caching and updated PHP version.
- Cleans up .gitignore and .gitattributes for consistency.
v4.1.1
- Fixes execution of composer scripts and updates dependencies.
v4.1.0
- Switch serialization support to
tiny-blocks/mapper.
v4.0.2
- Fixes http status code message.
v4.0.1
- Fixes header construction.
v4.0.0
- Improves lib's separation of responsibilities and using.
- Adds and improves tests.
- Updates documentation
- Updates dependencies and builds