@weierophinney weierophinney released this Oct 30, 2018 · 1 commit to master since this release

Assets 2

Added

  • #28 adds a new interface, SessionCookiePersistenceInterface, defining:
    • the constant SESSION_LIFETIME_KEY
    • the method persistSessionFor(int $duration) : void, for developers to hint
      to the persistence engine how long a session should last
    • the method getSessionLifetime() : int, for persistence engines to
      determine if a specific session duration was requested

Changed

  • #28 updates both Session and LazySession to implement the new
    SessionCookiePersistenceInterface. If a SessionCookiePersistenceInterface::SESSION_LIFETIME_KEYis present in the initial session data provided to aSession` instance, this
    value will be used to indicate the requested session duration; otherwise, zero
    is used, indicating the session should end when the browser is closed.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

@weierophinney weierophinney released this Sep 12, 2018 · 10 commits to master since this release

Assets 2

Added

  • #27 adds a new interface, Zend\Expressive\Session\SessionIdentifierAwareInterface.
    SessionInterface implementations should also implement this interface, and
    persistence implementations should only create and consume session
    implementations that implement it. The interface defines a single method,
    getId(), representing the identifier of a discovered session. This allows
    the identifier to be associated with its session data, ensuring that when
    concurrent requests are made, persistence operates on the correct identifier.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

@weierophinney weierophinney released this Mar 15, 2018 · 22 commits to master since this release

Assets 2

Added

  • #18 adds support for PSR-15 middleware.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #14 and #18 remove support for http-interop/http-middleware and http-interop/http-server-middleware.

  • #5 removes the method LazySession::segment(). This method was a remnant from a previous refactor, and not intended for the final API. Considering that Session does not implement the method, calling it would lead to a fatal error anyways.

Fixed

  • Nothing.

@weierophinney weierophinney released this Feb 7, 2018 · 29 commits to master since this release

Assets 2

Added

  • #18 adds support for PSR-15 middleware.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #14 and #18 remove support for http-interop/http-middleware and http-interop/http-server-middleware.

Fixed

  • Nothing.

@weierophinney weierophinney released this Oct 10, 2017 · 81 commits to master since this release

Assets 2

Initial release.