-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
ref(docs): Use dynamic version for Android Gradle plugin in upload instructions (EME-758) #16147
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
base: master
Are you sure you want to change the base?
Conversation
…structions (EME-758) Replace hardcoded version (6.0.0-rc.1) with dynamic version fetched from package registry. This ensures the docs always show the latest available version for size analysis and build distribution features. Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Use optional chaining to handle case where packageRegistry.data might be null, consistent with other components like PlatformSdkDetail and JsBundleList. Co-Authored-By: Claude <noreply@anthropic.com>
| export async function GradleUploadInstructions({feature}: Props) { | ||
| const featureName = feature === 'sizeAnalysis' ? 'size analysis' : 'distribution'; | ||
|
|
||
| const packageRegistry = await getPackageRegistry(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the mdx injection doesn't work here since this is a tsx file so this is the best solution i could come up with.
this code is used for size analysis and build distribution
|
I think we need to add something else if we do this: Line 672 in 77e43a0
but maybe we can use:
|
Adds GradleUploadInstructions to the registry dependency detection in mdx.ts so that MDX files using this component are properly cache invalidated when the Release Registry data changes. Also updates the fallback version to 7.12.3 for testing. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
Nice catch @chromy! I've updated the PR |
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Update the size analysis and build distribution documentation to use dynamic version fetching for the Sentry Android Gradle plugin instead of a hardcoded version.
Fixes EME-758