Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

zend-session 2.7.0

Compare
Choose a tag to compare
@weierophinney weierophinney released this 12 Apr 13:10
· 350 commits to master since this release

Added

  • #23 provides a new Id validator to ensure that the session identifier is not malformed. This validator is now enabled by default; to disable it, pass ['attach_default_validators' => false] as the fifth argument to SessionManager, or pass an options array with that value under the session_manager configuration key.
  • #34 adds the option to use exporeAfterSeconds with the MongoDB save handler.
  • #37 exposes the package as a standalone config-provider/component, adding:
    • Zend\Session\ConfigProvider, which maps the default services offered by the package, including the ContainerAbstractServiceFactory.
    • Zend\Session\Module, which does the same, but for zend-mvc contexts.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #34 updates the component to use ext/mongodb + the MongoDB PHP client library, instead of ext/mongo, for purposes of the MongoDB save handler, allowing the component to be used with modern MongoDB installations.