sparkapi/spark_api

View on GitHub
CHANGELOG

Summary

Maintainability
Test Coverage
v1.6.2
 - Add support for versioning the RESO Web API

v1.6.1
 - forward port of v1.5.7
 - add addressable as a named runtime dependency (fixes regression from
   v1.5.2)

v1.6.0
 - Adding support for Ruby 3.1
 - Add support for psych 4.0 yaml loading
 - Lock Faraday down to < 2.0

v1.5.7
 - add addressable as a named runtime dependency (fixes regression from
   v1.5.2)

v1.5.6
 - Modify usage of HighLine so that it does not pollute the global namespace

v1.5.5
 - Add logging of an errored oauth2 response

v1.5.4
 - Fix a problem with fetching counts with the http_method_override: true option supplied.

v1.5.3
 - Add support for http_method_override (true/false) option to client, which when supplied results in a POST with appropriate X-HTTP-Method-Override header.

v1.5.2
 - Add dependency of addressable

v1.5.1
 - Add support for video thumbnails and 'media' interface to unify shared parts of videos/virtual tours

v1.5.0
 Why upgrade?
 - Adding support for Ruby 3
 - Relaxed version requirement on json

 Why wait?
 - Minimum version of Faraday brought up to v0.17.3

v1.4.34
 - Version update for releasing v1.4.33 as the tags were set wrong for v1.4.32 release

v1.4.33
 - Add Support for FloPlan extension to Listings

v1.4.32
 - Updated check on Open Houses and Tour of Homes for empty string

v1.4.31
 - Updated requests to allow arrays as a body

v1.4.30
 - added `script/reso_middleware_example.rb`

v1.4.29
 - moved `#logo` from AccountReport to Account

v1.4.28
 - move public_suffix to development dependency where it belongs

v1.4.27
 - Added `dictionary_version` configuration option for RESO requests

v1.4.26
 - added `unread` and `unread_count` methods to `Message`

v1.4.25
 - add request_id reader to error and response classes
 - log request_id on successful requests (debug level)
 - support request_id_chain as a configurable option
 - if configured, pass request_id_chain to server as `X-Request-Id-Chain` header

v1.4.24
 - added method for /propertytypes/all

v1.4.23
 - added ListingMetaTranslations model

v1.4.22
 - added Rule model

v1.4.21
 - added IncompleteListing model

v1.4.20
 - added destroy class method to Destroyable

v1.4.19
 - create SparkQLErrors attribute for SparkApi::Response and populate when present
 - create Errors attribute for SparkApi::Response and populate when present
 - create SparkApi::Request option `full_response` that allows methods to return object instead of body only.

v1.4.18
 - include the errors from the response in the instance of ClientErrors

v1.4.17
 - use '/flexmls/listings' for PUT

v1.4.16
 - Added method for /fields/order/settings to Fields class

v1.4.15
 - Add OData support

v1.4.14
 - fixed duplicate requests in NewsFeedMeta

v1.4.13
 - added SystemInfoSearch model

v1.4.12
- updated 'delete_photos' in SparkApi::Models::Listing to return the response from the API instead of a boolean value.

v1.4.11
- add 'delete_photos' to SparkApi::Models::Listing to enable deleting a batch of photos.

v1.4.10
 - add `id` method to SparkApi::Models::Base as a more familiar alias of `Id`
 - add SharedLink and EmailLink models, extracted from FBS internal code

v1.4.9
 - add AccountReport and AccountRoster models

v1.4.8
 - added ListingCart#add_listings

v1.4.7
 - store 'D' attribute in responses

v1.4.6
 - Added Idx model

v1.4.5
 - Fixed problem where options are dropped in Defaultable when `find` is called with 'default'

v1.4.4
  - Fixed symbol hash key bug in Defaultable

v1.4.3
 - Change Finders and Defaultable to handle an api response of an empty array when finding a single resource.

v1.4.2
 - Added Defaultable module

v1.4.1
 - Fixed bug in NewsFeedMeta core_fields and core_field_names. Calling either of those methods modified the data array when it should have only been reading the array. Later calls to these methods were then incorrect.

v1.4.0
 - removed NewsFeedMeta and can_have_newsfeed? from SavedSearch

v1.3.28
 - add request_path attribute to ClientError class

v1.3.27
 - added NewsFeedMeta model
 - updated SavedSearch to use NewsFeedMeta when figuring out if the search qualifies for a news feed

v1.3.26
 - fixed update_attributes method

v1.3.25
 - added reorder_photo method to the listing class

v1.3.24
 - added replies method and finders to message class
 - added to_param method to base class

v1.3.23
 - remove ruby 1.9 hash syntax

v1.3.22
 - Upgrade Faraday to 0.9