Skip to content

Latest commit

 

History

History
88 lines (62 loc) · 2.96 KB

CHANGELOG.md

File metadata and controls

88 lines (62 loc) · 2.96 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased] - xxxx-xx-xx

v1.4.0 - 2019-04-16

Added

  • sdkType property to the type handler configuration. This property replaces the deprecated type property. #94
  • appType property to the type handler configuration. This property replaces the deprecated customType property. #94
  • canHandle property to the type handler configuration. The value is expected to be a predicate function (i.e. function that returns truthy or falsy values). If canHandle returns truthy value, the writer function will called. This allows users to fully customize how they use read and writer the data types to and from SDK. #94
  • Added information about the canHandle function in the "Your own types" document. #94

Deprecated

  • type property in type handler configuration. Use sdkType instead.
  • customType property in type handler configuration. Use appType instead.

v1.3.0 - 2019-02-27

Added

  • Missing step (copy sharetribe-flex-sdk-web.js from /build/ to /docs/)
  • New endpoints #92
    • sdk.stripeAccount.create(/* ... */)
    • sdk.stripeAccount.update(/* ... */)
    • sdk.stripePersons.create(/* ... */)

Changed

  • Updated dependencies

v1.2.0 - 2018-11-27

Added

  • New endpoints #89
    • sdk.availabilityExceptions.create(/* ... */)
    • sdk.availabilityExceptions.delete(/* ... */)
    • sdk.availabilityExceptions.query(/* ... */)
    • sdk.bookings.query(/* ... */)

Changed

  • Make baseUrl optional, defaults to https://flex-api.sharetribe.com #90

v1.1.0 - 2018-11-07

Added

  • New endpoints #88
    • sdk.ownListings.createDraft(/* ... */)
    • sdk.ownListings.publishDraft(/* ... */)
    • sdk.ownListings.discardDraft(/* ... */)

v1.0.0 - 2018-08-07

This is the first version that is published in NPM.

See: https://www.npmjs.com/package/sharetribe-flex-sdk

Changed

  • Updated dependencies
  • Changed package name from sharetribe-sdk to sharetribe-flex-sdk to prepare for publishing to NPM. Remember to check your existing imports!