Skip to content

Internal Request Handler Adapter. Exception breaking change.

Compare
Choose a tag to compare
@hsehszroc hsehszroc released this 02 Jun 06:43
· 1 commit to main since this release

💥 Breaking Change:

  • Renamed Exception class names.

🎯 Core Updates:

  • Reduced: doc comments.
  • Added: PHPCS whitelisting (not published in project though).
  • Updated: constant name CODEGARAGE_PSR_PACKAGE_INSTALLED to TWS_CODEGARAGE_PSR_PACKAGE_INSTALLED for create-wordpress-project compatibility.

🚧 PSR-15 Bridge Updates:

  • Added: New Internal Request Handler as well as option to bring your own Internal Request Handler Adapter that returns the response generated by pipe handler. The Adapter can be used in the pipeline like so: $pipeline->use($request, RequestHandlerAdapter::class).

This RequestHandlerAdapter accepts the pipe response via its constructor.

  • Removed: passing Response as Request Attribute and implemented double-pass approach with new Internal Request Handler.