Skip to content

Release v2.12.0 #600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 127 commits into from
Mar 26, 2025
Merged

Release v2.12.0 #600

merged 127 commits into from
Mar 26, 2025

Conversation

gingerbenw
Copy link
Member

This release adds support for React Native 0.77 to @bugsnag/react-native-performance

Added

  • (plugin-react-performance) Added new react library with withInstrumentedComponent higher order component to instrument component rendering spans #584

Fixed

  • (react-native) Fix turbo module check in React Native 0.77 #578

AnastasiiaSvietlova and others added 30 commits November 29, 2024 14:47
ensure setAppState is available for both external and internal plugins
ensure setAppState is available for both external and internal plugins
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.8.2 to 4.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@1a4442c...1d0ff46)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
* update current state in page load and navigation

* fix lint errors

* fix lint

* update setAppState in plugins

* fix lint

* fixed plugins type in core

* fix tests

* fix lint

* fix lint

* update tests

* fix tests

* fix tests

* add setAppState to react-navigation-native-plugin

* fix imports from core-performance

* fix tests

* fix lint

* fix: 🐛 use setAppState from configure method instead of the constructor

* chore: 🏷️ use shared SetAppState type to keep code DRY

* test: ✅ use SetAppState definition from core

* style: 🚨 remove unused AppState type

---------

Co-authored-by: Ben Wilson <[email protected]>
Copy link

github-actions bot commented Mar 25, 2025

Browser bundle size

NPM build

Package
Before 212.60 kB
After 214.21 kB
± +1,613 bytes ⚠️

CDN build

Unminified Minfied Minified + gzipped
Before 107.98 kB 40.93 kB 12.00 kB
After 108.60 kB 41.17 kB 12.08 kB
± +617 bytes ⚠️ +238 bytes ⚠️ +78 bytes ⚠️

Code coverage

Ok File (✨=New File) Lines Branches Functions Statements
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/attributes.ts 83.69%
(-14.81%)
87.5%
(-12.5%)
74.07%
(-20.04%)
81.51%
(-17.04%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/batch-processor.ts 85.36%
(-11.3%)
53.12%
(-40.99%)
69.23%
(-30.77%)
74.78%
(-21.94%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/config.ts 91.52%
(+18.55%)
47.69%
(-16.19%)
22.72%
(-18.94%)
89.39%
(+15.71%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/core.ts 98.87%
(-1.13%)
66.66%
(-27.78%)
96.55%
(+3.7%)
98.4%
(-0.03%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/delivery.ts 73.8%
(-16.2%)
52.63%
(-14.03%)
57.14%
(-42.86%)
68.42%
(-22.2%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/events.ts 100%
(+0%)
100%
(+0%)
100%
(+0%)
85.71%
(-14.29%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/fixed-probability-manager.ts 80%
(-20%)
100%
(+0%)
66.66%
(-33.34%)
75%
(-25%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/index.ts 100%
(+0%)
42.85%
(-57.15%)
66.66%
(-33.34%)
96.87%
(-3.13%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/persistence.ts 89.47%
(-2.83%)
55.55%
(-27.78%)
100%
(+0%)
86.95%
(-5.35%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/probability-fetcher.ts 82.35%
(-17.65%)
50%
(-50%)
66.66%
(-33.34%)
80%
(-20%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/probability-manager.ts 80.95%
(-19.05%)
58.33%
(-41.67%)
70%
(-30%)
76.36%
(-23.64%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/retry-queue.ts 78.04%
(-9.46%)
35.71%
(-21.43%)
54.54%
(-45.46%)
71.64%
(-17.83%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/sampler.ts 93.33%
(-6.67%)
100%
(+0%)
100%
(+0%)
87.5%
(-12.5%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/span-context.ts 87.8%
(-12.2%)
79.41%
(-20.59%)
94.11%
(-5.89%)
84.9%
(-15.1%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/span-factory.ts 93.12%
(-6.88%)
88.88%
(-11.12%)
91.66%
(-8.34%)
90.28%
(-9.72%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/span.ts 88.29%
(-5.15%)
60%
(-30%)
73.33%
(-4.93%)
83.89%
(-9.65%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/time.ts 88.88%
(-11.12%)
66.66%
(-33.34%)
100%
(+0%)
91.66%
(-8.34%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/validation.ts 91.89%
(-4.4%)
71.05%
(-23.82%)
63.88%
(-25%)
87.34%
(-8%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/delivery-fetch/lib/delivery.ts 85.29%
(-10.36%)
57.14%
(-42.86%)
85.71%
(-14.29%)
81.39%
(-14.26%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/backgrounding-listener.ts 92.85%
(-7.15%)
58.33%
(-41.67%)
100%
(+0%)
95.23%
(-4.77%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/browser.ts 100%
(+9.38%)
68.75%
(-6.25%)
100%
(+0%)
92.18%
(+1.56%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/clock.ts 91.3%
(-8.7%)
62.5%
(-37.5%)
100%
(+0%)
93.75%
(-6.25%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/config.ts 100%
(+0%)
75%
(-25%)
100%
(+0%)
100%
(+0%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/default-routing-provider.ts 96.77%
(-3.23%)
40%
(-20%)
78.94%
(-21.06%)
95.91%
(-4.09%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/persistence.ts 85.71%
(-3.17%)
50%
(-30%)
80%
(-20%)
82.35%
(-6.53%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/resource-attributes-source.ts 97.14%
(-2.86%)
81.25%
(-18.75%)
85.71%
(-14.29%)
97.77%
(-2.23%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/routing-provider.ts 100%
(+0%)
50%
(-50%)
50%
(-50%)
100%
(+0%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/send-page-attributes.ts 84.61%
(-15.39%)
100%
(+0%)
75%
(-25%)
86.66%
(-13.34%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/span-attributes-source.ts 100%
(+0%)
30%
(-30%)
100%
(+0%)
100%
(+0%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/web-vitals.ts 76.74%
(-21.56%)
62.12%
(-31.99%)
70.58%
(-29.42%)
73.21%
(-25.09%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/auto-instrumentation/full-page-load-plugin.ts 90.74%
(-9.26%)
56.25%
(-43.75%)
62.5%
(-37.5%)
89.15%
(-10.85%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/auto-instrumentation/network-request-plugin.ts 81.33%
(-13%)
58.82%
(-24.51%)
75%
(-25%)
81.48%
(-13.06%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/auto-instrumentation/page-load-phase-spans.ts 100%
(+0%)
70%
(-30%)
66.66%
(-33.34%)
95.23%
(-4.77%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/auto-instrumentation/resource-load-plugin.ts 81.42%
(+9.42%)
38.77%
(-17.23%)
77.77%
(-22.23%)
77.55%
(+4.48%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/auto-instrumentation/route-change-plugin.ts 93.5%
(+4.62%)
51.61%
(-23.39%)
68.18%
(+14.34%)
90.09%
(+0.81%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/on-settle/index.ts 100%
(+0%)
50%
(-50%)
95%
(-5%)
88.57%
(-11.43%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/on-settle/load-event-end-settler.ts 74.07%
(-25.93%)
65.21%
(-34.79%)
80%
(-20%)
75.67%
(-24.33%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/on-settle/request-settler.ts 85.71%
(-14.29%)
50%
(-50%)
72.72%
(-27.28%)
78.94%
(-21.06%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/on-settle/settler-aggregate.ts 90.9%
(-9.1%)
70%
(-30%)
87.5%
(-12.5%)
92.3%
(-7.7%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/on-settle/settler.ts 84.21%
(-15.79%)
100%
(+0%)
100%
(+0%)
86.95%
(-13.05%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/native.ts 100%
(+10.53%)
81.25%
(+9.83%)
62.16%
(-3.05%)
97.87%
(+7.55%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/span-factory.ts 95.83%
(-1.73%)
28.12%
(-14.73%)
69.56%
(+0.81%)
92.59%
(-2.32%)
✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/plugin-react-performance/lib/index.ts 100%
(+100%)
100%
(+100%)
100%
(+100%)
100%
(+100%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/request-tracker/lib/request-tracker-fetch.ts 89.28%
(+6.27%)
53.52%
(-9.22%)
80.76%
(+0.76%)
86.51%
(+7.64%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/request-tracker/lib/request-tracker-xhr.ts 97.56%
(+0.13%)
64.28%
(-8.44%)
100%
(+0%)
93.33%
(-3.28%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/request-tracker/lib/request-tracker.ts 100%
(+0%)
65%
(-35%)
100%
(+0%)
100%
(+0%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/request-tracker/lib/url-helpers.ts 91.66%
(-8.34%)
47.05%
(-25.67%)
100%
(+0%)
88%
(-6.44%)

Total:

Lines Branches Functions Statements
86.38%(-3.59%) 62.01%(-16.17%) 76.76%(-9.03%) 83.25%(-5.61%)

Generated against 435343e on 26 March 2025 at 14:42:16 UTC

tomlongridge
tomlongridge previously approved these changes Mar 25, 2025
@gingerbenw gingerbenw merged commit 6f1a5f3 into main Mar 26, 2025
121 checks passed
@gingerbenw gingerbenw deleted the release/v2.12.0 branch March 26, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants