Here are some initial ideas:
Breaking Changes
- All classes will be “final” by default. So extending will not be possible in the future. ✔️
Move all interface into its own namespace: Odan\Session\Interfaces ⛔
- Remove
SessionDoublePassMiddleware ✔️
Rename class PhpSession to Session ⛔
Remove MemorySession class ⛔
- Move
SessionMiddleware into its own namespace: Odan\Session\Middleware ✔️
Add a native PHP session cookie handler, e.g. Odan\Session\Cookie ⛔
Remove setCookieParams and getCookieParams ⛔
Move this library to selective/session ⛔
New Features
- Add flash massages ✔️
Add support for dot notation using selective/array-reader ⛔
- Throw
SessionException instead of returning false for errors ✔️
Please add additional thoughts below.
Here are some initial ideas:
Breaking Changes
Move all interface into its own namespace:⛔Odan\Session\InterfacesSessionDoublePassMiddleware✔️Rename class⛔PhpSessiontoSessionRemove⛔MemorySessionclassSessionMiddlewareinto its own namespace:Odan\Session\Middleware✔️Add a native PHP session cookie handler, e.g.⛔Odan\Session\CookieRemove⛔setCookieParamsandgetCookieParamsMove this library to selective/session⛔New Features
Add support for dot notation using selective/array-reader⛔SessionExceptioninstead of returning false for errors ✔️Please add additional thoughts below.