Update dependency httparty to v0.24.3

This MR contains the following updates:

Package Update Change MyDiffEnd
httparty (changelog) patch 0.24.2 → 0.24.3 https://my.diffend.io/gems/httparty/0.24.2/0.24.3

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

jnunemaker/httparty (httparty)

v0.24.3

Compare Source

Full Changelog: https://github.com/jnunemaker/httparty/compare/v0.24.2...v0.24.3

Bug Fixes

  • Support the json gem 3.x, which removed the quirks_mode parser option. (#​846)
  • Fix the MultiXml deprecation warning with multi_xml 0.9+. (#​838, thanks @​robzolkos)
  • A UTF-8 byte order mark (BOM) is now stripped from responses that don't declare a charset. Before, a BOM-prefixed JSON response without a charset raised JSON::ParserError. (#​852)
  • A response body that is only a BOM, or a BOM followed by whitespace, now parses to nil like any other blank body, instead of raising or returning the whitespace. (#​851, thanks @​januththedev)
  • parsed_response and response.body are separate strings for UTF-8 text responses, as in 0.24.2. (#​854)

Performance

  • raise_on with a Range (e.g. 500..599) checks the range directly instead of building a regex for every code in it. (#​843, thanks @​MaxLap)
  • Parsing allocates fewer objects per response. (#​854)

Behavior Changes

For text/plain, text/html and text/csv responses without a charset, a leading BOM is now removed from parsed_response, matching what already happened when charset=utf-8 was set. If you worked around the BOM by matching it (for example a CSV header of "\xEF\xBB\xBFid"), that match will now be "id". Workarounds like delete_prefix("") keep working.

These are unchanged: response.body and to_s (raw bytes), application/octet-stream and other formats HTTParty doesn't parse, and bodies declared in other charsets such as ISO-8859-1 or UTF-16.

Other


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Mend Renovate CLI.

Merge request reports

Loading
Loading