This repository was archived by the owner on Jan 31, 2020. It is now read-only.
Releases: zendframework/zend-session
Releases · zendframework/zend-session
zend-session 2.7.4
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #66 fixes how the
Cachesave handler'sdestroy()method works, ensuring it does not attempt to remove an item by$idif it does not already exist in the cache. - #79 updates the signature of
AbstractContainer::offsetGet()to matchZend\Stdlib\ArrayObjectand return by reference, fixing an issue when running under PHP 7.1+.
zend-session 2.7.3
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
zend-session 2.7.2
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #46 provides fixes to each of the
CacheandDbTaleGatewaysave handlers to ensure they work when used under PHP 7.
zend-session 2.7.1
Added
- #40 adds and publishes the documentation to https://zendframework.github.io/zend-session/
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #38 ensures that the value from
session.gc_maxlifetimeis cast to an integer before assigning it as thelifetimevalue in theMongoDBadapter, ensuring sessions may be deleted.
zend-session 2.7.0
Added
- #23 provides a new
Idvalidator 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 toSessionManager, or pass anoptionsarray with that value under thesession_managerconfiguration key. - #34 adds the option to use
exporeAfterSecondswith theMongoDBsave 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 theContainerAbstractServiceFactory.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
MongoDBsave handler, allowing the component to be used with modern MongoDB installations.
zend-session 2.6.2
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #32 provides a better polfill for the
ValidatorChainto ensure it can be represented in auto-generated classmaps (e.g., viacomposer dump-autoload --optimizeand/orcomposer dump-autoload --classmap-authoritative).
zend-session 2.6.1
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #30 extracts the constructor defined in
Zend\Session\Validator\ValidatorChainTraitand pushes it into each of theValidatorChainEM2andValidatorChainEM3implementations, to prevent colliding constructor definitions due to inheritance + trait usage.
zend-session 2.6.0
Added
- #29 adds two new classes:
Zend\Session\Validator\ValidatorChainEM2andValidatorChainEM3. Due to differences in theEventManagerInterface::attach()method between zend-eventmanager v2 and v3, and the fact thatValidatorChainoverrides that method, we now need an implementation targeting each major version. To provide a consistent use case, we use a polyfill that aliases the appropriate version to theZend\Session\ValidatorChainclass.
Deprecated
- Nothing.
Removed
- Nothing.