Closed nicklaw5 closed 1 year ago
@dead-horse @DaAwesomeP Is there any possibility of having one (or both) of you review this?
Thanks for your work, I hope it gets merged.
Is there anything I can do to help to get this merged?
@smashercosmo I would happily finish this off, but I would first appreciate a review from one of the maintainers of this library.
ping @dead-horse @DaAwesomeP
@nicklaw5 could you please see latest v4.0.0 in master branch and submit a new PR?
Any updates on this?
I can possibly take a look at this over the weekend :slightly_smiling_face:
friendly ping @nicklaw5
My apologies, I haven't had the time to look at this. I don't see me having the time to look at it anytime soon either. Happy for someone else to continue on where I left off.
Fix in https://github.com/koajs/koa-redis/pull/56 together with proper expiry support. Also replaced generators with async/await and added TypeScript support. Published as koa-redis-snowman. Happy to merge upstream.
Note: This is a work in progress. I'm open to discussion for specific implementation whilst I continue to make minor changes and improvement to tests and test coverage.
Migrating from
koa-generic-session
tokoa-session
is a major breaking change. This implementation uses Node'sutil.promisify
function for converting a callback-based function to a Promise-based one, which means Node v8+ is required.These changes also:
options.socket
andoptions.pass
istanbul
withnyc
to support ES6 syntax code coverageRedisStore
extendEventEmitter
, since that is the preferred method when using class inheritanceeslint
for lintingCloses #35