V4 is a rework of the library to accomplish the following goals.
- Use slightly more modern JavaScript, targeting Node 8 and above.
- Switch to using
cookie.expires
for TTL likeconnect-mongo
does. - Remove the embedded node_redis client, a client must be provided.
- Remove all embedded client options that are no longer needed.
- Clearer documentation around TTLs.
- Add
clear
method to support the fullexpress-session
API. - Remove multi-session
destroy
usage to conform with the API. - Build with Travis.
V4 has breaking changes which are outlined in the migration guide.