Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 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
Prev Previous commit
Next Next commit
Changelog and cleanup
  • Loading branch information
timfish committed Jun 20, 2022
commit e7c1f47040144a226dd76d90ba9a0e35ce532022
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@

## Unreleased

## 4.0.0-beta.1

Updating the underlying Sentry JavaScript SDK's to v7 forces a major version bump due to minor breaking changes in user
facing APIs. Be sure to check out the [migration doc](./MIGRATION.md).

Upgrading to v7 of the Sentry JavaScript SDKs (#471):

- Minor internal changes due to API changes and deprecations
- Rewrite transports to use new functional API
- Simplify minidump submission since the underlying SDKs now support attachments

- feat: Add ability to explicitly control offline mode (#489)
- feat: Allow closing of SDK (#467)
- fix: Ensure environment is overridden for minidumps (#497)
- fix: Pass correct event to beforeSend (#481)

## 3.0.7

Expand Down
5 changes: 5 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Upgrading from 3.x to 4.x

All the breaking changes in v4 are due to changes in the underlying Sentry JavaScript SDKs so be sure to check the
[JavaScript migration docs](https://github.com/getsentry/sentry-javascript/blob/master/MIGRATION.md#upgrading-from-6x-to-7x).

# Upgrading from 2.x to 3.x

v3 of the Electron SDK includes significant changes to simplify usage, improve maintainability and bundler support.
Expand Down
3 changes: 0 additions & 3 deletions src/main/sessions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ export async function checkPreviousSession(crashed: boolean): Promise<void> {
environment: (previousSession as unknown as SerializedSession).attrs?.environment,
});

// eslint-disable-next-line no-console
console.log('previousSession', sesh);

await client.sendSession(sesh);

previousSession = undefined;
Expand Down
1 change: 0 additions & 1 deletion src/main/transports/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export class PersistedRequestQueue {
date: found.date || new Date(),
};
} catch (e) {
// eslint-disable-next-line no-console
logger.warn('Filed to read queued request body', e);
}
}
Expand Down