Change8

remix@3.0.0-beta.2

📦 remixView on GitHub →
3 features🐛 1 fixes🔧 7 symbols

Summary

This pre-release removes the native transport dependency from node-serve to unblock package managers and introduces several API enhancements, including better cookie handling and exposed header application methods.

Migration Steps

  1. If relying on cookie handling where multiple cookies shared the same name (differentiated by path/domain), update logic to use Cookie#getAll(name) instead of relying solely on Cookie#get(name) if the latter might return an incomplete set.

✨ New Features

  • Exposed SuperHeaders#apply(init) through remix/headers to apply SuperHeadersInit values to an existing instance.
  • Carried explicit public type annotations from underlying packages through re-exported Remix package APIs.
  • Exposed updated remix/file-storage types, including the new FileLike alias and filesystem storage LazyFile return types.

🐛 Bug Fixes

  • Fixed Cookie and SuperHeaders.cookie from remix/headers to preserve duplicate cookie names from path- or domain-specific cookies in order. Cookie#get(name) now returns the first matching value, Cookie#getAll(name) reads every matching value, and Cookie#append(name, value) adds another cookie with the same name.

Affected Symbols