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

Releases: zendframework/zend-expressive-session-ext

zend-expressive-session-ext 1.7.0

16 Oct 15:39
1.7.0
Compare
Choose a tag to compare

Added

Changed

  • #45 updates PhpSessionPersistence to implement Zend\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

28 Feb 18:47
Compare
Choose a tag to compare

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's getlastmod() method,
    providing a simpler, more reliable source.

  • #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 to true and false, respectively.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-expressive-session-ext 1.5.1

27 Feb 21:31
Compare
Choose a tag to compare

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

11 Feb 22:29
Compare
Choose a tag to compare

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

09 Jan 14:08
Compare
Choose a tag to compare

Added

  • #31 adds support for the session.cookie_domain, session.cookie_httponly,
    and session.cookie_secure INI values when creating the Set-Cookie header
    value.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-expressive-session-ext 1.3.0

31 Oct 19:50
Compare
Choose a tag to compare

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 a session.cookie_lifetime INI value was previously set.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-expressive-session-ext 1.2.0

12 Sep 16:02
Compare
Choose a tag to compare

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 a SetCookie header. It now correctly skips creating the header.

zend-expressive-session-ext 1.1.1

14 May 15:13
Compare
Choose a tag to compare

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

10 May 17:35
Compare
Choose a tag to compare

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, and Pragma) normally
    emitted by ext-session and controlled by the session.cache_limiter and session.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 to session_write_close withing PhpSessionPersistence,
    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

15 Mar 19:22
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #8 fixes how session resets occur, ensuring cookies are reset correctly.