Skip to content

Releases: tiny-blocks/http

v4.6.0

13 Feb 02:28
3b1387b

Choose a tag to compare

  • Replace DecodedRequest public properties with uri() / body() accessors and update usages in tests/docs.
  • Add RouteParameterResolver to 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

13 Feb 01:42
bce4e88

Choose a tag to compare

  • Refactored test namespaces from TinyBlocks\Http to Test\TinyBlocks\Http for clearer separation between test and production code.
  • Moved stream-related classes from Internal\Response\Stream to Internal\Stream for better logical organization.
  • Added new Request class with fluent API for decoding PSR-7 ServerRequest objects, providing typed access to route parameters and JSON body fields with safe default values.

v4.4.0

10 Feb 01:19
57a753e

Choose a tag to compare

  • Updates tiny-blocks/mapper dependency to version 2.0.

v4.3.0

27 Jan 12:19
d684135

Choose a tag to compare

  • Add Response::unauthorized and Response::forbidden methods with interface docs and tests.
  • Refactor Stream::isWritable() for improved mode checking.
  • Remove unused bcmath extension from CI workflow.
  • Simplify infection config by removing LogicalOr mutator override.

v4.2.0

15 Jan 12:12
74aaee3

Choose a tag to compare

  • 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

07 Jan 01:32
55b4c4a

Choose a tag to compare

  • Fixes execution of composer scripts and updates dependencies.

v4.1.0

30 Dec 12:26
9269ad8

Choose a tag to compare

  • Switch serialization support to tiny-blocks/mapper.

v4.0.2

19 Dec 14:54
eebd739

Choose a tag to compare

  • Fixes http status code message.

v4.0.1

19 Dec 14:33
5b04afd

Choose a tag to compare

  • Fixes header construction.

v4.0.0

19 Dec 03:29
eb7ecf3

Choose a tag to compare

  • Improves lib's separation of responsibilities and using.
  • Adds and improves tests.
  • Updates documentation
  • Updates dependencies and builds