Skip to content

Commit

Permalink
Merge pull request #1915 from DataDog/xgouchet/merge_develop
Browse files Browse the repository at this point in the history
Merge develop
  • Loading branch information
xgouchet authored Mar 18, 2024
2 parents dec970a + 7b32a80 commit df4c3ca
Show file tree
Hide file tree
Showing 160 changed files with 6,100 additions and 1,387 deletions.
95 changes: 95 additions & 0 deletions .github/ISSUE_TEMPLATE/BugReport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Bug Report
description: Is the SDK not working as expected? Help us improve by submitting a bug report.
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Ensure you go through our [troubleshooting](https://docs.datadoghq.com/real_user_monitoring/mobile_and_tv_monitoring/troubleshooting/#debugging) page before creating a new issue.
Before getting started, if the problem is urgent or easier to investigate with access to your organization's data please use our [official support channel](https://www.datadoghq.com/support/).
- type: textarea
id: description
attributes:
label: Describe the bug
description: Provide a clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproduction steps
description: |
Provide a self-contained piece of code demonstrating the bug.
For a more complex setup consider creating a small app that showcases the problem.
**Note** - Avoid sharing any business logic, credentials or tokens.
validations:
required: true
- type: textarea
id: logs
attributes:
label: Logcat logs
description: |
Please provide Logcat logs before, during and after the bug occurs.
validations:
required: false
- type: textarea
id: expected_behavior
attributes:
label: Expected behavior
description: Provide a clear and concise description of what you expected the SDK to do.
validations:
required: false
- type: input
id: affected_sdk_versions
attributes:
label: Affected SDK versions
description: What are the SDK versions you're seeing this bug in?
validations:
required: true
- type: input
id: last_working_sdk_version
attributes:
label: Latest working SDK version
description: What was the last SDK version that was working as expected?
validations:
required: true
- type: dropdown
id: checked_lastest_sdk
attributes:
label: Did you confirm if the latest SDK version fixes the bug?
options:
- 'Yes'
- 'No'
validations:
required: true
- type: input
id: kotlin_java_version
attributes:
label: Kotlin / Java version
- type: input
id: gradle_version
attributes:
label: Gradle / AGP version
- type: textarea
id: dependencies
attributes:
label: Other dependencies versions
description: |
Relevant third party dependency versions.
e.g. okhttp 4.11.0
- type: textarea
id: device_info
attributes:
label: Device Information
description: |
What are the common characteristics of devices you're seeing this bug in.
Specific models, OS versions, network state (wifi / cellular / offline), power state (plugged in / battery), etc.
validations:
required: false
- type: textarea
id: other_info
attributes:
label: Other relevant information
description: |
Other relevant information such as additional tooling in place, proxies, etc.
Anything that might be relevant for troubleshooting this bug.
85 changes: 85 additions & 0 deletions .github/ISSUE_TEMPLATE/CrashReport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: Crash Report
description: Report crashes caused by the SDK.
labels: ["crash"]
body:
- type: markdown
attributes:
value: |
Report crashes caused by the SDK. Please try to be as detailed as possible.
Before getting started, if the problem is urgent please use our [official support channel](https://www.datadoghq.com/support/).
- type: textarea
id: stacktrace
attributes:
label: Stack trace
description: Please provide us with the stack trace of the crash or a crash report.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproduction steps
description: |
Provide a self-contained piece of code demonstrating the crash if you can.
For a more complex setup consider creating a small app that showcases the problem.
**Note** - Avoid sharing any business logic, credentials or tokens.
validations:
required: false
- type: input
id: volume
attributes:
label: Volume
description: What percentage of your app sessions are impacted with this crash?
validations:
required: true
- type: input
id: affected_sdk_versions
attributes:
label: Affected SDK versions
description: What are the SDK versions you're seeing this crash in?
validations:
required: true
- type: input
id: last_working_sdk_version
attributes:
label: Latest working SDK version
description: If you know, what was the last SDK version where the crash did manifest itself?
validations:
required: true
- type: dropdown
id: checked_lastest_sdk
attributes:
label: Does the crash manifest in the latest SDK version?
options:
- 'Yes'
- 'No'
validations:
required: true
- type: input
id: kotlin_java_version
attributes:
label: Kotlin / Java version
- type: input
id: gradle_version
attributes:
label: Gradle / AGP version
- type: textarea
id: dependencies
attributes:
label: Other dependencies versions
description: |
Relevant third party dependency versions.
e.g. okhttp 4.11.0
- type: textarea
id: device_info
attributes:
label: Device Information
description: |
What are the common characteristics of devices you're seeing this crash in?
Specific models, OS versions, etc.
validations:
required: false
- type: textarea
id: other_info
attributes:
label: Other relevant information
description: Anything that might be relevant to pinpoint the source of the crash.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/FeatureRequest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Feature Request
description: Have an idea or need a new feature? Request it here.
labels: ["enhancement"]
body:
- type: textarea
id: description
attributes:
label: Feature description
description: |
Provide a description for the feature request. Please include:
1. Use case
2. How the SDK currently delivers (or doesn't)
3. What would you like to see
validations:
required: true
- type: textarea
id: proposed_solution
attributes:
label: Proposed solution
description: |
How would you implement this?
Propose an idea, solution or reference implementation.
validations:
required: false
- type: textarea
id: other_info
attributes:
label: Other relevant information
description: Any other relevant information you'd like we take into consideration.
validations:
required: false

10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/Question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Question
description: Do you just have a question about the SDK or a product? Ask here.
labels: ["question"]
body:
- type: textarea
id: question
attributes:
label: Question
validations:
required: true
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/SetupIssue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Setup Issue
description: Having a hard time setting up the SDK for the first time? Maybe a compilation issue or just nothing seems to be happening. Seek help with this.
labels: ["setup"]
body:
- type: markdown
attributes:
value: |
Before creating an issue, please ensure you go through the [troubleshooting page](https://docs.datadoghq.com/real_user_monitoring/mobile_and_tv_monitoring/troubleshooting/#debugging).
- type: textarea
id: issue
attributes:
label: Describe the issue
description: Provide a clear and concise description of the issue. Include compilation logs and SDK debug logs if relevant.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproduction steps
description: |
Provide a self-contained piece of code demonstrating the issue.
For a more complex setup consider creating a small app that showcases the problem.
**Note** - Avoid sharing any business logic, credentials or tokens.
validations:
required: true
- type: textarea
id: device_info
attributes:
label: Device Information
description: |
What are the common characteristics of devices you're seeing this issue in?
Simulators, specific models, OS versions, network state (wifi / cellular / offline), power state (plugged in / battery), etc.
validations:
required: false
- type: input
id: sdk_version
attributes:
label: SDK version
description: Which SDK version are you trying to use?
validations:
required: true
- type: input
id: kotlin_java_version
attributes:
label: Kotlin / Java version
- type: input
id: gradle_version
attributes:
label: Gradle / AGP version
- type: textarea
id: dependencies
attributes:
label: Other dependencies versions
description: |
Relevant third party dependency versions.
e.g. okhttp 4.11.0
- type: textarea
id: other_info
attributes:
label: Other relevant information
description: |
Other relevant information such as additional tooling in place, proxies, etc.
Anything that might be relevant for troubleshooting your setup.
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# 2.6.2 / 2024-02-23

* [BUGFIX] RUM: Fix crash in frame rate vital detection. See [#1872](https://github.com/DataDog/dd-sdk-android/pull/1872)

# 2.6.1 / 2024-02-21

* [BUGFIX] RUM: Fix missing source in telemetry json schema. See [#1865](https://github.com/DataDog/dd-sdk-android/pull/1865)
* [MAINTENANCE] RUM: Remove stale json schema file. See [#1866](https://github.com/DataDog/dd-sdk-android/pull/1866)

# 2.6.0 / 2024-02-19

* [FEATURE] RUM\Logs: Report all threads in case of crash. See [#1848](https://github.com/DataDog/dd-sdk-android/pull/1848)
* [BUGFIX] RUM: Make a copy of attributes before passing them to RUM event. See [#1830](https://github.com/DataDog/dd-sdk-android/pull/1830)
* [BUGFIX] Session Replay: Add traversal flag to snapshot items. See [#1837](https://github.com/DataDog/dd-sdk-android/pull/1837)
* [BUGFIX] Drop batch telemetry where duration or age have negative values. See [#1850](https://github.com/DataDog/dd-sdk-android/pull/1850)
* [BUGFIX] RUM: Do not update RUM View global properties after the view is stopped. See [#1851](https://github.com/DataDog/dd-sdk-android/pull/1851)
* [IMPROVEMENT] RUM: Improve vital support for higher refresh rate devices. See [#1806](https://github.com/DataDog/dd-sdk-android/pull/1806)
* [IMPROVEMENT] RUM: Add more HTTP methods to RUM. See [#1826](https://github.com/DataDog/dd-sdk-android/pull/1826)
* [IMPROVEMENT] RUM: Start session when RUM is initialized. See [#1832](https://github.com/DataDog/dd-sdk-android/pull/1832)
* [IMPROVEMENT] RUM: Add new error source types to RUM schema. See [#1855](https://github.com/DataDog/dd-sdk-android/pull/1855)
* [IMPROVEMENT] RUM: Set `source_type` on native crashes to `ndk`. See [#1856](https://github.com/DataDog/dd-sdk-android/pull/1856)
* [MAINTENANCE] Next dev iteration 2.6.0. See [#1823](https://github.com/DataDog/dd-sdk-android/pull/1823)
* [MAINTENANCE] Merge `release/2.5.0` branch into `develop` branch. See [#1825](https://github.com/DataDog/dd-sdk-android/pull/1825)
* [MAINTENANCE] Update RUM Schema. See [#1828](https://github.com/DataDog/dd-sdk-android/pull/1828)
* [MAINTENANCE] Merge 2.5.1 into develop. See [#1842](https://github.com/DataDog/dd-sdk-android/pull/1842)
* [MAINTENANCE] Introduce github issue forms. See [#1852](https://github.com/DataDog/dd-sdk-android/pull/1852)

# 2.5.1 / 2024-01-24

* [BUGFIX] RUM: Prevent crash due to concurrent modification of custom attributes. See [#1838](https://github.com/DataDog/dd-sdk-android/pull/1838)
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ First of all, thanks for contributing!
This document provides some basic guidelines for contributing to this repository.
To propose improvements, feel free to submit a PR or open an Issue.

**Note:** Datadog requires that all commits within this repository must be signed, including those within external contribution PRs. Please ensure you have followed GitHub's [Signing Commits](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) guide before proposing a contribution. PRs lacking signed commits will not be processed and may be rejected.

## Setup your developer Environment

To setup your environment, make sure you installed [Android Studio](https://developer.android.com/studio).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ object AndroidConfig {
const val MIN_SDK_FOR_WEAR = 23
const val BUILD_TOOLS_VERSION = "34.0.0"

val VERSION = Version(2, 6, 0, Version.Type.Snapshot)
val VERSION = Version(2, 7, 0, Version.Type.Snapshot)
}

// TODO RUM-628 Switch to Java 17 bytecode
Expand Down
Loading

0 comments on commit df4c3ca

Please sign in to comment.