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

Remove deprecations #3780

Merged
merged 17 commits into from
Oct 10, 2024
Merged

Remove deprecations #3780

merged 17 commits into from
Oct 10, 2024

Conversation

adinauer
Copy link
Member

@adinauer adinauer commented Oct 9, 2024

📜 Description

Remove deprecated APIs etc.

💡 Motivation and Context

Closes #3069

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

@adinauer adinauer changed the title remove enableTracing Remove deprecations Oct 9, 2024
Copy link
Contributor

github-actions bot commented Oct 9, 2024

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against ef0d307

@@ -822,9 +799,6 @@ public static final class Deserializer implements JsonDeserializer<Device> {
case JsonKeys.ID:
device.id = reader.nextStringOrNull();
break;
case JsonKeys.LANGUAGE:
Copy link
Member Author

Choose a reason for hiding this comment

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

I assume we can also get rid of this. Legacy JSON language should land in unknown.
language has been deprecated for 3 years.

@@ -232,30 +232,6 @@ public void setIpAddress(final @Nullable String ipAddress) {
this.ipAddress = ipAddress;
}

/**
Copy link
Member Author

Choose a reason for hiding this comment

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

Can we also get rid of JsonKeys.OTHER here?

Copy link
Member

Choose a reason for hiding this comment

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

i guess it's fine, as it was deprecated 2 years ago

Copy link
Contributor

github-actions bot commented Oct 9, 2024

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 458.12 ms 478.82 ms 20.70 ms
Size 1.70 MiB 2.35 MiB 664.52 KiB

Previous results on branch: feat/remove-deprecations

Startup times

Revision Plain With Sentry Diff
c288024 386.66 ms 445.14 ms 58.48 ms
8cf83e2 401.11 ms 456.27 ms 55.16 ms

App size

Revision Plain With Sentry Diff
c288024 1.70 MiB 2.35 MiB 664.60 KiB
8cf83e2 1.70 MiB 2.35 MiB 664.52 KiB

Base automatically changed from feat/remove-enable-tracing to 8.x.x October 10, 2024 04:15
An error occurred while trying to automatically change base from feat/remove-enable-tracing to 8.x.x October 10, 2024 04:15
@adinauer adinauer merged commit 1eb8476 into 8.x.x Oct 10, 2024
21 of 22 checks passed
@adinauer adinauer deleted the feat/remove-deprecations branch October 10, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants