Skip to content

Commit d99a1e4

Browse files
buenaflorvainddenrasegithub-actions[bot]web-flow
authored
chore: merge main into v8 branch (#1841)
* 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 <noreply@github.com> * 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 <noreply@github.com> * 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 <noreply@github.com> * 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 <noreply@github.com> * 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 <noreply@github.com> Co-authored-by: Stefano <stefano.siano@sentry.io> * 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 <noreply@github.com> * 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 <noreply@github.com> * 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 <noreply@github.com> * 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 <noreply@github.com> Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](dart-archive/lints@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] <support@github.com> 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](dart-archive/lints@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] <support@github.com> 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](dart-archive/lints@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] <support@github.com> 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](dart-archive/lints@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: profiling for iOS/macOS (#1611) Co-authored-by: Bruno Garcia <bruno@brunogarcia.com> Co-authored-by: Denis Andrašec <denrase@gmail.com> Co-authored-by: Stefano <stefano.siano91@gmail.com> * 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](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> 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](ScaCap/action-ktlint@2cf245b...0ff81ef) --- updated-dependencies: - dependency-name: ScaCap/action-ktlint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 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](styfle/cancel-workflow-action@b173b6e...01ce38b) --- updated-dependencies: - dependency-name: styfle/cancel-workflow-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stefano <stefano.siano@sentry.io> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](dart-lang/setup-dart@6a218f2...b64355a) --- updated-dependencies: - dependency-name: dart-lang/setup-dart dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * chore: update flutter/scripts/update-android.sh to 6.33.0 (#1710) Co-authored-by: GitHub <noreply@github.com> * 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](subosito/flutter-action@48cafc2...2783a3f) --- updated-dependencies: - dependency-name: subosito/flutter-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 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 <noreply@github.com> * chore: update flutter/scripts/update-cocoa.sh to 8.15.0 (#1712) Co-authored-by: GitHub <noreply@github.com> * chore: update flutter/scripts/update-cocoa.sh to 8.15.1 (#1714) Co-authored-by: GitHub <noreply@github.com> * 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 <noreply@github.com> * 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](natiginfo/action-detekt-all@e01de6f...be3c187) --- updated-dependencies: - dependency-name: natiginfo/action-detekt-all dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix braces * Add missing trailing comma --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](natiginfo/action-detekt-all@be3c187...68eb02d) --- updated-dependencies: - dependency-name: natiginfo/action-detekt-all dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> 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 <giancarlo_buenaflor@yahoo.com> * 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](dart-lang/setup-dart@v1.3...b64355a) --- updated-dependencies: - dependency-name: dart-lang/setup-dart dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 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 <noreply@github.com> Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](codecov/codecov-action@v3.1.1...eaaf4be) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](styfle/cancel-workflow-action@0.11.0...01ce38b) --- updated-dependencies: - dependency-name: styfle/cancel-workflow-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](VeryGoodOpenSource/very_good_coverage@e5c91bc...3b47542) --- updated-dependencies: - dependency-name: VeryGoodOpenSource/very_good_coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * chore: update scripts/update-symbol-collector.sh to 1.13.0 (#1737) Co-authored-by: GitHub <noreply@github.com> * chore: update scripts/update-symbol-collector.sh to 1.13.0 (#1754) Co-authored-by: GitHub <noreply@github.com> * 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](natiginfo/action-detekt-all@68eb02d...1349d3d) --- updated-dependencies: - dependency-name: natiginfo/action-detekt-all dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> 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 <noreply@github.com> Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](subosito/flutter-action@v2.10.0...2783a3f) --- updated-dependencies: - dependency-name: subosito/flutter-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * chore: update metrics/flutter.properties to 3.16.1 (#1760) Co-authored-by: GitHub <noreply@github.com> * 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 <noreply@github.com> Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: getsentry-bot <bot@sentry.io> Co-authored-by: Denis Andrašec <denrase@gmail.com> * chore: update metrics/flutter.properties to 3.16.2 (#1769) Co-authored-by: GitHub <noreply@github.com> * 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 <noreply@github.com> Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](actions/setup-java@v3...v4) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> 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 <noreply@github.com> Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * chore: update flutter/scripts/update-android.sh to 7.0.0 (#1768) Co-authored-by: GitHub <noreply@github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](actions/upload-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> 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] <support@github.com> * Satisfy analyzer * Satisfy dart analyzer --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * chore: update metrics/flutter.properties to 3.16.5 (#1793) Co-authored-by: GitHub <noreply@github.com> * 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](dart-archive/lints@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] <support@github.com> * update --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](ReactiveCircus/android-emulator-runner@d94c3fb...99a4aac) --- updated-dependencies: - dependency-name: reactivecircus/android-emulator-runner dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](subosito/flutter-action@v2.10.0...2783a3f) --- updated-dependencies: - dependency-name: subosito/flutter-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 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](VeryGoodOpenSource/very_good_coverage@v2.1.0...3b47542) --- updated-dependencies: - dependency-name: VeryGoodOpenSource/very_good_coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 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](actions/setup-java@v3...v4) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> 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 <noreply@github.com> Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * Add isar breadcrumbs (#1800) * chore: update flutter/scripts/update-cocoa.sh to 8.18.0 (#1803) Co-authored-by: GitHub <noreply@github.com> * Add `beforeScreenshotCallback` to `SentryFlutterOptions` (#1805) * fix typo in docs (#1816) * chore: update metrics/flutter.properties to 3.16.7 (#1814) Co-authored-by: GitHub <noreply@github.com> * Add support for `readTransaction` in `sqflite` (#1819) * ci: disable some tests temporarily (#1835) * release: 7.15.0 * Accept `Map<String, dynamic>` 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](actions/cache@v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * proper changelog * fix * pin version * format ktlint * fix ktlint * fix ktlint * fix ktlint * update detekt baseline * 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](dart-lang/setup-dart@b64355a...ca7e6fe) --- updated-dependencies: - dependency-name: dart-lang/setup-dart dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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 <noreply@github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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 <noreply@github.com> Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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](styfle/cancel-workflow-action@01ce38b...85880fa) --- updated-dependencies: - dependency-name: styfle/cancel-workflow-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> 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](ReactiveCircus/android-emulator-runner@99a4aac...6b0df4b) --- updated-dependencies: - dependency-name: reactivecircus/android-emulator-runner dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 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](codecov/codecov-action@eaaf4be...4fe8c5f) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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 <noreply@github.com> Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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 <noreply@github.com> Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * 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 <noreply@github.com> Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com> * Update CHANGELOG.md (#1845) * chore: update flutter/scripts/update-android.sh to 7.3.0 (#1852) Co-authored-by: GitHub <noreply@github.com> * release: 7.16.0 * Update CHANGELOG.md * Update .craft.yml * Update resources in readme --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Ivan Dlugos <6349682+vaind@users.noreply.github.com> Co-authored-by: Denis Andrašec <denrase@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub <noreply@github.com> Co-authored-by: getsentry-bot <bot@sentry.io> Co-authored-by: getsentry-bot <bot@getsentry.com> Co-authored-by: Jonas Uekötter <ueman@users.noreply.github.com> Co-authored-by: Stefano <stefano.siano@sentry.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bruno Garcia <bruno@brunogarcia.com> Co-authored-by: Stefano <stefano.siano91@gmail.com> Co-authored-by: Oleg Magomedov <69794332+smart7even@users.noreply.github.com> Co-authored-by: Igor Khramtsov <igor.khramtsov@proton.me>
1 parent 9b28718 commit d99a1e4

File tree

326 files changed

+98367
-1940
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

326 files changed

+98367
-1940
lines changed

.craft.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ targets:
1111
dio:
1212
file:
1313
sqflite:
14+
hive:
15+
drift:
16+
isar:
1417
- name: github
1518
- name: registry
1619
sdks:
@@ -20,3 +23,6 @@ targets:
2023
pub:sentry_dio:
2124
pub:sentry_file:
2225
pub:sentry_sqflite:
26+
pub:sentry_drift:
27+
pub:sentry_hive:
28+
pub:sentry_isar:

.github/dependabot.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: pub
4+
directory: /dart
5+
schedule:
6+
interval: weekly
7+
open-pull-requests-limit: 2
8+
versioning-strategy: increase-if-necessary
9+
10+
- package-ecosystem: pub
11+
directory: /flutter
12+
schedule:
13+
interval: weekly
14+
open-pull-requests-limit: 2
15+
versioning-strategy: increase-if-necessary
16+
17+
- package-ecosystem: pub
18+
directory: /dio
19+
schedule:
20+
interval: weekly
21+
open-pull-requests-limit: 2
22+
versioning-strategy: increase-if-necessary
23+
24+
- package-ecosystem: pub
25+
directory: /file
26+
schedule:
27+
interval: weekly
28+
open-pull-requests-limit: 2
29+
versioning-strategy: increase-if-necessary
30+
31+
- package-ecosystem: pub
32+
directory: /logging
33+
schedule:
34+
interval: weekly
35+
open-pull-requests-limit: 2
36+
versioning-strategy: increase-if-necessary
37+
38+
- package-ecosystem: pub
39+
directory: /sqflite
40+
schedule:
41+
interval: weekly
42+
open-pull-requests-limit: 2
43+
versioning-strategy: increase-if-necessary
44+
45+
- package-ecosystem: github-actions
46+
directory: /
47+
schedule:
48+
interval: weekly

.github/workflows/analyze.yml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,39 +19,29 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Cancel Previous Runs
22-
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # pin@0.11.0
22+
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # pin@0.12.1
2323
with:
2424
access_token: ${{ github.token }}
2525

2626
analyze:
27-
name: Format, fix & analyze Code
2827
if: ${{ !startsWith(github.ref, 'refs/heads/release/') }}
2928
runs-on: ubuntu-latest
3029
timeout-minutes: 20
3130
defaults:
3231
run:
3332
working-directory: ${{ inputs.package }}
3433
steps:
35-
- uses: actions/checkout@v3
36-
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d # pin@v1
34+
- uses: actions/checkout@v4
35+
- uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1
3736
if: ${{ inputs.sdk == 'dart' }}
38-
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # pin@v2.10.0
37+
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 # pin@v2.12.0
3938
if: ${{ inputs.sdk == 'flutter' }}
4039

4140
- run: ${{ inputs.sdk }} pub get
42-
43-
- run: dart format .
44-
45-
- run: dart fix --apply
46-
47-
# actions/checkout fetches only a single commit in a detached HEAD state. Therefore
48-
# we need to pass the current branch, otherwise we can't commit the changes.
49-
# GITHUB_HEAD_REF is the name of the head branch. GitHub Actions only sets this for PRs.
50-
- run: ../scripts/commit-formatted-code.sh $GITHUB_HEAD_REF
51-
if: env.GITHUB_HEAD_REF != null
52-
41+
- run: dart format --set-exit-if-changed ./
42+
5343
- name: dart analyze
54-
uses: invertase/github-action-dart-analyzer@cdd8652b05bf7ed08ffce30f425436780f869f13 # pin@v1
44+
uses: invertase/github-action-dart-analyzer@1cda5922c6369263b1c7e2fbe281f69704f4d63e # pin@v2.0.0
5545
with:
5646
annotate: true
5747
fatal-infos: true
@@ -69,7 +59,12 @@ jobs:
6959
runs-on: ubuntu-latest
7060
timeout-minutes: 20
7161
steps:
72-
- uses: actions/checkout@v3
62+
- uses: actions/checkout@v4
63+
- name: Apply dependency override
64+
if: ${{ inputs.package == 'flutter' }}
65+
working-directory: ${{ inputs.package }}
66+
run: |
67+
sed -i.bak 's|sentry:.*|sentry:\n path: /github/workspace/dart|g' pubspec.yaml
7368
- uses: axel-op/dart-package-analyzer@7a6c3c66bce78d82b729a1ffef2d9458fde6c8d2 # pin@v3
7469
id: analysis
7570
with:

.github/workflows/dart.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ on:
55
- main
66
- release/**
77
pull_request:
8-
paths-ignore:
9-
- 'logging/**'
10-
- 'dio/**'
11-
- 'file/**'
12-
- 'sqflite/**'
8+
paths:
9+
- "!**/*.md"
10+
- "!**/class-diagram.svg"
11+
- ".github/workflows/dart.yml"
12+
- "dart/**"
1313

1414
jobs:
1515
cancel-previous-workflow:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Cancel Previous Runs
19-
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # pin@0.11.0
19+
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # pin@0.12.1
2020
with:
2121
access_token: ${{ github.token }}
2222

@@ -39,10 +39,10 @@ jobs:
3939
- os: macos-latest
4040
sdk: beta
4141
steps:
42-
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d # pin@v1
42+
- uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1
4343
with:
4444
sdk: ${{ matrix.sdk }}
45-
- uses: actions/checkout@v3
45+
- uses: actions/checkout@v4
4646

4747
- name: Test (VM and browser)
4848
run: |
@@ -68,16 +68,16 @@ jobs:
6868
dart pub get
6969
webdev build
7070
71-
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # pin@v3
71+
- uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@v3
7272
if: runner.os == 'Linux' && matrix.sdk == 'stable'
7373
with:
7474
name: sentry
7575
files: ./dart/coverage/lcov.info
7676

77-
- uses: VeryGoodOpenSource/very_good_coverage@84e5b54ab888644554e5573dca87d7f76dec9fb3 # pin@v2.0.0
77+
- uses: VeryGoodOpenSource/very_good_coverage@3b475421464c564c0714d92ce02742bd81fa9eda # pin@v2.2.0
7878
if: runner.os == 'Linux' && matrix.sdk == 'stable'
7979
with:
80-
path: './dart/coverage/lcov.info'
80+
path: "./dart/coverage/lcov.info"
8181
min_coverage: 85
8282

8383
analyze:

.github/workflows/diagrams.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: diagrams
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
diagrams:
7+
runs-on: ubuntu-latest
8+
name: "Create class diagrams of all packages"
9+
steps:
10+
- uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1
11+
with:
12+
sdk: stable
13+
14+
- uses: actions/checkout@v4
15+
16+
- name: dependencies
17+
run: |
18+
dart pub global activate lakos
19+
sudo apt update
20+
sudo apt install graphviz
21+
22+
- name: dart
23+
working-directory: ./dart
24+
run: lakos . -i "{test/**,example/**,example_web/**}" | dot -Tsvg -o class-diagram.svg
25+
26+
- name: flutter
27+
working-directory: ./flutter
28+
run: lakos . -i "{test/**,example/**}" | dot -Tsvg -o class-diagram.svg
29+
30+
- name: dio
31+
working-directory: ./dio
32+
run: lakos . -i "{test/**,example/**}" | dot -Tsvg -o class-diagram.svg
33+
34+
- name: file
35+
working-directory: ./file
36+
run: lakos . -i "{test/**,example/**}" | dot -Tsvg -o class-diagram.svg
37+
38+
- name: sqflite
39+
working-directory: ./sqflite
40+
run: lakos . -i "{test/**,example/**}" | dot -Tsvg -o class-diagram.svg
41+
42+
- name: logging
43+
working-directory: ./logging
44+
run: lakos . -i "{test/**,example/**}" | dot -Tsvg -o class-diagram.svg
45+
46+
- name: hive
47+
working-directory: ./hive
48+
run: lakos . -i "{test/**,example/**}" | dot -Tsvg -o class-diagram.svg
49+
50+
- name: isar
51+
working-directory: ./isar
52+
run: lakos . -i "{test/**,example/**}" | dot -Tsvg -o class-diagram.svg
53+
54+
# Source: https://stackoverflow.com/a/58035262
55+
- name: Extract branch name
56+
shell: bash
57+
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
58+
id: extract_branch
59+
60+
# actions/checkout fetches only a single commit in a detached HEAD state. Therefore
61+
# we need to pass the current branch, otherwise we can't commit the changes.
62+
# GITHUB_HEAD_REF is the name of the head branch. GitHub Actions only sets this for PRs.
63+
- name: Commit & push
64+
run: ./scripts/commit-code.sh ${{ steps.extract_branch.outputs.branch }} "Update class diagrams"

.github/workflows/dio.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,19 @@ on:
55
- main
66
- release/**
77
pull_request:
8-
paths-ignore:
9-
- 'logging/**'
10-
- 'flutter/**'
11-
- 'file/**'
12-
- 'sqflite/**'
8+
paths:
9+
- "!**/*.md"
10+
- "!**/class-diagram.svg"
11+
- ".github/workflows/dio.yml"
12+
- "dart/**"
13+
- "dio/**"
1314

1415
jobs:
1516
cancel-previous-workflow:
1617
runs-on: ubuntu-latest
1718
steps:
1819
- name: Cancel Previous Runs
19-
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # pin@0.11.0
20+
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # pin@0.12.1
2021
with:
2122
access_token: ${{ github.token }}
2223

@@ -34,15 +35,15 @@ jobs:
3435
os: [ubuntu-latest, windows-latest, macos-latest]
3536
sdk: [stable, beta]
3637
exclude:
37-
- os: windows-latest
38+
- os: windows-latest
3839
sdk: beta
3940
- os: macos-latest
4041
sdk: beta
4142
steps:
42-
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d # pin@v1
43+
- uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b # pin@v1
4344
with:
4445
sdk: ${{ matrix.sdk }}
45-
- uses: actions/checkout@v3
46+
- uses: actions/checkout@v4
4647

4748
- name: Test (VM and browser)
4849
run: |
@@ -51,16 +52,16 @@ jobs:
5152
dart test -p vm --coverage=coverage --test-randomize-ordering-seed=random --chain-stack-traces
5253
dart pub run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib
5354
54-
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # pin@v3
55+
- uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@v3
5556
if: runner.os == 'Linux' && matrix.sdk == 'stable'
5657
with:
5758
name: sentry_dio
5859
files: ./dio/coverage/lcov.info
5960

60-
- uses: VeryGoodOpenSource/very_good_coverage@84e5b54ab888644554e5573dca87d7f76dec9fb3 # pin@v2.0.0
61+
- uses: VeryGoodOpenSource/very_good_coverage@3b475421464c564c0714d92ce02742bd81fa9eda # pin@v2.2.0
6162
if: runner.os == 'Linux' && matrix.sdk == 'stable'
6263
with:
63-
path: './dio/coverage/lcov.info'
64+
path: "./dio/coverage/lcov.info"
6465
min_coverage: 81
6566

6667
analyze:

0 commit comments

Comments
 (0)