From 0fb55cfb64063098f7a91f703ae83e508138564e Mon Sep 17 00:00:00 2001 From: Giancarlo Buenaflor Date: Wed, 7 Feb 2024 15:45:06 +0100 Subject: [PATCH] v8 prep: merge main into 8.0.0 branch (#1871) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci: update actions (#1617) * Add tests for the Android and iOS plugin (#1587) * Normalize `data` properties of `SentryUser` and `Breadcrumb` before sending over method channel (#1591) * chore(deps): update Cocoa SDK to v8.11.0 (#1626) Co-authored-by: GitHub * Tracing without performance (#1621) * implement propagationContext * remove sampled and parentSpanId for now * update changelog * fix build error * create new propagation context on startTransaction if tracing is disabled * remove print * propagate trace for http requests * add tracing client test * fix tests * format * fix compile * tests * fix analysis score * fix analysis score * fix compilation * fix score * fix score * fix score * fix score * update tests * [starfish] add attributes to db spans data (#1629) * add db attibutes to spans * change variable names * update changelog * update changelog * update tests * update imports * update tests * remove unused import * couple dbName to db instance * format * use path pub * don't set dbName to null when db close() is called * [starfish] add http.request.method attribute to http spans (#1633) * add http.request.method to http spans * update changelog * Fix Android & iOS CI issues (#1627) * Disable scope sync for cloned scopes (#1628) * chore: update flutter/scripts/update-android.sh to 6.29.0 (#1630) Co-authored-by: GitHub * Discard empty stack frames (#1625) * Introduce workflow dispatch action for`format` & `fix --apply` (#1575) * feat/refactor: add cocoa FFI binding (#1631) * refactor: move native code to its own directory (#1638) * Log SDK errors to the console if the log level is `fatal` even if `debug` is disabled (#1635) * Fix autoPerformanceTracingEnabled flag in andorid plugin (#1640) * Add Sampling Decision to Trace Envelope Header (#1639) * add sampled flag * fmt * update changelog * redo fmt * fix tests * chore: update metrics/flutter.properties to 3.13.3 (#1632) Co-authored-by: GitHub * fix: add missing FFI depdendency (#1642) * release: 7.10.1 * ci: macos integration test (#1645) * fix: generated cocoa bindings (#1648) * Update uuid (#1647) Co-authored-by: Ivan Dlugos <6349682+vaind@users.noreply.github.com> * chore(deps): update Cocoa SDK to v8.12.0 (#1650) Co-authored-by: GitHub * Breadcrumbs for file I/O operations (#1649) * ci: don't run CI on markdown updates (#1651) * chore(deps): update Flutter SDK (metrics) to v3.13.6 (#1659) * chore: update metrics/flutter.properties to 3.13.6 * Update flutter.properties --------- Co-authored-by: GitHub Co-authored-by: Stefano * chore: update flutter/scripts/update-android.sh to 6.30.0 (#1660) * chore: update flutter/scripts/update-cocoa.sh to 8.13.0 (#1655) * Generate class diagrams (#1646) * Rename `options.devMode` to `options.automatedTestMode` (#1664) * chore: update flutter/scripts/update-cocoa.sh to 8.13.1 (#1677) Co-authored-by: GitHub * chore: update flutter/scripts/update-android.sh to 6.31.0 (#1676) * chore: update metrics/flutter.properties to 3.13.7 (#1674) Co-authored-by: GitHub * Add dependabot (#1670) * Bump codecov/codecov-action from 3.1.1 to 3.1.4 (#1680) * chore: update flutter/scripts/update-android.sh to 6.32.0 (#1688) Co-authored-by: GitHub * chore(deps): update Cocoa SDK to v8.14.2 (#1691) * chore: update flutter/scripts/update-cocoa.sh to 8.14.2 --------- Co-authored-by: GitHub Co-authored-by: GIancarlo Buenaflor * chore: update changelog (#1699) * Update changelog * release: 7.11.0 * Bump lints from 2.1.1 to 3.0.0 in /sqflite (#1697) Bumps [lints](https://github.com/dart-lang/lints) from 2.1.1 to 3.0.0. - [Release notes](https://github.com/dart-lang/lints/releases) - [Changelog](https://github.com/dart-lang/lints/blob/main/CHANGELOG.md) - [Commits](https://github.com/dart-lang/lints/compare/v2.1.1...v3.0.0) --- updated-dependencies: - dependency-name: lints dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump lints from 2.1.1 to 3.0.0 in /logging (#1696) Bumps [lints](https://github.com/dart-lang/lints) from 2.1.1 to 3.0.0. - [Release notes](https://github.com/dart-lang/lints/releases) - [Changelog](https://github.com/dart-lang/lints/blob/main/CHANGELOG.md) - [Commits](https://github.com/dart-lang/lints/compare/v2.1.1...v3.0.0) --- updated-dependencies: - dependency-name: lints dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump lints from 2.1.1 to 3.0.0 in /file (#1694) Bumps [lints](https://github.com/dart-lang/lints) from 2.1.1 to 3.0.0. - [Release notes](https://github.com/dart-lang/lints/releases) - [Changelog](https://github.com/dart-lang/lints/blob/main/CHANGELOG.md) - [Commits](https://github.com/dart-lang/lints/compare/v2.1.1...v3.0.0) --- updated-dependencies: - dependency-name: lints dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump lints from 2.1.1 to 3.0.0 in /dio (#1693) Bumps [lints](https://github.com/dart-lang/lints) from 2.1.1 to 3.0.0. - [Release notes](https://github.com/dart-lang/lints/releases) - [Changelog](https://github.com/dart-lang/lints/blob/main/CHANGELOG.md) - [Commits](https://github.com/dart-lang/lints/compare/v2.1.1...v3.0.0) --- updated-dependencies: - dependency-name: lints dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: profiling for iOS/macOS (#1611) Co-authored-by: Bruno Garcia Co-authored-by: Denis Andrašec Co-authored-by: Stefano * chore: update metrics/flutter.properties to 3.13.9 (#1702) * chore: log warning if both tracesSampleRate and tracesSampler are set (#1701) * Log warning if both tracesSampleRate and tracesSampler are set * Update CHANGELOG * Update log * Update CHANGELOG * chore: flutter symbol collector CLI tool (#1673) * release: 7.12.0 * Add `SentryNavigatorObserver` current route to `event.app.contexts.viewNames` (#1545) * fix: coverage not ignoring generated binding.dart (#1707) * Remove coverage for binding.dart * Breadcrumbs for database operations (#1656) * Bump actions/checkout from 3 to 4 (#1683) Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ScaCap/action-ktlint from 1.7.1 to 1.8.0 (#1681) Bumps [ScaCap/action-ktlint](https://github.com/scacap/action-ktlint) from 1.7.1 to 1.8.0. - [Release notes](https://github.com/scacap/action-ktlint/releases) - [Commits](https://github.com/scacap/action-ktlint/compare/2cf245b99bc91f73bc4c96a3d9d57bb5da3533ae...0ff81efa49425bd0df46caabd8005aafdc8f2cf2) --- updated-dependencies: - dependency-name: ScaCap/action-ktlint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 (#1682) Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.11.0 to 0.12.0. - [Release notes](https://github.com/styfle/cancel-workflow-action/releases) - [Commits](https://github.com/styfle/cancel-workflow-action/compare/b173b6ec0100793626c2d9e6b90435061f4fc3e5...01ce38bf961b4e243a6342cbade0dbc8ba3f0432) --- updated-dependencies: - dependency-name: styfle/cancel-workflow-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stefano Co-authored-by: Giancarlo Buenaflor * Bump dart-lang/setup-dart from 1.3.0 to 1.6.0 (#1692) Bumps [dart-lang/setup-dart](https://github.com/dart-lang/setup-dart) from 1.3.0 to 1.6.0. - [Release notes](https://github.com/dart-lang/setup-dart/releases) - [Changelog](https://github.com/dart-lang/setup-dart/blob/main/CHANGELOG.md) - [Commits](https://github.com/dart-lang/setup-dart/compare/6a218f2413a3e78e9087f638a238f6b40893203d...b64355ae6ca0b5d484f0106a033dd1388965d06d) --- updated-dependencies: - dependency-name: dart-lang/setup-dart dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * chore: update flutter/scripts/update-android.sh to 6.33.0 (#1710) Co-authored-by: GitHub * build(deps): bump subosito/flutter-action from 2.10.0 to 2.12.0 (#1711) Bumps [subosito/flutter-action](https://github.com/subosito/flutter-action) from 2.10.0 to 2.12.0. - [Release notes](https://github.com/subosito/flutter-action/releases) - [Commits](https://github.com/subosito/flutter-action/compare/48cafc24713cca54bbe03cdc3a423187d413aafa...2783a3f08e1baf891508463f8c6653c258246225) --- updated-dependencies: - dependency-name: subosito/flutter-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add `attachScreenshotOnlyWhenResumed` to options (#1700) * chore: update flutter/scripts/update-android.sh to 6.33.1 (#1713) Co-authored-by: GitHub * chore: update flutter/scripts/update-cocoa.sh to 8.15.0 (#1712) Co-authored-by: GitHub * chore: update flutter/scripts/update-cocoa.sh to 8.15.1 (#1714) Co-authored-by: GitHub * fix: unsupported types with expando (#1690) * Support string, int, double and bool as throwable for expando * Rename the test file and move it to utils folder{ * Remvoe ffi import * Update changelog * Try other url for dio pubspec doc url * Change doc url of logging pubspec * Remove unnecessary code * Update naming * Rename * chore: update flutter/scripts/update-cocoa.sh to 8.15.2 (#1717) Co-authored-by: GitHub * Parse message field in `PlatformException.message` (#1716) * Parse message field * changelog * Update CHANGELOG.md * Bump natiginfo/action-detekt-all from 1.21.0 to 1.23.1 (#1684) * Bump natiginfo/action-detekt-all from 1.21.0 to 1.23.1 Bumps [natiginfo/action-detekt-all](https://github.com/natiginfo/action-detekt-all) from 1.21.0 to 1.23.1. - [Release notes](https://github.com/natiginfo/action-detekt-all/releases) - [Commits](https://github.com/natiginfo/action-detekt-all/compare/e01de6ff0eef7c24131e8a133bf598cfac6ceeab...be3c18799c7c392b2f41a674beed9ced7ae2f21b) --- updated-dependencies: - dependency-name: natiginfo/action-detekt-all dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * fix braces * Add missing trailing comma --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * build(deps): bump natiginfo/action-detekt-all from 1.23.1 to 1.23.3 (#1722) Bumps [natiginfo/action-detekt-all](https://github.com/natiginfo/action-detekt-all) from 1.23.1 to 1.23.3. - [Release notes](https://github.com/natiginfo/action-detekt-all/releases) - [Commits](https://github.com/natiginfo/action-detekt-all/compare/be3c18799c7c392b2f41a674beed9ced7ae2f21b...68eb02dd9f2c2686d5026f5957756064424261a9) --- updated-dependencies: - dependency-name: natiginfo/action-detekt-all dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Remove renderer on Dart:io platforms (#1723) * Remove renderer on dart:io platforms * Tests + changelog * Update CHANGELOG.md * Fix tests * fix more tests * feat: drift apm (#1709) * draft impl * improve code * Add open span * Refactor to extend lazy database * Update * SentryTransactionExecutor * Implement tracing batch and transactions * Update tests * update changelog * Formatting * Update workflows * Update deps * Fix analyze issues * Format * Add example * Update descriptions * Fix deps * Update run commands * Update workflow * Update example * Update workflow * Format * Fix dart analyze * Try changing deps * Add to craft * Change to flutter test * Revert flutter test mock * change dir manually * download and extract sqlite.dll for windows * Try downloading sqlite3 * set up dart * fix path to file * use pub get * Use flutter pub get * fix * skip windows test * fix analyze * fix drift.yml * format * Remove redundant test * Remove debug print * update trace origin * Improvements * Improvements * Add to flutter example * fix: setting the correct locale to contexts with navigatorKey (#1724) * Add localization with navigatorKey * Update CHANGELOG * Update tests * Update tests * Format * Remove unused import * Apply review improvements * Update CHANGELOG * APM for hive (#1672) * setup sentry hive library * Add SentryBox with first test * test added spans * Add sentry hive impl * introduce base box to avoid duplication * implement lazy box test * expose sentry hive and updata documentation * add hive to flutter example app * test throwing in base_box, cleanup * test lazy box error cases * test sentry hive impl failures * run fix & format * fix test failure race condition * add hive workflow, update other workflows * add changelog entry * remove path+provider from dev_dependencies * add coverage dev dependency * fix deprecation warnings * fix changelog * move span wrapping on own class to avoid duplication * add sentry box collection * test added spans, fix imports * test throwing code * fix changelog * change dbSystem value * change db system * remove unneccessary async & await * Fix analyze * Formatting * Add changelog symlink * Ignore hive coverage * Create symlink for dartdoc_options --------- Co-authored-by: Giancarlo Buenaflor * release: 7.13.0 * Fixes release of drift & hive (#1729) * Add integrations * Readd changelog * Add drift and hive to bump versions * Formatting and analyze * Update CHANGELOG and fix test * Update changelog * fix analyze issue * release: 7.13.1 * Fix formatting and analyze ci issues (#1733) * Fix analysis * Update readme * run format * Add drift and hive as craft registry target (#1731) * Add drift and hive as registry target * build(deps): bump dart-lang/setup-dart from 1.3.0 to 1.6.0 (#1743) Bumps [dart-lang/setup-dart](https://github.com/dart-lang/setup-dart) from 1.3.0 to 1.6.0. - [Release notes](https://github.com/dart-lang/setup-dart/releases) - [Changelog](https://github.com/dart-lang/setup-dart/blob/main/CHANGELOG.md) - [Commits](https://github.com/dart-lang/setup-dart/compare/v1.3...b64355ae6ca0b5d484f0106a033dd1388965d06d) --- updated-dependencies: - dependency-name: dart-lang/setup-dart dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): update Android SDK to v6.34.0 (#1746) * chore: update flutter/scripts/update-android.sh to 6.34.0 * Update CHANGELOG --------- Co-authored-by: GitHub Co-authored-by: GIancarlo Buenaflor * deps: update `package_info_plus` constraints (#1749) * Update constraints * Update CHANGELOG * release: 7.13.2 * build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.4 (#1742) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.1 to 3.1.4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3.1.1...eaaf4bedf32dbdc6b720b63067d99c4d77d6047d) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * build(deps): bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 (#1741) Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.11.0 to 0.12.0. - [Release notes](https://github.com/styfle/cancel-workflow-action/releases) - [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.11.0...01ce38bf961b4e243a6342cbade0dbc8ba3f0432) --- updated-dependencies: - dependency-name: styfle/cancel-workflow-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * build(deps): bump actions/checkout from 3 to 4 (#1740) Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * build(deps): bump VeryGoodOpenSource/very_good_coverage (#1739) Bumps [VeryGoodOpenSource/very_good_coverage](https://github.com/verygoodopensource/very_good_coverage) from 2.1.0 to 2.2.0. - [Release notes](https://github.com/verygoodopensource/very_good_coverage/releases) - [Changelog](https://github.com/VeryGoodOpenSource/very_good_coverage/blob/main/CHANGELOG.md) - [Commits](https://github.com/verygoodopensource/very_good_coverage/compare/e5c91bc7ce9843e87c800b3bcafdfb86fbe28491...3b475421464c564c0714d92ce02742bd81fa9eda) --- updated-dependencies: - dependency-name: VeryGoodOpenSource/very_good_coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * chore: update scripts/update-symbol-collector.sh to 1.13.0 (#1737) Co-authored-by: GitHub * chore: update scripts/update-symbol-collector.sh to 1.13.0 (#1754) Co-authored-by: GitHub * Add option to opt out of fatal level for automatically collected errors (#1738) * build(deps): bump natiginfo/action-detekt-all from 1.23.3 to 1.23.4 (#1758) Bumps [natiginfo/action-detekt-all](https://github.com/natiginfo/action-detekt-all) from 1.23.3 to 1.23.4. - [Release notes](https://github.com/natiginfo/action-detekt-all/releases) - [Commits](https://github.com/natiginfo/action-detekt-all/compare/68eb02dd9f2c2686d5026f5957756064424261a9...1349d3d957cba64d7b6b2752ef874d1e03e402a2) --- updated-dependencies: - dependency-name: natiginfo/action-detekt-all dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): update Cocoa SDK to v8.17.0 (#1761) * chore: update flutter/scripts/update-cocoa.sh to 8.17.0 * Apply format --------- Co-authored-by: GitHub Co-authored-by: GIancarlo Buenaflor * build(deps): bump subosito/flutter-action from 2.10.0 to 2.12.0 (#1759) Bumps [subosito/flutter-action](https://github.com/subosito/flutter-action) from 2.10.0 to 2.12.0. - [Release notes](https://github.com/subosito/flutter-action/releases) - [Commits](https://github.com/subosito/flutter-action/compare/v2.10.0...2783a3f08e1baf891508463f8c6653c258246225) --- updated-dependencies: - dependency-name: subosito/flutter-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * chore: update metrics/flutter.properties to 3.16.1 (#1760) Co-authored-by: GitHub * fix(example): web obfuscation not working (#1766) * Add debug_meta to all events (#1756) * load_image_list_integration now appends debug_meta info to all non-transaction events with a stacktrace, instead of checking for Exception existence * chore: Update README to include drift and hive (#1735) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Co-authored-by: GIancarlo Buenaflor Co-authored-by: Giancarlo Buenaflor Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: getsentry-bot Co-authored-by: Denis Andrašec * chore: update metrics/flutter.properties to 3.16.2 (#1769) Co-authored-by: GitHub * chore(deps): update Cocoa SDK to v8.17.1 (#1771) * chore: update flutter/scripts/update-cocoa.sh to 8.17.1 * Formatting --------- Co-authored-by: GitHub Co-authored-by: GIancarlo Buenaflor * Add `Hive` breadcrumbs (#1773) * improvements(example): fix router navigation issue and add improvements (#1767) * Change http url and add route navigation observer example * Remove comment * Improve sample * Format * Add padding * Fix analyze issues * build(deps): bump actions/setup-java from 3 to 4 (#1772) Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: add new package release process (#1734) * add docs * Add flutter example step * Add analyze info * Update * Update new-package-release-checklist.md * fix(ci): compile error in example using flutter beta channel (#1783) * fix ci * chore(deps): update Cocoa SDK to v8.17.2 (#1787) * chore: update flutter/scripts/update-cocoa.sh to 8.17.2 --------- Co-authored-by: GitHub Co-authored-by: GIancarlo Buenaflor * chore: update flutter/scripts/update-android.sh to 7.0.0 (#1768) Co-authored-by: GitHub Co-authored-by: Giancarlo Buenaflor * release: 7.14.0 * Add `ConnectivityIntegration` for web (#1765) * Fix changelog (#1791) * build(deps): bump actions/upload-artifact from 3 to 4 (#1789) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * APM for isar (#1726) * Bump flutter_lints from 2.0.3 to 3.0.0 in /flutter (#1698) * Bump flutter_lints from 2.0.3 to 3.0.0 in /flutter Bumps [flutter_lints](https://github.com/flutter/packages/tree/main/packages) from 2.0.3 to 3.0.0. - [Release notes](https://github.com/flutter/packages/releases) - [Commits](https://github.com/flutter/packages/commits/pigeon-v3.0.0/packages) --- updated-dependencies: - dependency-name: flutter_lints dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Satisfy analyzer * Satisfy dart analyzer --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * chore: update metrics/flutter.properties to 3.16.5 (#1793) Co-authored-by: GitHub * Bump lints from 2.1.1 to 3.0.0 in /dart (#1695) * Bump lints from 2.1.1 to 3.0.0 in /dart Bumps [lints](https://github.com/dart-lang/lints) from 2.1.1 to 3.0.0. - [Release notes](https://github.com/dart-lang/lints/releases) - [Changelog](https://github.com/dart-lang/lints/blob/main/CHANGELOG.md) - [Commits](https://github.com/dart-lang/lints/compare/v2.1.1...v3.0.0) --- updated-dependencies: - dependency-name: lints dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * update --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GIancarlo Buenaflor * build(deps): bump reactivecircus/android-emulator-runner (#1779) Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.28.0 to 2.29.0. - [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases) - [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md) - [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b...99a4aac18b4df9b3af66c4a1f04c1f23fa10c270) --- updated-dependencies: - dependency-name: reactivecircus/android-emulator-runner dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * build(deps): bump subosito/flutter-action from 2.10.0 to 2.12.0 (#1796) Bumps [subosito/flutter-action](https://github.com/subosito/flutter-action) from 2.10.0 to 2.12.0. - [Release notes](https://github.com/subosito/flutter-action/releases) - [Commits](https://github.com/subosito/flutter-action/compare/v2.10.0...2783a3f08e1baf891508463f8c6653c258246225) --- updated-dependencies: - dependency-name: subosito/flutter-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: spotlight support (#1786) * Implement spotlight support (screenshots are currently disabled and removed from the envelope) * build(deps): bump VeryGoodOpenSource/very_good_coverage (#1795) Bumps [VeryGoodOpenSource/very_good_coverage](https://github.com/verygoodopensource/very_good_coverage) from 2.1.0 to 2.2.0. - [Release notes](https://github.com/verygoodopensource/very_good_coverage/releases) - [Changelog](https://github.com/VeryGoodOpenSource/very_good_coverage/blob/main/CHANGELOG.md) - [Commits](https://github.com/verygoodopensource/very_good_coverage/compare/v2.1.0...3b475421464c564c0714d92ce02742bd81fa9eda) --- updated-dependencies: - dependency-name: VeryGoodOpenSource/very_good_coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump actions/setup-java from 3 to 4 (#1797) Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update Path Filters (#1763) * Add app flavor to `flutter_context` (#1799) * Add app flavor * fix changelog * chore(deps): update Android SDK to v7.1.0 (#1788) * chore: update flutter/scripts/update-android.sh to 7.1.0 * Fix app start * format --------- Co-authored-by: GitHub Co-authored-by: GIancarlo Buenaflor * Add isar breadcrumbs (#1800) * chore: update flutter/scripts/update-cocoa.sh to 8.18.0 (#1803) Co-authored-by: GitHub * Add `beforeScreenshotCallback` to `SentryFlutterOptions` (#1805) * fix typo in docs (#1816) * chore: update metrics/flutter.properties to 3.16.7 (#1814) Co-authored-by: GitHub * Add support for `readTransaction` in `sqflite` (#1819) * ci: disable some tests temporarily (#1835) * release: 7.15.0 * Accept `Map` in `Hint` class (#1807) * build(deps): bump actions/cache from 3 to 4 (#1833) Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * build(deps): bump dart-lang/setup-dart from 1.6.0 to 1.6.1 (#1817) Bumps [dart-lang/setup-dart](https://github.com/dart-lang/setup-dart) from 1.6.0 to 1.6.1. - [Release notes](https://github.com/dart-lang/setup-dart/releases) - [Changelog](https://github.com/dart-lang/setup-dart/blob/main/CHANGELOG.md) - [Commits](https://github.com/dart-lang/setup-dart/compare/b64355ae6ca0b5d484f0106a033dd1388965d06d...ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b) --- updated-dependencies: - dependency-name: dart-lang/setup-dart dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * chore(deps): update Flutter SDK (metrics) to v3.16.8 (#1825) * chore: update metrics/flutter.properties to 3.16.8 * update path --------- Co-authored-by: GitHub Co-authored-by: Giancarlo Buenaflor * feat: tracing without performance for dio (#1837) * feat: tracing without performance for dio * chore: update CHANGELOG.md * chore: reenable testing sentry-dart on windows (#1838) * enable windows again * test with chrome * test with chrome * reenable windows test * chore: add isar to craft (#1843) * add isar * Update Changelog * chore(deps): update Cocoa SDK to v8.19.0 (#1844) * chore: update flutter/scripts/update-cocoa.sh to 8.19.0 --------- Co-authored-by: GitHub Co-authored-by: GIancarlo Buenaflor * feat: Add sentry widget that includes other sentry widgets (#1846) * add sentry widget * Update CHANGELOG.md * Update CHANGELOG.md * build(deps): bump styfle/cancel-workflow-action from 0.12.0 to 0.12.1 (#1849) Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.12.0 to 0.12.1. - [Release notes](https://github.com/styfle/cancel-workflow-action/releases) - [Commits](https://github.com/styfle/cancel-workflow-action/compare/01ce38bf961b4e243a6342cbade0dbc8ba3f0432...85880fa0301c86cca9da44039ee3bb12d3bedbfa) --- updated-dependencies: - dependency-name: styfle/cancel-workflow-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump reactivecircus/android-emulator-runner (#1848) Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.29.0 to 2.30.1. - [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases) - [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md) - [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/99a4aac18b4df9b3af66c4a1f04c1f23fa10c270...6b0df4b0efb23bb0ec63d881db79aefbc976e4b2) --- updated-dependencies: - dependency-name: reactivecircus/android-emulator-runner dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5 (#1850) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 3.1.5. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/eaaf4bedf32dbdc6b720b63067d99c4d77d6047d...4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * chore(deps): update Android SDK to v7.2.0 (#1815) * chore: update flutter/scripts/update-android.sh to 7.2.0 * Update podfile * Update podfile * Update deployment target * update * update --------- Co-authored-by: GitHub Co-authored-by: GIancarlo Buenaflor * chore(deps): update Flutter SDK (metrics) to v3.16.9 (#1847) * chore: update metrics/flutter.properties to 3.16.9 * update * update --------- Co-authored-by: GitHub Co-authored-by: GIancarlo Buenaflor * chore(deps): update Symbol collector CLI to v1.14.0 (#1827) * chore: update scripts/update-symbol-collector.sh to 1.14.0 * update --------- Co-authored-by: GitHub Co-authored-by: GIancarlo Buenaflor * Update CHANGELOG.md (#1845) * chore: update flutter/scripts/update-android.sh to 7.3.0 (#1852) Co-authored-by: GitHub * release: 7.16.0 * chore(sample): Upgrade SAGP to v4.2.0 in the flutter example app (#1860) * build(deps): bump dart-lang/setup-dart from 1.6.1 to 1.6.2 (#1864) Bumps [dart-lang/setup-dart](https://github.com/dart-lang/setup-dart) from 1.6.1 to 1.6.2. - [Release notes](https://github.com/dart-lang/setup-dart/releases) - [Changelog](https://github.com/dart-lang/setup-dart/blob/main/CHANGELOG.md) - [Commits](https://github.com/dart-lang/setup-dart/compare/ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b...fedb1266e91cf51be2fdb382869461a434b920a3) --- updated-dependencies: - dependency-name: dart-lang/setup-dart dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): update Cocoa SDK to v8.20.0 (#1856) * chore: update flutter/scripts/update-cocoa.sh to 8.20.0 * format --------- Co-authored-by: GitHub Co-authored-by: GIancarlo Buenaflor * build(deps): bump natiginfo/action-detekt-all from 1.23.4 to 1.23.5 (#1862) Bumps [natiginfo/action-detekt-all](https://github.com/natiginfo/action-detekt-all) from 1.23.4 to 1.23.5. - [Release notes](https://github.com/natiginfo/action-detekt-all/releases) - [Commits](https://github.com/natiginfo/action-detekt-all/compare/1349d3d957cba64d7b6b2752ef874d1e03e402a2...60495f27089d3432d83335c1f14e46ba61de5637) --- updated-dependencies: - dependency-name: natiginfo/action-detekt-all dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * build(deps): bump codecov/codecov-action from 3.1.5 to 4.0.1 (#1863) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.5 to 4.0.1. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0...e0b68c6749509c5f83f984dd99a76a1c1a231044) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * chore(android): Remove dead code, cold start bool is now always present (#1861) * chore(android): Remove dead code, cold start bool is now always present * Update CHANGELOG.md --------- Co-authored-by: Giancarlo Buenaflor * chore: update scripts/update-symbol-collector.sh to 1.15.0 (#1853) Co-authored-by: GitHub * build(deps): bump gradle/gradle-build-action from 2 to 3 (#1851) * build(deps): bump gradle/gradle-build-action from 2 to 3 Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2 to 3. - [Release notes](https://github.com/gradle/gradle-build-action/releases) - [Commits](https://github.com/gradle/gradle-build-action/compare/v2...v3) --- updated-dependencies: - dependency-name: gradle/gradle-build-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Update flutter_test.yml --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor * chore: update scripts/update-symbol-collector.sh to 1.15.0 (#1869) Co-authored-by: GitHub Co-authored-by: Giancarlo Buenaflor * merge main into release/8.0.0 * update * update * update * update * fix: remove Flutter dep from Drift integration (#1867) * Remove Flutter dep * Update CHANGELOG * Remove unused import * fix * fix * fix * Update flutter_test.yml * Update CHANGELOG.md --------- Signed-off-by: dependabot[bot] Co-authored-by: Ivan Dlugos <6349682+vaind@users.noreply.github.com> Co-authored-by: Denis Andrašec Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Co-authored-by: getsentry-bot Co-authored-by: getsentry-bot Co-authored-by: Jonas Uekötter Co-authored-by: Stefano Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bruno Garcia Co-authored-by: Stefano Co-authored-by: Oleg Magomedov <69794332+smart7even@users.noreply.github.com> Co-authored-by: Igor Khramtsov Co-authored-by: Kryštof Woldřich <31292499+krystofwoldrich@users.noreply.github.com> --- .github/workflows/analyze.yml | 2 +- .github/workflows/dart.yml | 4 ++-- .github/workflows/diagrams.yml | 2 +- .github/workflows/dio.yml | 4 ++-- .github/workflows/drift.yml | 2 +- .github/workflows/e2e_dart.yml | 2 +- .github/workflows/file.yml | 4 ++-- .github/workflows/flutter-symbols.yml | 4 ++-- .github/workflows/flutter.yml | 4 ++-- .github/workflows/flutter_test.yml | 2 +- .github/workflows/format-and-fix.yml | 2 +- .github/workflows/hive.yml | 4 ++-- .github/workflows/isar.yml | 2 +- .github/workflows/logging.yml | 4 ++-- .github/workflows/sqflite.yml | 2 +- CHANGELOG.md | 13 ++++++++++++- drift/README.md | 2 +- drift/pubspec.yaml | 1 - .../kotlin/io/sentry/flutter/SentryFlutterPlugin.kt | 3 --- flutter/example/android/build.gradle | 2 +- flutter/ios/sentry_flutter.podspec | 2 +- hive/README.md | 2 +- .../lib/src/symbol_collector_cli.dart | 2 +- 23 files changed, 39 insertions(+), 32 deletions(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 2db1a28642..28d192a55a 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -32,7 +32,7 @@ jobs: working-directory: ${{ inputs.package }} steps: - uses: actions/checkout@v4 - - uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # pin@v1 if: ${{ inputs.sdk == 'dart' }} - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 # pin@v2.12.0 if: ${{ inputs.sdk == 'flutter' }} diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index a8bccd8d82..776d63826c 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -39,7 +39,7 @@ jobs: - os: macos-latest sdk: beta steps: - - uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # pin@v1 with: sdk: ${{ matrix.sdk }} - uses: actions/checkout@v4 @@ -68,7 +68,7 @@ jobs: dart pub get webdev build - - uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@v3 + - uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # pin@v3 if: runner.os == 'Linux' && matrix.sdk == 'stable' with: name: sentry diff --git a/.github/workflows/diagrams.yml b/.github/workflows/diagrams.yml index 8b8cee500e..a7671824cf 100644 --- a/.github/workflows/diagrams.yml +++ b/.github/workflows/diagrams.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest name: "Create class diagrams of all packages" steps: - - uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # pin@v1 with: sdk: stable diff --git a/.github/workflows/dio.yml b/.github/workflows/dio.yml index f92f029d98..29f750381d 100644 --- a/.github/workflows/dio.yml +++ b/.github/workflows/dio.yml @@ -40,7 +40,7 @@ jobs: - os: macos-latest sdk: beta steps: - - uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # pin@v1 with: sdk: ${{ matrix.sdk }} - uses: actions/checkout@v4 @@ -52,7 +52,7 @@ jobs: dart test -p vm --coverage=coverage --test-randomize-ordering-seed=random --chain-stack-traces dart pub run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib - - uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@v3 + - uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # pin@v3 if: runner.os == 'Linux' && matrix.sdk == 'stable' with: name: sentry_dio diff --git a/.github/workflows/drift.yml b/.github/workflows/drift.yml index bbd07f905b..b3c8b1dc91 100644 --- a/.github/workflows/drift.yml +++ b/.github/workflows/drift.yml @@ -93,7 +93,7 @@ jobs: cd drift flutter test --coverage --test-randomize-ordering-seed=random - - uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@v3 + - uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # pin@v3 if: runner.os == 'Linux' && matrix.sdk == 'stable' && matrix.target == 'linux' with: name: sentry_drift diff --git a/.github/workflows/e2e_dart.yml b/.github/workflows/e2e_dart.yml index bec5e47c95..64a2644940 100644 --- a/.github/workflows/e2e_dart.yml +++ b/.github/workflows/e2e_dart.yml @@ -37,7 +37,7 @@ jobs: matrix: sdk: [stable, beta] steps: - - uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # pin@v1 with: sdk: ${{ matrix.sdk }} - uses: actions/checkout@v4 diff --git a/.github/workflows/file.yml b/.github/workflows/file.yml index d981a7cac5..41c4623324 100644 --- a/.github/workflows/file.yml +++ b/.github/workflows/file.yml @@ -41,7 +41,7 @@ jobs: - os: macos-latest sdk: beta steps: - - uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # pin@v1 with: sdk: ${{ matrix.sdk }} - uses: actions/checkout@v4 @@ -52,7 +52,7 @@ jobs: dart test -p vm --coverage=coverage --test-randomize-ordering-seed=random --chain-stack-traces dart pub run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib - - uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@v3 + - uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # pin@v3 if: runner.os == 'Linux' && matrix.sdk == 'stable' with: name: sentry_file diff --git a/.github/workflows/flutter-symbols.yml b/.github/workflows/flutter-symbols.yml index 4462ccccc8..e9fccdbbbc 100644 --- a/.github/workflows/flutter-symbols.yml +++ b/.github/workflows/flutter-symbols.yml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # pin@v1 - run: dart pub get @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # pin@v1 - run: dart pub get diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index 4443f84e05..02d9a1f012 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -106,7 +106,7 @@ jobs: flutter test --coverage --test-randomize-ordering-seed=random dart run remove_from_coverage -f coverage/lcov.info -r 'binding.dart' - - uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@v3 + - uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # pin@v3 if: runner.os == 'Linux' && matrix.sdk == 'stable' && matrix.target == 'linux' with: name: sentry_flutter @@ -201,6 +201,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@1349d3d957cba64d7b6b2752ef874d1e03e402a2 # pin@1.23.4 + - uses: natiginfo/action-detekt-all@60495f27089d3432d83335c1f14e46ba61de5637 # pin@1.23.5 with: args: -i flutter/android,flutter/example/android --baseline flutter/config/detekt-bl.xml --jvm-target 1.8 --build-upon-default-config --all-rules diff --git a/.github/workflows/flutter_test.yml b/.github/workflows/flutter_test.yml index 4bbe7a5215..987897c92b 100644 --- a/.github/workflows/flutter_test.yml +++ b/.github/workflows/flutter_test.yml @@ -54,7 +54,7 @@ jobs: run: flutter pub get - name: Gradle cache - uses: gradle/gradle-build-action@982da8e78c05368c70dac0351bb82647a9e9a5d2 # pin@v2.11.1 + uses: gradle/gradle-build-action@3b1b3b9a2104c2b47fbae53f3938079c00c9bb87 # pin@v3.0.0 - name: AVD cache uses: actions/cache@v4 diff --git a/.github/workflows/format-and-fix.yml b/.github/workflows/format-and-fix.yml index 4f6d96f106..681514d13d 100644 --- a/.github/workflows/format-and-fix.yml +++ b/.github/workflows/format-and-fix.yml @@ -30,7 +30,7 @@ jobs: working-directory: ${{ matrix.package.name }} steps: - uses: actions/checkout@v4 - - uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # pin@v1 if: ${{ matrix.package.sdk == 'dart' }} - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 # pin@v2.12.0 if: ${{ matrix.package.sdk == 'flutter' }} diff --git a/.github/workflows/hive.yml b/.github/workflows/hive.yml index 5893673318..f13e8d1522 100644 --- a/.github/workflows/hive.yml +++ b/.github/workflows/hive.yml @@ -40,7 +40,7 @@ jobs: - os: macos-latest sdk: beta steps: - - uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # pin@v1 with: sdk: ${{ matrix.sdk }} - uses: actions/checkout@v4 @@ -51,7 +51,7 @@ jobs: dart test -p vm --coverage=coverage --test-randomize-ordering-seed=random --chain-stack-traces dart pub run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib - - uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@v3 + - uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # pin@v3 if: runner.os == 'Linux' && matrix.sdk == 'stable' with: name: sentry_hive diff --git a/.github/workflows/isar.yml b/.github/workflows/isar.yml index f4038421df..a1e67c3bc8 100644 --- a/.github/workflows/isar.yml +++ b/.github/workflows/isar.yml @@ -93,7 +93,7 @@ jobs: cd isar flutter test -j 1 --coverage --test-randomize-ordering-seed=random - - uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@v3 + - uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # pin@v3 if: runner.os == 'Linux' && matrix.sdk == 'stable' && matrix.target == 'linux' with: name: sentry_isar diff --git a/.github/workflows/logging.yml b/.github/workflows/logging.yml index 9a3fead839..6eafdc199a 100644 --- a/.github/workflows/logging.yml +++ b/.github/workflows/logging.yml @@ -40,7 +40,7 @@ jobs: - os: macos-latest sdk: beta steps: - - uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1 + - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # pin@v1 with: sdk: ${{ matrix.sdk }} - uses: actions/checkout@v4 @@ -52,7 +52,7 @@ jobs: dart test -p vm --coverage=coverage --test-randomize-ordering-seed=random --chain-stack-traces dart pub run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib - - uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@v3 + - uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # pin@v3 if: runner.os == 'Linux' && matrix.sdk == 'stable' with: name: sentry_logging diff --git a/.github/workflows/sqflite.yml b/.github/workflows/sqflite.yml index a94c31475f..9d3caa78bd 100644 --- a/.github/workflows/sqflite.yml +++ b/.github/workflows/sqflite.yml @@ -93,7 +93,7 @@ jobs: cd sqflite flutter test --coverage --test-randomize-ordering-seed=random - - uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@v3 + - uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # pin@v3 if: runner.os == 'Linux' && matrix.sdk == 'stable' && matrix.target == 'linux' with: name: sentry_sqflite diff --git a/CHANGELOG.md b/CHANGELOG.md index 262bdd0d7e..875e2beade 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 8.0.0 +## Unreleased ### Breaking Changes @@ -18,6 +18,17 @@ - Set ip_address to {{auto}} by default, even if sendDefaultPII is disabled ([#1665](https://github.com/getsentry/sentry-dart/pull/1665)) - Instead use the "Prevent Storing of IP Addresses" option in the "Security & Privacy" project settings on sentry.io +### Fixes + +- Remove Flutter dependency from Drift integration ([#1867](https://github.com/getsentry/sentry-dart/pull/1867)) +- Remove dead code, cold start bool is now always present ([#1861](https://github.com/getsentry/sentry-dart/pull/1861)) + +### Dependencies + +- Bump Cocoa SDK from v8.19.0 to v8.20.0 ([#1856](https://github.com/getsentry/sentry-dart/pull/1856)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8200) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.19.0...8.20.0) + ## 7.16.0 ### Features diff --git a/drift/README.md b/drift/README.md index 2a572aba02..57b335700a 100644 --- a/drift/README.md +++ b/drift/README.md @@ -79,4 +79,4 @@ Future runApp() async { * [![Discussions](https://img.shields.io/github/discussions/getsentry/sentry-dart.svg)](https://github.com/getsentry/sentry-dart/discussions) * [![Discord Chat](https://img.shields.io/discord/621778831602221064?logo=discord&logoColor=ffffff&color=7389D8)](https://discord.gg/PXa5Apfe7K) * [![Stack Overflow](https://img.shields.io/badge/stack%20overflow-sentry-green.svg)](https://stackoverflow.com/questions/tagged/sentry) -* [![Twitter Follow](https://img.shields.io/twitter/follow/getsentry?label=getsentry&style=social)](https://twitter.com/intent/follow?screen_name=getsentry) \ No newline at end of file +* [![Twitter Follow](https://img.shields.io/twitter/follow/getsentry?label=getsentry&style=social)](https://twitter.com/intent/follow?screen_name=getsentry) diff --git a/drift/pubspec.yaml b/drift/pubspec.yaml index 92323b4f63..93a854043f 100644 --- a/drift/pubspec.yaml +++ b/drift/pubspec.yaml @@ -7,7 +7,6 @@ issue_tracker: https://github.com/getsentry/sentry-dart/issues environment: sdk: '>=2.17.0 <4.0.0' - flutter: '>=3.3.0' dependencies: sentry: 7.16.0 diff --git a/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt b/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt index 602253bbb3..5aad15a0b3 100644 --- a/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt +++ b/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt @@ -134,9 +134,6 @@ class SentryFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware { if (appStartTime == null) { Log.w("Sentry", "App start won't be sent due to missing appStartTime") result.success(null) - } else if (isColdStart == null) { - Log.w("Sentry", "App start won't be sent due to missing isColdStart") - result.success(null) } else { val appStartTimeMillis = DateUtils.nanosToMillis(appStartTime.nanoTimestamp().toDouble()) val item = mapOf( diff --git a/flutter/example/android/build.gradle b/flutter/example/android/build.gradle index e628374358..50bb21eda7 100644 --- a/flutter/example/android/build.gradle +++ b/flutter/example/android/build.gradle @@ -7,7 +7,7 @@ buildscript { } dependencies { - classpath 'io.sentry:sentry-android-gradle-plugin:3.5.0' + classpath 'io.sentry:sentry-android-gradle-plugin:4.2.0' classpath 'com.android.tools.build:gradle:7.2.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'io.github.howardpang:androidNativeBundle:1.1.3' diff --git a/flutter/ios/sentry_flutter.podspec b/flutter/ios/sentry_flutter.podspec index b5cf5dd606..ff0d593ea2 100644 --- a/flutter/ios/sentry_flutter.podspec +++ b/flutter/ios/sentry_flutter.podspec @@ -12,7 +12,7 @@ Sentry SDK for Flutter with support to native through sentry-cocoa. :tag => s.version.to_s } s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' - s.dependency 'Sentry/HybridSDK', '8.19.0' + s.dependency 'Sentry/HybridSDK', '8.20.0' s.ios.dependency 'Flutter' s.osx.dependency 'FlutterMacOS' s.ios.deployment_target = '12.0' diff --git a/hive/README.md b/hive/README.md index 14f26d9ce8..b67e9e4f7b 100644 --- a/hive/README.md +++ b/hive/README.md @@ -83,4 +83,4 @@ class Person { * [![Discussions](https://img.shields.io/github/discussions/getsentry/sentry-dart.svg)](https://github.com/getsentry/sentry-dart/discussions) * [![Discord Chat](https://img.shields.io/discord/621778831602221064?logo=discord&logoColor=ffffff&color=7389D8)](https://discord.gg/PXa5Apfe7K) * [![Stack Overflow](https://img.shields.io/badge/stack%20overflow-sentry-green.svg)](https://stackoverflow.com/questions/tagged/sentry) -* [![Twitter Follow](https://img.shields.io/twitter/follow/getsentry?label=getsentry&style=social)](https://twitter.com/intent/follow?screen_name=getsentry) \ No newline at end of file +* [![Twitter Follow](https://img.shields.io/twitter/follow/getsentry?label=getsentry&style=social)](https://twitter.com/intent/follow?screen_name=getsentry) diff --git a/scripts/flutter_symbol_collector/lib/src/symbol_collector_cli.dart b/scripts/flutter_symbol_collector/lib/src/symbol_collector_cli.dart index 1d4e29a66a..c3ab23ee83 100644 --- a/scripts/flutter_symbol_collector/lib/src/symbol_collector_cli.dart +++ b/scripts/flutter_symbol_collector/lib/src/symbol_collector_cli.dart @@ -19,7 +19,7 @@ class SymbolCollectorCli { // https://github.com/getsentry/symbol-collector/releases @internal - static const version = '1.14.0'; + static const version = '1.15.0'; @internal late final String cli;