Skip to content
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

Release v7.5.5 #1195

Merged
merged 17 commits into from
Dec 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## v7.5.5 (2020-12-14)

### Changed

- (react-native): Update bugsnag-cocoa to v6.4.1
- Place "unhandledOverridden" inside "severityReason" instead of at the top level. [#937](https://github.com/bugsnag/bugsnag-cocoa/pull/937)
- Allow overriding the "unhandled" flag in error callbacks. [#921](https://github.com/bugsnag/bugsnag-cocoa/pull/921) [#912](https://github.com/bugsnag/bugsnag-cocoa/pull/912)
- Fix unexpected exception behavior when started without an API key. [#931](https://github.com/bugsnag/bugsnag-cocoa/pull/931)
- (react-native): Update bugsnag-android to v5.4.0
- Prevent potential SHA-1 hash mismatch in Bugsnag-Integrity header for session requests [#1043](https://github.com/bugsnag/bugsnag-android/pull/1043)
- Make `event.unhandled` overridable for NDK errors [#1037](https://github.com/bugsnag/bugsnag-android/pull/1037)
- Make `event.unhandled` overridable for React Native errors [#1039](https://github.com/bugsnag/bugsnag-android/pull/1039)
- Make `event.unhandled` overridable for JVM errors [#1025](https://github.com/bugsnag/bugsnag-android/pull/1025)
- (expo): Update the `postPublish` hook to use the new `@bugsnag/source-maps` library. [#1124]

## v7.5.4 (2020-12-10)

### Changed
Expand Down
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ Finally:
- use the tag vX.Y.Z as the name of the release
- copy the release notes from `CHANGELOG.md`
- publish the release
- update and push `next`:
```
git checkout next
git merge master
git push
```

### Prereleases

Expand Down
25 changes: 14 additions & 11 deletions packages/expo/hooks/lib/upload-source-maps.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const { upload } = require('bugsnag-sourcemaps')
const sourceMaps = require('@bugsnag/source-maps').reactNative
const logger = require('@bugsnag/source-maps/dist/Logger').default
const { promisify } = require('util')
const { tmpdir } = require('os')
const { sep, join } = require('path')
Expand Down Expand Up @@ -34,26 +35,28 @@ module.exports = async (
const opts = { apiKey }
if (endpoint) opts.endpoint = endpoint

logger.info('Uploading source maps to Bugsnag')

// android
console.log('Uploading Android source map')
await upload({
await sourceMaps.uploadOne({
...opts,
appVersion: androidManifest.version,
minifiedUrl: '*/cached-bundle-experience-*',
minifiedFile: androidBundlePath,
codeBundleId: androidManifest.revisionId,
bundle: androidBundlePath,
sourceMap: androidSourceMapPath,
...opts
platform: 'android',
logger
})

// ios
console.log('Uploading iOS source map')
await upload({
await sourceMaps.uploadOne({
...opts,
appVersion: iosManifest.version,
minifiedUrl: iosManifest.bundleUrl,
minifiedFile: iosBundlePath,
codeBundleId: iosManifest.revisionId,
bundle: iosBundlePath,
sourceMap: iosSourceMapPath,
...opts
platform: 'ios',
logger
})
}

Expand Down
Loading