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

Bump: Sentry JavaScript 7.114.0 #342

Closed
wants to merge 4 commits into from
Closed

Conversation

lucas-zimerman
Copy link
Collaborator

@lucas-zimerman lucas-zimerman commented May 8, 2024

This PR will bump Sentry wizard along with Sentry Javascript.
Since there are some big changes on the SDK, I have exposed a new way of using the new integrations (tracing , profiling and replay) on Sentry Cordova. by default they are not added, but there will be documentation on Docs and also on the changelog

@lucas-zimerman lucas-zimerman marked this pull request as ready for review May 8, 2024 21:27
@expcapitaldev
Copy link

very important and good update, waiting!

CHANGELOG.md Outdated Show resolved Hide resolved
@@ -22,7 +24,6 @@
"devDependencies": {
"cordova-android": "^12.0.1",
"cordova-browser": "^7.0.0",
"cordova-ios": "^7.0.1",
Copy link
Member

@krystofwoldrich krystofwoldrich May 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't follow cordova as much, why was the iOS removed?

}
},
"dependencies": {
"cordova": "^12.0.0",
"typescript": "^5.2.2"
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing new line at the end.

Comment on lines +10 to +48
<style>
body {
font-family: Arial, sans-serif;
background-color: #fff;
padding: 20px;
display: flex;
flex-direction: column;
min-height: 100vh;
}
.titleHeader {
background-color: #fff;
}

.loading-overlay {
background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
z-index: 9999; /* ensure it's on top of other elements */
display: none; /* initially hidden */
}

h1 {
color: #333;
margin-bottom: 20px;
display: flex;
align-items: center;
flex-direction: column;
}

h1 img {
width: 30%;
margin-right: 10px;
}

#content {
flex: 1;
border: none;
width: 100%;
height: calc(100% - 60px); /* Adjust for tab height and margins */
}
</style>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this also be a css file or is this the default how cordova template is generated?

Comment on lines +31 to +34
function addTag() {
Sentry.instance.configureScope(scope => scope.u);

}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function doesn't seem correct. It does not add a tag.

}}


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Comment on lines 44 to 46
import * as Integrations from './integrations';
export { Integrations };
export { BrowserIntegrations };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Browser JS all integration are exported now as functions directly. Sentry.integrationA()

Let's add it here too, since replay, tracing and profiling is exported like this already.

@krystofwoldrich
Copy link
Member

Thank you it looks good, but before approving I think we should export all of the integration functions.

@krystofwoldrich
Copy link
Member

@lucas-zimerman Could you add a screenshot of the sample app?

@krystofwoldrich
Copy link
Member

I believe the sample code should be removed from this PR as it's also present in #341 (comment)

Co-authored-by: Krystof Woldrich <[email protected]>
Copy link

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants