Recent Releases of https://github.com/jnunemaker/httparty
https://github.com/jnunemaker/httparty - v0.24.2
Full Changelog: https://github.com/jnunemaker/httparty/compare/v0.24.1...v0.24.2
Bug Fixes
- Streaming uploads are now opt-in - The streaming multipart upload feature introduced in 0.24.0 caused compatibility issues with some servers (returning 400 errors). Streaming is now disabled by default to preserve backwards compatibility. Enable it explicitly with stream_body: true for memory-efficient large file uploads. (#832)
Example
# Default behavior (buffered, compatible with all servers)
HTTParty.post('http://example.com/upload', body: { file: File.open('large.zip') })
# Opt-in to streaming for large files (reduced memory usage)
HTTParty.post('http://example.com/upload', body: { file: File.open('large.zip') }, stream_body: true)
- Ruby
Published by jnunemaker about 2 months ago
https://github.com/jnunemaker/httparty - v0.24.1
What's Changed
- Add trailing clrf when building header for non-file parts. by @serixscorpio in https://github.com/jnunemaker/httparty/pull/833
New Contributors
- @serixscorpio made their first contribution in https://github.com/jnunemaker/httparty/pull/833
Full Changelog: https://github.com/jnunemaker/httparty/compare/v0.24.0...v0.24.1
- Ruby
Published by jnunemaker about 2 months ago
https://github.com/jnunemaker/httparty - v0.24.0
What's Changed
- Force binary encoding throughout by @jnunemaker in https://github.com/jnunemaker/httparty/pull/823
- set Content-Type for Hash body in requests by @jnunemaker in https://github.com/jnunemaker/httparty/pull/828
- feat: stream multipart file uploads to reduce memory usage by @jnunemaker in https://github.com/jnunemaker/httparty/pull/829
- fix: prevent SSRF via absolute URL bypassing base_uri by @jnunemaker in https://github.com/jnunemaker/httparty/pull/830
Full Changelog: https://github.com/jnunemaker/httparty/compare/v0.23.2...v0.24.0
- Ruby
Published by jnunemaker 2 months ago
https://github.com/jnunemaker/httparty - 0.23.2
What's Changed
- Add changelog_uri metadata to gemspec by @baraidrissa in https://github.com/jnunemaker/httparty/pull/817
- Fix multipart with files in binary mode and fields including non-ASCII characters by @rdimartino in https://github.com/jnunemaker/httparty/pull/822
New Contributors
- @baraidrissa made their first contribution in https://github.com/jnunemaker/httparty/pull/817
- @rdimartino made their first contribution in https://github.com/jnunemaker/httparty/pull/822
Full Changelog: https://github.com/jnunemaker/httparty/compare/v0.23.1...v0.23.2
- Ruby
Published by jnunemaker 5 months ago
https://github.com/jnunemaker/httparty - v0.23.1
- Add foul option to class level https://github.com/jnunemaker/httparty/commit/d2683879c902b278a0776620dd7510c99a9db670
Full Changelog: https://github.com/jnunemaker/httparty/compare/v0.23.0...v0.23.1
- Ruby
Published by jnunemaker 11 months ago
https://github.com/jnunemaker/httparty - v0.23.0
What's Changed
- new: foul mode to rescue all common network errors: https://github.com/jnunemaker/httparty/blob/891a4a8093afd4cacecab2719223e3170d07f1c0/examples/party_foul_mode.rb
- docs: replace master branch to main for better view by @bestony in https://github.com/jnunemaker/httparty/pull/803
- Update README.md by @tradesmanhelix in https://github.com/jnunemaker/httparty/pull/811
New Contributors
- @ashishra0 made their first contribution with foul mode
- @bestony made their first contribution in https://github.com/jnunemaker/httparty/pull/803
- @tradesmanhelix made their first contribution in https://github.com/jnunemaker/httparty/pull/811
Full Changelog: https://github.com/jnunemaker/httparty/compare/v0.22.0...v0.23.0
- Ruby
Published by jnunemaker 11 months ago
https://github.com/jnunemaker/httparty - v0.22.0
What's Changed
- Fix typo in example name by @xymbol in https://github.com/jnunemaker/httparty/pull/780
- Extract request building method by @aliismayilov in https://github.com/jnunemaker/httparty/pull/786
- CI: Tell dependabot to update GH Actions by @olleolleolle in https://github.com/jnunemaker/httparty/pull/791
- Add CSV gem as a dependency for Ruby 3.4 by @ngan in https://github.com/jnunemaker/httparty/pull/796
- Clear body when redirecting to a GET by @rhett-inbox in https://github.com/jnunemaker/httparty/pull/783
- CI against Ruby 3.3 by @y-yagi in https://github.com/jnunemaker/httparty/pull/798
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/jnunemaker/httparty/pull/792
- Allow regexpr on raise errors. by @ryanfox1985 in https://github.com/jnunemaker/httparty/pull/778
- Avoid anonymous eval by @casperisfine in https://github.com/jnunemaker/httparty/pull/776
- Lazy load some gems by @orgads in https://github.com/jnunemaker/httparty/pull/760
- Redirect with authorization credentials to same host for relative paths by @jasonheecs in https://github.com/jnunemaker/httparty/pull/700
- Drop old ruby support by @jnunemaker in https://github.com/jnunemaker/httparty/pull/799
New Contributors
- @aliismayilov made their first contribution in https://github.com/jnunemaker/httparty/pull/786
- @ngan made their first contribution in https://github.com/jnunemaker/httparty/pull/796
- @rhett-inbox made their first contribution in https://github.com/jnunemaker/httparty/pull/783
- @y-yagi made their first contribution in https://github.com/jnunemaker/httparty/pull/798
- @dependabot made their first contribution in https://github.com/jnunemaker/httparty/pull/792
- @ryanfox1985 made their first contribution in https://github.com/jnunemaker/httparty/pull/778
- @casperisfine made their first contribution in https://github.com/jnunemaker/httparty/pull/776
- @jasonheecs made their first contribution in https://github.com/jnunemaker/httparty/pull/700
Full Changelog: https://github.com/jnunemaker/httparty/compare/v0.21.0...v0.22.0
- Ruby
Published by jnunemaker almost 2 years ago