Skip to content

Commit

Permalink
Merge pull request #604 from DataDog/louiszawadzki/release-2.1.0
Browse files Browse the repository at this point in the history
Bump to version 2.1.0
  • Loading branch information
louiszawadzki authored Feb 5, 2024
2 parents e2aae39 + 7dae301 commit d1503f2
Show file tree
Hide file tree
Showing 41 changed files with 183 additions and 25 deletions.
4 changes: 2 additions & 2 deletions example-new-architecture/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PODS:
- DatadogInternal (= 2.6.0)
- DatadogRUM (2.6.0):
- DatadogInternal (= 2.6.0)
- DatadogSDKReactNative (2.0.4):
- DatadogSDKReactNative (2.1.0):
- DatadogCore (~> 2.6.0)
- DatadogCrashReporting (~> 2.6.0)
- DatadogLogs (~> 2.6.0)
Expand Down Expand Up @@ -964,7 +964,7 @@ SPEC CHECKSUMS:
DatadogInternal: 6febbce547fac204638f2ef5fe53cea49d05215b
DatadogLogs: 23905c3f91c8c3c9ab3bd0f00ec5c070fccafa36
DatadogRUM: 691819a9d5fc1924f783af6ad6eb609e5ab35e72
DatadogSDKReactNative: 6938d628a1323a48bf71fe59126cdd88a34d0adf
DatadogSDKReactNative: 1ea4d336a516e40a47f98cd09fdc5466d31bceac
DatadogTrace: e099ae8cab89bd01575809a93acdc3f69b599cbe
DatadogWebViewTracking: d1c6e9b349444d8996380dd0545bdb3abd620302
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
Expand Down
12 changes: 6 additions & 6 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ PODS:
- DatadogInternal (= 2.6.0)
- DatadogRUM (2.6.0):
- DatadogInternal (= 2.6.0)
- DatadogSDKReactNative (2.0.4):
- DatadogSDKReactNative (2.1.0):
- DatadogCore (~> 2.6.0)
- DatadogCrashReporting (~> 2.6.0)
- DatadogLogs (~> 2.6.0)
- DatadogRUM (~> 2.6.0)
- DatadogTrace (~> 2.6.0)
- DatadogWebViewTracking (~> 2.6.0)
- React-Core
- DatadogSDKReactNative/Tests (2.0.4):
- DatadogSDKReactNative/Tests (2.1.0):
- DatadogCore (~> 2.6.0)
- DatadogCrashReporting (~> 2.6.0)
- DatadogLogs (~> 2.6.0)
- DatadogRUM (~> 2.6.0)
- DatadogTrace (~> 2.6.0)
- DatadogWebViewTracking (~> 2.6.0)
- React-Core
- DatadogSDKReactNativeSessionReplay (2.0.4-alpha.0):
- DatadogSDKReactNativeSessionReplay (2.1.0):
- DatadogSessionReplay (~> 2.6.0)
- React-Core
- DatadogSDKReactNativeSessionReplay/Tests (2.0.4-alpha.0):
- DatadogSDKReactNativeSessionReplay/Tests (2.1.0):
- DatadogSessionReplay (~> 2.6.0)
- React-Core
- React-RCTText
Expand Down Expand Up @@ -575,8 +575,8 @@ SPEC CHECKSUMS:
DatadogInternal: 6febbce547fac204638f2ef5fe53cea49d05215b
DatadogLogs: 23905c3f91c8c3c9ab3bd0f00ec5c070fccafa36
DatadogRUM: 691819a9d5fc1924f783af6ad6eb609e5ab35e72
DatadogSDKReactNative: 6975bf3b5127f99de6ed837f1151883283bd633a
DatadogSDKReactNativeSessionReplay: 050dca3199efa728bf124ec400cd61c332496321
DatadogSDKReactNative: 9373d9f7731946436c23d6cb9f8ad3924a8cf159
DatadogSDKReactNativeSessionReplay: a73a0e7bed8a49a117d8667ed6cd8d1926e68ea6
DatadogSessionReplay: 0198de603c4d7d0755d61f33f13855b9743586af
DatadogTrace: e099ae8cab89bd01575809a93acdc3f69b599cbe
DatadogWebViewTracking: d1c6e9b349444d8996380dd0545bdb3abd620302
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"npmClient": "yarn",
"version": "2.0.4",
"version": "2.1.0",
"packages": [
"packages/*"
],
Expand Down
4 changes: 2 additions & 2 deletions packages/codepush/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datadog/mobile-react-native-code-push",
"version": "2.0.4",
"version": "2.1.0",
"description": "A client-side React Native module to interact with Appcenter Codepush and Datadog",
"keywords": [
"datadog",
Expand Down Expand Up @@ -38,7 +38,7 @@
"prepare": "rm -rf lib && yarn bob build"
},
"devDependencies": {
"@datadog/mobile-react-native": "^2.0.4",
"@datadog/mobile-react-native": "^2.1.0",
"@testing-library/react-native": "7.0.2",
"react-native-builder-bob": "0.17.1",
"react-native-code-push": "7.0.5"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datadog/mobile-react-native",
"version": "2.0.4",
"version": "2.1.0",
"description": "A client-side React Native module to interact with Datadog",
"keywords": [
"datadog",
Expand Down
2 changes: 2 additions & 0 deletions packages/core/release-content.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ package/android/src/test/kotlin/com/datadog/tools/unit/GenericAssert.kt
package/android/src/test/kotlin/com/datadog/tools/unit/MapExt.kt
package/android/src/test/kotlin/com/datadog/tools/unit/MockRumMonitor.kt
package/android/src/test/kotlin/com/datadog/tools/unit/ReflectUtils.kt
package/android/src/test/kotlin/com/datadog/tools/unit/RemoveFinalModifierJava.java
package/android/src/test/kotlin/com/datadog/tools/unit/forge/ActionEventForgeryFactory.kt
package/android/src/test/kotlin/com/datadog/tools/unit/forge/BaseConfigurator.kt
package/android/src/test/kotlin/com/datadog/tools/unit/forge/DdSdkConfigurationForgeryFactory.kt
Expand All @@ -52,6 +53,7 @@ package/ios/DdSdkReactNative.xcodeproj/project.xcworkspace/contents.xcworkspaced
package/ios/Sources/AnyEncodable.swift
package/ios/Sources/Attributes.swift
package/ios/Sources/DatadogSDKReactNative.h
package/ios/Sources/DatadogSDKWrapper.swift
package/ios/Sources/DdLogs.h
package/ios/Sources/DdLogs.mm
package/ios/Sources/DdLogsImplementation.swift
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// generated by genversion
export const version = '2.0.4';
export const version = '2.1.0';
2 changes: 1 addition & 1 deletion packages/internal-testing-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datadog/react-native-internal-testing-tools",
"version": "2.0.2",
"version": "2.1.0",
"description": "Internal tools for testing the Datadog React Native SDK.",
"keywords": [
"datadog",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import { buildLogsAssertions } from '../logs';

const generateLogsAssertions = (length: number) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import { buildTraceAssertions } from '../trace';

const generateTraceAssertions = (length: number) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { DDEvent } from '../types/events';

export class AssertionError extends Error {
Expand Down
6 changes: 6 additions & 0 deletions packages/internal-testing-tools/src/assertions/logs.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { LogEvent } from '../types/events';

import { AssertionError } from './assertionError';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { RumActionEvent } from 'rum-events-format';

export const mockRumAction = ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { RumErrorEvent } from 'rum-events-format';

export const mockRumError = ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { RumLongTaskEvent } from 'rum-events-format';

export const mockRumLongTask = ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { RumResourceEvent } from 'rum-events-format';

export const mockRumResource = ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { RumViewEvent } from 'rum-events-format';

export const mockRumView = ({ name }: { name?: string }): RumViewEvent => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import { buildRumActionAssertions } from '../actions';

import { mockRumAction } from './__utils__/actions.mock';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import { buildRumErrorAssertions } from '../errors';

import { mockRumError } from './__utils__/errors.mock';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import { buildRumLongTaskAssertions } from '../longTasks';

import { mockRumLongTask } from './__utils__/longTasks.mock';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import { buildRumResourceAssertions } from '../resource';

import { mockRumResource } from './__utils__/resources.mock';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import { buildRumViewAssertions } from '../view';

import { mockRumView } from './__utils__/views.mock';
Expand Down
6 changes: 6 additions & 0 deletions packages/internal-testing-tools/src/assertions/rum/actions.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { RumActionEvent } from 'rum-events-format';

import { AssertionError } from '../assertionError';
Expand Down
6 changes: 6 additions & 0 deletions packages/internal-testing-tools/src/assertions/rum/errors.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { RumErrorEvent } from 'rum-events-format';

import { AssertionError } from '../assertionError';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { RumLongTaskEvent } from 'rum-events-format';

import { AssertionError } from '../assertionError';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { RumResourceEvent } from 'rum-events-format';

import { AssertionError } from '../assertionError';
Expand Down
6 changes: 6 additions & 0 deletions packages/internal-testing-tools/src/assertions/rum/rum.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type {
RumActionEvent,
RumErrorEvent,
Expand Down
6 changes: 6 additions & 0 deletions packages/internal-testing-tools/src/assertions/rum/view.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { RumViewEvent } from 'rum-events-format';

import { AssertionError } from '../assertionError';
Expand Down
6 changes: 6 additions & 0 deletions packages/internal-testing-tools/src/assertions/trace.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type { TraceEvent } from '../types/events';

import { AssertionError } from './assertionError';
Expand Down
6 changes: 6 additions & 0 deletions packages/internal-testing-tools/src/report/Report.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type {
Assertion,
AssertionResult,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import { Report } from '../Report';

const mockAssertions = {
Expand Down
6 changes: 6 additions & 0 deletions packages/internal-testing-tools/src/types/events.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import type {
RumActionEvent,
RumViewEvent,
Expand Down
6 changes: 6 additions & 0 deletions packages/internal-testing-tools/src/types/report.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

export type AssertionResult = SuccessfulAssertion | FailedAssertion;

type SuccessfulAssertion = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/

import { base64 } from '../base64';

describe('base64', () => {
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion packages/react-native-apollo-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datadog/mobile-react-native-apollo-client",
"version": "2.0.4",
"version": "2.1.0",
"description": "A client-side React Native module to interact with Apollo Client and Datadog",
"keywords": [
"datadog",
Expand Down
Loading

0 comments on commit d1503f2

Please sign in to comment.