UNPKG

keen-analysis

Version:

A JavaScript client for Keen.IO

123 lines (79 loc) 3.45 kB
<!-- <a name="{version}"></a> # {version} **FIXED:** **NEW:** **BREAKING:** **CHANGE:** --> <a name="2.1.0"></a> # Fetch API **NEW:** * Fetch API is now the default method of making requests. * Lighter Promise polyfill instead of Bluebird. * Ability to `.abort()` queries <a name="2.0.0"></a> **FIXED:** * Keen-Analysis.js is now a valid ES5 module (UMD) * Root.location.protocol bug is now fixed (ios/android emulators) (#22) <a name="1.3.2"></a> # 1.3.2 Fixes **FIXED:** * Updated Readme examples. <a name="1.3.1"></a> # 1.3.1 Fixes **FIXED:** * Successful delete responses (`204`s) are no longer handled as errors (#29). <a name="1.3.0"></a> # 1.3.0 Support for Cached Datasets **NEW:** * This patch installs `keen-core@0.2.0` and updates the `client.query()` method to support fetching results from Cached Datasets (#21). **FIXED:** * Syntax errors caused by a malformed JSON response are now caught properly (#22). * Successful delete responses (`204`s) are no longer handled as errors (#14). <a name="1.2.2"></a> # 1.2.2 Fix Resource Mapping **NEW:** * This patch installs `keen-core@0.1.2` and removes the internal `queries` resource mapping (now in keen-core) to fix an issue with prototype inheritance and state. <a name="1.2.1"></a> # 1.2.1 Global Namespace Fix (Pt2) **FIXED:** * This patch isolates global namespace definition and installs `keen-core@0.1.1` to fix an issue where prototype methods of other SDKs were blended into this SDK's prototype. <a name="1.2.0"></a> # 1.2.0 Global Namespace Fix **FIXED:** * This library will now coalesce into a shared global `Keen` namespace, rather than colliding and overwriting other modular SDKs. Check out [keen-core.js@0.1.0](https://github.com/keen/keen-core.js/blob/master/CHANGELOG.md#010-manage-modular-namespace) for details about this fix. <a name="1.1.0"></a> # 1.1.0 Support custom headers **New:** * A new `.headers()` method has been added to the request chain to set custom headers and update/remove default headers <a name="1.0.1"></a> # 1.0.1 Update to keen-core.js@0.0.3 **New:** * Minor update imports keen-core.js@0.0.3 with `Keen.ready(fn)` handler and an internal `domReady` function <a name="1.0.0"></a> # 1.0.0 Remove keen-tracking.js **Change:** * Important update: [keen-tracking.js](https://github.com/keen/keen-tracking.js) is no longer built into this SDK (#7). This is an intentional decision to prevent publicly hosted releases of this essential SDK from being blacklisted and blocked by AdBlockers. Learn more about installing keen-tracking.js [here](https://github.com/keen/keen-tracking.js#install-the-library). <a name="0.1.1"></a> # 0.1.1 Fix request handling **New:** * JSON module in `/lib/utils/serialize.js` is now properly defined (#4) * Request objects are not correctly constructed to resolve issue where stray `?api_key=` was added to basic GET requests (#5) <a name="0.1.0"></a> # 0.1.0 Bluebird **New:** * Internal promises are now handled by bluebird.js (core) * HTTP requests now support cancelation (via a `.cancel()` method) which can be called on active requests <a name="0.0.3"></a> # 0.0.3 Fixed query handling **FIXED:** * <client>.query() correctly requires two arguments, and appends "/result" to URLs when fetching the result of saved query resources. <a name="0.0.2"></a> # 0.0.2 Bower **NEW:** * Publish to bower <a name="0.0.1"></a> # 0.0.1 Hello, world! **NEW:** * [Everything](./README.md) :)