With span streaming enabled by default, beforeSendTranasaction and ignoreTransactions are ignored by the SDK and thus not applied anymore. It's easy to miss though when upgrading. To mitigate this, we:
- deprecate the two options with a note stating that they'll be removed in v12, and until then can only be used in conjunction with
traceLifecycle: 'Static'. Otherwise, they have no effect and will be ignored by the SDK.
- log a console warning (bypassing our
debug logger), in case users still have these options defined.
With span streaming enabled by default,
beforeSendTranasactionandignoreTransactionsare ignored by the SDK and thus not applied anymore. It's easy to miss though when upgrading. To mitigate this, we:traceLifecycle: 'Static'. Otherwise, they have no effect and will be ignored by the SDK.debuglogger), in case users still have these options defined.