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

PLAT-12206 treat discardClasses and redactedKeys as Regex #807

Merged
merged 6 commits into from
Jun 5, 2024

Conversation

richardelms
Copy link
Contributor

@richardelms richardelms commented Jun 3, 2024

Goal

Change discardClasses and redactedKeys to regex collections.

Keep the fields in the Bugsnag settings window as string collections so that unity and display them, but convert them to Regex when building the config object.

Testing

Added Unit Tests and covered by existing E2E tests

@richardelms richardelms self-assigned this Jun 3, 2024
@bugsnagbot
Copy link
Collaborator

bugsnagbot commented Jun 3, 2024

Build size impact

Format Size impact of Bugsnag (kB)
IL2CPP APK 2442.63
IL2CPP IPA 1512.68

Generated by 🚫 Danger

@richardelms richardelms requested a review from tomlongridge June 3, 2024 14:57
src/BugsnagUnity/Configuration.cs Outdated Show resolved Hide resolved
src/BugsnagUnity/Configuration.cs Outdated Show resolved Hide resolved
@richardelms richardelms requested a review from tomlongridge June 5, 2024 12:17
src/Assets/Bugsnag/Scripts/BugsnagSettingsObject.cs Outdated Show resolved Hide resolved
src/BugsnagUnity/Configuration.cs Outdated Show resolved Hide resolved
tests/BugsnagUnity.Tests/ConfigurationTests.cs Outdated Show resolved Hide resolved
tests/BugsnagUnity.Tests/ConfigurationTests.cs Outdated Show resolved Hide resolved
@richardelms richardelms requested a review from tomlongridge June 5, 2024 14:09
@richardelms richardelms merged commit 16fcd38 into next Jun 5, 2024
13 checks passed
@richardelms richardelms deleted the 12206-convertConfigsToRegex branch June 5, 2024 14:50
@richardelms richardelms mentioned this pull request Jun 6, 2024
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.

3 participants