- Fix phpdoc syntax.
- Fix phpdoc for addResource options to make the options not required.
- No longer automatically add a
Content-Length
header for each part in MultipartStreamBuilder class to comply with RFC 7578 section 4.8.
- Added missing mimetype for
.webp
images.
- Removed unnecessary dependency on deprecated
php-http/message-factory
- Allow
psr/http-message
2.* - Also skip setting filename if URI starts with
data://
- Refactored MultipartStreamBuilder to clean up and allow injecting data without a filename
- Dynamically use memory or temp file to buffer the stream content.
- Support PHP 8.0
- Fixed mistake in PHPDoc type.
- Added support for PSR-17 factories.
- Dropped support for PHP < 7.1
No changes from 0.2.0.
You may do a BC update to version 0.2.0 if you are sure that you are not adding multiple resources with the same name to the Builder.
- Make sure one can add resources with same name without overwrite.
- Performance improvements by avoid using
uniqid()
.
- Support for non-readable streams. This fix was needed because flaws in Guzzle, Zend and Slims implementations of PSR-7.
- Added support for resetting the builder
- Added
CustomMimetypeHelper
to allow you to configure custom mimetypes.
- Using regular expression instead of
basename($filename)
because basename is depending on locale.
- Support for Outlook msg files.
- Support for Apple passbook.
- Initial release