Skip to content

Releases: lostisland/faraday-multipart

v1.0.4

07 Jun 13:08
955fbb3
Compare
Choose a tag to compare

What's Changed

  • Drop support for 'multipart-post' < 2.0.0. This is not a breaking change as this gem's code didn't work with 1.x. by @jsvd.
  • Change references to UploadIO and Parts according to class reorganization in the 'multipart-post' gem 2.2.0 (see multipart-post gem PR #89) by @jsvd.
  • Introduce a backwards compatible safeguard so the gem still works with previous 'multipart-post' 2.x releases by @jsvd.

New Contributors

Full Changelog: v1.0.3...v1.0.4

v1.0.3

08 Jan 14:20
bbaa465
Compare
Choose a tag to compare

What's Changed

  • Add Faraday::ParamPart alias back by @iMacTia in #2

Full Changelog: v1.0.2...v1.0.3

v1.0.2

06 Jan 18:45
Compare
Choose a tag to compare

Fixes

  • Add missing UploadIO alias
  • Re-add support for Ruby 2.4+

Full Changelog: v1.0.1...v1.0.2

v1.0.1

06 Jan 09:31
9a95cce
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0

04 Jan 09:11
Compare
Choose a tag to compare

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.