You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9851d64
Browse filesBrowse the repository at this point in the historyBrowse files
fix(astro): Fall back to dataCollection.userInfo for trackClientIp (#24091)
`handleRequest` hard-defaulted `trackClientIp` to `false`, so the global
`dataCollection.userInfo` could never switch client IP collection on. An
integration option is only meant to win when the user actually sets it.
It is now `options.trackClientIp ?? dataCollection.userInfo`. Heads up,
this changes the default. Astro apps that leave both alone start
reporting `user.ip_address`, matching `userInfo`'s documented default of
`true` and what the other server SDKs do.
Fixes#24086
---------
Co-authored-by: Claude Opus 5 <[email protected]>
0 commit comments