Description
In #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.