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

Release 2.14.0 #1941

Merged
merged 152 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
b1f64d9
RUM-1660 Enhance RUM session debugging
ncreated Jun 10, 2024
ac59361
chore: Fix E2E tests build
ncreated Jun 13, 2024
c6495b5
Merge pull request #1903 from DataDog/ncreated/chore/fix-e2e-tests-build
ncreated Jun 13, 2024
888d39f
Merge pull request #1902 from DataDog/ncreated/RUM-1660/enhance-rum-s…
ncreated Jun 13, 2024
6f6ba16
RUM-4591 Add an entry point for tracking view `instrumentationType` i…
ncreated Jun 11, 2024
d2acc83
RUM-4591 Add an entry point for tracking off-view events in SE metric
ncreated Jun 12, 2024
0fa33c5
RUM-4591 Add entry points for tracking more context in SE metric:
ncreated Jun 12, 2024
4a326f1
RUM-4591 Count views by their instrumentation type in SE metric
ncreated Jun 13, 2024
f1c4d3c
RUM-4591 Report `hasBackgroundEventsTrackingEnabled` in SE metric
ncreated Jun 13, 2024
3c4471f
RUM-4591 Report `ntp_offset` in SE metric
ncreated Jun 13, 2024
a21bd12
RUM-4591 Count views with `has_replay` in SE metric
ncreated Jun 13, 2024
7b3bc89
RUM-4591 Count events missed due to absence of an active view
ncreated Jun 13, 2024
fdd4963
RUM-4591 Cleanup
ncreated Jun 13, 2024
07a23ef
Merge pull request #1900 from DataDog/release/2.13.0
maciejburda Jun 13, 2024
8452626
RUM-4883 Tabbar Icon Default Tint Color
mariedm Jun 14, 2024
0ddcf01
Merge branch 'develop' of github.com:DataDog/dd-sdk-ios into RUM-4883…
mariedm Jun 14, 2024
e3d9912
RUM-4591 CR feedback - change SEM to be reference type
ncreated Jun 14, 2024
c25ccb7
RUM-4883 Finish + update snapshot tests
mariedm Jun 14, 2024
3f7c67e
RUM-4883 Fix
mariedm Jun 14, 2024
03e8745
RUM-4883 Update snapshots with new CI device iPhone 15 iOS 17.5
mariedm Jun 17, 2024
ad6e359
RUM-4883 Fix syntax
mariedm Jun 17, 2024
c8e64d4
RUM-4883 Fix tests
mariedm Jun 17, 2024
241888f
RUM-4883 Remove tabbar from image use case snapshot tests
mariedm Jun 17, 2024
153948a
RUM-4591 Make `endMetric()` thread safe
ncreated Jun 17, 2024
0358d1b
RUM-3463 feat(watchdog-termination): track app state and detect watch…
ganeshnj Jun 10, 2024
1563925
Merge pull request #1904 from DataDog/ncreated/RUM-4591/send-diagnost…
ncreated Jun 17, 2024
89b28e6
RUM-817 Add ObjcExceptionHandler rethrow abstraction
maxep Jun 5, 2024
52acf66
RUM-817 catch objc runtime exception at recording
maxep Jun 6, 2024
3580385
RUM-4883 Address comments
mariedm Jun 17, 2024
c9be698
Add #fileID and #line to ObjcException
maxep Jun 17, 2024
5605d64
Register ObjcExceptionHandler before SDK init
maxep Jun 17, 2024
310fd8c
Add coverage for objc_rethrow
maxep Jun 17, 2024
a016589
RUM-3463 feat(watchdog-termination): fix linter
ganeshnj Jun 17, 2024
085da2c
Merge pull request #1885 from DataDog/maxep/RUM-817/objc-runtime-exce…
maxep Jun 18, 2024
2f609ce
RUM-4079 Migrate lint, test and ui-test to GitLab
ncreated Jun 13, 2024
df44f45
RUM-4079 Configure GL workflow
ncreated Jun 18, 2024
13c5df8
RUM-4079 Remove tests, lint and ui-tests from Bitrise CI
ncreated Jun 18, 2024
a49e510
RUM-4079 Update PR template
ncreated Jun 18, 2024
7f66da3
Allow disabling app hang monitoring in ObjC API
0xnm Jun 18, 2024
8d1e01e
Merge pull request #1889 from DataDog/ganeshnj/feat/RUM-3463-wt-detect
ganeshnj Jun 18, 2024
8419d0b
RUM-4911 feat(watchdog-termination): setup trackWatchdogTermination c…
ganeshnj Jun 18, 2024
3598ab5
RUM-4883 Address comment
mariedm Jun 18, 2024
d184aeb
Merge pull request #1906 from DataDog/RUM-4883-tabbar-icon-default-ti…
mariedm Jun 18, 2024
846eda0
Merge pull request #1908 from DataDog/nogorodnikov/allow-disabling-ap…
0xnm Jun 18, 2024
f832ba1
RUM-4079 Adjust condition for running key CI jobs
ncreated Jun 19, 2024
90e4b77
RUM-4079 Update default `make` command
ncreated Jun 19, 2024
410d9a2
RUM-4079 Adjust conditions for running key CI jobs
ncreated Jun 19, 2024
2f2901a
RUM-4079 Cleanup
ncreated Jun 19, 2024
694a135
RUM-4079 Update `LICENSE-3rdparty.csv`
ncreated Jun 19, 2024
d7ad337
RUM-4911 feat(watchdog-termination): ability to find most recently up…
ganeshnj Jun 19, 2024
053f19a
RUM-4079 CR feedback
ncreated Jun 19, 2024
33586e9
RUM-4079 Handle errors in `make clean`
ncreated Jun 19, 2024
b6327d1
Merge pull request #1910 from DataDog/ncreated/RUM-4079/migrate-to-gi…
ncreated Jun 19, 2024
4fa8c61
RUM-4911 feat(watchdog-termination): fix objc API and config name
ganeshnj Jun 20, 2024
a0bcb72
Merge pull request #1912 from DataDog/ganeshnj/feat/RUM-4811-mru-file
ganeshnj Jun 20, 2024
8c648ba
chore: fix SPM build and add scripts to check locally
ganeshnj Jun 20, 2024
cd37cb5
Merge pull request #1911 from DataDog/ganeshnj/feat/RUM-4911-wt-config
ganeshnj Jun 20, 2024
e1db922
trap before error
ganeshnj Jun 20, 2024
85f4abe
Merge pull request #1914 from DataDog/ganeshnj/chore/fix-spm-build
ganeshnj Jun 20, 2024
57855ac
RUM-4964
mariedm Jun 21, 2024
9970203
RUM-4911 feat(watchdog-termination): send Watchdog Termination
ganeshnj Jun 21, 2024
90bfb2a
Record resources while processing snapshot
maxep Jun 20, 2024
cf7668f
Remove resources from recording result
maxep Jun 21, 2024
ca80219
Update snapshot tests
maxep Jun 21, 2024
2fca2cb
fix: macOS build broken due to refactoring of Sysctl
ganeshnj Jun 24, 2024
380bdf4
Merge pull request #1920 from DataDog/ganeshnj/fix/macos-build
ncreated Jun 24, 2024
76b60b2
RUM-4079 Migrate tools tests to GitLab
ncreated Jun 20, 2024
a79c8de
RUM-4079 Move `http-server-mock` to `tools/`
ncreated Jun 20, 2024
955b435
RUM-4079 Prepare macos:ventura runner for running smoke tests
ncreated Jun 20, 2024
ddc00ea
RUM-4079 Run smoke tests for SPM and Carthage
ncreated Jun 21, 2024
3bc3a7b
RUM-4079 Run smoke tests for Cocoapods
ncreated Jun 21, 2024
2e0d945
RUM-4079 Run smoke tests for XCFrameworks and SPM build
ncreated Jun 22, 2024
3817b79
RUM-4079 Simplify building SPM package schemes
ncreated Jun 24, 2024
2eb8eb6
RUM-4079 Cleanup: delete macOS app scheme from SPMProject
ncreated Jun 24, 2024
fc8d367
RUM-4079 Cleanup: remove remaining tasks from bitrise.yml
ncreated Jun 24, 2024
a8297aa
RUM-4079 Update smoke tests path ('dependency-manager-test' → 'SmokeT…
ncreated Jun 24, 2024
facf8f9
RUM-4079 Cleanup
ncreated Jun 24, 2024
634f017
RUM-4079 Update PR template
ncreated Jun 24, 2024
ef7ead5
RUM-4079 Fix release automation for Bitrise
ncreated Jun 24, 2024
7171d7a
RUM-4149 [SR] Add suport for UIProgressView
mariedm Jun 24, 2024
613c818
RUM-4149 Fix syntax
mariedm Jun 24, 2024
9f64c32
Merge branch 'develop' of github.com:DataDog/dd-sdk-ios into mariedm/…
mariedm Jun 24, 2024
69581c1
RUM-4911 feat(watchdog-termination): passthrough core
ganeshnj Jun 25, 2024
147eec3
RUM-4911 feat(watchdog-termination): use rw queue for file IO
ganeshnj Jun 25, 2024
1905dd2
RUM-4964 Remove DatadogInternal import statement + lower delay for ti…
mariedm Jun 25, 2024
51e8381
RUM-4911 feat(watchdog-termination): regen models
ganeshnj Jun 25, 2024
db59759
Update DatadogInternal/Sources/Models/CrashReporting/LaunchReport.swift
ganeshnj Jun 25, 2024
4e02368
Update DatadogRUM/Sources/Instrumentation/AppHangs/ProcessIdentifier.…
ganeshnj Jun 25, 2024
1098905
Merge pull request #1916 from DataDog/mariedm/RUM-4964/feat/sr-improv…
mariedm Jun 25, 2024
8f0444b
Merge branch 'develop' of github.com:DataDog/dd-sdk-ios into mariedm/…
mariedm Jun 25, 2024
639e97e
RUM-4149 Add unit tests + Fix snapshot tests + Fix missing file
mariedm Jun 25, 2024
85dcd0f
Merge pull request #1921 from DataDog/ncreated/RUM-4079/migrate-smoke…
ncreated Jun 25, 2024
24a6518
RUM-4149 use Maxime's suggestion
mariedm Jun 25, 2024
5952126
RUM-4911 feat(watchdog-termination): add test integ unit test
ganeshnj Jun 25, 2024
4df1ae2
RUM-4911 feat(watchdog-termination): use CoreStorage
ganeshnj Jun 26, 2024
c62f177
RUM-4911 feat(watchdog-termination): fix compilation issue
ganeshnj Jun 26, 2024
c5e4dfc
Refactor Snapshot tests
mariedm Jun 26, 2024
c7f307a
Merge branch 'develop' of github.com:DataDog/dd-sdk-ios into mariedm/…
mariedm Jun 26, 2024
d2e5111
Add new files from develop branch merge
mariedm Jun 26, 2024
ab5e076
Merge branch 'develop' of https://github.com/DataDog/dd-sdk-ios into …
mariedm Jun 26, 2024
f5bf7f7
Merge branch 'mariedm/RUM-4149' of https://github.com/DataDog/dd-sdk-…
mariedm Jun 26, 2024
7e0a47c
RUM-4149 Fix
mariedm Jun 26, 2024
725e59b
Merge pull request #1923 from DataDog/mariedm/RUM-4149
mariedm Jun 27, 2024
cbbd2ef
RUM-4911 feat(watchdog-termination): fix 4 hours after view updates a…
ganeshnj Jun 27, 2024
83ca2e8
RUM-4911 feat(watchdog-termination): wrap Storage like Telemetry
ganeshnj Jun 27, 2024
b8dce7f
RUM-4911 feat(watchdog-termination): use LaunchTime
ganeshnj Jun 27, 2024
3ec0569
Update Datadog/IntegrationUnitTests/RUM/WatchdogTerminationsMonitorin…
ganeshnj Jun 27, 2024
27af706
RUM-4911 feat(watchdog-termination): fix various test compilation issue
ganeshnj Jun 27, 2024
3686191
Merge pull request #1917 from DataDog/ganeshnj/feat/RUM-4911-wt-report
ganeshnj Jun 27, 2024
139adbc
chore: Fix dogfooding automation in Bitrise
ncreated Jun 27, 2024
538ffa6
Merge pull request #1927 from DataDog/ncreated/chore/fix-dogfooding-i…
ganeshnj Jun 27, 2024
6cfaa79
Apply suggestions from code review
maxep Jun 27, 2024
8a44edd
Refactor date and time picker tests
mariedm Jun 27, 2024
09525bc
Merge branch 'develop' of github.com:DataDog/dd-sdk-ios into mariedm/…
mariedm Jun 27, 2024
e93563d
Merge pull request #1919 from DataDog/maxep/RUM-5004/revamp-resource-…
maxep Jun 28, 2024
968d942
RUM-5111: Update RUM and Telemetry models with KMP source
0xnm Jun 26, 2024
bb25c02
Merge branch 'develop' of github.com:DataDog/dd-sdk-ios into mariedm/…
mariedm Jun 28, 2024
5145031
Refactor popup vcs
mariedm Jun 28, 2024
b1ce789
RUM-1000 chore: improve telemetry messages for file I/O errors
ganeshnj Jun 24, 2024
c80c207
Merge pull request #1925 from DataDog/nogorodnikov/rum-5111/update-ru…
0xnm Jun 28, 2024
7c8a559
Merge pull request #1922 from DataDog/ganeshnj/chore/RUM-100-improve-…
ganeshnj Jun 28, 2024
763e756
chore: use otel-swift fork that only has APIs
ganeshnj Jun 28, 2024
80c2e80
Update CHANGELOG.md with 2.11.1 hotfix
ncreated Jul 1, 2024
78478d9
Merge pull request #1931 from DataDog/ncreated/chore/update-changelog…
ncreated Jul 1, 2024
a34e740
Merge pull request #1924 from DataDog/mariedm/chore/snapshot-tests-sm…
mariedm Jul 1, 2024
c70ef01
fix: send Watchdog Termination once only
ganeshnj Jul 1, 2024
1a61f0f
Merge pull request #1932 from DataDog/ganeshnj/fix/duplicate-wt-event
ganeshnj Jul 1, 2024
af5ef80
RUM-4150 [SR] Add Activity Indicator recorder
mariedm Jul 1, 2024
f6f5065
Merge branch 'develop' of github.com:DataDog/dd-sdk-ios into mariedm/…
mariedm Jul 1, 2024
d2a3158
RUM-4150 [SR] Update snapshot tests
mariedm Jul 2, 2024
c56ff7b
RUM-4150 [SR] Fix project.pbxproj
mariedm Jul 2, 2024
a6b7e5c
RUM-5174 Fix attributes objc interop
0xnm Jul 1, 2024
e8b4689
RUM-4150 Pin Otel version in Carfile
mariedm Jul 2, 2024
799a998
chore: Pin OpenTelemetryApi to expected version
ncreated Jul 2, 2024
1b775fb
chore: Enhance `make clean` for carthage smoke tests
ncreated Jul 2, 2024
e9a6f44
switch to the version
ganeshnj Jul 2, 2024
915d617
chore: Fix linter issue for `swiftlint` 0.55.1
ncreated Jul 2, 2024
c92c8b6
Merge pull request #1935 from DataDog/ncreated/chore/fix-otel-dep-in-…
ncreated Jul 2, 2024
4919d00
Merge pull request #1933 from DataDog/nogorodnikov/rum-5174/command-a…
0xnm Jul 2, 2024
145a402
Merge branch 'develop' of github.com:DataDog/dd-sdk-ios into mariedm/…
mariedm Jul 2, 2024
02832a4
fix: Watchdog Termination is not supported in Synthetics env
ganeshnj Jul 2, 2024
34a3978
Merge pull request #1936 from DataDog/ncreated/chore/fix-lint-issue-f…
ncreated Jul 3, 2024
6d48060
Merge pull request #1937 from DataDog/ganeshnj/fix/wt-s8s
ganeshnj Jul 3, 2024
13c7608
Merge pull request #1930 from DataDog/ganeshnj/chore/do-not-use-otel-…
ganeshnj Jul 3, 2024
0a01a15
Merge branch 'develop' of github.com:DataDog/dd-sdk-ios into mariedm/…
mariedm Jul 3, 2024
eed20be
feat: Replace use of #filePath with #fileID
fuzzybinary Jul 2, 2024
5e248fd
RUM-4150 Address comments
mariedm Jul 3, 2024
530c28e
RUM-4150 Remove unused line
mariedm Jul 3, 2024
dc33648
Merge pull request #1934 from DataDog/mariedm/feat/RUM-4150-activity-…
mariedm Jul 3, 2024
33cf1b9
Merge pull request #1938 from DataDog/jward/RUM-5155-fileId-over-file…
fuzzybinary Jul 3, 2024
5da9ef5
Bumped version to 2.14.0
maxep Jul 4, 2024
65edecc
Update CHANGELOG.md
maxep Jul 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@ A brief description of implementation details of this PR.
- [ ] Add CHANGELOG entry for user facing changes

### Custom CI job configuration (optional)
- [ ] Run unit tests for Core, RUM, Trace, Logs, CR and WVT
- [ ] Run unit tests for Session Replay
- [ ] Run integration tests
- [ ] Run smoke tests
- [ ] Run tests for `tools/`
227 changes: 162 additions & 65 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,86 +1,183 @@
stages:
- info
- pre
- lint
- test
- ui-test
- smoke-test

ENV info:
stage: info
variables:
MAIN_BRANCH: "master"
DEVELOP_BRANCH: "develop"

default:
tags:
- mac-ventura-preview
allow_failure: true # do not block GH PRs
- macos:sonoma
- specific:true

# ┌───────────────┐
# │ Utility jobs: │
# └───────────────┘

# Trigger jobs on 'develop' and 'master' branches
.run:when-develop-or-master:
rules:
- if: '$CI_COMMIT_BRANCH == $DEVELOP_BRANCH || $CI_COMMIT_BRANCH == $MAIN_BRANCH'
when: always

# Trigger jobs on SDK code changes, comparing against 'develop' branch
.run:if-sdk-modified:
rules:
- changes:
paths:
- "Datadog*/**/*"
- "IntegrationTests/**/*"
- "TestUtilities/**/*"
- "*" # match any file in the root directory
compare_to: 'develop' # cannot use variable due to: https://gitlab.com/gitlab-org/gitlab/-/issues/369916

# Trigger jobs on changes in `tools/*`, comparing against 'develop' branch
.run:if-tools-modified:
rules:
- changes:
paths:
- "tools/**/*"
- "Makefile"
- ".gitlab-ci.yml"
compare_to: 'develop'

ENV check:
stage: pre
script:
- system_profiler SPSoftwareDataType # system info
- xcodebuild -version
- xcode-select -p # default Xcode
- ls /Applications/ | grep Xcode # other Xcodes
- xcodebuild -workspace "Datadog.xcworkspace" -scheme "DatadogCore iOS" -showdestinations -quiet # installed iOS destinations
- xcodebuild -workspace "Datadog.xcworkspace" -scheme "DatadogCore tvOS" -showdestinations -quiet # installed tvOS destinations
- xcbeautify --version
- swiftlint --version
- carthage version
- gh --version
- brew -v
- bundler --version
- python3 -V
- make env-check

# ┌──────────────────────────┐
# │ SDK changes integration: │
# └──────────────────────────┘

Lint:
stage: lint
tags:
- mac-ventura-preview
allow_failure: true # do not block GH PRs
rules:
- !reference [.run:when-develop-or-master, rules]
- !reference [.run:if-sdk-modified, rules]
script:
- ./tools/lint/run-linter.sh
- ./tools/license/check-license.sh
- make clean repo-setup ENV=ci
- make lint license-check
- make rum-models-verify sr-models-verify

SDK unit tests (iOS):
Unit Tests (iOS):
stage: test
tags:
- mac-ventura-preview
allow_failure: true # do not block GH PRs
rules:
- !reference [.run:when-develop-or-master, rules]
- !reference [.run:if-sdk-modified, rules]
variables:
TEST_WORKSPACE: "Datadog.xcworkspace"
TEST_DESTINATION: "platform=iOS Simulator,name=iPhone 15 Pro Max,OS=17.0.1"
XCODE: "15.3.0"
OS: "17.4"
PLATFORM: "iOS Simulator"
DEVICE: "iPhone 15 Pro"
script:
- make dependencies-gitlab
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCore iOS" -only-testing:"DatadogCoreTests iOS" test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCore iOS" -only-testing:"DatadogInternalTests iOS" test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCore iOS" -only-testing:"DatadogLogsTests iOS" test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCore iOS" -only-testing:"DatadogTraceTests iOS" test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCore iOS" -only-testing:"DatadogRUMTests iOS" test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCore iOS" -only-testing:"DatadogWebViewTrackingTests iOS" test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogSessionReplay iOS" test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCrashReporting iOS" test | xcbeautify

SDK unit tests (tvOS):
- ./tools/runner-setup.sh --xcode "$XCODE" --iOS --os "$OS" # temporary, waiting for AMI
- make clean repo-setup ENV=ci
- make test-ios-all OS="$OS" PLATFORM="$PLATFORM" DEVICE="$DEVICE"

Unit Tests (tvOS):
stage: test
tags:
- mac-ventura-preview
allow_failure: true # do not block GH PRs
rules:
- !reference [.run:when-develop-or-master, rules]
- !reference [.run:if-sdk-modified, rules]
variables:
XCODE: "15.3.0"
OS: "17.4"
PLATFORM: "tvOS Simulator"
DEVICE: "Apple TV"
script:
- ./tools/runner-setup.sh --xcode "$XCODE" --tvOS --os "$OS" # temporary, waiting for AMI
- make clean repo-setup ENV=ci
- make test-tvos-all OS="$OS" PLATFORM="$PLATFORM" DEVICE="$DEVICE"

UI Tests:
stage: ui-test
rules:
- !reference [.run:when-develop-or-master, rules]
- !reference [.run:if-sdk-modified, rules]
variables:
TEST_WORKSPACE: "Datadog.xcworkspace"
TEST_DESTINATION: "platform=tvOS Simulator,name=Apple TV,OS=17.0"
XCODE: "15.3.0"
OS: "17.4"
PLATFORM: "iOS Simulator"
DEVICE: "iPhone 15 Pro"
parallel:
matrix:
- TEST_PLAN:
- Default
- RUM
- CrashReporting
- NetworkInstrumentation
script:
- make dependencies-gitlab
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCore tvOS" -only-testing:"DatadogCoreTests tvOS" test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCore tvOS" -only-testing:"DatadogInternalTests tvOS" test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCore tvOS" -only-testing:"DatadogLogsTests tvOS" test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCore tvOS" -only-testing:"DatadogTraceTests tvOS" test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCore tvOS" -only-testing:"DatadogRUMTests tvOS" test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "DatadogCrashReporting tvOS" test | xcbeautify

SDK integration tests (iOS):
- ./tools/runner-setup.sh --xcode "$XCODE" --iOS --os "$OS" # temporary, waiting for AMI
- make clean repo-setup ENV=ci
- make ui-test TEST_PLAN="$TEST_PLAN" OS="$OS" PLATFORM="$PLATFORM" DEVICE="$DEVICE"

Tools Tests:
stage: test
rules:
- !reference [.run:when-develop-or-master, rules]
- !reference [.run:if-tools-modified, rules]
script:
- make clean repo-setup ENV=ci
- make tools-test

Smoke Tests (iOS):
stage: smoke-test
tags:
- macos:ventura
- specific:true
variables:
XCODE: "15.2.0"
OS: "17.2"
PLATFORM: "iOS Simulator"
DEVICE: "iPhone 15 Pro"
script:
- ./tools/runner-setup.sh --xcode "$XCODE" --iOS --os "$OS" # temporary, waiting for AMI
- make clean repo-setup ENV=ci
- make spm-build-ios
- make smoke-test-ios-all OS="$OS" PLATFORM="$PLATFORM" DEVICE="$DEVICE"

Smoke Tests (tvOS):
stage: smoke-test
tags:
- macos:ventura
- specific:true
variables:
XCODE: "15.2.0"
OS: "17.2"
PLATFORM: "tvOS Simulator"
DEVICE: "Apple TV"
script:
- ./tools/runner-setup.sh --xcode "$XCODE" --tvOS --os "$OS" # temporary, waiting for AMI
- make clean repo-setup ENV=ci
- make spm-build-tvos
- make smoke-test-tvos-all OS="$OS" PLATFORM="$PLATFORM" DEVICE="$DEVICE"

Smoke Tests (visionOS):
stage: smoke-test
tags:
- macos:ventura
- specific:true
variables:
XCODE: "15.2.0"
OS: "1.0"
script:
- ./tools/runner-setup.sh --xcode "$XCODE" --visionOS --os "$OS" # temporary, waiting for AMI
- make clean repo-setup ENV=ci
- make spm-build-visionos

Smoke Tests (macOS):
stage: smoke-test
tags:
- mac-ventura-preview
allow_failure: true # do not block GH PRs
- macos:ventura
- specific:true
variables:
TEST_WORKSPACE: "IntegrationTests/IntegrationTests.xcworkspace"
TEST_DESTINATION: "platform=iOS Simulator,name=iPhone 15 Pro Max,OS=17.0.1"
XCODE: "15.2.0"
script:
- make dependencies-gitlab
- make prepare-integration-tests
# Before running crash reporting tests, disable Apple Crash Reporter so it doesn't capture the crash causing tests hang on "<app> quit unexpectedly" prompt:
- launchctl unload -w /System/Library/LaunchAgents/com.apple.ReportCrash.plist
- ./tools/config/generate-http-server-mock-config.sh
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "IntegrationScenarios" -testPlan DatadogIntegrationTests test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "IntegrationScenarios" -testPlan DatadogCrashReportingIntegrationTests test | xcbeautify
- ./tools/runner-setup.sh --xcode "$XCODE" # temporary, waiting for AMI
- make clean repo-setup ENV=ci
- make spm-build-macos
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Unreleased

# 2.14.0 / 04-07-2024

- [IMPROVEMENT] Use `#fileID` over `#filePath` as the default argument in errors. See [#1938][]
- [FEATURE] Add support for Watchdog Terminations tracking in RUM. See [#1917][] [#1911][] [#1912][] [#1889][]
- [IMPROVEMENT] Tabbar Icon Default Tint Color in Session Replay. See [#1906][]
- [IMPROVEMENT] Improve Nav Bar Support in Session Replay. See [#1916][]
- [IMPROVEMENT] Record Activity Indicator in Session Replay. See [#1934][]
- [IMPROVEMENT] Allow disabling app hang monitoring in ObjC API. See [#1908][]
- [IMPROVEMENT] Update RUM and Telemetry models with KMP source. See [#1925][]

# 2.11.1 / 01-07-2024

- [FIX] Fix compilation issues on Xcode 16 beta. See [#1898][]

# 2.13.0 / 13-06-2024

- [IMPROVEMENT] Bump `IPHONEOS_DEPLOYMENT_TARGET` and `TVOS_DEPLOYMENT_TARGET` from 11 to 12. See [#1891][]
Expand Down Expand Up @@ -683,7 +697,17 @@ Release `2.0` introduces breaking changes. Follow the [Migration Guide](MIGRATIO
[#1828]: https://github.com/DataDog/dd-sdk-ios/pull/1828
[#1835]: https://github.com/DataDog/dd-sdk-ios/pull/1835
[#1886]: https://github.com/DataDog/dd-sdk-ios/pull/1886
[#1889]: https://github.com/DataDog/dd-sdk-ios/pull/1889
[#1898]: https://github.com/DataDog/dd-sdk-ios/pull/1898
[#1906]: https://github.com/DataDog/dd-sdk-ios/pull/1906
[#1908]: https://github.com/DataDog/dd-sdk-ios/pull/1908
[#1911]: https://github.com/DataDog/dd-sdk-ios/pull/1911
[#1912]: https://github.com/DataDog/dd-sdk-ios/pull/1912
[#1916]: https://github.com/DataDog/dd-sdk-ios/pull/1916
[#1917]: https://github.com/DataDog/dd-sdk-ios/pull/1917
[#1925]: https://github.com/DataDog/dd-sdk-ios/pull/1925
[#1934]: https://github.com/DataDog/dd-sdk-ios/pull/1934
[#1938]: https://github.com/DataDog/dd-sdk-ios/pull/1938
[@00fa9a]: https://github.com/00FA9A
[@britton-earnin]: https://github.com/Britton-Earnin
[@hengyu]: https://github.com/Hengyu
Expand Down
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "microsoft/plcrashreporter" ~> 1.11.2
binary "https://raw.githubusercontent.com/DataDog/opentelemetry-swift-packages/main/OpenTelemetryApi.json" ~> 1.6.0
binary "https://raw.githubusercontent.com/DataDog/opentelemetry-swift-packages/main/OpenTelemetryApi.json" == 1.6.0
3 changes: 0 additions & 3 deletions Datadog.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading