diff --git a/CHANGELOG.md b/CHANGELOG.md index c2b7c0ad..b9af8c66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] - xxxx-xx-xx +## [v1.12.0] - 2020-08-12 + ### Added - A utility function to convert an object query parameter into a URL compatible diff --git a/docs/object-query-parameters.md b/docs/object-query-parameters.md index 1b1d742b..90e1f857 100644 --- a/docs/object-query-parameters.md +++ b/docs/object-query-parameters.md @@ -1,6 +1,9 @@ # Object query parameters -Some endpoints in the Flex Marketplace API require a specific syntax that allows passing one or more key-value pairs as the value of a single query parameter. The keys and values are colon-separated whereas the pairs are separated by semicolons. For example, when requesting custom image variants: +Some endpoints in the Flex Marketplace API require a specific syntax that allows +passing one or more key-value pairs as the value of a single query parameter. +The keys and values are colon-separated whereas the pairs are separated by +semicolons. For example, when requesting custom image variants: ``` js sdk.listings.show({ @@ -13,7 +16,9 @@ sdk.listings.show({ }); ``` -To simplify building requests like these, the SDK provides a utility method: `sharetribeSdk.util.objectQueryString`. It serializes an object into the correct string syntax. Using this method, the request above can be written as follows: +To simplify building requests like these, the SDK provides a utility method: +`sharetribeSdk.util.objectQueryString`. It serializes an object into the correct +string syntax. Using this method, the request above can be written as follows: ``` js sdk.listings.show({ diff --git a/package.json b/package.json index c6037f09..735bb244 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sharetribe-flex-sdk", - "version": "1.11.0", + "version": "1.12.0", "description": "Sharetribe Flex SDK for JavaScript", "main": "build/sharetribe-flex-sdk-node.js", "browser": "build/sharetribe-flex-sdk-web.js",