github remix-run/remix cookie@0.6.0
cookie v0.6.0

3 hours ago

Minor Changes

  • BREAKING CHANGE: Custom encode and decode functions now own the cookie value representation directly. Previously, custom encode output was still wrapped in Remix's default base64 encoding and custom decode received a value after that base64 wrapper was removed. Now custom encode output is signed and serialized as-is, and custom decode receives the unsigned raw cookie value. The default encoder and decoder still use the existing base64-safe representation when no custom functions are provided.

  • BREAKING CHANGE: Cookie.httpOnly now returns boolean | undefined instead of defaulting to false. This lets consumers distinguish an omitted httpOnly option from an explicit httpOnly: false setting.

Don't miss a new remix release

NewReleases is sending notifications on new releases.