Repository navigation
Releases: gsmlg-dev/phoenix_session_process
Releases · gsmlg-dev/phoenix_session_process
Release list
Version 1.0.1
Session termination now removes activity records and pending cleanup timers, fixing stale state accumulation during login rotation, logout, and cache invalidation.
- Clear stale activity after a session process crashes.
- Cancel timers during both scheduled and periodic TTL cleanup without synchronous calls from Cleanup to itself.
- Preserve active sessions and remove stale activity even when no timer remains.
- Update active dependencies within existing constraints, including Plug 1.20.3, and remove unused lock entries.
Includes #59; fixes #58. Validated with 184 tests, strict compilation, formatting, Credo, Dialyzer, documentation generation, and Hex package build. GitHub tests and benchmarks passed before merge.
Install: {:phoenix_session_process, "~> 1.0.1"}
Package: https://hex.pm/packages/phoenix_session_process/1.0.1
Documentation: https://hexdocs.pm/phoenix_session_process/1.0.1/
Version 1.0.0-rc.2
Breaking Changes
- Removed deprecated
start/1,2,3functions (usestart_session/1,2instead) start_session/2no longer accepts module as second argument (usestart_session(id, module: Mod)instead)
Changes in RC.2
API Simplification
- Refactored start_session to 2 arities with keyword options
- Cleaner, more flexible API for starting sessions
- Examples:
start_session(session_id)start_session(session_id, module: MyModule)start_session(session_id, args: init_args)start_session(session_id, module: MyModule, args: init_args)
All Backward Compatibility Removed
- Removed all deprecated
start/1,2,3functions - Removed backward compatibility guard clauses
- Clean codebase ready for v1.0 production release
Quality
- All 148 tests passing
- Credo and Dialyzer compliant
- Production ready