parse, serialize from cookie were exported as-is. That's not super useful for importing outside of the library, so they're deprecated and in their stead adding parseCookieHeader, serializeCookieHeader which works with the getAll, setAll cookie methods more ergonomically.
parse
,serialize
fromcookie
were exported as-is. That's not super useful for importing outside of the library, so they're deprecated and in their stead addingparseCookieHeader
,serializeCookieHeader
which works with thegetAll
,setAll
cookie methods more ergonomically.For example, instead of:
You can just use: