### Description In https://github.com/getsentry/sentry-javascript/issues/14335 deprecated `null` to be returned from `beforeSendSpan`. We should adjust the behaviour to either - Noop and warn when null is returned - Throw when null is returned In either case the type needs to be updated. Additionally, root spans also need to be passed to `beforeSendSpan` <-- This will require a migration/changelog entry.
Description
In #14335 deprecated
nullto be returned frombeforeSendSpan.We should adjust the behaviour to either
In either case the type needs to be updated.
Additionally, root spans also need to be passed to
beforeSendSpan<-- This will require a migration/changelog entry.