diff --git a/CHANGELOG b/CHANGELOG index 3733836e..db3657a5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,13 @@ +Version 2.1.0 (2024-02-21) +-------------------------- +Upgrade to mobile trackers version 6 and add screen engagement tracking (close #90) +Fix SelfDescribing extension type (close #204) +Update JavaScript tracker core version to 3.21.0 +Fix running deploy action only on new tags +Update cocoapods version +Lock yarn version to 1.22.19 +Update copyright headers + Version 2.0.0 (2023-09-29) -------------------------- Upgrade project structure and update native trackers to version 5 (#199) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 816acd26..600fa30a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -68,7 +68,7 @@ If your pull request is fairly chunky, there might be a non-trivial delay betwee ### Contributor license agreement We require outside contributors to sign a Contributor license agreement (or CLA) before we can merge their pull requests. -You can find more information on the topic in [the dedicated wiki page](https://github.com/snowplow/snowplow/wiki/CLA). +You can find more information on the topic in [the dedicated wiki page](https://docs.snowplow.io/docs/contributing/contributor-license-agreement/). The @snowplowcla bot will guide you through the process. ## Getting in touch @@ -77,4 +77,4 @@ The @snowplowcla bot will guide you through the process. Please do not log an issue if you are asking for support, all of our community support requests go through our Discourse forum: https://discourse.snowplowanalytics.com/. -Posting your problem there ensures more people will see it and you should get support faster than creating a new issue on GitHub. Please do create a new issue on GitHub if you think you've found a bug though! \ No newline at end of file +Posting your problem there ensures more people will see it and you should get support faster than creating a new issue on GitHub. Please do create a new issue on GitHub if you think you've found a bug though! diff --git a/android/src/main/java/com/snowplow/reactnativetracker/util/TrackerVersion.kt b/android/src/main/java/com/snowplow/reactnativetracker/util/TrackerVersion.kt index ae13ae3e..4a40db69 100644 --- a/android/src/main/java/com/snowplow/reactnativetracker/util/TrackerVersion.kt +++ b/android/src/main/java/com/snowplow/reactnativetracker/util/TrackerVersion.kt @@ -1,5 +1,5 @@ package com.snowplow.reactnativetracker.util object TrackerVersion { - const val RN_TRACKER_VERSION = "rn-2.0.0" + const val RN_TRACKER_VERSION = "rn-2.1.0" } diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 2ff5878e..aaeb56f2 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -487,7 +487,7 @@ PODS: - React-jsi (= 0.72.4) - React-logger (= 0.72.4) - React-perflogger (= 0.72.4) - - snowplow-react-native-tracker (2.0.0): + - snowplow-react-native-tracker (2.1.0): - RCT-Folly (= 2021.07.22.00) - React-Core - SnowplowTracker (~> 6.0) @@ -719,7 +719,7 @@ SPEC CHECKSUMS: React-runtimescheduler: 4941cc1b3cf08b792fbf666342c9fc95f1969035 React-utils: b79f2411931f9d3ea5781404dcbb2fa8a837e13a ReactCommon: 4b2bdcb50a3543e1c2b2849ad44533686610826d - snowplow-react-native-tracker: ddd61c4e8716d969cac41e1b24da1b8530754bf7 + snowplow-react-native-tracker: 609373a8a5e45b4b1fc42945763994180804969e SnowplowTracker: 6b19c331d5b765bda8b97b1c70ab52491524da60 SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 Yoga: 3efc43e0d48686ce2e8c60f99d4e6bd349aff981 diff --git a/ios/Util/TrackerVersion.swift b/ios/Util/TrackerVersion.swift index 50a90196..65a28e31 100644 --- a/ios/Util/TrackerVersion.swift +++ b/ios/Util/TrackerVersion.swift @@ -1,3 +1,3 @@ import Foundation -let kRNTrackerVersion = "rn-2.0.0" +let kRNTrackerVersion = "rn-2.1.0" diff --git a/package.json b/package.json index e588ac33..18b1ee24 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@snowplow/react-native-tracker", - "version": "2.0.0", + "version": "2.1.0", "description": "A library for tracking Snowplow events in React Native", "homepage": "https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/react-native-tracker/", "main": "lib/commonjs/index", diff --git a/src/jsCore.ts b/src/jsCore.ts index 88c8963a..c3a24b40 100644 --- a/src/jsCore.ts +++ b/src/jsCore.ts @@ -37,7 +37,7 @@ import { schemas } from './constants'; import { v4 as uuid } from 'uuid'; // Tracker version added to the events -const trackerVersion = 'rn-2.0.0'; +const trackerVersion = 'rn-2.1.0'; interface Tracker extends TrackerCore { setDomainUserId: (duid: string | undefined) => void; @@ -49,7 +49,7 @@ let trackers: { [namespace: string]: Tracker } = {}; function preparePayload(payload: Payload): Record { const stringifiedPayload: Record = {}; - payload['stm'] = new Date().getTime().toString(); + payload.stm = new Date().getTime().toString(); for (const key in payload) { if (Object.prototype.hasOwnProperty.call(payload, key)) {