Skip to content

Commit

Permalink
ICPFLUTTER-1065 8.3.0 mod (#3)
Browse files Browse the repository at this point in the history
* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* chore: update scripts/update-symbol-collector.sh to 1.13.0 (#1737)

Co-authored-by: GitHub <[email protected]>

* chore: update scripts/update-symbol-collector.sh to 1.13.0 (#1754)

Co-authored-by: GitHub <[email protected]>

* rename deprecated method to avoid conflict if the method still available

* 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] <[email protected]>
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 <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* chore: update metrics/flutter.properties to 3.16.1 (#1760)

Co-authored-by: GitHub <[email protected]>

* 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 <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>
Co-authored-by: Giancarlo Buenaflor <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: getsentry-bot <[email protected]>
Co-authored-by: Denis Andrašec <[email protected]>

* chore: update metrics/flutter.properties to 3.16.2 (#1769)

Co-authored-by: GitHub <[email protected]>

* 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 <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
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 <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* chore: update flutter/scripts/update-android.sh to 7.0.0 (#1768)

Co-authored-by: GitHub <[email protected]>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
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] <[email protected]>

* Satisfy analyzer

* Satisfy dart analyzer

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* chore: update metrics/flutter.properties to 3.16.5 (#1793)

Co-authored-by: GitHub <[email protected]>

* 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] <[email protected]>

* update

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
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] <[email protected]>
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] <[email protected]>
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 <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* Add isar breadcrumbs (#1800)

* chore: update flutter/scripts/update-cocoa.sh to 8.18.0 (#1803)

Co-authored-by: GitHub <[email protected]>

* Add `beforeScreenshotCallback` to `SentryFlutterOptions` (#1805)

* fix typo in docs (#1816)

* chore: update metrics/flutter.properties to 3.16.7 (#1814)

Co-authored-by: GitHub <[email protected]>

* 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](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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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 <[email protected]>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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 <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
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] <[email protected]>
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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 <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* 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 <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* 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 <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* Update CHANGELOG.md (#1845)

* chore: update flutter/scripts/update-android.sh to 7.3.0 (#1852)

Co-authored-by: GitHub <[email protected]>

* 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] <[email protected]>
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 <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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 <[email protected]>

* chore: update scripts/update-symbol-collector.sh to 1.15.0 (#1853)

Co-authored-by: GitHub <[email protected]>

* 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] <[email protected]>

* Update flutter_test.yml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* chore: update scripts/update-symbol-collector.sh to 1.15.0 (#1869)

Co-authored-by: GitHub <[email protected]>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* fix: remove Flutter dep from Drift integration (#1867)

* Remove Flutter dep

* Update CHANGELOG

* Fix iOS "Arithmetic Overflow" (#1874)

* guard against arithmetic overflow

* Fix issue where transaction was finished multiple times

* add changelog entry

* update test expectations

* test that didPop does not call finsh transaction multiple times

* release: 7.16.1

* build(deps): bump gradle/gradle-build-action from 3.0.0 to 3.1.0 (#1885)

Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/3b1b3b9a2104c2b47fbae53f3938079c00c9bb87...29c0906b64b8fc82467890bfb7a0a7ef34bda89e)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Disable canvasKit renderer tests for `beta` channel (#1894)

* Disable canvasKit renderer tests for ‚beta‘ channel

* fix condition

* fix analyzer issues

* ci: disable package-analysis for now (#1897)

* Disable for now

* chore(deps): update Android SDK to v7.5.0 (#1907)

* chore: update flutter/scripts/update-android.sh to 7.5.0

* Update ktlint

---------

Co-authored-by: GitHub <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* ci: fix analyze issues (#1908)

* Fix analyze issues

* Clean up code (#1878)

* Code clean up
* fix doc comments

* Use `recordHttpBreadcrumbs` to set iOS `enableNetworkBreadcrumbs` (#1884)

* chore: update metrics/flutter.properties to 3.19.2 (#1899)

Co-authored-by: GitHub <[email protected]>

* refactor: fetch app start in integration instead of event processor (#1905)

* Change app start integration in a way that works with ttid as well

* Formatting

* Update

* add visibleForTesting

* Update

* update

* Add app start info test

* Remove set app start info null

* Review improvements

* run on arm mac

* Fix integration test

* build(deps): bump codecov/codecov-action from 4.0.1 to 4.0.2 (#1890)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.1 to 4.0.2.
- [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/e0b68c6749509c5f83f984dd99a76a1c1a231044...0cfda1dd0a4ad9efc75517f399d859cd1ea4ced1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* chore(deps): update Cocoa SDK to v8.21.0 (#1909)

* chore: update flutter/scripts/update-cocoa.sh to 8.21.0

* Test auto commit

* Format

* Update

* Update main.dart

---------

Co-authored-by: GitHub <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* build(deps): bump invertase/github-action-dart-analyzer (#1911)

Bumps [invertase/github-action-dart-analyzer](https://github.com/invertase/github-action-dart-analyzer) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/invertase/github-action-dart-analyzer/releases)
- [Commits](https://github.com/invertase/github-action-dart-analyzer/compare/1cda5922c6369263b1c7e2fbe281f69704f4d63e...e981b01a458d0bab71ee5da182e5b26687b7101b)

---
updated-dependencies:
- dependency-name: invertase/github-action-dart-analyzer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump codecov/codecov-action from 4.0.2 to 4.1.0 (#1912)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.2 to 4.1.0.
- [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/0cfda1dd0a4ad9efc75517f399d859cd1ea4ced1...54bcd8715eee62d40e33596ef5e8f0f48dbbccab)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* build(deps): bump subosito/flutter-action from 2.12.0 to 2.13.0 (#1913)

Bumps [subosito/flutter-action](https://github.com/subosito/flutter-action) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/subosito/flutter-action/releases)
- [Commits](https://github.com/subosito/flutter-action/compare/2783a3f08e1baf891508463f8c6653c258246225...62f096cacda5168a3bd7b95793373be14fa4fbaf)

---
updated-dependencies:
- dependency-name: subosito/flutter-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci: re-enable package analyzer (#1918)

* enable again

* fix: transaction timestamp trimming (#1916)

* Fix child timestamp trimming

* Update CHANGELOG

* Run formatting

* Update docs

* Revert

* Update dart/test/sentry_tracer_test.dart

Co-authored-by: Philipp Hofmann <[email protected]>

* change var to final

* fix test

---------

Co-authored-by: Philipp Hofmann <[email protected]>

* Add `maxQueueSize` to limit the number of unawaited events sent to Sentry (#1868)

* introduce task queue

* handle trow in task

* handle throwing tasks

* Add documentation

* add changelog entry

---------

Co-authored-by: Giancarlo Buenaflor <[email protected]>

* Add missing changelog (#1921)

* Fix changelog (#1922)

* fix(sentry-dart): remove transitive dart:io reference for web (#1898)

* fix(sentry-dart): remove transitive dart:io reference for web

TransportUtils imported sentry_io.dart which prevented web
projects such as example_web from building when build_runner
was used.

Resolves getsentry/sentry-dart#1893

* docs(api): update CHANGELOG.md for unreleased fix

CHANGELOG.md now includes information about unreleased fix for
issue #1893.

* test(dart-sentry): add compilation tests for example_web

Added tests to check if example_web project can be compiled with
build_runner.

Resolves getsentry/sentry-dart#1893

* test(dart-sentry): fix failing tests for example_web compilation

Test ordering should not have impact on example_web_comopile_test
and path handling across platforms was simplified.

Resolves getsentry/sentry-dart#1893

* docs(api): update CHANGELOG.md

Place entry for #1893 under unreleased fix in CHANGELOG

getsentry/sentry-dart#1893

* chore(code-style): code formatting for #1893

* Apply `beforeBreadcrumb` on native iOS crumbs (#1914)

* apply beforeBreadcrumb on native iOS crumbs

---------

Co-authored-by: Giancarlo Buenaflor <[email protected]>

* release: 7.17.0

* feat: ttid (#1910)

* Change app start integration in a way that works with ttid as well

* Formatting

* Update

* add visibleForTesting

* Update

* update

* Add app start info test

* Remove set app start info null

* Review improvements

* Add TTID

* Improvements

* Improvements

* Fix integration test

* Update

* Clear after tracking

* Update CHANGELOG

* Format

* Update

* Update

* remove import

* Update sentry tracer

* Add (not all) improvements for pr review

* combine transaction handler

* Refactor trackAppStart and trackRegularRoute to use private method

* Fix dart analyzer

* Remove clear

* Clear in tearDown

* Apply suggestions from code review

Co-authored-by: Philipp Hofmann <[email protected]>

* Apply PR suggestions

* fix analyze

* update

* update

* Fix tests

* Fix analyze

* revert sample

* Update

* Update

* Fix test

* Move clear to the beginning of function

* Fix start time

* Fix analyze

* remove comment

* Formatting

* fix test

* add ttid duration assertion and determineEndTime timeout

* Rename finish transaction and do an early exit with enableAutoTransactions

* Rename function

* Remove static and getter for  in navigator observer

* Expose SentryDisplayWidget as public api and add it to example app

* Fix dart analyze

* Fix dart doc

* Improve tests

* Reduce fake frame finishing time and improve tests

* Improve test names

* Fix tests

* Apply formatting

* Add extra assertion in tests

---------

Co-authored-by: Philipp Hofmann <[email protected]>

* chore: update flutter/scripts/update-android.sh to 7.6.0 (#1927)

Co-authored-by: GitHub <[email protected]>

* build(deps): bump axel-op/dart-package-analyzer (#1930)

Bumps [axel-op/dart-package-analyzer](https://github.com/axel-op/dart-package-analyzer) from d9b13539ce28b8a2f85605379ce8670209d571e8 to 56afb7e6737bd2b7cee05382ae7f0e8111138080.
- [Release notes](https://github.com/axel-op/dart-package-analyzer/releases)
- [Commits](https://github.com/axel-op/dart-package-analyzer/compare/d9b13539ce28b8a2f85605379ce8670209d571e8...56afb7e6737bd2b7cee05382ae7f0e8111138080)

---
updated-dependencies:
- dependency-name: axel-op/dart-package-analyzer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump VeryGoodOpenSource/very_good_coverage (#1929)

Bumps [VeryGoodOpenSource/very_good_coverage](https://github.com/verygoodopensource/very_good_coverage) from 2.2.0 to 3.0.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/3b475421464c564c0714d92ce02742bd81fa9eda...c953fca3e24a915e111cc6f55f03f756dcb3964c)

---
updated-dependencies:
- dependency-name: VeryGoodOpenSource/very_good_coverage
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* chore: update metrics/flutter.properties to 3.19.3 (#1925)

Co-authored-by: GitHub <[email protected]>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* Add override `captureFailedRequests` option (#1931)

* feat: ttfd (#1920)

* Change app start integration in a way that works with ttid as well

* Formatting

* Update

* add visibleForTesting

* Update

* update

* Add app start info test

* Remove set app start info null

* Review improvements

* Add TTID

* Improvements

* Improvements

* Fix integration test

* Update

* Clear after tracking

* Update CHANGELOG

* Format

* Update

* Update

* remove import

* Update sentry tracer

* Add (not all) improvements for pr review

* combine transaction handler

* Refactor trackAppStart and trackRegularRoute to use private method

* Fix dart analyzer

* Remove clear

* Clear in tearDown

* Apply suggestions from code review

Co-authored-by: Philipp Hofmann <[email protected]>

* Apply PR suggestions

* fix analyze

* update

* update

* Fix tests

* Fix analyze

* revert sample

* Update

* Update

* Fix child timestamp trimming

* Update CHANGELOG

* Run formatting

* Update docs

* Revert

* Fix test

* Move clear to the beginning of function

* initial commit

* Fix start time

* Fix analyze

* remove comment

* Formatting

* update

* fix test

* Add changelog

* Update

* Update

* fix analyze

* fix tests

* formatting

* add ttid duration assertion and determineEndTime timeout

* Rename finish transaction and do an early exit with enableAutoTransactions

* Rename function

* Remove static and getter for  in navigator observer

* Expose SentryDisplayWidget as public api and add it to example app

* Fix dart analyze

* Fix dart doc

* Get display tracker as static for reportFullyDisplayed()

* Add @internal

* Fix test

* Improve tests

* Reduce fake frame finishing time and improve tests

* Improve test names

* Fix tests

* Apply formatting

* Add extra assertion in tests

* Improve

* Use utc date time

* Fix test

* Fix dartdoc

* Update test

* Update test

* Fix tests

* Fix changelog

* Update

* Improve

* Update

* Improve tests

* Update

* Change function to private

* Update CHANGELOG.md

* Rename function

* add improvements (not all)

* Fix tests

* Update changelog

* Finish after setting scope span to null

* update

* updaet

* update

* clear first in didPush

* update

* update example

* add improvements

---------

Co-authored-by: Philipp Hofmann <[email protected]>

* Update token usage (#1933)

* Update root name (#1934)

* Update root name

* Update root name

* update

* release: 7.18.0

* Update CHANGELOG.md

* Set `sentry_flutter.podspec` version from `pubspec.yaml` (#1941)

* Bump `package_info_plus`  (#1948)

* build(deps): bump subosito/flutter-action from 2.13.0 to 2.15.0 (#1964)

Bumps [subosito/flutter-action](https://github.com/subosito/flutter-action) from 2.13.0 to 2.15.0.
- [Release notes](https://github.com/subosito/flutter-action/releases)
- [Commits](https://github.com/subosito/flutter-action/compare/62f096cacda5168a3bd7b95793373be14fa4fbaf...3d804929922b667a63a229bc59037807f969e885)

---
updated-dependencies:
- dependency-name: subosito/flutter-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1 (#1963)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.0 to 4.1.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/54bcd8715eee62d40e33596ef5e8f0f48dbbccab...c16abc29c95fcf9174b58eb7e1abf4c866893bc8)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stefano <[email protected]>

* build(deps): bump natiginfo/action-detekt-all from 1.23.5 to 1.23.6 (#1962)

Bumps [natiginfo/action-detekt-all](https://github.com/natiginfo/action-detekt-all) from 1.23.5 to 1.23.6.
- [Release notes](https://github.com/natiginfo/action-detekt-all/releases)
- [Commits](https://github.com/natiginfo/action-detekt-all/compare/60495f27089d3432d83335c1f14e46ba61de5637...b9daaf58ff7a4885ff92ba612c3ea72bf1abeadb)

---
updated-dependencies:
- dependency-name: natiginfo/action-detekt-all
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stefano <[email protected]>

* chore: update metrics/flutter.properties to 3.19.5 (#1959)

Co-authored-by: GitHub <[email protected]>
Co-authored-by: Stefano <[email protected]>

* chore: update scripts/update-symbol-collector.sh to 1.16.0 (#1935)

Co-authored-by: GitHub <[email protected]>

* build(deps): bump subosito/flutter-action from 2.15.0 to 2.16.0 (#1970)

Bumps [subosito/flutter-action](https://github.com/subosito/flutter-action) from 2.15.0 to 2.16.0.
- [Release notes](https://github.com/subosito/flutter-action/releases)
- [Commits](https://github.com/subosito/flutter-action/compare/3d804929922b667a63a229bc59037807f969e885...44ac965b96f18d999802d4b807e3256d5a3f9fa1)

---
updated-dependencies:
- dependency-name: subosito/flutter-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump codecov/codecov-action from 4.1.1 to 4.2.0 (#1971)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.1 to 4.2.0.
- [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/c16abc29c95fcf9174b58eb7e1abf4c866893bc8...7afa10ed9b269c561c2336fd862446844e0cbf71)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump gradle/gradle-build-action from 3.1.0 to 3.2.0 (#1972)

Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/29c0906b64b8fc82467890bfb7a0a7ef34bda89e...fe59895742b4f984530980e4f693943577526b61)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update CHANGELOG.md (#1976)

* ci: fix metrics workflow for android (#1978)

* Update metrics ci

* Metrics Part 1 - Add Counter Metric API (#1940)

Add Counter Metric API (part 1) (#1940)
* added Counter Metric API
* added Metric Aggregation, with hub/client integration and close
* added metric tag normalization
* added send of statsd envelope type

Add other metric types and weight (part 2) (#1949)
* added crc32_utils.dart, taken from archive library
* added Gauge, Distribution and Set metrics
* added weight to Metrics and auto flush when weight is too much

Add timing metric and beforeMetric callback (part 3) (#1954)
* added SentryOptions.beforeMetricCallback
* added beforeMetricCallback logic in metrics_aggregator.dart
* added timing metric api with span auto start
* timing api uses span duration as value for the emitted metric if possible

Add metrics span summary (part 4) (#1958)
* added local_metrics_aggregator.dart to spans
* metrics_aggregator.dart now adds to current span's localMetricsAggregator
* added metric_summary.dart
* added metricSummary to spans and transaction JSONs

Add rate limit (part 5) (#1973)
* added metric_bucket data category for rate limits
* updated metric normalization rules
* added rate limit for metrics

* release: 7.19.0

* Enable canvaskit renderer tests (#1979)

Co-authored-by: Giancarlo Buenaflor <[email protected]>

* chore: update flutter/scripts/update-android.sh to 7.8.0 (#1977)

Co-authored-by: GitHub <[email protected]>

* Add textScale(r) value to Flutter context (#1886)

* entrich event contexts app with text scale

* read textScale from sentry widget event processor

* revert change

* revert change

* update changelog

* update changelog

* Use scale method instead of deprecated `textScaleFactor`

* fix changelog

* fix changelog

* use maybeTextScaleFactorOf method

* fix changelog

* fix changelog

* use textScaleFactorOf

* fix tests

* update doc

* Update CHANGELOG.md

---------

Co-authored-by: Giancarlo Buenaflor <[email protected]>

* Bump compileSdkVersion to 34 in Gradle buildscripts (#1980)

* bump compileSdkVersion to 34

* update changelog

---------

Co-authored-by: Giancarlo Buenaflor <[email protected]>

* fix: ci deps updater (#1968)

* Change subdir

* Debug this in PR

* Revert push

* deps: update package_info_plus range to include 7 (#1984)

* Update range to include 7

* Update CHANGELOG

* Add platforms in `pubspec.yaml` for `pub.dev` (#1975)

* build(deps): bump gradle/gradle-build-action from 3.2.0 to 3.3.0 (#1991)

Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/fe59895742b4f984530980e4f693943577526b61...8baac4c8ef753599f92eeb509c246d09d6250fa6)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: update scripts/update-symbol-collector.sh to 1.17.0 (#1988)

Co-authored-by: GitHub <[email protected]>

* release: 7.20.0

* build(deps): bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (#1990)

Bumps [dart-lang/setup-dart](https://github.com/dart-lang/setup-dart) from 1.6.2 to 1.6.4.
- [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/fedb1266e91cf51be2fdb382869461a434b920a3...f0ead981b4d9a35b37f30d36160575d60931ec30)

---
updated-dependencies:
- dependency-name: dart-lang/setup-dart
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* Merge v8 into main (#1997)

* Mark exceptions not handled by user as `handled: false` (#1535)

* Refrain from overwriting the span status for unfinished spans (#1577)

* update changelog

* Do not leak extensions of external classes (#1576)

* Make `hint` non-nullable in `BeforeSendCallback`, `BeforeBreadcrumbCall` and `EventProcessor` (#1574)

* Load Device Contexts from Sentry Java (#1616)

* Set ip_address to {{auto}} by default, even if sendDefaultPII is disabled (#1665)

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* chore(deps): update Cocoa SDK to v8.12.0 (#1650)

Co-authored-by: GitHub <[email protected]>

* 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 <[email protected]>
Co-authored-by: Stefano <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
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] <[email protected]>
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] <[email protected]>
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: profiling for iOS/macOS (#1611)

Co-authored-by: Bruno Garcia <[email protected]>
Co-authored-by: Denis Andrašec <[email protected]>
Co-authored-by: Stefano <[email protected]>

* 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] <[email protected]>
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] <[email protected]>
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stefano <[email protected]>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* chore: update flutter/scripts/update-android.sh to 6.33.0 (#1710)

Co-authored-by: GitHub <[email protected]>

* 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] <[email protected]>
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 <[email protected]>

* chore: update flutter/scripts/update-cocoa.sh to 8.15.0 (#1712)

Co-authored-by: GitHub <[email protected]>

* chore: update flutter/scripts/update-cocoa.sh to 8.15.1 (#1714)

Co-authored-by: GitHub <[email protected]>

* 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 <[email protected]>

* 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] <[email protected]>

* fix braces

* Add missing trailing comma

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlo Buenaflor <[email protected]>

* 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] <[email protected]>
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 <[email protected]>

* 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…
  • Loading branch information
1 parent 67a0238 commit 52cb680
Show file tree
Hide file tree
Showing 333 changed files with 21,058 additions and 6,727 deletions.
7 changes: 6 additions & 1 deletion .craft.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
minVersion: 0.29.2
minVersion: 1.21.0
changelogPolicy: auto
artifactProvider:
name: none
targets:
- name: pub-dev
# This is temporarily needed because we keep the package:web dependency implicit
# See https://github.com/getsentry/sentry-dart/pull/2113 for more context
skipValidation: true
packages:
dart:
flutter:
Expand All @@ -13,6 +16,7 @@ targets:
sqflite:
hive:
drift:
isar:
- name: github
- name: registry
sdks:
Expand All @@ -24,3 +28,4 @@ targets:
pub:sentry_sqflite:
pub:sentry_drift:
pub:sentry_hive:
pub:sentry_isar:
41 changes: 41 additions & 0 deletions .github/actions/coverage/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Dart tests
description: Run Dart Tests and collect coverage
inputs:
directory:
description: The directory to run tests in
required: false
default: ''
coverage:
description: Codecov name
required: false
default: ''
min-coverage:
description: Minimum coverage percentage
required: false
default: '0'
token:
description: Codecov token
required: true

runs:
using: composite

steps:
- name: Format coverage info
if: ${{ inputs.coverage != '' }}
run: dart pub run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib
shell: bash
working-directory: ${{ inputs.directory }}

- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # pin@v3
if: ${{ inputs.coverage != '' }}
with:
name: ${{ inputs.coverage != '' }}
files: ./${{ inputs.directory }}/coverage/lcov.info
token: ${{ inputs.token }}

- uses: VeryGoodOpenSource/very_good_coverage@c953fca3e24a915e111cc6f55f03f756dcb3964c # [email protected]
if: ${{ inputs.coverage != '' }}
with:
path: './${{ inputs.directory }}/coverage/lcov.info'
min_coverage: ${{ inputs.min-coverage }}
40 changes: 40 additions & 0 deletions .github/actions/dart-test/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Dart tests
description: Run Dart tests
inputs:
directory:
description: The directory to run tests in
required: false
default: ''
web:
description: Whether to run tests for web
required: false
default: 'true'

runs:
using: composite

steps:
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 # pin@v1
with:
sdk: ${{ matrix.sdk }}

- run: dart pub get
shell: bash
working-directory: ${{ inputs.directory }}

- name: Test VM
run: dart test -p vm ${{ (runner.os == 'Linux' && matrix.sdk == 'stable' && '--coverage=coverage') || '' }} --test-randomize-ordering-seed=random --chain-stack-traces
shell: bash
working-directory: ${{ inputs.directory }}

- name: Test dart2js
if: ${{ inputs.web == 'true' }}
run: dart test -p chrome --test-randomize-ordering-seed=random --chain-stack-traces
shell: bash
working-directory: ${{ inputs.directory }}

- name: Test dart2wasm
if: ${{ inputs.web == 'true' && (matrix.sdk == 'stable' || matrix.sdk == 'beta') && runner.os != 'Windows' }}
run: dart test -p chrome --compiler dart2wasm --test-randomize-ordering-seed=random --chain-stack-traces
shell: bash
working-directory: ${{ inputs.directory }}
16 changes: 8 additions & 8 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432 # [email protected].0
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected].1
with:
access_token: ${{ github.token }}

Expand All @@ -32,16 +32,16 @@ jobs:
working-directory: ${{ inputs.package }}
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d # pin@v1
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 # pin@v1
if: ${{ inputs.sdk == 'dart' }}
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 # pin@v2.12.0
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 # pin@v2.16.0
if: ${{ inputs.sdk == 'flutter' }}

- run: ${{ inputs.sdk }} pub get
- run: dart format --set-exit-if-changed ./

- name: dart analyze
uses: invertase/github-action-dart-analyzer@1cda5922c6369263b1c7e2fbe281f69704f4d63e # pin@v2.0.0
uses: invertase/github-action-dart-analyzer@e981b01a458d0bab71ee5da182e5b26687b7101b # pin@v3.0.0
with:
annotate: true
fatal-infos: true
Expand All @@ -56,7 +56,7 @@ jobs:
# which ignores pubspec.yaml `dependency_overrides`. Because of that, all `release/*` branches are failing,
# because the package cannot find the "about to be released" version of our sentry-dart package that it depends on.
if: ${{ !startsWith(github.ref, 'refs/heads/release/') && inputs.panaThreshold > 0 }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
Expand All @@ -65,7 +65,7 @@ jobs:
working-directory: ${{ inputs.package }}
run: |
sed -i.bak 's|sentry:.*|sentry:\n path: /github/workspace/dart|g' pubspec.yaml
- uses: axel-op/dart-package-analyzer@7a6c3c66bce78d82b729a1ffef2d9458fde6c8d2 # pin@v3
- uses: axel-op/dart-package-analyzer@56afb7e6737bd2b7cee05382ae7f0e8111138080 # pin@v3
id: analysis
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -78,6 +78,6 @@ jobs:
PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
if (( $PERCENTAGE < ${{ inputs.panaThreshold }} ))
then
echo Score too low!
echo "Score too low ($PERCENTAGE % is less than the expected ${{ inputs.panaThreshold }} %)!"
exit 1
fi
90 changes: 36 additions & 54 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,85 +5,67 @@ on:
- main
- release/**
pull_request:
paths-ignore:
- "**/*.md"
- "logging/**"
- "dio/**"
- "file/**"
- "sqflite/**"
- "hive/**"
- "drift/**"
paths:
- '!**/*.md'
- '!**/class-diagram.svg'
- '.github/workflows/dart.yml'
- 'dart/**'

jobs:
cancel-previous-workflow:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432 # [email protected].0
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected].1
with:
access_token: ${{ github.token }}

build:
name: Build ${{matrix.sdk}} on ${{matrix.os}}
runs-on: ${{ matrix.os }}
name: Dart ${{matrix.sdk}} on ${{matrix.os}}
runs-on: ${{ matrix.os }}-latest
timeout-minutes: 30
defaults:
run:
shell: bash
working-directory: ./dart
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
sdk: [stable, beta]
exclude:
- os: windows-latest
sdk: beta
- os: macos-latest
sdk: beta
os: [ubuntu]
sdk:
- '2.18'
- '2.19'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- '3.4'
- stable
- beta
include:
- os: windows
sdk: stable
- os: macos
sdk: stable
steps:
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d # pin@v1
with:
sdk: ${{ matrix.sdk }}
- uses: actions/checkout@v4

- name: Test (VM and browser)
run: |
dart pub get
dart test -p chrome --test-randomize-ordering-seed=random --chain-stack-traces
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: ./.github/actions/dart-test
with:
directory: dart

- name: Install webdev
if: runner.os != 'Windows'
run: dart pub global activate webdev
- uses: ./.github/actions/coverage
if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: dart
coverage: sentry
min-coverage: 85

- name: Build example
working-directory: dart/example
run: |
cd example
dart pub get
dart compile aot-snapshot bin/example.dart
- name: Build Web example
if: runner.os != 'Windows'
run: |
cd example_web
dart pub get
webdev build
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # pin@v3
if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
name: sentry
files: ./dart/coverage/lcov.info

- uses: VeryGoodOpenSource/very_good_coverage@e5c91bc7ce9843e87c800b3bcafdfb86fbe28491 # [email protected]
if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
path: "./dart/coverage/lcov.info"
min_coverage: 85

analyze:
uses: ./.github/workflows/analyze.yml
with:
package: dart
panaThreshold: 87
6 changes: 5 additions & 1 deletion .github/workflows/diagrams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
name: "Create class diagrams of all packages"
steps:
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d # pin@v1
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 # pin@v1
with:
sdk: stable

Expand Down Expand Up @@ -47,6 +47,10 @@ jobs:
working-directory: ./hive
run: lakos . -i "{test/**,example/**}" | dot -Tsvg -o class-diagram.svg

- name: isar
working-directory: ./isar
run: lakos . -i "{test/**,example/**}" | dot -Tsvg -o class-diagram.svg

# Source: https://stackoverflow.com/a/58035262
- name: Extract branch name
shell: bash
Expand Down
44 changes: 14 additions & 30 deletions .github/workflows/dio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,26 @@ on:
- main
- release/**
pull_request:
paths-ignore:
- "**/*.md"
- "logging/**"
- "flutter/**"
- "file/**"
- "sqflite/**"
- "hive/**"
- "drift/**"
paths:
- '!**/*.md'
- '!**/class-diagram.svg'
- '.github/workflows/dio.yml'
- 'dart/**'
- 'dio/**'

jobs:
cancel-previous-workflow:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432 # [email protected].0
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected].1
with:
access_token: ${{ github.token }}

build:
name: Build ${{matrix.sdk}} on ${{matrix.os}}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
defaults:
run:
shell: bash
working-directory: ./dio
strategy:
fail-fast: false
matrix:
Expand All @@ -42,29 +36,19 @@ jobs:
- os: macos-latest
sdk: beta
steps:
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d # pin@v1
with:
sdk: ${{ matrix.sdk }}
- uses: actions/checkout@v4

- name: Test (VM and browser)
run: |
dart pub get
dart test -p chrome --test-randomize-ordering-seed=random --chain-stack-traces
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@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # pin@v3
if: runner.os == 'Linux' && matrix.sdk == 'stable'
- uses: ./.github/actions/dart-test
with:
name: sentry_dio
files: ./dio/coverage/lcov.info
directory: dio

- uses: VeryGoodOpenSource/very_good_coverage@e5c91bc7ce9843e87c800b3bcafdfb86fbe28491 # [email protected]
- uses: ./.github/actions/coverage
if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
path: "./dio/coverage/lcov.info"
min_coverage: 81
token: ${{ secrets.CODECOV_TOKEN }}
directory: dio
coverage: sentry_dio
min-coverage: 81

analyze:
uses: ./.github/workflows/analyze.yml
Expand Down
Loading

0 comments on commit 52cb680

Please sign in to comment.