Skip to content

v0.8.2 — gzip sourcemaps before upload

Choose a tag to compare

@nedylasfalte86 nedylasfalte86 released this 09 May 17:16

What's new

  • CLI : sourcemaps are now automatically gzipped before upload (~10× smaller).

Why

React Native / Metro sourcemaps are typically 10-25 MB on real apps with vendor libs, fonts and translations. Many shared hosts (O2switch, OVH mutualisé, etc.) cap Apache LimitRequestBody around 10 MB by default — upload-sourcemaps was failing with HTTP 413 on those.

Compatibility

The Pionne server detects the gzipped format via filename suffix (.map.gz) and magic bytes (1f 8b) fallback. No breaking change for clients still on 0.8.1 — uncompressed uploads keep working.

Upgrade

npm install @pionne/react-native@latest

No code change required.