Skip to content

Drop Support for Safari 14 #18707

Closed

Description

@Lms24

Description

Safari 14 misses some core APIs we rely on in our web vitals instrumentation, requiring us to ship outdated code or apply some annoying workarounds:

  • performance.timeOrigin - this was introduced in Safari 15. Right now, we fall back to performance.timing?.navigationStart, which a) is deprecated and b) adds ~100bytes of otherwise unnecessary code
  • visibilitychange event - this event is used by web-vitals in all code paths after they dropped Safari 14 support. We have to patch our vendored version of the lib to also listen to pagehide events for Safari 14, since visibilitychange isn't fully supported by 14.0. Removing pagehide allows us to save some bytes and also streamline our own pagehide listening logic in the SDK in other places.

I therefore propose we drop support for Safari 14.x and Safari iOS 14.x. Global usage for these versions is around 0.45% at the time of writing.

Activity

  1. linear commented on Jan 7, 2026

    @linear
  2. added this to the 11.0.0 milestone on Jan 7, 2026
  3. added a commit that references this issue on Jun 2, 2026
    1ee7914
  4. self-assigned this
    on Jul 21, 2026
  5. added 2 commits that reference this issue on Jul 22, 2026
    9203941
    1f82e57
  6. added 2 commits that reference this issue on Aug 4, 2026
    80dad10
    c2b9a32
  7. github-actions commented on Sep 23, 2026

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #21293, which was included in the 11.0.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions