To see changelogs, please look at the release notes instead in GitHub.
react-cookie
: Fix withCookies bug with CommonJS (#293)react-cookie
: Fix useLayoutEffect warning on SSR (#295)
react-cookie
: Switch to useLayoutEffect to load cookies before first renderreact-cookie
: Improved TypeScript types on useCookiesreact-cookie
: Fix using with ESModuleuniversal-cookie-koa
: Fix the maxAge incongruency between the standard (seconds) and koa (ms)
universal-cookie
: Remove only usage of CommonJS require
- All: improved tree shaking by adding
"sideEffects": false
universal-cookie
: JSDOM is now using the real browser cookiesuniversal-cookie
: You can specify your cookie parsing function
universal-cookie
: Add support for explicitNone
value onsameSite
attribute
- Upgrade dependencies to last versions
- Publish MIT license to NPM with the code (#224)
universal-cookie
: Add support for generic type with reading cookies (#222)universal-cookie
: Disable accessing browser cookies on JSDOM (#227)react-cookie
: AddWrappedComponent
static property when usingwithCookies
(#225)react-cookie
: Fix display name to include the original component name
universal-cookie
: Remove useless testing variablereact-cookie
: Memoize setCookie/removeCookie so that it doesn't change unnecessarilyreact-cookie
: Go back to withCookies orignial type
react-cookie
: Fix documentation
react-cookie
: Add useCookies to support React hooks
react-cookie
: Revert breaking change on withCookies typing
react-cookie
: Fix wrong typing on CookiesProviderreact-cookie
: Fix memory leak on server-side rendering
- Fix the build (was missing important files)
universal-cookie
: Trim j: prefix so we can deserialize cookies serialized by expressreact-cookie
: Fix TypeScript types
react-cookie
: FixwithCookies
to no require props on the wrapped componentuniversal-cookie
: Add missing cookie propertysameSite
to typing
- Fix default exports for CommonJS (no more
.default
required)
react-cookie
: Improve README with minimum requirements
- Added CommonJS build, UMD build and ES6 build
react-cookie
: Requiresreact >= 16.3.0
because of the new context API and forwarded ref. Usev2.2.0
otherwiseuniversal-cookie
: Removed undocumented hooks onCookie
constructor
- Last stable version supporting
react < 16.3.0