Skip to content

Releases: psr7-sessions/storageless

9.2.0

29 Oct 07:37
9.2.0
1fd67b2
Compare
Choose a tag to compare

Release Notes for 9.2.0

Feature release (minor)

9.2.0

  • Total issues resolved: 0
  • Total pull requests resolved: 7
  • Total contributors: 2

enhancement

dependencies,enhancement

github_actions

renovate

9.1.0

20 Nov 14:53
9.1.0
5c23e2e
Compare
Choose a tag to compare

Release Notes for 9.1.0

Feature release (minor)

9.1.0

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

9.0.1

26 Jul 07:56
9.0.1
eb78151
Compare
Choose a tag to compare

Release Notes for 9.0.1

9.0.x bugfix release (patch)

9.0.1

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

bug

9.0.0

25 Jul 13:36
9.0.0
3ce8459
Compare
Choose a tag to compare

Release Notes for 9.0.0

This release moves the \PSR7Sessions\Storageless\Http\SessionMiddleware constructor parameters into a more robust and easy-to-use \PSR7Sessions\Storageless\Http\Configuration object with the following API:

use Dflydev\FigCookies\SetCookie;
use Lcobucci\Clock\Clock;
use Lcobucci\JWT\Configuration as JwtConfig;
use PSR7Sessions\Storageless\Http\ClientFingerprint\Configuration as FingerprintConfig;

/** @immutable */
final class \PSR7Sessions\Storageless\Http\Configuration
{
    public function __construct(JwtConfig $jwtConfiguration);

    public function withJwtConfiguration(JwtConfig $jwtConfiguration): self;
    public function withClock(Clock $clock): self;
    public function withCookie(SetCookie $cookie): self;
    /** @param positive-int $idleTimeout */
    public function withIdleTimeout(int $idleTimeout): self;
    /** @param positive-int $refreshTime */
    public function withRefreshTime(int $refreshTime): self;
    /** @param literal-string $sessionAttribute */
    public function withSessionAttribute(string $sessionAttribute): self;
    public function withClientFingerprintConfiguration(FingerprintConfig $clientFingerprintConfiguration): self;
}

Active sessions issued with v8 are compatible with the new v9: the changes are at the API level only.

A new configuration has been added to mitigate session hijacking attacks, see the documentation at https://github.com/psr7-sessions/storageless/tree/9.0.x#session-hijacking-mitigation

This is a major release and breaks backwards compatibility.

Specifically, following changes are relevant:

[BC] REMOVED: Constant PSR7Sessions\Storageless\Http\SessionMiddleware::DEFAULT_COOKIE was removed
[BC] REMOVED: Constant PSR7Sessions\Storageless\Http\SessionMiddleware::DEFAULT_REFRESH_TIME was removed
[BC] REMOVED: Method PSR7Sessions\Storageless\Http\SessionMiddleware::fromSymmetricKeyDefaults() was removed
[BC] REMOVED: Method PSR7Sessions\Storageless\Http\SessionMiddleware::fromRsaAsymmetricKeyDefaults() was removed
[BC] REMOVED: Method PSR7Sessions\Storageless\Http\SessionMiddleware::buildDefaultCookie() was removed
[BC] CHANGED: The parameter $configuration of PSR7Sessions\Storageless\Http\SessionMiddleware#__construct() changed from Lcobucci\JWT\Configuration to a non-contravariant PSR7Sessions\Storageless\Http\Configuration

9.0.0

  • Total issues resolved: 0
  • Total pull requests resolved: 6
  • Total contributors: 1

bug

enhancement

documentation

BC break,enhancement

8.17.0

24 Jul 09:33
8.17.0
a6404a3
Compare
Choose a tag to compare

Release Notes for 8.17.0

Feature release (minor)

8.17.0

  • Total issues resolved: 0
  • Total pull requests resolved: 7
  • Total contributors: 3

documentation

renovate

enhancement

8.16.0

28 Mar 13:59
8.16.0
ee90862
Compare
Choose a tag to compare

Release Notes for 8.16.0

Feature release (minor)

8.16.0

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

8.15.0

26 Feb 13:22
8.15.0
480cf58
Compare
Choose a tag to compare

Release Notes for 8.15.0

Feature release (minor)

8.15.0

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

dependencies,enhancement

duplicate,renovate

8.14.0

05 Jan 09:54
8.14.0
e00f031
Compare
Choose a tag to compare

Release Notes for 8.14.0

Feature release (minor)

8.14.0

  • Total issues resolved: 0
  • Total pull requests resolved: 3
  • Total contributors: 2

dependencies,enhancement

dependencies,duplicate,renovate

8.13.0

23 Dec 12:20
8.13.0
e104492
Compare
Choose a tag to compare

Release Notes for 8.13.0

Feature release (minor)

8.13.0

  • Total issues resolved: 1
  • Total pull requests resolved: 3
  • Total contributors: 2

documentation,enhancement

enhancement,renovate

renovate

8.12.0

09 Dec 09:43
8.12.0
7435219
Compare
Choose a tag to compare

Release Notes for 8.12.0

Feature release (minor)

8.12.0

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 1

dependencies,enhancement,renovate

dependencies,renovate