Skip to content

Releases: sparkapi/spark_api

v2.0.3

08 May 17:55
1d673c8

Choose a tag to compare

The version on CHANGELOG and version files needs to match.

Fix ResoFaradayMiddleware NoMethodError on XML responses

08 May 16:57
fd881c6

Choose a tag to compare

Rescue in ResoFaradayMiddleware#on_complete referenced the local
body variable, but MultiJson.decode raised before body was
assigned — leaving it nil. .strip on nil raised NoMethodError
for every non-JSON response, including legitimate RESO XML metadata
(/Reso/OData/$metadata).
Reference env[:body] (the raw body) instead.
Adds spec coverage: legacy D-envelope passthrough, flat OData JSON,
XML metadata regression, and genuine non-JSON/non-XML still raising
MultiJson::ParseError.

Add HTTP PATCH method

06 May 16:00

Choose a tag to compare

PLAT-300: Add HTTP PATCH method
Adds a patch helper to SparkApi::Request alongside the existing
get/post/put/delete methods, plus a unit test covering the new path.

v2.0.0 Require Faraday 2.0+

20 Dec 13:38
0c8b5df

Choose a tag to compare

What's Changed

Full Diff: v1.6.3...v2.0.0

Support for setting the user IP in the request headers

26 Jul 16:35
5d7bb8b

Choose a tag to compare

What's Changed

Full Changelog: 1.6.2...v1.6.3

RESO Web API Versioning

07 Nov 18:16
097d805

Choose a tag to compare

This release supports contacting multiple versions of the RESO Web API backend. The default version for the reso_api middleware will be the non-versioned endpoint of the API. An explicit version will need to be added to hit the necessary endpoint for that version.

Fix omitted name dependency

11 Oct 19:24
e4b09da

Choose a tag to compare

Merge pull request #181 from sparkapi/addressable

Name addressable gem as runtime dep

Fix omitted name dependency

11 Oct 19:10

Choose a tag to compare

Fix a deep comparison issue in spec file

Not entirely sure what's going on here, but since this fixes the failure
I'm banking on a deep comparison mismatch when the hash gets recreated.
Only creating one hash works around it.

Adding support for Ruby 3.1

11 Jan 16:28
5b82564

Choose a tag to compare

v1.6.0

  • Adding support for Ruby 3.1
  • Add support for psych 4.0 yaml loading
  • Lock Faraday down to < 2.0

HighLine namespace fix

03 Jan 20:45
5f0072a

Choose a tag to compare

Modify the SparkApi::Authentication::OAuth2Impl::CLIProvider to use HighLine in a way that does not pollute the global namespace, to avoid collision with other gems.