Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge release/1.13.0 to develop #1042

Merged
merged 6 commits into from
Nov 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Unreleased

- [IMPROVEMENT] Add a method to add properties to user info without needing to reset other user info..
# 1.13.0 / 08-11-2022

- [IMPROVEMENT] Improve console logs when using `DDNoopRUMMonitor`. See [#1007][] (Thanks [@dfed][])
- [IMPROVEMENT] Add public API to control tracking of frustrations signals. See [#1013][]
- [IMPROVEMENT] Send trace sample rate (`dd.rulePsr`) for APM's traffic ingestion control page. See [#1029][]
- [IMPROVEMENT] Add a method to add user info properties. See [#1031][]
- [BUGFIX] Fix vitals default presets. See [#1043][]

# 1.12.1 / 18-10-2022

Expand Down Expand Up @@ -399,7 +404,11 @@
[#964]: https://github.com/DataDog/dd-sdk-ios/issues/964
[#973]: https://github.com/DataDog/dd-sdk-ios/issues/973
[#997]: https://github.com/DataDog/dd-sdk-ios/issues/997
[#1007]: https://github.com/DataDog/dd-sdk-ios/issues/1007
[#1013]: https://github.com/DataDog/dd-sdk-ios/issues/1013
[#1029]: https://github.com/DataDog/dd-sdk-ios/issues/1029
[#1031]: https://github.com/DataDog/dd-sdk-ios/issues/1031
[#1043]: https://github.com/DataDog/dd-sdk-ios/issues/1043
[@00fa9a]: https://github.com/00FA9A
[@britton-earnin]: https://github.com/Britton-Earnin
[@hengyu]: https://github.com/Hengyu
Expand All @@ -425,3 +434,4 @@
[@safa-ads]: https://github.com/safa-ads
[@sdejesusf]: https://github.com/sdejesusF
[@avdlee]: https://github.com/AvdLee
[@dfed]: https://github.com/dfed
2 changes: 1 addition & 1 deletion DatadogSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "DatadogSDK"
s.module_name = "Datadog"
s.version = "1.12.1"
s.version = "1.13.0"
s.summary = "Official Datadog Swift SDK for iOS."

s.homepage = "https://www.datadoghq.com"
Expand Down
2 changes: 1 addition & 1 deletion DatadogSDKAlamofireExtension.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "DatadogSDKAlamofireExtension"
s.module_name = "DatadogAlamofireExtension"
s.version = "1.12.1"
s.version = "1.13.0"
s.summary = "An Official Extensions of Datadog Swift SDK for Alamofire."

s.homepage = "https://www.datadoghq.com"
Expand Down
4 changes: 2 additions & 2 deletions DatadogSDKCrashReporting.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "DatadogSDKCrashReporting"
s.module_name = "DatadogCrashReporting"
s.version = "1.12.1"
s.version = "1.13.0"
s.summary = "Official Datadog Crash Reporting SDK for iOS."

s.homepage = "https://www.datadoghq.com"
Expand All @@ -22,6 +22,6 @@ Pod::Spec.new do |s|
s.static_framework = true

s.source_files = "Sources/DatadogCrashReporting/**/*.swift"
s.dependency 'DatadogSDK', '1.12.1'
s.dependency 'DatadogSDK', '1.13.0'
s.dependency 'PLCrashReporter', '~> 1.11.0'
end
4 changes: 2 additions & 2 deletions DatadogSDKObjc.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "DatadogSDKObjc"
s.module_name = "DatadogObjc"
s.version = "1.12.1"
s.version = "1.13.0"
s.summary = "Official Datadog Objective-C SDK for iOS."

s.homepage = "https://www.datadoghq.com"
Expand All @@ -21,5 +21,5 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/DataDog/dd-sdk-ios.git', :tag => s.version.to_s }

s.source_files = "Sources/DatadogObjc/**/*.swift"
s.dependency 'DatadogSDK', '1.12.1'
s.dependency 'DatadogSDK', '1.13.0'
end
2 changes: 1 addition & 1 deletion Sources/Datadog/DatadogConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ extension Datadog {
rumBackgroundEventTrackingEnabled: false,
rumFrustrationSignalsTrackingEnabled: true,
rumTelemetrySamplingRate: 20,
mobileVitalsFrequency: .rare,
mobileVitalsFrequency: .average,
batchSize: .medium,
uploadFrequency: .average,
additionalConfiguration: [:],
Expand Down
2 changes: 1 addition & 1 deletion Sources/Datadog/RUM/RUMMonitor/Scopes/RUMViewScope.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Foundation

internal class RUMViewScope: RUMScope, RUMContextProvider {
struct Constants {
static let frozenFrameThresholdInNs = (0.07).toInt64Nanoseconds // 70ms
static let frozenFrameThresholdInNs = (0.7).toInt64Nanoseconds // 700ms
static let slowRenderingThresholdFPS = 55.0
/// The pre-warming detection attribute key
static let activePrewarm = "active_pre_warm"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Datadog/Versioning.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// GENERATED FILE: Do not edit directly

internal let __sdkVersion = "1.12.1"
internal let __sdkVersion = "1.13.0"
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class DatadogConfigurationBuilderTests: XCTestCase {
XCTAssertFalse(configuration.rumBackgroundEventTrackingEnabled)
XCTAssertTrue(configuration.rumFrustrationSignalsTrackingEnabled)
XCTAssertNil(configuration.rumResourceAttributesProvider)
XCTAssertEqual(configuration.mobileVitalsFrequency, .rare)
XCTAssertEqual(configuration.mobileVitalsFrequency, .average)
XCTAssertEqual(configuration.batchSize, .medium)
XCTAssertEqual(configuration.uploadFrequency, .average)
XCTAssertEqual(configuration.additionalConfiguration.count, 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class DDConfigurationTests: XCTestCase {
XCTAssertEqual(configuration.rumSessionsSamplingRate, 100.0)
XCTAssertNil(configuration.rumUIKitViewsPredicate)
XCTAssertNil(configuration.rumUIKitUserActionsPredicate)
XCTAssertEqual(configuration.mobileVitalsFrequency, .rare)
XCTAssertEqual(configuration.mobileVitalsFrequency, .average)
XCTAssertEqual(configuration.batchSize, .medium)
XCTAssertEqual(configuration.uploadFrequency, .average)
XCTAssertNil(configuration.rumViewEventMapper)
Expand Down