Added
Document::download()
now accepts an optional boolean$postProcess
parameter. It defaults to true, but if false is passed, the document contents will not have any special parsing applied based on their content type.Document::$data
will be set to the raw data. (#54)
Changed
Document::upload()
now usesopenssl_encrypt
directly, removing dependenciescyberdummy/gzstream
andjsq/psr7-stream-encryption
.- The removal of those dependencies resulted in
guzzle/psr7
upgrading to2.0
, which meant updating allGuzzle\Psr7\build_query()
calls toGuzzle\Psr7\Query::build()
.