v3.2.0
- Avoid overriding computed properties
- [INTERNAL] Update dev dependencies
v3.1.0
- Add new method
keen.trackAllPageViews()
(requires ember-source >= 3.6) - this replaces the current page view mixin - Deprecate the keen-track-pageview mixin
v3.0.0
- Make keen-fetch an optional service, as it otherwise lead to issues when using ember-keen without fetch
- If you're upgrading from 2.0.0, you'll need to run
ember g ember-keen
- This will generate the keen-fetch service for you in your app
- If you do not want to use fetch, you can safely delete the keen-fetch service
- If you're upgrading from 2.0.0, you'll need to run
v2.0.0
- Use ember-fetch instead of $.ajax
- Make sure to run
ember g ember-keen
after upgrading!
- Make sure to run
query
does not return a DS.PromiseObject anymore (but a plain promise that resolves with a POJO)- Config has been changed:
ENV.KEEN_PROJECT_ID
->ENV.keen.projectId
,ENV.KEEN_WRITE_KEY
->ENV.keen.writeKey
,ENV.KEEN_READ_KEY
->ENV.keen.readKey
. The old forms will still work as a fallback. - [INTERNAL] Update dependencies & clean up codebase
Private breaking changes - if you extended the service, these might affect you:
- Rename
_buildSendURL
to_buildWriteUrl
- Rename
_buildReadURL
to_buildReadUrl
_prepareEventData
now returns the merged data instead of mutating the given data_makeRequest
has a different parameter order:_makeRequest(url, data = {}, apiKey = null, extraOptions = {})
.- It uses an
keenFetch
service, which provides amakeRequest
,_getFetchOptions
and_getFetchUrl
method. - If you do not want to use ember-fetch, you can overwrite either the
keen-fetch
service or the_makeRequest
method on thekeen
service.
- It uses an
- We do not use the 'Authorization' header as that does not work with CORS & the Keen.io API. Instead, we append the api_key as query parameter.
v0.4.1
- Also track the previous page in keen-track-pageview mixin to allow tracking of user flow
v0.4.0
- Add query() method to get data from keen
- Add sendEventImmediately() method
- Deprecate usage of sendInstantly option on sendEvent
v0.3.1
- Add
crossDomain: true
to$.post
configuration
v0.3.0
- Remove ember-ajax dependency (use Ember.$.ajax instead)
- Fix CORS issues with Keen-API
v0.2.0
- Change
sendEvent
&sendEvents
methods to return true/false instead of a promise - Add
mergeData
property tokeen
service to allow easy addition of user/browser data to all events
v0.1.0
- Initial Release