Skip to content

Releases: jschreuder/Middle

Version 2.0

05 Feb 21:47
Compare
Choose a tag to compare

Updated code to aim at PHP 8.1 instead of 7.1, updated dependencies, got rid of the Jwt session, and some general improvements.

Full Changelog: 1.0.0...2.0.0

1.0.0 Stable release

31 Oct 23:42
Compare
Choose a tag to compare

As the RC ended up running good in 2 usages, scored perfectly on Scrutinizr and PHPSpec runs, and had no functional changes compared to previous interop-based releases I've made this also the 1.0 release.

1.0 Release Candidate

31 Oct 23:40
Compare
Choose a tag to compare
1.0 Release Candidate Pre-release
Pre-release
  • Updated interop packages to PSR-15 and PSR-17

0.10 Beta

03 Jun 08:58
Compare
Choose a tag to compare
0.10 Beta Pre-release
Pre-release
  • Added prevention of calling a delegate twice (BC BREAK when abusing delegates)
  • Added default Exceptions
  • BC BREAK: Moved ValidationFailedException and made it extend InputException

0.9 Beta

21 Apr 21:46
Compare
Choose a tag to compare
0.9 Beta Pre-release
Pre-release
  • BC BREAK: Modified JsonRequestParserMiddleware to expect an array of regexes instead of using simple string-matching. This allows for content types like application/json;chartset=utf-8 to be accepted as valid JSON.

0.8 Alpha

03 Apr 19:01
Compare
Choose a tag to compare
0.8 Alpha Pre-release
Pre-release
  • Added RoutingProviderCollection
  • BC BREAK: Made use of typehinted variable with splat operator for constructing ApplicationStack instances instead of array which needed to be checked one by one

0.7 Alpha

03 Apr 19:00
Compare
Choose a tag to compare
0.7 Alpha Pre-release
Pre-release

Upped minimum PHP version to 7.1.

0.6 Alpha

09 Jan 18:13
Compare
Choose a tag to compare
0.6 Alpha Pre-release
Pre-release

Getting there for a beta. Improvements include:

  • Collected all ServerMiddlewares under a single namespace
  • Split up the FilterValidationMiddleware into a filter & a validator middleware
  • Added a JSON content parser middleware
  • Refactored session classes
  • Code cleanup & formatting

0.5 Alpha

09 Jan 18:08
Compare
Choose a tag to compare
0.5 Alpha Pre-release
Pre-release

Updated everything to latest state of http-interop/http-middleware & http-factory.

0.4 Alpha

20 Sep 20:51
Compare
Choose a tag to compare
0.4 Alpha Pre-release
Pre-release

Rewrite of all things controllers:

  • Controllers are now required to implement ControllerInterface interface that must take a ServerRequestInterface and return a ResponseInterface
  • Added convenience class CallableController that turns any callable into a Controller
  • Removed ViewController concept and renderer through ControllerRunner, must now be done within each controller
  • Fixed unnecessary extends in RequestValidatorInterface to ControllerInterface
  • Router now expects factory callables instead of directly taking Controllers
  • Moved ControllerRunner into Controller sub-namespace