Skip to content

Latest commit

 

History

History
342 lines (256 loc) · 13 KB

CHANGELOG.md

File metadata and controls

342 lines (256 loc) · 13 KB

Changelog

Version 4.2.5 (January 2nd, 2017)

  • Fix: Using Properties#putProducts was stored as an array instead of a list, and not serialized correctly. This caused it to be usable by Segment and server side integrations. If you're stuck on a previous version for some reason, you can manually store it as a list:
List<Product> products = new ArrayList<>();
products.add(new Product("foo", "bar", 10));
// add other products to this list.

Properties properties = new Properties();
properties.put("products", products);

Version 4.2.4 (November 14th, 2016)

  • Fix: Version 4.2.2 introduced a change where a default application wide cache was being installed for HTTPURLConnection requests. If you were not using an HTTP cache already or relying on this behaviour, this may have resulted in unintended caching behaviour for your application. This fix returns to the behaviour before 4.2.2, where this library does not install a cache. You may continue to choose to install an application level cache for HTTPURLConnection if you wish.

Version 4.2.3 (November 4th, 2016)

  • [Improvement]: Update CDN hostname from cdn.segment.com to cdn-settings.segment.com. This endpoint has been added to improve performance for mobile clients.

Version 4.2.2 (October 13th, 2016)

  • Fix: Rely on HTTP cache for caching settings responses. This fixes a regression introduced in version 4.1.4, where cached settings responses were not being used, and would always be fetched from the network.

Version 4.2.1 (October 7th, 2016)

  • Fix: Use Application Opened instead of Application Started.
  • Improvement: Update Google Play Services for Android wear module.

Version 4.2.0 (September 19th, 2016)

  • Improvement: Reduce synthetic accessor methods.
  • Fix: Handle null values in maps.
  • New: Add the ability for the SDK to natively report attribution information via Segment integrations enabled for your project, without needing to bundle their SDKs. Attribution information is sent as a track call as documented in the mobile lifecycle spec.
Analytics analytics = new Analytics.Builder(context, writeKey)
    .trackAttributionInformation()
    .build();

Version 4.1.6 (August 9th, 2016)

  • Improvement: Add more logging when collecting advertising ID.

Version 4.1.5 (July 10th, 2016)

  • Improvement: Add more protection against growing disk queue to over 2GB.

Version 4.1.4 (Jun 6th, 2016)

  • New: Add opt out method in the library. This will stop sending any events to all integrations for the device.
analytics.optOut(true);
  • Fix: Use Application Opened instead of Application Started.
  • Improvement: gzip HTTP request body.
  • Fix: Guard against possible ArrayIndexOutOfBoundsException.

Version 4.1.3 (May 31st, 2016)

  • Fix: Early Return when queue error occurs
  • Fix: Don't block user thread while waiting for advertising ID
  • Fix: Add Memory Fallback and be lenient about Queue Errors.

Version 4.1.2 (May 24th, 2016)

  • Fix: Wait for advertising ID to be ready before enqueuing events.
  • New: Instrument automatic screen tracking. Enable this during initialization.
Analytics analytics = new Analytics.Builder(context, writeKey)
    .recordScreenViews()
    .build();

Version 4.1.1 (May 10th, 2016)

  • Fix: Handling how advertising information is collected. Previously, if isLimitAdTracking was true, the library would incorrectly record it as adTrackingEnabled: true, when it should have been adTrackingEnabled: false. A server side fix has been deployed to automatically correct this. However, we still recommend customers update to the latest version.

Version 4.1.0 (May 9th, 2016)

  • New: Instrument automatic application lifecycle event tracking. Enable this during initialization.
Analytics analytics = new Analytics.Builder(context, writeKey)
    .trackApplicationLifecycleEvents()
    .build();
  • Fix: Dump raw QueueFile data to track #321.

Version 4.0.9 (Mar 29th, 2016)

  • Fix: Fix for possible race condition when mutating integration options on multiple threads.

Version 4.0.8 (Mar 15th, 2016)

  • Fix: Another update to Options handling, so that it can not override the tracking plan if an event is disabled.

Version 4.0.7 (Mar 14th, 2016)

  • Fix: Handle possible NPE introduced in 4.0.6.

Version 4.0.6 (Mar 14th, 2016)

  • Fix: Update Options handling so that it overrides the tracking plan.

Version 4.0.5 (Mar 10th, 2016)

  • Fix: Correctly disable events from being sent server side for bundled integrations.

Version 4.0.4 (Feb 4th, 2016)

  • New: Improve logging information for QueueFile.

Version 4.0.3 (Dec 29th, 2015)

  • Fix: Collect advertising ID based on whether the AdvertisingIdClient is available rather than GoogleAnalytics.

Version 4.0.2 (Dec 11th, 2015)

  • Fix: Actually fix NPE when device is offline duNring initialization.

Version 4.0.1 (Dec 7th, 2015)

  • Fix: NPE when device is offline during initialization.

Version 4.0.0 (Nov 24th, 2015)

  • Deprecates analytics-core artifact. This is now renamed into the analytics artifact.
  • Bundling integrations is now more explicit. It takes 2 steps:

Add the integration dependencies.

  compile('com.segment.analytics.android.integrations:google-analytics:1.0.0') {
    transitive = true
  }
  compile('io.branch.segment.analytics.android.integrations:library:1.0.0-RELEASE') {
    transitive = true
  }
  ...

Register them in your builder when you initialize the SDK.

Analytics analytics = new Analytics.Builder(context, writeKey)
  .use(GoogleAnalyticsIntegration.FACTORY)
  .use(BranchIntegration.FACTORY)
  ...
  .build();

Version 3.4.0 (Oct 20th, 2015)

  • Updating Amplitude SDK to 2.2.0

  • New Logging API for integrations

    • Integrations will log the exact method call made by them, which makes it easier to see exactly how a Segment call is translated for the end tool. Currently only done for a few tools (Mixpanel, Google Analytics, Flurry, Localytics), but will be added for more tools.
    • LogLevel.BASIC is now deprecated. Use LogLevel.DEBUG instead.
    • Logging behaviour with regards to bundled integrations has changed. See the JavaDocs for more details.
  • Update MoEngage SDK to 5.3.10

  • Fix bug with MoEngage integration when trying to track events outside of an activity.

Version 3.3.3 (Oct 10th, 2015)

  • Update Tapstream

Version 3.3.2 (Oct 7th, 2015)

  • Attribute that events are made from the Segment SDK to Kahuna.

Version 3.3.1 (Oct 6th, 2015)

  • Update Mixpanel SDK to 4.6.4
  • Update Amplitude SDK to 2.1.0

Version 3.3.0 (Oct 4th, 2015)

  • Send transaction data correctly to Google Analytics
  • Update Play Services dependencies to 8.1.0
  • Update Support Library dependency to 23.0.1

Version 3.2.1 (Sep 23rd, 2015)

  • updating Amplitude SDK to v2.0.4
  • update localytics version to 3.4.2
  • Updating MoEngage SDK version
  • Handle case when context.device is null

Version 3.2.0 (Sep 21st, 2015)

  • Use US ISO 8601 timestamps
  • Add 'collectDeviceId' Builder option. AnonymousId is used in place of device identifiers if enabled.
  • UXCam lib updated to v2.0.6

Version 3.1.8 (Sep 11th, 2015)

  • Add aliases for revenue keys
  • Send revenue to AppsFlyer if one is set
  • Improve GA integration, most notably - add support for custom dimensions and metrics
  • Fix toString implementation

Version 3.1.7 (Aug 27th, 2015)

  • Fix: Edge case when using Options.setIntegration(name, true) for a bundled integration would cause events to be sent twice, once server side and once client side.
  • Enhancement: Fail early if multiple conflicting Analytics instances are created. Two analytics instances will conflict if they have the same tag (which is automatically generated from the write key if it is not explicilty provided).
  • Enhancement: Update Amplitude SDK to 2.0.2
  • Enhancement: Update Kahuna SDK to 2.0.3
  • Enhancement: Update MoEngage SDK to 5.2.21
  • Enhancement: Fail early if messages are enqueued after shutting down an Analytics instance.
  • Fix: Race where activitiy lifecycle events would be delivered before initialization is complete.
  • Fix: Properly handle null in JSONObject.
  • Enhancement: Dump more output to address issues #263, #321, #309.

Version 3.1.6 (July 20th, 2015)

  • Feature: Add MoEngage integration

Version 3.1.5 (July 13th, 2015)

  • Feature: Add Apptimize Root integration
  • Enhancement: Track LTV with Localytics
  • Fix: Localytics ready callback
  • Enhancement: Add API to presize Properties and Traits

Version 3.1.4 (June 22, 2015)

  • Enhancement: Update Amplitude SDK
  • Enhancement: Update Apptimize SDK
  • Enhancement: Update Bugsnag SDK
  • Enhancement: Update Crittercism SDK
  • Enhancement: Update Flurry SDK
  • Enhancement: Update Google Analytics SDK
  • Enhancement: Update Leanplum SDK
  • Enhancement: Update Quantcast SDK
  • Enhancement: Update Tapstream SDK

Version 3.1.3 (May 27th, 2015)

  • Enhancement: Update Localytics SDK and integration with support for custom dimensions.

Version 3.1.2 (May 13th, 2015)

  • Fix: Track increment events for Mixpanel
  • Enhancement: Improved flushing behaviour. If you were manually setting a flushQueueSize, make sure it is under 250.
  • Enhancement: Update Leanplum SDK

Version 3.1.1 (May 11th, 2015)

  • Feature: Updated Kahuna Integration with E-Commerce Spec
  • Enhancement: Update Apptimize SDK
  • Enhancement: Update Amplitude SDK
  • Enhancement: Print full error messages for 400 Responses
  • Fix: NPE in Google Analytics Integration

Version 3.1.0 (April 21st, 2015)

  • Feature: Add reset method
  • Feature: Add Apptimize Integration
  • Feature: Add APIs to send custom options to integrations
  • Feature: Add ability to set a custom connection factory (Beta)
  • Fix: Attach JAR for core artifact
  • Enhancement: Update Crittercism Integration
  • Enhancement: Update Amplitude Integration
  • Fix: Send Kahuna quantity and revenue for track calls
  • Fix: Guard against negative file length in QueueFile. This is a potential fix for #172
  • Enhancement: Log when an event is created
  • Enhancement: Log when no integrations are enabled

Version 3.0.2 (March 20th, 2015)

  • Enhancement: Update Kahuna integration
  • Enhancement: Update payload limits
  • Enhancement: Fix some context fields

Version 3.0.1 (March 5th, 2015)

  • Fix: AAR packaging for error 'module depends on libraries but is not a library itself'
  • Fix: Potential NPE for disabled integrations
  • Fix: Correctly forward createdAt to Mixpanel
  • Fix: Callback for Quantcast integration
  • Fix: Update Taplytics dependency
  • Enhancement: Collect context data as per our spec
  • Enhancement: Update Flurry dependency
  • Enhancement: Support increment events for Mixpanel

Version 3.0.0 (Feb 24th, 2015)

  • Feature: Add support for Tracking Plan
  • Feature: Add API's to pass in executors for network calls
  • Feature: New type safe integration callback API
  • Feature: Add API's to control logging behaviour for bundled integrations
  • Enhancement: Remove integration adapters from analytics-core module
  • Enhancement: Update Leanplum dependency
  • Enhancement: Update Mixpanel dependency
  • Fix: Correctly convert special traits for Mixpanel
  • Fix: Alias method implementation and docs