Skip to content

Latest commit

 

History

History
122 lines (79 loc) · 3.37 KB

CHANGELOG.md

File metadata and controls

122 lines (79 loc) · 3.37 KB

Fetch API

NEW:

  • Fetch API is now the default method of making requests.
  • Lighter Promise polyfill instead of Bluebird.
  • Ability to .abort() queries

FIXED:

  • Keen-Analysis.js is now a valid ES5 module (UMD)
  • Root.location.protocol bug is now fixed (ios/android emulators) (#22)

1.3.2 Fixes

FIXED:

  • Updated Readme examples.

1.3.1 Fixes

FIXED:

  • Successful delete responses (204s) are no longer handled as errors (#29).

1.3.0 Support for Cached Datasets

NEW:

  • This patch installs [email protected] 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 (204s) are no longer handled as errors (#14).

1.2.2 Fix Resource Mapping

NEW:

  • This patch installs [email protected] and removes the internal queries resource mapping (now in keen-core) to fix an issue with prototype inheritance and state.

1.2.1 Global Namespace Fix (Pt2)

FIXED:

  • This patch isolates global namespace definition and installs [email protected] to fix an issue where prototype methods of other SDKs were blended into this SDK's prototype.

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 [email protected] for details about this fix.

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

1.0.1 Update to [email protected]

New:

  • Minor update imports [email protected] with Keen.ready(fn) handler and an internal domReady function

1.0.0 Remove keen-tracking.js

Change:

  • Important update: 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.

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)

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

0.0.3 Fixed query handling

FIXED:

  • .query() correctly requires two arguments, and appends "/result" to URLs when fetching the result of saved query resources.

0.0.2 Bower

NEW:

  • Publish to bower

0.0.1 Hello, world!

NEW: