Skip to content

Commit

Permalink
Merge pull request #77 from bugsnag/release-v1.1.0
Browse files Browse the repository at this point in the history
Release v1.1.0
  • Loading branch information
robert-smartbear authored Aug 14, 2024
2 parents 88ed81b + f72f56e commit cc51f4c
Show file tree
Hide file tree
Showing 53 changed files with 1,185 additions and 103 deletions.
2 changes: 2 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ steps:
- "--no-tunnel"
- "--aws-public-ip"
- "--fail-fast"
- "--appium-version=1.22"
concurrency: 25
concurrency_group: 'bitbar'
concurrency_method: eager
Expand Down Expand Up @@ -104,6 +105,7 @@ steps:
- "--no-tunnel"
- "--aws-public-ip"
- "--fail-fast"
- "--appium-version=1.22"
concurrency: 25
concurrency_group: 'bitbar'
concurrency_method: eager
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/A.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ labels: ''
assignees: ''

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

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

Alternatively, view additional options at [support.md](../SUPPORT.md).
Alternatively, view additional options at [support.md](../SUPPORT.md).
25 changes: 11 additions & 14 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
---
name: Bug report
about: Create a report to help us improve the library
title: ""
labels: ""
assignees: ""
title: ''
labels: ''
assignees: ''

---

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

### Describe the bug

A clear and concise description of what the bug is.

### Steps to reproduce

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

### Environment

- BugSnag Performance version:
- BugSnag version (if any):
- Flutter version:
- Flutter-first app or native app with Flutter component(s):
- iOS/Android version:
- Simulator/emulator or physical device:
* Bugsnag Performance library version:
* Bugsnag Error Monitoring library version (if any):
* Flutter version:
* Flutter app or native app with flutter module:
* iOS/Android version:
* Simulator/emulator or physical device:

<!--
Below are a few approaches you might take to communicate the issue, in
Expand All @@ -51,5 +49,4 @@ A clear and concise description of what the bug is.
```
```

</details>
</details>
23 changes: 10 additions & 13 deletions .github/support.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
## Are you having trouble getting started?
If you haven't already, please checkout our [documentation](https://docs.bugsnag.com/performance/integration-guides/flutter/) for guides, references and tutorials.

If you haven't already, please checkout our [documentation](https://docs.bugsnag.com/performance/flutter/) for guides, references and tutorials.

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.
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.

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

- example code snippet
- steps to reproduce
- expected/actual behaviour
- expected/actual behaviour

- BugSnag Performance version:
- BugSnag version (if any):
- Flutter version:
- Flutter-first app or native app with Flutter component(s):
- iOS/Android version:
- Simulator/emulator or physical device:
* Bugsnag Performance library version:
* Bugsnag Error Monitoring library version (if any):
* Flutter version:
* Flutter app or native app with flutter module:
* iOS/Android version:
* Simulator/emulator or physical device:

## Bug or Feature Requests

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.
Please note: we cannot promise that we will fulfil all requests

## Pull Requests

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.
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.
9 changes: 3 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "packages/bugsnag-flutter-http-client"]
path = packages/bugsnag-flutter-http-client
url = [email protected]:bugsnag/bugsnag-flutter-http-client.git
[submodule "packages/bugsnag-flutter-dart-io-http-client"]
path = packages/bugsnag-flutter-dart-io-http-client
url = [email protected]:bugsnag/bugsnag-flutter-dart-io-http-client.git
[submodule "packages/bugsnag-flutter-common"]
path = packages/bugsnag-flutter-common
url = [email protected]:bugsnag/bugsnag-flutter-common.git
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
Changelog
=========

## 1.1.0 (2024-08-14)

### Enhancements

* View load instrumentation
[65](https://github.com/bugsnag/bugsnag-flutter-performance/pull/65)

* Replaced the dependency on `device_info` with the new `device_info_plus` package [72](https://github.com/bugsnag/bugsnag-flutter-performance/pull/72)

* Auto-inject traceparent headers into HTTP requests [73](https://github.com/bugsnag/bugsnag-flutter-performance/pull/73)

* 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)

### Bug fixes

* Fixed FormatException thrown when the data in sampling probability cache file is corrupted [75](https://github.com/bugsnag/bugsnag-flutter-performance/pull/75)

## 1.0.0 (2024-04-11)

Initial release
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ gem 'cocoapods'

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

# Use a specific branch
#gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', branch: 'master'
Expand Down
30 changes: 13 additions & 17 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ GEM
atomos (0.1.3)
base64 (0.2.0)
bigdecimal (3.1.7)
bugsnag (6.26.0)
bugsnag (6.27.1)
concurrent-ruby (~> 1.0)
bugsnag-maze-runner (8.13.2)
bugsnag-maze-runner (9.9.1)
appium_lib (~> 12.0.0)
appium_lib_core (~> 5.4.0)
bugsnag (~> 6.24)
Expand All @@ -49,7 +49,7 @@ GEM
selenium-webdriver (~> 4.0)
test-unit (~> 3.5.2)
webrick (~> 1.7.0)
builder (3.2.4)
builder (3.3.0)
childprocess (4.1.0)
claide (1.1.0)
cocoapods (1.15.2)
Expand Down Expand Up @@ -124,7 +124,7 @@ GEM
cucumber-core (~> 10.1, >= 10.1.0)
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
curb (0.9.11)
diff-lcs (1.5.0)
diff-lcs (1.5.1)
dogstatsd-ruby (5.5.0)
drb (2.2.1)
ecma-re-validator (0.4.0)
Expand All @@ -151,9 +151,9 @@ GEM
regexp_parser (~> 2.0)
simpleidn (~> 0.2)
uri_template (~> 0.7)
mime-types (3.5.1)
mime-types (3.5.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2023.1003)
mime-types-data (3.2024.0604)
minitest (5.22.3)
molinillo (0.8.0)
multi_test (0.1.2)
Expand All @@ -162,18 +162,18 @@ GEM
nap (1.1.0)
netrc (0.11.0)
nkf (0.2.0)
nokogiri (1.15.6-arm64-darwin)
nokogiri (1.16.6-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.6-x86_64-darwin)
nokogiri (1.16.6-x86_64-darwin)
racc (~> 1.4)
optimist (3.0.1)
os (1.0.1)
power_assert (2.0.3)
public_suffix (4.0.7)
racc (1.7.3)
racc (1.8.0)
rack (2.2.9)
rake (12.3.3)
regexp_parser (2.8.2)
regexp_parser (2.9.2)
rexml (3.2.6)
ruby-macho (2.5.1)
rubyzip (2.3.2)
Expand All @@ -182,9 +182,8 @@ GEM
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
simpleidn (0.2.1)
unf (~> 0.1.4)
sys-uname (1.2.3)
simpleidn (0.2.3)
sys-uname (1.3.0)
ffi (~> 1.1)
test-unit (3.5.9)
power_assert
Expand All @@ -193,9 +192,6 @@ GEM
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.9.1)
uri_template (0.7.0)
webrick (1.7.0)
websocket (1.2.10)
Expand All @@ -217,7 +213,7 @@ PLATFORMS
x86_64-darwin-23

DEPENDENCIES
bugsnag-maze-runner (~> 8.13.2)
bugsnag-maze-runner (~> 9.9.1)
cocoapods

BUNDLED WITH
Expand Down
42 changes: 41 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FLUTTER_BIN?=flutter
PRESET_VERSION=$(shell cat VERSION)

all: format build lint test

Expand All @@ -19,10 +20,15 @@ bump:
ifeq ($(VERSION),)
@$(error VERSION is not defined. Run with `make VERSION=number bump`)
endif
@echo $(VERSION) > VERSION
sed -i '' "s/## TBD/## $(VERSION) ($(shell date '+%Y-%m-%d'))/" CHANGELOG.md
sed -i '' "s/^version: .*/version: $(VERSION)/" packages/bugsnag_flutter_performance/pubspec.yaml

publish_dry:
cd staging/bugsnag_flutter_performance && $(FLUTTER_BIN) pub publish --dry-run

staging: staging

stage:
mkdir -p staging/bugsnag_flutter_performance
cd packages/bugsnag_flutter_performance && cp -a . ../../staging/bugsnag_flutter_performance
rm -f staging/bugsnag_flutter_performance/pubspec.lock
Expand All @@ -48,3 +54,37 @@ format:

lint:
cd packages/bugsnag_flutter_performance && $(FLUTTER_BIN) analyze --suppress-analytics

prerelease: bump stage publish_dry ## Generates a PR for the $VERSION release
ifeq ($(VERSION),)
@$(error VERSION is not defined. Run with `make VERSION=number prerelease`)
endif
rm -rf staging
@git checkout -b release-v$(VERSION)
@git add packages/bugsnag_flutter_performance/pubspec.yaml CHANGELOG.md VERSION
@git diff --exit-code || (echo "you have unstaged changes - Makefile may need updating to `git add` some more files"; exit 1)
@git commit -m "Release v$(VERSION)"
@git push origin release-v$(VERSION)
@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')

release: stage publish_dry ## Releases the current main branch as $VERSION
@git fetch origin
ifneq ($(shell git rev-parse --abbrev-ref HEAD),main) # Check the current branch name
@git checkout main
@git rebase origin/main
endif
ifneq ($(shell git diff origin/main..main),)
$(error you have unpushed commits on the main branch)
endif
@git tag v$(PRESET_VERSION)
@git push origin v$(PRESET_VERSION)
@git checkout next
@git rebase origin/next
@git merge main
@git push origin next
# Prep GitHub release
# We could technically do a `hub release` here but a verification step
# before it goes live always seems like a good thing
@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')
cd staging/bugsnag_flutter_performance && $(FLUTTER_BIN) pub publish
rm -rf staging
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[![Documentation](https://img.shields.io/badge/documentation-latest-blue.svg)](https://docs.bugsnag.com/performance/flutter/)
[![Build status](https://badge.buildkite.com/700ab6c9d7b51c72fa52459ad023b503692bde8bf5337b93a0.svg?branch=main)](https://buildkite.com/bugsnag/bugsnag-flutter-performance)

Monitor the start-up, navigation and network requests of your game and see the results in your [BugSnag](https://www.bugsnag.com) dashboard.
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.

## Features

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1
1.1.0
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.6'
services:

maze-runner:
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v8-cli
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v9-cli
environment:
DEBUG:
BITBAR_USERNAME:
Expand Down
Loading

0 comments on commit cc51f4c

Please sign in to comment.