Releases: amphp/http-server-form-parser
Releases · amphp/http-server-form-parser
2.0.0
This release is compatible with amphp/http-server@^3
.
- Renamed
BufferingParser
andStreamingParser
toFormParser
andStreamingFormParser
, respectively. - Removed the
parseForm
function in favor of theForm::fromRequest()
static method. - Removed
ParsingMiddleware
. UseForm::fromRequest()
instead. - Removed
ParseException
. Form parsing errors will throw anHttpErrorException
fromamphp/http-server
instead, which do not need to be caught (the server will automatically return an error response).
2.0.0 Beta 3
- Compatibility with
amphp/http@v2
2.0.0 Beta 2
- Added compatibility with Revolt v1.x
- Fixed type error when the content boundary is
null
(#12)
2.0.0 Beta 1
Initial release compatible with AMPHP v3.
As with other libraries compatible with AMPHP v3, most cases of parameters or returns of Promise<ResolutionType>
have been replaced with ResolutionType
.
StreamingParser::parseForm
now returns aAmp\Pipeline\ConcurrentIterator
instead of anAmp\Iterator
File
has been renamed toBufferedFile
BufferedFile
andStreamedField
now expose all headers associated with the field instead of select headers.