Releases: zendframework/zend-expressive-session-ext
zend-expressive-session-ext 1.7.0
Added
- #43 adds the ability to mark sessions as non-locking; see the documentation for details on configuration of this feature.
Changed
-
#45 updates
PhpSessionPersistence
to implementZend\Expressive\Session\InitializeSessionIdInterface
, allowing access to the generated / regenerated session ID before the session is persisted. -
#45 updates the minimum required version of zendframework/zend-expressive-session to 1.3.0.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #44 prevents sending cookie and cache limiting headers when session data is unchanged.
zend-expressive-session-ext 1.6.0
Added
- Nothing.
Changed
-
#39 modifies the logic used to determine the value for the
Last-Modified
header associated with the session cookie to use PHP'sgetlastmod()
method,
providing a simpler, more reliable source. -
#40 modifies the logic that builds the session cookie to better parse the
entire spectrum of expectedphp.ini
values for boolean flags, ensuring that
values such as "On" and "Off" evaluate totrue
andfalse
, respectively.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-session-ext 1.5.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #36 provides a fix that prevents session files from being created when no
session cookie was sent by the client.
zend-expressive-session-ext 1.5.0
Added
- Nothing.
Changed
- #34 modifies the logic used when starting a session to ensure the REQUIRED
defaults are always set. These include:- session.use_cookies = false
- session.use_only_cookes = true
- session.cache_limiter = ""
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-session-ext 1.4.0
Added
- #31 adds support for the
session.cookie_domain
,session.cookie_httponly
,
andsession.cookie_secure
INI values when creating theSet-Cookie
header
value.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-session-ext 1.3.0
Added
- #29 adds support for the zend-expressive-session
SessionCookiePersistenceInterface
.
Specifically,PhpSessionPersistence::persistSession()
now consults the
session instance for a requested session duration, using it if present, even
if asession.cookie_lifetime
INI value was previously set.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-expressive-session-ext 1.2.0
Added
- #24 adds support for
session.cookie_lifetime
configuration. When
present, the generated session cookie will be provided with an expiration date
based on that value.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #25 fixes a situation where creating a new session with no data was
always creating aSetCookie
header. It now correctly skips creating the header.
zend-expressive-session-ext 1.1.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #21 fixes a situation whereby during persistence, if no identifier existed for
the session, it was not persisted. Such situations would occur when a new session was created, as
no identifier would yet exist. It now properly generates an identifier and persists the data in
such cirumstances.
zend-expressive-session-ext 1.1.0
Added
- Nothing.
Changed
-
#12 updates the
PhpSessionPersistence
class such that it is now responsible for
emitting the various cache limiter headers (Expires
,Cache-Control
,Last-Modified
, andPragma
) normally
emitted by ext-session and controlled by thesession.cache_limiter
andsession.cache_expire
INI settings.
This approach ensures that those headers are not overwritten by ext-session if set elsewhere in your
application. -
#9 swaps a call to
session_commit
tosession_write_close
withingPhpSessionPersistence
,
as the former is an alias for the latter.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #13 fixes an issue whereby a new session cookie is not always sent
following an ID regeneration.
zend-expressive-session-ext 1.0.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #8 fixes how session resets occur, ensuring cookies are reset correctly.