You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release is compatible with amphp/http-server@^3.
Renamed BufferingParser and StreamingParser to FormParser and StreamingFormParser, respectively.
Removed the parseForm function in favor of the Form::fromRequest() static method.
Removed ParsingMiddleware. Use Form::fromRequest() instead.
Removed ParseException. Form parsing errors will throw an HttpErrorException from amphp/http-server instead, which do not need to be caught (the server will automatically return an error response).
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 a Amp\Pipeline\ConcurrentIterator instead of an Amp\Iterator
File has been renamed to BufferedFile
BufferedFile and StreamedField now expose all headers associated with the field instead of select headers.