FIXED:
- This update fixes #66, where server usage of
recordEvents()
includes a trailing slash, resulting in aResourceNotFoundError
error.
NEW:
- This patch installs
keen-core@0.1.2
and removes the internalevents
resource mapping (now in keen-core) to fix an issue with prototype inheritance and state.
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.
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 for details about this fix.
FIXED:
- Minor update imports keen-core.js@0.0.3 with
Keen.ready(fn)
handler and an internaldomReady
function (previously part of this library, last bit of functionality to port over to keen-core.js)
CHANGED:
- Cookie values that are strings or JSON can be successfully retreived using the same
.get
function form theKeen.utils.cookie
module. The.get
function now intelligently decides whether to return a Javascript object or a simple string value.
FIXED:
- Event properties with
undefined
values no longer throw an error when used withKeen.utils.extend
.
NEW:
- Move core client functionality to keen-core.js (PR #40).
BREAKING:
- Replaced cookies-js with js-cookie. Cookies are now encoded properly, but will require a workaround (covered here) to fix previous cookie data.
- Removed
client.writePath()
method andwritePath
config option in favor of internal resource mapping and theclient.resources()
method.
CHANGE:
- Publish to bower
CHANGE:
- Reworked
.url()
method to use resource templates, with an internal collection that makes specific API URLS easy to request and customize.
FIXED:
- Define noop func when no callback is provided (fixes #34)
FIXED:
- Fix reference to proper lib file for server usage (#32)
NEW:
- Upgrade internal JSON dep to JSON3 (#33)
FIXED:
- Each
Keen.utils.cookie
instance now returnsnull
for single undefined properties (#30)
NEW:
- Each
Keen.utils.cookie
instance now has an.enabled()
method that returnstrue
orfalse
NEW:
- Synchronous XHR option (#28, ported from keen-js)
BREAKING:
.recordEvent
XHR calls now use POST, mirroring previous keen-js functionality (#27).client.url()
: The previous keen-js implementation ofclient.url()
automatically includedhttps://api.keen.io/3.0/projects/PROJECT_ID
+ apath
argument ('/events/whatever'), which severely limited its value. It now only returnshttps://api.keen.io
+ the path argument.
NEW:
- Everything :)