Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@trowski trowski released this 20 Aug 15:20
· 2 commits to 2.x since this release
v2.0.0
fcd0e41

This release is compatible with amphp/http-server@^3.

  • DocumentRoot now requires an instance of HttpServer and ErrorHandler to construct
  • Removed DocumentRoot::onStart() and DocumentRoot::onStop(), as it's now internally registered
  • Removed support for ServerObserver, as it's been removed from amphp/http-server
  • Added StaticResource to serve a single static file