Skip to content
Open
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Behavioral Changes

- The `Override Release` and `Override Environment` fields have been removed from the Sentry editor window. Release and environment now come from the application's Player Settings by default and can be set in code through an options configuration. Values already saved in the options asset are still applied. ([#2922](https://github.com/getsentry/sentry-unity/pull/2922))

## 4.12.0

### Behavioral Changes
Expand Down
18 changes: 0 additions & 18 deletions src/Sentry.Unity.Editor/ConfigurationWindow/EnrichmentTab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,24 +103,6 @@ internal static void Display(ScriptableSentryUnityOptions options)
EditorGUI.DrawRect(EditorGUILayout.GetControlRect(false, 1), Color.gray);
EditorGUILayout.Space();

{
options.ReleaseOverride = EditorGUILayout.TextField(
new GUIContent("Override Release", "By default release is built from the Application info as: " +
"\"{productName}@{version}+{buildGUID}\". " +
"\nThis option is an override."),
options.ReleaseOverride);

options.EnvironmentOverride = EditorGUILayout.TextField(
new GUIContent("Override Environment", "Auto detects 'production' or 'editor' by " +
"default based on 'Application.isEditor'." +
"\nThis option is an override."),
options.EnvironmentOverride);
}

EditorGUILayout.Space();
EditorGUI.DrawRect(EditorGUILayout.GetControlRect(false, 1), Color.gray);
EditorGUILayout.Space();

{
options.ReportAssembliesMode = (ReportAssembliesMode)EditorGUILayout.EnumPopup(
new GUIContent("Report Assemblies Mode", "Whether or not to include referenced assemblies " +
Expand Down