Skip to content

Conversation

@lforst
Copy link
Contributor

@lforst lforst commented Feb 5, 2025

DESCRIBE YOUR PR

This updates most of the places of the docs to contain the most relevant information after v9 was released.

To be merged at about the same time as v9 is released.

Resolves getsentry/sentry-javascript#14258

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

@vercel
Copy link

vercel bot commented Feb 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
changelog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 10, 2025 11:58am
develop-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 10, 2025 11:58am
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 10, 2025 11:58am

@codecov
Copy link

codecov bot commented Feb 5, 2025

Bundle Report

Changes will increase total bundle size by 417 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 10.71MB 423 bytes (0.0%) ⬆️
sentry-docs-client-array-push 9.38MB -6 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.64MB -0.0%
../instrumentation.js -3 bytes 968.3kB -0.0%
9523.js -3 bytes 944.51kB -0.0%
../app/[[...path]]/page.js.nft.json 144 bytes 376.63kB 0.04%
../app/platform-redirect/page.js.nft.json 144 bytes 376.54kB 0.04%
../app/sitemap.xml/route.js.nft.json 144 bytes 374.51kB 0.04%
view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 865.95kB -0.0%
static/chunks/7801-*.js -3 bytes 391.02kB -0.0%
static/Ekl83_vl-*.js (New) 578 bytes 578 bytes 100.0% 🚀
static/Ekl83_vl-*.js (New) 77 bytes 77 bytes 100.0% 🚀
static/c865NKfFkS9CcJybi8oQB/_buildManifest.js (Deleted) -578 bytes 0 bytes -100.0% 🗑️
static/c865NKfFkS9CcJybi8oQB/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

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

Looks good!


{/* TODO(v9): Remove this page and all references to it */}

<Alert title="Deprecation Notice">
Copy link
Member

Choose a reason for hiding this comment

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

should we do <Alert level="warning" ... here?

---
title: Manual Setup
sidebar_order: 1
description: "Learn how to set up the SDK manually."
Copy link
Member

Choose a reason for hiding this comment

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

noIndex ?

Copy link
Member

@Lms24 Lms24 Feb 6, 2025

Choose a reason for hiding this comment

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

what's the rationale for when we create versioned vs unversioned docs? Oh I gess duplicating "Getting Started" is just super painful given the inheritance stuff?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

correct - platform includes + versioned docs is still kinda a bit iffy

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

thanks!

description: "Allows you to inspect the contents of a processed event and hint object that gets passed to beforeSend or beforeSendTransaction. (deprecated)"
---

{/* TODO(v9): Remove this page and all references to it */}
Copy link
Member

Choose a reason for hiding this comment

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

l: remove this comment (or the page :D)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I intentionally kept those because it makes sense to keep these for a while until v9 has enough adoption. We can remove them at any point in the medium term future.

Copy link
Member

@Lms24 Lms24 Feb 10, 2025

Choose a reason for hiding this comment

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

sounds good, no objections!

not sure if this works currently but maybe we also need to be able to show a page only for version 8 (while it doesn't exist for latest/newer versions)

Copy link
Member

Choose a reason for hiding this comment

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

@Lms24 that does not work yet, currently we would need to add a placeholder that this feature is not available on latest or something like that

Comment on lines +10 to +14
defaultIntegrations: (integrations) => {
return integrations.filter(
(integration) => integration.name !== "BrowserSession"
);
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

@lforst I've had a customer try this but it didn't seems to be correct?

They are using @sentry/[email protected] and have tried this but indicated that it didn't work (as the types suggested to him: defaultIntegrations?: false | Integration[];).

Is this still correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops I am an idiot. Should be integrations: ...

@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[v9] Prepare docs for new version support policy

7 participants