Skip to content

Releases: sparkapi/spark_api

v2.0.3

Choose a tag to compare

@atomfbs atomfbs released this 08 May 17:55
1d673c8

The version on CHANGELOG and version files needs to match.

Fix ResoFaradayMiddleware NoMethodError on XML responses

Choose a tag to compare

@atomfbs atomfbs released this 08 May 16:57
fd881c6

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

Choose a tag to compare

@atomfbs atomfbs released this 06 May 16:00

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+

Choose a tag to compare

@bhornseth bhornseth released this 20 Dec 13:38
0c8b5df

What's Changed

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

Support for setting the user IP in the request headers

Choose a tag to compare

@hadleyn hadleyn released this 26 Jul 16:35
5d7bb8b

What's Changed

Full Changelog: 1.6.2...v1.6.3

RESO Web API Versioning

Choose a tag to compare

@codygustafson codygustafson released this 07 Nov 18:16
097d805

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

Choose a tag to compare

@bhornseth bhornseth released this 11 Oct 19:24
e4b09da
Merge pull request #181 from sparkapi/addressable

Name addressable gem as runtime dep

Fix omitted name dependency

Choose a tag to compare

@bhornseth bhornseth released this 11 Oct 19:10
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

Choose a tag to compare

@philreindl philreindl released this 11 Jan 16:28
5b82564

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

Choose a tag to compare

@eeggers eeggers released this 03 Jan 20:45
5f0072a

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.