Skip to content

Commit cc51f4c

Browse files
Merge pull request #77 from bugsnag/release-v1.1.0
Release v1.1.0
2 parents 88ed81b + f72f56e commit cc51f4c

File tree

53 files changed

+1185
-103
lines changed

Some content is hidden

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

53 files changed

+1185
-103
lines changed

.buildkite/pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ steps:
5858
- "--no-tunnel"
5959
- "--aws-public-ip"
6060
- "--fail-fast"
61+
- "--appium-version=1.22"
6162
concurrency: 25
6263
concurrency_group: 'bitbar'
6364
concurrency_method: eager
@@ -104,6 +105,7 @@ steps:
104105
- "--no-tunnel"
105106
- "--aws-public-ip"
106107
- "--fail-fast"
108+
- "--appium-version=1.22"
107109
concurrency: 25
108110
concurrency_group: 'bitbar'
109111
concurrency_method: eager

.github/ISSUE_TEMPLATE/A.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ labels: ''
77
assignees: ''
88

99
---
10-
Please checkout our [documentation](https://docs.bugsnag.com/performance/flutter/) for guides, references and tutorials.
10+
Please checkout our [documentation](https://docs.bugsnag.com/performance/integration-guides/flutter/) for guides, references and tutorials.
1111

1212
If you have questions about your integration please contact us at [[email protected]](mailto:[email protected]).
1313

14-
Alternatively, view additional options at [support.md](../SUPPORT.md).
14+
Alternatively, view additional options at [support.md](../SUPPORT.md).

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,30 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve the library
4-
title: ""
5-
labels: ""
6-
assignees: ""
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
78
---
89

910
<!-- Before raising, please check if somebody else has already reported your issue. -->
1011

1112
### Describe the bug
12-
1313
A clear and concise description of what the bug is.
1414

1515
### Steps to reproduce
16-
1716
1. Go to '...'
1817
2. Click on '....'
1918
3. Scroll down to '....'
2019
4. See error
2120

2221
### Environment
23-
24-
- BugSnag Performance version:
25-
- BugSnag version (if any):
26-
- Flutter version:
27-
- Flutter-first app or native app with Flutter component(s):
28-
- iOS/Android version:
29-
- Simulator/emulator or physical device:
22+
* Bugsnag Performance library version:
23+
* Bugsnag Error Monitoring library version (if any):
24+
* Flutter version:
25+
* Flutter app or native app with flutter module:
26+
* iOS/Android version:
27+
* Simulator/emulator or physical device:
3028

3129
<!--
3230
Below are a few approaches you might take to communicate the issue, in
@@ -51,5 +49,4 @@ A clear and concise description of what the bug is.
5149
```
5250
5351
```
54-
55-
</details>
52+
</details>

.github/support.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
## Are you having trouble getting started?
2+
If you haven't already, please checkout our [documentation](https://docs.bugsnag.com/performance/integration-guides/flutter/) for guides, references and tutorials.
23

3-
If you haven't already, please checkout our [documentation](https://docs.bugsnag.com/performance/flutter/) for guides, references and tutorials.
4-
5-
Or, if you wish you can [contact us directly](mailto:[email protected]) for assistance on integrating BugSnag into your application, troubleshooting an issue or a question about our supported features.
4+
Or, if you wish you can [contact us directly](mailto:[email protected]) for assistance on integrating Bugsnag into your application, troubleshooting an issue or a question about our supported features.
65

76
When contacting support, please include as much information as necessary, including:
87

98
- example code snippet
109
- steps to reproduce
11-
- expected/actual behaviour
10+
- expected/actual behaviour
1211

13-
- BugSnag Performance version:
14-
- BugSnag version (if any):
15-
- Flutter version:
16-
- Flutter-first app or native app with Flutter component(s):
17-
- iOS/Android version:
18-
- Simulator/emulator or physical device:
12+
* Bugsnag Performance library version:
13+
* Bugsnag Error Monitoring library version (if any):
14+
* Flutter version:
15+
* Flutter app or native app with flutter module:
16+
* iOS/Android version:
17+
* Simulator/emulator or physical device:
1918

2019
## Bug or Feature Requests
21-
2220
If you would like to raise a bug or feature request please do so by creating a [New Issue](https://github.com/bugsnag/bugsnag-flutter-performance/issues/new/choose) and selecting bug or feature.
2321
Please note: we cannot promise that we will fulfil all requests
2422

2523
## Pull Requests
26-
27-
If you have made a fix and would like to raise a pull request, please read our [CONTRIBUTING.md](../CONTRIBUTING.md) file before creating the pull request.
24+
If you have made a fix and would like to raise a pull request, please read our [CONTRIBUTING.md](../CONTRIBUTING.md) file before creating the pull request.

.gitmodules

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[submodule "packages/bugsnag-flutter-http-client"]
2-
path = packages/bugsnag-flutter-http-client
3-
url = [email protected]:bugsnag/bugsnag-flutter-http-client.git
4-
[submodule "packages/bugsnag-flutter-dart-io-http-client"]
5-
path = packages/bugsnag-flutter-dart-io-http-client
6-
url = [email protected]:bugsnag/bugsnag-flutter-dart-io-http-client.git
1+
[submodule "packages/bugsnag-flutter-common"]
2+
path = packages/bugsnag-flutter-common
3+
url = [email protected]:bugsnag/bugsnag-flutter-common.git

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
Changelog
22
=========
33

4+
## 1.1.0 (2024-08-14)
5+
6+
### Enhancements
7+
8+
* View load instrumentation
9+
[65](https://github.com/bugsnag/bugsnag-flutter-performance/pull/65)
10+
11+
* Replaced the dependency on `device_info` with the new `device_info_plus` package [72](https://github.com/bugsnag/bugsnag-flutter-performance/pull/72)
12+
13+
* Auto-inject traceparent headers into HTTP requests [73](https://github.com/bugsnag/bugsnag-flutter-performance/pull/73)
14+
15+
* Provide the correlation trace ID and span ID through `bugsnag_bridge` for `bugsnag_flutter` to add them to events [74](https://github.com/bugsnag/bugsnag-flutter-performance/pull/74)
16+
17+
### Bug fixes
18+
19+
* Fixed FormatException thrown when the data in sampling probability cache file is corrupted [75](https://github.com/bugsnag/bugsnag-flutter-performance/pull/75)
20+
421
## 1.0.0 (2024-04-11)
522

623
Initial release

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ gem 'cocoapods'
44

55
# A reference to Maze Runner is only needed for running tests locally and if committed it must be
66
# portable for CI, e.g. a specific release. However, leaving it commented out would mean quicker CI.
7-
gem 'bugsnag-maze-runner', '~> 8.13.2'
7+
gem 'bugsnag-maze-runner', '~> 9.9.1'
88

99
# Use a specific branch
1010
#gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', branch: 'master'

Gemfile.lock

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ GEM
3030
atomos (0.1.3)
3131
base64 (0.2.0)
3232
bigdecimal (3.1.7)
33-
bugsnag (6.26.0)
33+
bugsnag (6.27.1)
3434
concurrent-ruby (~> 1.0)
35-
bugsnag-maze-runner (8.13.2)
35+
bugsnag-maze-runner (9.9.1)
3636
appium_lib (~> 12.0.0)
3737
appium_lib_core (~> 5.4.0)
3838
bugsnag (~> 6.24)
@@ -49,7 +49,7 @@ GEM
4949
selenium-webdriver (~> 4.0)
5050
test-unit (~> 3.5.2)
5151
webrick (~> 1.7.0)
52-
builder (3.2.4)
52+
builder (3.3.0)
5353
childprocess (4.1.0)
5454
claide (1.1.0)
5555
cocoapods (1.15.2)
@@ -124,7 +124,7 @@ GEM
124124
cucumber-core (~> 10.1, >= 10.1.0)
125125
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
126126
curb (0.9.11)
127-
diff-lcs (1.5.0)
127+
diff-lcs (1.5.1)
128128
dogstatsd-ruby (5.5.0)
129129
drb (2.2.1)
130130
ecma-re-validator (0.4.0)
@@ -151,9 +151,9 @@ GEM
151151
regexp_parser (~> 2.0)
152152
simpleidn (~> 0.2)
153153
uri_template (~> 0.7)
154-
mime-types (3.5.1)
154+
mime-types (3.5.2)
155155
mime-types-data (~> 3.2015)
156-
mime-types-data (3.2023.1003)
156+
mime-types-data (3.2024.0604)
157157
minitest (5.22.3)
158158
molinillo (0.8.0)
159159
multi_test (0.1.2)
@@ -162,18 +162,18 @@ GEM
162162
nap (1.1.0)
163163
netrc (0.11.0)
164164
nkf (0.2.0)
165-
nokogiri (1.15.6-arm64-darwin)
165+
nokogiri (1.16.6-arm64-darwin)
166166
racc (~> 1.4)
167-
nokogiri (1.15.6-x86_64-darwin)
167+
nokogiri (1.16.6-x86_64-darwin)
168168
racc (~> 1.4)
169169
optimist (3.0.1)
170170
os (1.0.1)
171171
power_assert (2.0.3)
172172
public_suffix (4.0.7)
173-
racc (1.7.3)
173+
racc (1.8.0)
174174
rack (2.2.9)
175175
rake (12.3.3)
176-
regexp_parser (2.8.2)
176+
regexp_parser (2.9.2)
177177
rexml (3.2.6)
178178
ruby-macho (2.5.1)
179179
rubyzip (2.3.2)
@@ -182,9 +182,8 @@ GEM
182182
rexml (~> 3.2, >= 3.2.5)
183183
rubyzip (>= 1.2.2, < 3.0)
184184
websocket (~> 1.0)
185-
simpleidn (0.2.1)
186-
unf (~> 0.1.4)
187-
sys-uname (1.2.3)
185+
simpleidn (0.2.3)
186+
sys-uname (1.3.0)
188187
ffi (~> 1.1)
189188
test-unit (3.5.9)
190189
power_assert
@@ -193,9 +192,6 @@ GEM
193192
ethon (>= 0.9.0)
194193
tzinfo (2.0.6)
195194
concurrent-ruby (~> 1.0)
196-
unf (0.1.4)
197-
unf_ext
198-
unf_ext (0.0.9.1)
199195
uri_template (0.7.0)
200196
webrick (1.7.0)
201197
websocket (1.2.10)
@@ -217,7 +213,7 @@ PLATFORMS
217213
x86_64-darwin-23
218214

219215
DEPENDENCIES
220-
bugsnag-maze-runner (~> 8.13.2)
216+
bugsnag-maze-runner (~> 9.9.1)
221217
cocoapods
222218

223219
BUNDLED WITH

Makefile

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FLUTTER_BIN?=flutter
2+
PRESET_VERSION=$(shell cat VERSION)
23

34
all: format build lint test
45

@@ -19,10 +20,15 @@ bump:
1920
ifeq ($(VERSION),)
2021
@$(error VERSION is not defined. Run with `make VERSION=number bump`)
2122
endif
23+
@echo $(VERSION) > VERSION
2224
sed -i '' "s/## TBD/## $(VERSION) ($(shell date '+%Y-%m-%d'))/" CHANGELOG.md
2325
sed -i '' "s/^version: .*/version: $(VERSION)/" packages/bugsnag_flutter_performance/pubspec.yaml
26+
27+
publish_dry:
28+
cd staging/bugsnag_flutter_performance && $(FLUTTER_BIN) pub publish --dry-run
2429

25-
staging: staging
30+
31+
stage:
2632
mkdir -p staging/bugsnag_flutter_performance
2733
cd packages/bugsnag_flutter_performance && cp -a . ../../staging/bugsnag_flutter_performance
2834
rm -f staging/bugsnag_flutter_performance/pubspec.lock
@@ -48,3 +54,37 @@ format:
4854

4955
lint:
5056
cd packages/bugsnag_flutter_performance && $(FLUTTER_BIN) analyze --suppress-analytics
57+
58+
prerelease: bump stage publish_dry ## Generates a PR for the $VERSION release
59+
ifeq ($(VERSION),)
60+
@$(error VERSION is not defined. Run with `make VERSION=number prerelease`)
61+
endif
62+
rm -rf staging
63+
@git checkout -b release-v$(VERSION)
64+
@git add packages/bugsnag_flutter_performance/pubspec.yaml CHANGELOG.md VERSION
65+
@git diff --exit-code || (echo "you have unstaged changes - Makefile may need updating to `git add` some more files"; exit 1)
66+
@git commit -m "Release v$(VERSION)"
67+
@git push origin release-v$(VERSION)
68+
@open "https://github.com/bugsnag/bugsnag-flutter-performance/compare/main...release-v$(VERSION)?expand=1&title=Release%20v$(VERSION)&body="$$(awk 'start && /^## /{exit;};/^## /{start=1;next};start' CHANGELOG.md | hexdump -v -e '/1 "%02x"' | sed 's/\(..\)/%\1/g')
69+
70+
release: stage publish_dry ## Releases the current main branch as $VERSION
71+
@git fetch origin
72+
ifneq ($(shell git rev-parse --abbrev-ref HEAD),main) # Check the current branch name
73+
@git checkout main
74+
@git rebase origin/main
75+
endif
76+
ifneq ($(shell git diff origin/main..main),)
77+
$(error you have unpushed commits on the main branch)
78+
endif
79+
@git tag v$(PRESET_VERSION)
80+
@git push origin v$(PRESET_VERSION)
81+
@git checkout next
82+
@git rebase origin/next
83+
@git merge main
84+
@git push origin next
85+
# Prep GitHub release
86+
# We could technically do a `hub release` here but a verification step
87+
# before it goes live always seems like a good thing
88+
@open 'https://github.com/bugsnag/bugsnag-flutter-performance/releases/new?title=v$(PRESET_VERSION)&tag=v$(PRESET_VERSION)&body='$$(awk 'start && /^## /{exit;};/^## /{start=1;next};start' CHANGELOG.md | hexdump -v -e '/1 "%02x"' | sed 's/\(..\)/%\1/g')
89+
cd staging/bugsnag_flutter_performance && $(FLUTTER_BIN) pub publish
90+
rm -rf staging

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[![Documentation](https://img.shields.io/badge/documentation-latest-blue.svg)](https://docs.bugsnag.com/performance/flutter/)
1212
[![Build status](https://badge.buildkite.com/700ab6c9d7b51c72fa52459ad023b503692bde8bf5337b93a0.svg?branch=main)](https://buildkite.com/bugsnag/bugsnag-flutter-performance)
1313

14-
Monitor the start-up, navigation and network requests of your game and see the results in your [BugSnag](https://www.bugsnag.com) dashboard.
14+
Monitor the start-up, navigation and network requests of Flutter apps running on iOS and Android and see the results in your [BugSnag](https://www.bugsnag.com) dashboard.
1515

1616
## Features
1717

0 commit comments

Comments
 (0)