Releases: amphp/http-server-static-content
Releases · amphp/http-server-static-content
2.0.0
This release is compatible with amphp/http-server@^3
.
DocumentRoot
now requires an instance ofHttpServer
andErrorHandler
to construct- Removed
DocumentRoot::onStart()
andDocumentRoot::onStop()
, as it's now internally registered - Removed support for
ServerObserver
, as it's been removed fromamphp/http-server
- Added
StaticResource
to serve a single static file
2.0.0 Beta 3
- Compatibility with
amphp/http@v2
2.0.0 Beta 2
- Added compatibility with Revolt v1.x
2.0.0 Beta 1
- Allow
amphp/http-server@^3
- Added
StaticResource
to serve a single static file