All notable changes to this project will be documented in this file, in reverse chronological order by release.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Fixed
replace
version constraint in composer.json so repository can be used as replacement ofzendframework/zend-expressive-session-ext:^1.7.0
.
- #9 adds support for
session.cookie_samesite
PHP ini option.
- #9 bumps the minimum supported PHP version to 7.3.0.
- Nothing.
-
#9 removes support for PHP versions prior to 7.3.0.
-
#9 removes support for
dflydev/fig-cookies
v1 releases.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Fixed
replace
version constraint in composer.json so repository can be used as replacement ofzendframework/zend-expressive-session-ext:^1.7.0
.
- #10 adds support for PHP 7.4.
- Nothing.
- Nothing.
- Nothing.
- #7 fixes destroying session on regenerate when session is active.
- zendframework/zend-expressive-session-ext#43 adds the ability to mark sessions as non-locking; see the documentation for details on configuration of this feature.
-
zendframework/zend-expressive-session-ext#45 updates
PhpSessionPersistence
to implementMezzio\Session\InitializeSessionIdInterface
, allowing access to the generated / regenerated session ID before the session is persisted. -
zendframework/zend-expressive-session-ext#45 updates the minimum required version of zendframework/zend-expressive-session to 1.3.0.
- Nothing.
- Nothing.
- zendframework/zend-expressive-session-ext#44 prevents sending cookie and cache limiting headers when session data is unchanged.
- Nothing.
-
zendframework/zend-expressive-session-ext#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. -
zendframework/zend-expressive-session-ext#40 modifies the logic that builds the session cookie to better parse the entire spectrum of expected
php.ini
values for boolean flags, ensuring that values such as "On" and "Off" evaluate totrue
andfalse
, respectively.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- zendframework/zend-expressive-session-ext#36 provides a fix that prevents session files from being created when no session cookie was sent by the client.
- Nothing.
- zendframework/zend-expressive-session-ext#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 = ""
- Nothing.
- Nothing.
- Nothing.
- zendframework/zend-expressive-session-ext#31 adds support for the
session.cookie_domain
,session.cookie_httponly
, andsession.cookie_secure
INI values when creating theSet-Cookie
header value.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- zendframework/zend-expressive-session-ext#29 adds support for the mezzio-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.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- zendframework/zend-expressive-session-ext#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.
- Nothing.
- Nothing.
- Nothing.
- zendframework/zend-expressive-session-ext#25 fixes a situation where creating a new session with no data was
always creating a
SetCookie
header. It now correctly skips creating the header.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- zendframework/zend-expressive-session-ext#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.
- Nothing.
-
zendframework/zend-expressive-session-ext#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. -
zendframework/zend-expressive-session-ext#9 swaps a call to
session_commit
tosession_write_close
withingPhpSessionPersistence
, as the former is an alias for the latter.
- Nothing.
- Nothing.
- zendframework/zend-expressive-session-ext#13 fixes an issue whereby a new session cookie is not always sent following an ID regeneration.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- zendframework/zend-expressive-session-ext#8 fixes how session resets occur, ensuring cookies are reset correctly.
- Nothing.
- Nothing.
- Nothing.
- Removes support for pre-stable 1.0.0 versions of mezzio-session.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- zendframework/zend-expressive-session-ext#1 fixes a problem that occurs when a requested session does not resolve to an existing session and/or an existing session with empty data, leading to creation of new sessions on each request.
- zendframework/zend-expressive-session-ext#5 adds support for the ^1.0.0alpha1 release of mezzio-session.
- zendframework/zend-expressive-session-ext#3 adds support for the 1.0-dev and 1.0 releases of mezzio-session.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Fixes session regeneration under PHP 7.2 so that it will not raise warnings.
Initial release.
- Everything.
- Nothing.
- Nothing.
- Nothing.
- Nothing.