Skip to content

feat(SPEC-114): adoção da resolução tipada RouteResolution, Adapter e CoR Pipeline - #98

Merged
code-cfernandes merged 3 commits into
mainfrom
feat/SPEC-114-routing-resolution-architecture
Oct 12, 2026
Merged

code-cfernandes merged 3 commits into
mainfrom
feat/SPEC-114-routing-resolution-architecture

Conversation

@code-cfernandes

Copy link
Copy Markdown
Member

Descrição

Implementa as melhorias de resolução de rotas da SPEC-114 no core:

  • Consumo de RouteResolution: Despacho direto de RouteMatched, MethodNotAllowed e RouteNotFound eliminando varredura linear.
  • Adapter de Middleware Express: ExpressMiddlewareAdapter substitui classes anônimas dinâmicas na execução de callables fn($req, $res, $next).
  • Chain of Responsibility: PrecompiledPipeline e MiddlewareHandler montam a cadeia imutável de execução de middlewares da rota.
  • Atualização de dependência: Requer pivotphp/core-routing ^3.1.0.
  • Qualidade: 398 testes passando, PHPStan Nível 9 e PHPCS PSR-12 limpos. Zero regressão confirmada em 10, 50 e 500 rotas.

@github-actions

Copy link
Copy Markdown

🚀 Release Readiness Report - PivotPHP Core v5.0.0

✅ All Checks Passed!

  • Version: 5.0.0
  • PHPStan: Level 9, 0 errors
  • Tests: All tests passing
  • Code Style: PSR-12 compliant
  • PHP Compatibility: 8.1 - 8.4
  • Dependencies: All valid
  • Scripts: Consolidated and optimized

📦 Ready for Publication

The project is ready to be tagged and released!

Next Steps:

  1. Create a new tag: git tag -a v5.0.0 -m 'Release v5.0.0'
  2. Push the tag: git push origin v5.0.0
  3. The release workflow will automatically create a GitHub release
  4. Packagist will be automatically updated

@code-cfernandes
code-cfernandes merged commit a7070af into main Oct 12, 2026
10 checks passed
@code-cfernandes
code-cfernandes deleted the feat/SPEC-114-routing-resolution-architecture branch October 12, 2026 14:18
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