![JavaScript SDK 7.78.0 Bundle Size Decrease](https://storage.googleapis.com/sentry-docs-changelog/javascript-sdk-7-78-0-bundle-size-decrease.jpg)
JavaScript SDK 7.78.0 Bundle Size Decrease
As always we are very sensitive to bundle size conerns of our users. The latest SDK version 7.78.0 caps off a series of bundle size improvements we made to Session Replay, leading to a 20 KB (~40% of Replay, ~25% of the full SDK) reduction.
Still while decreasing bundle we have shipped some new features:
-
Adds a new
beforeErrorSampling()
config callback to Replay -
Adds improvements to our Astro SDK
-
Improves Replay performance by moving expensive truncation tasks out of the SDK
-
Improves our support for Next.js App Router
Check our changelog to see the full details of this release.