Skip to content

Releases: adopted-ember-addons/ember-metrics

Options Abound

🎉 The Big One Oh 🎉

13 Nov 14:28
Compare
Choose a tag to compare

For Real: One More Time

🧗‍♀️Send-tember is Here! 🧗‍♂️

11 Sep 13:29
35e0bf7
Compare
Choose a tag to compare

This aims to be the lacks version before 1.0.0.

Features

  • Add Amplitude adapter
    #235

Fix

  • Removed export of canUseDom
    #255

Changed

  • Refactor to native classes
    #253
  • Update Mix Panel
    #224

Summertime Vibes

15 Aug 16:31
a836587
Compare
Choose a tag to compare

Please see CHANGELOG.md for details.

[DEPRECATION-FIX] getOwner

08 Dec 00:24
Compare
Choose a tag to compare

This patch releases fixes a minor deprecation about the use of the container. Thanks to @rwjblue for assistance on this release.

[BUGFIX] Invalid default

02 Dec 00:34
Compare
Choose a tag to compare

This patch release fixes an issue where the addon would throw an error when it can't find config.metricsAdapters. Thanks to @jasonmit for the fix.

Ember 2.x Compatibility

27 Oct 16:38
Compare
Choose a tag to compare

This patch release fixes a deprecation warning in the metrics initializer. Thanks to @XrXr for this PR.

[ADAPTER] Segment.js

26 Oct 16:35
Compare
Choose a tag to compare

This release includes an adapter for Segment.js and minor fixes.

Changelog

[BREAKING] Environments and removal of link-to

05 Oct 17:10
Compare
Choose a tag to compare

This release is a breaking one – mainly, the augmented link-to component has been removed. You should track an event by sending an action instead.

A new feature addition is the ability to select which environments an adapter is activated against. By default, your adapter will be active in all environments. To specify which, simply add an environments property to your configuration:

module.exports = function(environment) {
  var ENV = {
    metricsAdapters: [
      {
        name: 'GoogleAnalytics',
        environments: ['development', 'production'],
        config: {
          id: 'UA-XXXX-Y'
        }
      },
      {
        name: 'Mixpanel',
        environments: ['production']
        config: {
          token: '0f76c037-4d76-4fce-8a0f-a9a8f89d1453'
        }
      },
      {
        name: 'LocalAdapter',
        environments: ['all'] // default, equivalent to ['development', 'test', 'production'],
        config: {
          foo: 'bar'
        }
      }
    ]
  }
}