Skip to content

Commit

Permalink
Prepare for 2.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
matus-tomlein committed Feb 26, 2024
1 parent 1c34b7f commit 499404a
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 9 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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!
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!
Original file line number Diff line number Diff line change
@@ -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"
}
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ios/Util/TrackerVersion.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import Foundation

let kRNTrackerVersion = "rn-2.0.0"
let kRNTrackerVersion = "rn-2.1.0"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/jsCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -49,7 +49,7 @@ let trackers: { [namespace: string]: Tracker } = {};
function preparePayload(payload: Payload): Record<string, string> {
const stringifiedPayload: Record<string, string> = {};

payload['stm'] = new Date().getTime().toString();
payload.stm = new Date().getTime().toString();

for (const key in payload) {
if (Object.prototype.hasOwnProperty.call(payload, key)) {
Expand Down

0 comments on commit 499404a

Please sign in to comment.