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

feat(loader): Make js loader v9 available from backend #85135

Merged
merged 2 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion src/sentry/loader/browsersdkversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_highest_browser_sdk_version(versions):


def get_all_browser_sdk_version_versions():
return ["latest", "8.x", "7.x", "6.x", "5.x", "4.x"]
return ["latest", "9.x", "8.x", "7.x", "6.x", "5.x", "4.x"]


def get_all_browser_sdk_version_choices():
Expand Down
3 changes: 2 additions & 1 deletion src/sentry/projectoptions/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
# version is set on a project's DSN.
register(
key="sentry:default_loader_version",
# TODO(lforst): Make v9 loader default
epoch_defaults={1: "4.x", 2: "5.x", 7: "6.x", 8: "7.x", 13: "8.x"},
)

Expand Down Expand Up @@ -183,7 +184,7 @@
# The available loader SDK versions
register(
key="sentry:loader_available_sdk_versions",
epoch_defaults={1: ["8.x", "7.x", "6.x", "5.x", "4.x"], 11: ["8.x", "7.x"]},
epoch_defaults={1: ["9.x", "8.x", "7.x", "6.x", "5.x", "4.x"], 11: ["9.x", "8.x", "7.x"]},
)

# Dynamic sampling rate in project-level "manual" configuration mode
Expand Down
Loading