v.5.2.0
- Change to cookie redirect behavior: When visiting a pathname that includes a locale, the middleware will now redirect if the locale cookie is set. Previously the redirecting based on cookie only occured on pathnames without a locale, but we've decided this is inconsistent behavior.
- Add
serverSetCookie
config option - Add
readonly
tolocales
typing in config