Skip to content

v1.0.0

Compare
Choose a tag to compare
@iMacTia iMacTia released this 04 Jan 09:11
· 17 commits to main since this release

Summary

The initial release of the faraday-multipart gem.
This middleware was previously bundled with Faraday but was removed as of v2.0.

MIGRATION NOTES

If you're upgrading from Faraday 1.0 and including this middleware as a gem, please be aware the namespacing for helper classes has changed:

  • Faraday::FilePart is now Faraday::Multipart::FilePart
  • Faraday::Parts is now Faraday::Multipart::Parts
  • Faraday::CompositeReadIO is now Faraday::Multipart::CompositeReadIO
  • Faraday::ParamPart is now Faraday::Multipart::ParamPart

Moreover, in case you're adding the middleware to your faraday connection with the full qualified name rather than the :multipart alias, please be aware the middleware class is now Faraday::Multipart::Middleware.