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

Icpflutter 1242 #26

Merged
merged 97 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
d5fb969
chore(deps): update Cocoa SDK to v8.30.1 (#2155)
github-actions[bot] Jul 10, 2024
0e12dac
Set dart runtime version with parsed `Platform.version` (#2156)
buenaflor Jul 10, 2024
dd933d4
Record dropped spans in client reports (#2154)
buenaflor Jul 11, 2024
b20509a
Fix compatibility with Drift 2.19.0 (#2162)
buenaflor Jul 11, 2024
95c69e3
Fix flaky app start tests (#2157)
buenaflor Jul 11, 2024
2736f07
chore(deps): update Symbol collector CLI to v1.19.0 (#2164)
github-actions[bot] Jul 12, 2024
ad2378a
Deprecate `setExtra` (#2159)
buenaflor Jul 12, 2024
33af3d6
deps: update ktlint (#2166)
vaind Jul 12, 2024
2d9f4e8
ci: validate publish dry runs (#2161)
buenaflor Jul 15, 2024
824df58
Add flag to disable reporting of view hierarchy identifiers (#2158)
buenaflor Jul 15, 2024
6938f13
release: 8.4.0
getsentry-bot Jul 15, 2024
5f8f39d
Update CHANGELOG
buenaflor Jul 15, 2024
32fa6b6
Merge branch 'release/8.4.0'
Jul 15, 2024
3db7048
build(deps): bump reactivecircus/android-emulator-runner (#2171)
dependabot[bot] Jul 15, 2024
d4d0807
chore(deps): update Cocoa SDK to v8.31.1 (#2174)
github-actions[bot] Jul 17, 2024
dd76eef
chore(deps): update Android SDK to v7.12.0 (#2173)
github-actions[bot] Jul 17, 2024
d0476e1
Fix truncated stacktraces in unhandled errors (#2152)
buenaflor Jul 17, 2024
8ad0478
build(deps): bump ruby/setup-ruby from 1.185.0 to 1.187.0 (#2172)
dependabot[bot] Jul 17, 2024
62ae1b3
fix analyze issues (#2177)
buenaflor Jul 17, 2024
5fdb50f
Update CHANGELOG.md (#2178)
buenaflor Jul 17, 2024
f927b07
Disable sff & frame delay detection on web, linux and windows (#2182)
buenaflor Jul 19, 2024
5f2f77b
chore: update metrics/flutter.properties to 3.22.3 (#2180)
github-actions[bot] Jul 19, 2024
22e8ec1
build(deps): bump gradle/gradle-build-action from 3.4.2 to 3.5.0 (#2186)
dependabot[bot] Jul 23, 2024
7770462
build(deps): bump ruby/setup-ruby from 1.187.0 to 1.188.0 (#2187)
dependabot[bot] Jul 23, 2024
7f14ddd
Support `ignoredExceptionsForType` (#2150)
denrase Jul 23, 2024
7faee57
Set platform in sentry frames for better raw stacktrace representatio…
buenaflor Jul 24, 2024
f01ab44
release: 8.5.0
getsentry-bot Jul 24, 2024
2e8b1e1
chore(deps): update Cocoa SDK to v8.32.0 (#2195)
github-actions[bot] Jul 24, 2024
ca8637f
Merge branch 'main' into release/8.5.0
buenaflor Jul 24, 2024
abfcdb5
Merge branch 'release/8.5.0'
Jul 24, 2024
ed7286c
chore(deps): update Symbol collector CLI to v1.21.0 (#2196)
github-actions[bot] Jul 24, 2024
d593269
Implement error type identifier to mitigate obfuscated Flutter issue …
buenaflor Jul 25, 2024
88e4bfd
chore: update flutter/scripts/update-android.sh to 7.12.1 (#2198)
github-actions[bot] Jul 25, 2024
c19bfb6
Deprecate `enableTracing` (#2199)
buenaflor Jul 26, 2024
6a5a65d
Fix flaky exception identifier test on web (#2201)
buenaflor Jul 30, 2024
ffa37ac
build(deps): bump ruby/setup-ruby from 1.188.0 to 1.190.0 (#2202)
dependabot[bot] Jul 30, 2024
d0b710a
release: 8.6.0
getsentry-bot Jul 31, 2024
a8b5483
chore: update flutter/scripts/update-android.sh to 7.13.0 (#2206)
github-actions[bot] Aug 1, 2024
72eeb80
Add `ignored` discard reason (#2204)
buenaflor Aug 1, 2024
6bd7139
Merge branch 'main' into release/8.6.0
buenaflor Aug 1, 2024
137070d
Merge branch 'release/8.6.0'
Aug 1, 2024
384a55c
deps: change updater PR strategy to update on low-risk updates (#2210)
vaind Aug 2, 2024
7ec9238
feat: add span level measurements #1855 (#2214)
martinhaintz Aug 6, 2024
2e1e4ae
feat: add `ignoreTransactions` and ignoreErrors` #1391 (#2207)
martinhaintz Aug 6, 2024
6e9c5a2
Deserialize and serialize unknown fields (#2153)
denrase Aug 6, 2024
33527b4
Add proxy support (#2192)
denrase Aug 6, 2024
c328ffc
chore(deps): update Cocoa SDK to v8.33.0 (#2223)
github-actions[bot] Aug 9, 2024
56abeed
release: 8.7.0
getsentry-bot Aug 9, 2024
03e4c9b
Merge branch 'release/8.7.0'
Aug 9, 2024
178baee
add ignoreRoutes parameter to SentryNavigatorObserver (#2218)
martinhaintz Aug 12, 2024
affcf07
chore(deps): update Flutter SDK (metrics) to v3.24.0 (#2229)
github-actions[bot] Aug 13, 2024
ba56a96
chore(deps): update Android SDK to v7.14.0 (#2228)
github-actions[bot] Aug 13, 2024
73d70bf
test: flutter wasm (#2231)
vaind Aug 14, 2024
256df44
feat: Debouncing of SentryWidgetsBindingObserver.didChangeMetrics. #4…
martinhaintz Aug 19, 2024
9555112
Provide a way to cause an example native crash from Flutter (#2239)
martinhaintz Aug 21, 2024
061fed2
chore(deps): update Cocoa SDK to v8.35.1 (#2247)
github-actions[bot] Aug 26, 2024
87f59a0
chore: fix cocoa bump changelog (#2248)
buenaflor Aug 26, 2024
e7260ef
release: 8.8.0
getsentry-bot Aug 26, 2024
103eb14
Merge branch 'release/8.8.0'
Aug 27, 2024
4d75417
chore(deps): update Flutter SDK (metrics) to v3.24.1 (#2245)
github-actions[bot] Aug 27, 2024
039058a
chore(deps): update Cocoa SDK to v8.36.0 (#2252)
github-actions[bot] Aug 28, 2024
ec4c9da
chore: update windows code based on latest flutter template with plug…
vaind Aug 28, 2024
e0ba81f
allow internet and network state access in the flutter example app (#…
martinhaintz Sep 2, 2024
aba65ca
feat: Replay support for mobile (#2208)
vaind Sep 2, 2024
3356741
chore: fixup changelog (#2260)
vaind Sep 2, 2024
f056db1
refactor: Remove workaround for Spotlight image handling (#2253)
buenaflor Sep 2, 2024
0210372
fix: capture replay call on iOS (#2264)
vaind Sep 2, 2024
7b2e0ad
Support allowUrls, denyUrls (#2227)
martinhaintz Sep 3, 2024
3a16179
Only access renderObject if `hasSize` is true (#2263)
denrase Sep 3, 2024
a40bb7c
feat: asset images don't need to be obscured in replay (#2269)
vaind Sep 4, 2024
3adbea9
feat: improve obscure rectangle fit/size (#2236)
vaind Sep 4, 2024
f1c905b
chore(deps): update Flutter SDK (metrics) to v3.24.2 (#2272)
github-actions[bot] Sep 9, 2024
77db8d4
Fix: Support allowUrls, denyUrls (#2271)
martinhaintz Sep 9, 2024
d5696bf
Symbolicate Dart stacktrace on Flutter Android and iOS without debug …
buenaflor Sep 9, 2024
3751dbc
feat: capture touch breadcrumbs for all buttons (#2242)
vaind Sep 9, 2024
7efd9cf
fix: repost replay screenshots on android while idle (#2275)
vaind Sep 9, 2024
2e93bab
chore: rename errorSampleRate to onErrorSampleRate (#2270)
vaind Sep 9, 2024
32257c7
release: 8.9.0
getsentry-bot Sep 9, 2024
a00e005
Update CHANGELOG.md
buenaflor Sep 9, 2024
ea60f10
Merge branch 'release/8.9.0'
Sep 9, 2024
c185838
build(deps): bump natiginfo/action-detekt-all from 1.23.6 to 1.23.7 (…
dependabot[bot] Sep 10, 2024
16063b2
build(deps): bump ruby/setup-ruby from 1.190.0 to 1.191.0 (#2279)
dependabot[bot] Sep 10, 2024
3cc09ec
Fix typo (#2283)
markushi Sep 12, 2024
09c1f55
chore(deps): update Flutter SDK (metrics) to v3.24.3 (#2287)
github-actions[bot] Sep 13, 2024
7d5e695
fix: event processor failed to stop processing (#2289)
vaind Sep 13, 2024
fe6dcac
test: rethrow exceptions (#2290)
vaind Sep 16, 2024
90a08ea
Improve app start integration (#2266)
denrase Sep 17, 2024
3b7bfe8
build(deps): bump ruby/setup-ruby from 1.191.0 to 1.192.0 (#2292)
dependabot[bot] Sep 18, 2024
c26ba1d
Update CODEOWNERS (#2300)
kahest Sep 19, 2024
48c3cf1
block app start if appLaunchedInForeground is not set. (#2291)
martinhaintz Sep 23, 2024
dabefe3
Merge remote-tracking branch 'upstream/main' into ICPFLUTTER-1242
Jonatanm09 Sep 23, 2024
fde4454
add missing file
Jonatanm09 Sep 23, 2024
76a5601
rename deprecated method to avoid conflict if the method still available
Jonatanm09 Sep 23, 2024
9c64fac
add deleted file
Jonatanm09 Sep 23, 2024
2380681
merge with main
Jonatanm09 Sep 23, 2024
4358f1b
rename deprecated method to avoid conflict if the method still available
Jonatanm09 Sep 23, 2024
3133c05
adde missing import
Jonatanm09 Sep 23, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @krystofwoldrich @stefanosiano @buenaflor
* @krystofwoldrich @stefanosiano @buenaflor @martinhaintz
5 changes: 5 additions & 0 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:

- run: dart doc --dry-run

- name: Run publish validation
run: |
dart pub get --directory ../scripts/publish_validation
dart run ../scripts/publish_validation/bin/publish_validation.dart --executable ${{ inputs.sdk }}

package-analysis:
# `axel-op/dart-package-analyzer` is using `flutter pub upgrade` instead of `get`,
# which ignores pubspec.yaml `dependency_overrides`. Because of that, all `release/*` branches are failing,
Expand Down
21 changes: 12 additions & 9 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
defaults:
run:
shell: bash
working-directory: flutter
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -77,21 +78,23 @@ jobs:
- run: flutter upgrade

- name: Pub Get
run: |
cd flutter
flutter pub get
run: flutter pub get

- name: Test chrome
- name: Test web (JS)
if: matrix.target == 'web'
run: |
cd flutter
flutter test --platform chrome --test-randomize-ordering-seed=random --exclude-tags canvasKit
flutter test --platform chrome --test-randomize-ordering-seed=random --tags canvasKit --web-renderer canvaskit

- name: Test web (WASM)
if: matrix.target == 'web'
run: |
flutter test --platform chrome --wasm --test-randomize-ordering-seed=random --exclude-tags canvasKit
flutter test --platform chrome --wasm --test-randomize-ordering-seed=random --tags canvasKit --web-renderer canvaskit

- name: Test VM with coverage
if: matrix.target == 'linux' || matrix.target == 'macos' || matrix.target == 'windows'
run: |
cd flutter
flutter test --coverage --test-randomize-ordering-seed=random
dart run remove_from_coverage -f coverage/lcov.info -r 'binding.dart'

Expand All @@ -111,11 +114,11 @@ jobs:
exclude: 'lib/src/native/cocoa/binding.dart'

- name: Build ${{ matrix.target }}
working-directory: flutter/example
run: |
flutter config --enable-windows-desktop
flutter config --enable-macos-desktop
flutter config --enable-linux-desktop
cd flutter/example
TARGET=${{ matrix.target }}
flutter pub get
case $TARGET in
Expand Down Expand Up @@ -179,7 +182,7 @@ jobs:
- uses: actions/checkout@v4

- name: ktlint
uses: ScaCap/action-ktlint@7bfa4928cf705b83700c91fecc0e1a3a4c0e99ad # pin@1.8.3
uses: ScaCap/action-ktlint@26c5e9b625966139d9956cbbb6217375480d4e14 # pin@1.9.0
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
Expand All @@ -192,6 +195,6 @@ jobs:
steps:
- uses: actions/checkout@v4
# To recreate baseline run: detekt -i flutter/android,flutter/example/android -b flutter/config/detekt-bl.xml -cb
- uses: natiginfo/action-detekt-all@b9daaf58ff7a4885ff92ba612c3ea72bf1abeadb # pin@1.23.6
- uses: natiginfo/action-detekt-all@6bf4342ea96f638ecced05cf7d7dc48acdecc854 # pin@1.23.7
with:
args: -i flutter/android,flutter/example/android --baseline flutter/config/detekt-bl.xml --jvm-target 1.8 --build-upon-default-config --all-rules
6 changes: 3 additions & 3 deletions .github/workflows/flutter_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: flutter pub get

- name: Gradle cache
uses: gradle/gradle-build-action@66535aaf56f831b35e3a8481c9c99b665b84dd45 # pin@v3.4.2
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # pin@v3.5.0

- name: AVD cache
uses: actions/cache@v4
Expand All @@ -62,7 +62,7 @@ jobs:

- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@77986be26589807b8ebab3fde7bbf5c60dabec32 #pin@v2.31.0
uses: reactivecircus/android-emulator-runner@f0d1ed2dcad93c7479e8b2f2226c83af54494915 #pin@v2.32.0
with:
working-directory: ./flutter/example
api-level: 21
Expand All @@ -74,7 +74,7 @@ jobs:
script: echo 'Generated AVD snapshot for caching.'

- name: launch android emulator & run android integration test
uses: reactivecircus/android-emulator-runner@77986be26589807b8ebab3fde7bbf5c60dabec32 #pin@v2.31.0
uses: reactivecircus/android-emulator-runner@f0d1ed2dcad93c7479e8b2f2226c83af54494915 #pin@v2.32.0
with:
working-directory: ./flutter/example
api-level: 21
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/flutter_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: flutter pub get

- name: Gradle cache
uses: gradle/gradle-build-action@66535aaf56f831b35e3a8481c9c99b665b84dd45 # pin@v3.0.0
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # pin@v3.0.0

- name: AVD cache
uses: actions/cache@v4
Expand All @@ -67,7 +67,7 @@ jobs:

- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@77986be26589807b8ebab3fde7bbf5c60dabec32 #pin@v2.31.0
uses: reactivecircus/android-emulator-runner@f0d1ed2dcad93c7479e8b2f2226c83af54494915 #pin@v2.32.0
with:
working-directory: ./flutter/example
api-level: 31
Expand All @@ -84,7 +84,7 @@ jobs:
run: flutter build apk --debug

- name: launch android emulator & run android native test
uses: reactivecircus/android-emulator-runner@77986be26589807b8ebab3fde7bbf5c60dabec32 #pin@v2.31.0
uses: reactivecircus/android-emulator-runner@f0d1ed2dcad93c7479e8b2f2226c83af54494915 #pin@v2.32.0
with:
working-directory: ./flutter/example/android
api-level: 31
Expand All @@ -97,7 +97,7 @@ jobs:
script: ./gradlew testDebugUnitTest

- name: launch android emulator & run android integration test
uses: reactivecircus/android-emulator-runner@77986be26589807b8ebab3fde7bbf5c60dabec32 #pin@v2.31.0
uses: reactivecircus/android-emulator-runner@f0d1ed2dcad93c7479e8b2f2226c83af54494915 #pin@v2.32.0
with:
working-directory: ./flutter/example
api-level: 31
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 # pin@v2.16.0
- run: xcodes select 15.0.1
- uses: ruby/setup-ruby@3a77c29278ae80936b4cb030fefc7d21c96c786f # pin@v1.185.0
- uses: ruby/setup-ruby@a6b46b8a08edb18935835849f2a17072d5cc8c73 # pin@v1.192.0
with:
ruby-version: '2.7.5'
bundler-cache: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
path: metrics/flutter.properties
name: Flutter SDK (metrics)
changelog-entry: false
pr-strategy: update
secrets:
api-token: ${{ secrets.CI_DEPLOY_KEY }}

Expand All @@ -42,5 +43,6 @@ jobs:
path: scripts/update-symbol-collector.sh
name: Symbol collector CLI
changelog-entry: false
pr-strategy: update
secrets:
api-token: ${{ secrets.CI_DEPLOY_KEY }}
Loading
Loading