Skip to content

Releases: auraphp/Aura.Session

4.0.0

28 May 05:42
413740a
Compare
Choose a tag to compare

4.0.0

  • PHP 7.2+ is now required.
  • Github CI workflow added.
  • Scrutinizer CI updated.
  • MIT License.
  • (CHG) CsrfToken::isValid($value, $key = 'value') now have a second parameter, so the default value of key can be changed.
  • (CHG) CsrfToken::getValue($key = 'value') now accepts key as a parameter, so the default value of key can be changed.
  • (CHG) CsrfToken::regenerateValue($key = 'value') now accepts key as a parameter, so the default value of key can be changed.
  • (ADD) CsrfToken::regenerateAllKeyValues() . Will regenerate all csrf token values for all keys.
  • Throws SessionAlreadyStarted exception if setCookieParams is called after session is started.
  • (ADD) Segment:: remove($key) . Either remove the entire segment or a key from the segment
  • (BRK) SegmentInterface , added two method getSegment and remove. So if you are using the SegmentInterface things may break.

Full diff 2.x...4.x

4.0.0-beta1

23 Sep 11:29
Compare
Choose a tag to compare
4.0.0-beta1 Pre-release
Pre-release

4.0.0-beta1

  • PHP 7.2+ is now required.
  • Github CI workflow added.
  • Scrutinizer CI updated.
  • MIT License.
  • (CHG) CsrfToken::isValid($value, $key = 'value') now have a second parameter, so the default value of key can be changed.
  • (CHG) CsrfToken::getValue($key = 'value') now accepts key as a parameter, so the default value of key can be changed.
  • (CHG) CsrfToken::regenerateValue($key = 'value') now accepts key as a parameter, so the default value of key can be changed.
  • (ADD) CsrfToken::regenerateAllKeyValues() . Will regenerate all csrf token values for all keys.
  • Throws SessionAlreadyStarted exception if setCookieParams is called after session is started.
  • (ADD) Segment:: remove($key) . Either remove the entire segment or a key from the segment
  • (BRK) SegmentInterface , added two method getSegment and remove. So if you are using the SegmentInterface things may break.

Full diff 2.x...4.x

2.1.0

03 Oct 20:29
Compare
Choose a tag to compare
  • (ADD) Add support for hash_equals() in CsrfToken::isValid()
  • (ADD) Add support for random_bytes() in Randval::generate()
  • (TST) Update tests and test support files
  • (DOC) Update license year and remove branch alias

2.0.1

27 Mar 18:34
Compare
Choose a tag to compare

This release modifies the testing structure and updates other support files.

2.0.0

16 Mar 20:59
Compare
Choose a tag to compare

This is the first stable release of Aura.Session 2.0.0.

  • Fix #23
  • Merge pull request #33 from harikt/issue-23.
  • Merge pull request #35 from iansltx/php7-compat: Fix FakeSessionHandler::write() (fixes PHP7 tests)
  • Merge pull request #36 from fiahfy/spike: fix param type
  • Merge pull request #37 from tomkyle/develop-2: Removed redundant paragraph
  • Merge pull request #38 from tomkyle/develop-2: Clarified parameter descriptions
  • Updated documentation and support files.

2.0.0-beta2

07 Nov 15:59
Compare
Choose a tag to compare
  • TST: Update testing structure, use plain old PHPUnit for tests
  • CHG: Use new service naming rules
  • CHG: Disable auto-resolve for container tests

2.0.0-beta1

31 Aug 17:10
Compare
Choose a tag to compare

First 2.0.0 beta release.