Skip to content

Commit 8cc7444

Browse files
authored
Merge pull request #209 from bugsnag/release/v3.7.1
2 parents 35eb2a6 + 3fd8327 commit 8cc7444

80 files changed

Lines changed: 940 additions & 214 deletions

File tree

Some content is hidden

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

.buildkite/pipeline.yml

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ steps:
1111
plugins:
1212
- docker-compose#v3.7.0:
1313
run: java-common
14-
command: './gradlew :bugsnag:assemble :bugsnag-spring:javax:assemble :bugsnag-spring:assemble'
14+
artifact_paths: maven-repository.zip
15+
command: 'scripts/build-test-repository.sh'
1516

1617
- label: ':docker: Run JVM tests'
1718
key: 'java-jvm-tests'
@@ -23,34 +24,52 @@ steps:
2324

2425
- label: ':docker: Mazerunner java8 tests batch 1'
2526
key: 'java-mazerunner-tests-1'
27+
depends_on: 'java-jvm-build'
2628
timeout_in_minutes: 30
2729
plugins:
2830
- docker-compose#v3.7.0:
2931
run: java8-mazerunner
30-
command: 'bundle exec maze-runner --exclude=features/[^a-m].*.feature'
32+
- artifacts#v1.9.0:
33+
download: "maven-repository.zip"
34+
command:
35+
- 'features/scripts/assemble-fixtures.sh'
36+
- 'bundle exec maze-runner --exclude=features/[^a-m].*.feature'
3137

3238
- label: ':docker: Mazerunner java8 tests batch 2'
3339
key: 'java-mazerunner-tests-2'
40+
depends_on: 'java-jvm-build'
3441
timeout_in_minutes: 30
3542
plugins:
3643
- docker-compose#v3.7.0:
37-
pull: java8-mazerunner
3844
run: java8-mazerunner
39-
command: 'bundle exec maze-runner --exclude=features/[^n-z].*.feature'
45+
- artifacts#v1.9.0:
46+
download: "maven-repository.zip"
47+
command:
48+
- 'features/scripts/assemble-fixtures.sh'
49+
- 'bundle exec maze-runner --exclude=features/[^n-z].*.feature'
4050

4151
- label: ':docker: Mazerunner java17 tests batch 1'
4252
key: 'java-mazerunner-tests-3'
53+
depends_on: 'java-jvm-build'
4354
timeout_in_minutes: 30
4455
plugins:
4556
- docker-compose#v3.7.0:
4657
run: java17-mazerunner
47-
command: 'bundle exec maze-runner --exclude=features/[^a-m].*.feature'
58+
- artifacts#v1.9.0:
59+
download: "maven-repository.zip"
60+
command:
61+
- 'features/scripts/assemble-fixtures.sh'
62+
- 'bundle exec maze-runner --exclude=features/[^a-m].*.feature'
4863

4964
- label: ':docker: Mazerunner java17 tests batch 2'
5065
key: 'java-mazerunner-tests-4'
66+
depends_on: 'java-jvm-build'
5167
timeout_in_minutes: 30
5268
plugins:
5369
- docker-compose#v3.7.0:
54-
pull: java17-mazerunner
5570
run: java17-mazerunner
56-
command: 'bundle exec maze-runner --exclude=features/[^n-z].*.feature'
71+
- artifacts#v1.9.0:
72+
download: "maven-repository.zip"
73+
command:
74+
- 'features/scripts/assemble-fixtures.sh'
75+
- 'bundle exec maze-runner --exclude=features/[^n-z].*.feature'

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
# Changelog
22

3-
## 3.7.0 (2023-06-07)
3+
## 3.7.1 (2023-10-25)
4+
5+
* Restore `BugsnagServletContainerInitializer` and `BugsnagServletRequestListener` to the `com.bugsnag.servlet` package.
6+
These classes are deprecated in favour of the new `com.bugsnag.servlet.javax.` package, but are also compatible (`c.b.s.BugsnagServletRequestListener extends c.b.s.javax.BugsnagServletRequestListener`). This
7+
fixes [issue #195](https://github.com/bugsnag/bugsnag-java/issues/195).
8+
[#199](https://github.com/bugsnag/bugsnag-java/pull/199)
9+
10+
* Corrected JVM version requirements for Gradle projects (fixing [issue 196](https://github.com/bugsnag/bugsnag-java/issues/196))
11+
[#197](https://github.com/bugsnag/bugsnag-java/pull/197)
12+
13+
## 3.7.0 (2023-06-12)
414

515
* Support Spring 6 / Spring Boot 3
616
[#191](https://github.com/bugsnag/bugsnag-java/pull/191)
717

818
* Bump Jackson from 2.13.3 for critical vulnerability fixes
919
[#184](https://github.com/bugsnag/bugsnag-java/pull/184)
1020

21+
### Known Issues
22+
23+
* v3.7.0 of `bugsnag-spring` declares the wrong jdk version as a dependency, meaning it is incompatible with Java < 17. If you are using earlier versions use v3.6.4.
24+
1125
## 3.6.4 (2022-07-12)
1226

1327
* Support log messages that use `{}` formatting

CONTRIBUTING.md

Lines changed: 35 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ Create a Sonatype account:
8282
1. Ask an existing contributor (likely Simon) to confirm in the ticket
8383
1. Wait for Sonatype them to confirm the approval
8484

85-
Create a [Bintray](https://bintray.com) account:
86-
87-
1. Create an account
88-
1. Request access to the [Bugsnag organization](https://bintray.com/bugsnag)
89-
9085
### 2. Configure the prerequisites
9186

9287
1. Create your [PGP Signatures](http://central.sonatype.org/pages/working-with-pgp-signatures.html)
@@ -99,10 +94,6 @@ Create a [Bintray](https://bintray.com) account:
9994

10095
nexusUsername=your-sonatype-username
10196
nexusPassword=your-sonatype-password
102-
103-
# Your credentials for https://bintray.com
104-
bintray_user=your-bintray-username
105-
bintray_api_key=your-bintray-api-key
10697
```
10798

10899
### 3. Making a release
@@ -111,30 +102,45 @@ Create a [Bintray](https://bintray.com) account:
111102
- [ ] Does the build pass on the CI server?
112103
- [ ] Are all Docs PRs ready to go?
113104
- [ ] Has all new functionality been manually tested on a release build?
114-
- [ ] Ensure the example app sends an unhandled error
115-
- [ ] Ensure the example app sends a handled error
105+
- [ ] Ensure the example app sends an unhandled error
106+
- [ ] Ensure the example app sends a handled error
116107
- [ ] Have the installation instructions been updated on the [dashboard](https://github.com/bugsnag/bugsnag-website/tree/master/app/views/dashboard/projects/install) as well as the [docs site](https://github.com/bugsnag/docs.bugsnag.com)?
117108
- [ ] Do the installation instructions work for a manual integration?
118109

119110
#### Making the release
120-
1. Merge any remaining PRs to master, ensuring the commit message matches the release tag (e.g. v4.0.0)
121-
1. Update the CHANGELOG.md file with any changes
122-
1. Update the version number by running `make VERSION=[number] bump`
123-
1. Commit the changes
124-
1. Create a release build:
125-
* `./gradlew -Preleasing=true clean release`
126-
- enter the release version (e.g. `1.2.0`)
127-
- accept the default development version
128-
1. Create a release in GitHub, attaching the changelog entry and build artifacts
129-
1. Upload the archives to Sonatype Nexus and Bintray:
130-
* `./gradlew -Preleasing=true uploadArchives bintrayUpload`
131-
1. "Promote" the build on Maven Central:
132-
* `./gradlew -Preleasing=true closeAndReleaseRepository`
133-
1. Update the documentation (integration guide, quick start):
134-
* Update the version numbers of the dependencies listed in the manual
135-
integration guide.
136-
* For a major version change, update the version numbers in the integration
137-
instructions on docs.bugsnag.com and the quick start guides on the website.
111+
To start a release:
112+
113+
- decide on a version number
114+
- create a new release branch from `next` with the version number in the branch name
115+
`git checkout -b release/vX.Y.Z`
116+
- Pull the release branch and update it locally:
117+
- [ ] Update the version number with `make VERSION=[number] bump`
118+
- [ ] Update the version number and date in the changelog
119+
- [ ] Inspect the updated CHANGELOG, and version files to ensure they are correct
120+
- Commit the changes with the release tag as the commit message (e.g. v4.0.0)
121+
- Create a release build and upload to the sonatype staging repository:
122+
- `./gradlew -Preleasing=true clean publishAllPublicationsToSonatypeRepository`
123+
- Verify that the artefacts are uploaded to sonatype - ensure that JARs, POMs and JAVADOCs are present for each module.
124+
- Test the Sonatype artefacts in the example app by adding the newly created 'combugsnag-XXXX' repository to the build.gradle: maven {url "https://oss.sonatype.org/service/local/repositories/combugsnag-XXXX/content/"}
125+
- Once you are happy, make a PR from your release branch to `master` entitled `Release vX.Y.Z`
126+
- Get the release PR reviewed – all code changes should have been reviewed already, this should be a review of the integration of all changes to be shipped and the changelog
127+
- Once merged:
128+
- Pull the latest changes (checking out `master` if necessary)
129+
- Create a release build and upload to sonatype:
130+
- `./gradlew -Preleasing=true clean publishAllPublicationsToSonatypeRepository`
131+
- Release to GitHub:
132+
- [ ] Create *and tag* the release from `master` on [GitHub Releases](https://github.com/bugsnag/bugsnag-android/releases), attaching the changelog entry and build artifacts
133+
- Checkout `master` and pull the latest changes
134+
- "Promote" the release build on Maven Central:
135+
- Go to the [sonatype open source dashboard](https://oss.sonatype.org/index.html#stagingRepositories)
136+
- Click the search box at the top right, and type “com.bugsnag”
137+
- Select the com.bugsnag staging repository
138+
- Ensure that JARs, POMs and JAVADOCs are present for each module
139+
- Click the “close” button in the toolbar, no message
140+
- Click the “refresh” button
141+
- Select the com.bugsnag closed repository
142+
- Click the “release” button in the toolbar
143+
- Merge outstanding docs PRs related to this release
138144

139145
#### Post-release Checklist
140146
- [ ] Have all Docs PRs been merged?

Gemfile.lock

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
GIT
22
remote: https://github.com/bugsnag/maze-runner
3-
revision: 734405a801012be706f5e190e472fb02dd83b264
4-
tag: v7.10.2
3+
revision: 4456b8ddf7053e8dfdec39f14fed444ec93c0578
4+
tag: v7.24.0
55
specs:
6-
bugsnag-maze-runner (7.10.2)
6+
bugsnag-maze-runner (7.24.0)
77
appium_lib (~> 12.0.0)
88
appium_lib_core (~> 5.4.0)
99
bugsnag (~> 6.24)
1010
cucumber (~> 7.1)
1111
cucumber-expressions (~> 6.0.0)
1212
curb (~> 0.9.6)
13+
dogstatsd-ruby (~> 5.5.0)
1314
json_schemer (~> 0.2.24)
1415
optimist (~> 3.0.1)
1516
os (~> 1.0.0)
17+
rack (~> 2.2)
1618
rake (~> 12.3.3)
1719
rubyzip (~> 2.3.2)
1820
selenium-webdriver (~> 4.0)
@@ -29,11 +31,11 @@ GEM
2931
appium_lib_core (5.4.0)
3032
faye-websocket (~> 0.11.0)
3133
selenium-webdriver (~> 4.2, < 4.6)
32-
bugsnag (6.25.1)
34+
bugsnag (6.26.0)
3335
concurrent-ruby (~> 1.0)
3436
builder (3.2.4)
3537
childprocess (4.1.0)
36-
concurrent-ruby (1.1.10)
38+
concurrent-ruby (1.2.2)
3739
cucumber (7.1.0)
3840
builder (~> 3.2, >= 3.2.4)
3941
cucumber-core (~> 10.1, >= 10.1.0)
@@ -67,49 +69,57 @@ GEM
6769
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
6870
curb (0.9.11)
6971
diff-lcs (1.5.0)
72+
dogstatsd-ruby (5.5.0)
7073
ecma-re-validator (0.4.0)
7174
regexp_parser (~> 2.2)
7275
eventmachine (1.2.7)
73-
faye-websocket (0.11.1)
76+
faye-websocket (0.11.3)
7477
eventmachine (>= 0.12.0)
7578
websocket-driver (>= 0.5.1)
7679
ffi (1.15.5)
7780
hana (1.3.7)
78-
json_schemer (0.2.24)
81+
json_schemer (0.2.25)
7982
ecma-re-validator (~> 0.3)
8083
hana (~> 1.3)
8184
regexp_parser (~> 2.0)
85+
simpleidn (~> 0.2)
8286
uri_template (~> 0.7)
83-
mime-types (3.4.1)
87+
mime-types (3.5.1)
8488
mime-types-data (~> 3.2015)
85-
mime-types-data (3.2022.0105)
86-
mini_portile2 (2.8.1)
89+
mime-types-data (3.2023.0808)
90+
mini_portile2 (2.8.4)
8791
multi_test (0.1.2)
88-
nokogiri (1.13.10)
89-
mini_portile2 (~> 2.8.0)
92+
nokogiri (1.15.4)
93+
mini_portile2 (~> 2.8.2)
9094
racc (~> 1.4)
9195
optimist (3.0.1)
9296
os (1.0.1)
9397
power_assert (2.0.3)
94-
racc (1.6.2)
98+
racc (1.7.1)
99+
rack (2.2.8)
95100
rake (12.3.3)
96-
regexp_parser (2.6.1)
97-
rexml (3.2.5)
101+
regexp_parser (2.8.1)
102+
rexml (3.2.6)
98103
rubyzip (2.3.2)
99104
selenium-webdriver (4.5.0)
100105
childprocess (>= 0.5, < 5.0)
101106
rexml (~> 3.2, >= 3.2.5)
102107
rubyzip (>= 1.2.2, < 3.0)
103108
websocket (~> 1.0)
104-
sys-uname (1.2.2)
109+
simpleidn (0.2.1)
110+
unf (~> 0.1.4)
111+
sys-uname (1.2.3)
105112
ffi (~> 1.1)
106-
test-unit (3.5.7)
113+
test-unit (3.5.9)
107114
power_assert
108115
tomlrb (2.0.3)
116+
unf (0.1.4)
117+
unf_ext
118+
unf_ext (0.0.8.2)
109119
uri_template (0.7.0)
110120
webrick (1.7.0)
111121
websocket (1.2.9)
112-
websocket-driver (0.7.5)
122+
websocket-driver (0.7.6)
113123
websocket-extensions (>= 0.1.0)
114124
websocket-extensions (0.1.5)
115125

0 commit comments

Comments
 (0)