Skip to content

Require tiny-blocks/http 8.0. - #10

Merged
gustavofreze merged 1 commit into
mainfrom
chore/require-http-8
Nov 7, 2026
Merged

gustavofreze merged 1 commit into
mainfrom
chore/require-http-8

Conversation

@gustavofreze

@gustavofreze gustavofreze commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Please follow the contributing guidelines.

Summary

  • composer.json requires tiny-blocks/http ^8.0 (was ^7.2). 8.0 validates every header that reaches a response, rejects the connection-specific ones and restricts the protocol version to 1.0, 1.1, 2 and 3 (tiny-blocks/http#74).
  • No code change. The library reads the incoming request through TinyBlocks\Http\Server\Request and logs the response the next handler returns without building or altering one, so it sets no header and no protocol version that 8.0 refuses.

CI

CI resolves tiny-blocks/http ^8.0 from Packagist, so it stays red until tiny-blocks/http 8.0.0 is published. Merge after that release and a green re-run. Locally, make review and make tests pass against the 8.0 branch of tiny-blocks/http installed through a temporary, uncommitted path repository (50 tests, 52 mutants, MSI 100%).

Release

Recommended release: 1.4.0 (minor). The public API exposes no tiny-blocks/http type: LogMiddleware and its builder speak PSR-7, PSR-15, PSR-3 and tiny-blocks/time (MonotonicClock), and Request is used only inside Internal/. A consumer's code compiles and behaves the same, and Composer only lets the release install where tiny-blocks/http 8 can be installed. The minor marks the raised dependency floor.

Related issue

None.

Checklist

  • Tests added or updated.
  • Documentation updated when applicable.
  • make review passes.
  • make tests passes.

@gustavofreze
gustavofreze merged commit 2dd1ac6 into main Nov 7, 2026
8 of 9 checks passed
@gustavofreze
gustavofreze deleted the chore/require-http-8 branch November 7, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant