Skip to content

Latest commit

 

History

History
174 lines (128 loc) · 6.59 KB

CHANGELOG.md

File metadata and controls

174 lines (128 loc) · 6.59 KB

Change Log

Version 2.7.13 (26th April, 2023)

  • Bumped Firebase to version 10.6.0

Version 2.7.12 (30th November, 2022)

  • Bumped Firebase to version 10.2.0

Version 2.7.11 (24th June, 2022)

  • Bumped Firebase to version 9.6.0

Version 2.7.10 (24th June, 2022)

  • Bumped Firebase to version 9.2+

Version 2.7.9 (21st January, 2022)

  • Fix compilation issue w/ SPM.
  • Updated releasing.md to include steps for posting SPM releases.

Version 2.7.8 (14th October, 2021)

  • Bumped Firebase to version 8.7+

Version 2.7.7 (24th May, 2021)

  • Fix incorrect array being used for recursive mapping.

Version 2.7.6 (18th May, 2021)

  • Use headers instead of module names to address react-native issue.

Version 2.7.5 (18th May, 2021)

  • Revert temporary fix for React Native issue.

Version 2.7.4 (17th May, 2021)

  • Temporary fix for React Native issue.

Version 2.7.3 (7th May, 2021)

  • Make Firebase key mapping recursive.
  • Added Swift Package Manager support.

Version 2.7.2 (5th March, 2021)

  • Map "order completed" to purchase instead of deprecated ecommerce_purchase.

Version 2.7.1 (5th March, 2021)

  • Updated Firebase SDK to the latest (7.7.x).
  • Fixed issue w/ screen names not being captured.
  • Added mapping for "products"->"items".

Version 2.7.0 (7th October, 2020)

  • Updates import headers for iOS 14 support.

Version 2.6.1 (21st April, 2020)

  • Adds support for mapping - to _ in props and event names.

Version 2.6.0 (12th February, 2020)

  • Adds support for calling screen calls explicitly.

Version 2.5.0 (9th September, 2019)

  • Updates to use the latest Firebase/Core SDK (6.2)
  • Adds FirebaseAnalytics (6.1) as dependency as Firebase is migrating away from FirebaseCore
  • Transforms event and property names to ^[a-zA-Z0-9_]+$
  • Fixes crash when Firebase SDK is instantiated multiple times by not configuring the FIRApp if already done
  • Adds CircleCI config

Version 2.4.1 (28th August, 2019)

  • Add mapping of Segment "Promotion Viewed" event to Firebase kFIREventPresentOffer event.

Version 2.4.0 (26th September, 2018)

(Supports analytics-ios 3.2.+ and Firebase 5.0+)

  • Enhancement: Upgrade from Firebase 4 to Firebase 5 to support Crashlytics.

Version 2.3.0 (4th July, 2018)

(Supports analytics-ios 3.2.+ and Firebase 4.0+)

  • Enhancement: Fix issues related to use_frameworks! and transitive static libraries
Transitioning from static library workarounds

If you are using use_frameworks! and workarounds you may need to follow extra-steps :

  1. Make sure you are using CocoaPods 1.4+
    $ pod --version
    1.5.3
  2. The StaticLibWorkaround subspec has been removed, use the default subspec instead
  3. Remove references to the pod source files from your Xcode target if any
  4. Remove any remaining workarounds (e.g. post_install hooks)
  5. (optional) if you don't directly depend on Firebase you don't need to explicit depend on it anymore
Example
  • Before

    use_frameworks!
    
    pod 'Analytics'
    
    pod 'Segment-Firebase/StaticLibWorkaround'
    pod 'Firebase/Core'
    
    post_install do |installer|
        installer.pods_project.targets.each do |target|
            target.build_configurations.each do |config|
                if config.build_settings['PRODUCT_NAME'] == 'Segment_Firebase'
                    # ...
                end
            end
        end
    end
  • After

    use_frameworks!
    
    pod 'Analytics'
    pod 'Segment-Firebase'

Version 2.2.0 (2nd April, 2018)

(Supports analytics-ios 3.2.+ and Firebase 4.0+)

  • New: Adds Static Library Workaround subspec to assist with the Cocoapods static library/framework issue. The limitation occurs when an application is built in Swift, you are including use_frameworks! in your podfile, and are using a transitive dependency that is provided as a static library or framework. More here.

Version 2.1.0 (27th February, 2018)

(Supports analytics-ios 3.2.+ and Firebase 4.0+)

  • Fix: Bug was replacing spaces with underscores for each value. Firebase shows that trait/property names should have underscores, but not the values. This will break current users implementations if they are expecting the values to have underscores.

Version 2.0.0 (11th September, 2017)

(Supports analytics-ios 3.2.+ and Firebase 4.0+)

  • Update:Bumps to 4.0. Removes deprecated pod appIndexing in subspec.
  • Fix: Crash when passing a non NSString value through traits on identify.
  • Fix: Mapping to Firebase logEvent and reserved Params and Constants.

Version 1.0.0 (2nd August, 2016)

(Supports analytics-ios 3.2.+ and Firebase 3.3.+)

Initial stable release.

Version 1.0.0-alpha (2nd August, 2016)

(Supports analytics-ios 3.2.+ and Firebase 3.3.+)

Initial alpha release.