Change8

headers@0.20.0

📦 remixView on GitHub →
1 features🐛 1 fixes🔧 4 symbols

Summary

This release introduces `SuperHeaders` to restore lazy, typed property accessors on Headers objects. A bug fix was also implemented to correctly handle literal '+' characters during filename decoding.

Migration Steps

  1. If you relied on the previous behavior where property accessors on Headers were removed (as noted in [#10911](https://github.com/remix-run/remix/pull/10911)), you should now use the new `SuperHeaders` export for restored typed property access.

✨ New Features

  • Added `SuperHeaders` as the default and named export from `@remix-run/headers`, which extends native `Headers` to restore lazy, typed property accessors while keeping native storage synchronized.

🐛 Bug Fixes

  • Preserve literal `+` characters when decoding RFC 8187 `filename*` values for `ContentDisposition.preferredFilename`.

Affected Symbols