hapijs / yar

A hapi session manager
Other
133 stars 59 forks source link

Deprecate? #114

Closed hueniverse closed 6 years ago

hueniverse commented 7 years ago

This module seems to be causing more confusion than utility. If we are going to keep it, someone needs to write a nice explanation on when and how to use it (vs. cookie auth, etc). Also, if we are going to keep it, please open a hapi v17 migration issue.

MikeBazhenov commented 6 years ago

@hueniverse I wrote migration v17 for yar

https://github.com/hapijs/yar/pull/115

mark-bradshaw commented 6 years ago

Yar remains a popular session management tool. Some people find it easier than hapi-auth-cookie, since it has more focus on a single task. It keeps a session. For people who want sessions without authentication, or want to store arbitrarily large amounts of data without wiring up a separate data store, yar is a much simpler path forward.

The main readme does have a small section at the bottom mentioning hapi-auth-cookie as an alternative. If you think it would be a help I don't mind expanding that and moving it up to the top. I definitely don't think it's good for yar to retire until hapi-auth-cookie gets split into two projects, one that manages a cookie based session and one that handles authentication. When that happens yar will be superfluous.

mark-bradshaw commented 6 years ago

Closed with #115

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.