Releases: oscardsoto/BlazorSessionProvider
Releases · oscardsoto/BlazorSessionProvider
v1.1.0
A new version released!
- Added
SessionViewandSessionBindingService. See the component and the service for more details. - Changes on
SessionProviderandSessionKeeperto manage events per user.- Added methods for subscriptions in the keeper:
Subscribe,Unsubscribe,NotifyAllClients,ClearSubscriptions SessionDataChangedis removed, and changed to:SubscribeToKeeperandUnsubscribeToKeeperRemoveSession,SetSessionandCreateNewSessionreturns a Task now, so they can be treated as events.
- Added methods for subscriptions in the keeper:
- Added a
IHttpContextAccessorin theSessionInitto manageHttpOnlycookies. OnSessionEnd,OnSessionStartandOnSessionExpiredare now treated as events.- Added
SyncProviderOnStartandUseHttpOnlyCookiesproperties inSessionProviderConfig.cs SessionBridgenow can work with cookies by default. See the tutorial.
(See full commit: 8ae3e69)
Happy coding! 💻❤️
v1.1.1
Fixed some issues:
- Fixed problem with concurrency in the
Eventsdictionary inSessionKeeper - Added
_cleanupTimerTimer inSessionKeeperfor automatic cleanup of expired sessions- Added two new variables in configuration to manage the
Timer:CleanupInterval: wich is the time to wait to execue the Timer (5 minutes by default)UseRelativeTtl: true to manage the session with sliding expiration, false to make them fixed.
- Added two new variables in configuration to manage the
Happy Coding! 💻❤️
v1.0.2
- Added
SessionBridgeclass to enable the user manage their own key session (no morelocalStorage). See I don't want to use localStorage section - Updated wikia (to full version)
- Changed icon (smaller)
v1.0.1
- Added
KeyNotFoundExceptiononGetSession<T>when attempting to access a session key that does not exist - Added
InvalidCastExceptiononGetSession<T>when attempting to cast an object that does not match theTparameter - Added Wikia
- Changed icon
Full Changelog: 1.0.0...1.0.1
v1.0.0-alpha
First release.