Skip to content

Releases: josantonius/php-session

v1.0.9

20 May 09:16
Compare
Choose a tag to compare

What's Changed

  • Tests for PHP 8.3 have been added.

Full Changelog: v2.0.8...v2.0.9

v2.0.8

29 Sep 21:17
Compare
Choose a tag to compare

What's Changed

  • Release/v2.0.8 by @josantonius in #21

  • The notation type in the test function names has been changed from camel to snake case for readability.

  • Functions were added to document the methods and avoid confusion.

  • Disabled the ´CamelCaseMethodName´ rule in ´phpmd.xml´ to avoid warnings about function names in tests.

  • The alignment of the asterisks in the comments has been fixed.

  • Tests for Windows have been added.

  • Tests for PHP 8.2 have been added.

Full Changelog: v2.0.7...v2.0.8

v2.0.7

11 Aug 16:23
Compare
Choose a tag to compare

What's Changed

  • Improved documentation.

Full Changelog: v2.0.6...v2.0.7

v2.0.6

07 Aug 22:10
Compare
Choose a tag to compare

What's Changed

  • Feature/remove-error-handler by @josantonius in #18

  • The error handler was removed as it could override a previously created error handler or be easily overridden by another error handler.

  • Functions were added to perform what was done from the error handler.

  • Josantonius\Session\Exceptions\SessionException was deprecated and will be removed in the next version.

  • It is recommended to use the new exceptions added to catch exceptions:

    • Josantonius\Session\Exceptions\HeadersSentException;
    • Josantonius\Session\Exceptions\SessionNotStartedException;
    • Josantonius\Session\Exceptions\SessionNotStartedException;
    • Josantonius\Session\Exceptions\SessionStartedException;
    • Josantonius\Session\Exceptions\WrongSessionOptionException;
  • Documents and comments on these changes were updated.

  • There have been no major changes from the previous version.

Full Changelog: v2.0.5...v2.0.6

v2.0.5

31 Jul 14:33
Compare
Choose a tag to compare

What's Changed

  • Fix documentation on available methods in README.md.

  • Removed the warning about version 1.x in the README.md files.

  • Fix exception comment.

  • The namespaces in the test classes were sorted.

  • Added return value in the test classes.

  • Changed the PHPUnit version from 9.0 to 9.5.

  • Fixed blank line at the beginning of the file in FUNDING.yml.

  • docs: update README.md by @alirezasalehizadeh in #16

  • pre-release/v2.0.5 by @josantonius in #17

New Contributors

Full Changelog: v2.0.4...v2.0.5

v2.0.4

13 Jul 15:07
Compare
Choose a tag to compare

What's Changed

  • Changes in documentation.

Full Changelog: v2.0.3...v2.0.4

v2.0.3

13 Jul 15:08
Compare
Choose a tag to compare

What's Changed

  • release/v2.0.3 in #15

  • Changes in documentation.

  • Deleted Josantonius\Session\Session->errorHandler() method.

Full Changelog: v2.0.2...v2.0.3

v2.0.2

29 Jun 22:08
Compare
Choose a tag to compare

What's Changed

  • hotfix/fix-readme-namespace in #14.
  • Fixes #13.
  • Replace symbol in start method comment.

Full Changelog: v2.0.1...v2.0.2

v2.0.1

28 Jun 00:14
Compare
Choose a tag to compare

What's Changed

  • Changes in documentation.

2.0.0

27 Jun 20:25
Compare
Choose a tag to compare

What's Changed

Important

Version 1.x is considered as deprecated and unsupported. In this version (2.x) the library was completely restructured. It is recommended to review the documentation for this version and make the necessary changes before starting to use it, as it not be compatible with version 1.x.

Changes

  • Replaced all static methods in Josantonius\Session\Session class.

    A facade class was added to access the methods statically: Josantonius\Session\Facades\Session.

  • ADDED:

    Josantonius\Session\Facades\Session class.

    Josantonius\Session\Exceptions\SessionException class.

    Josantonius\Session\Tests\AllMethodTest class.

    Josantonius\Session\Tests\ClearMethodTest class.

    Josantonius\Session\Tests\DestroyMethodTest class.

    Josantonius\Session\Tests\GetIdMethodTest class.

    Josantonius\Session\Tests\GetMethodTest class.

    Josantonius\Session\Tests\GetNameMethodTest class.

    Josantonius\Session\Tests\HasMethodTest class.

    Josantonius\Session\Tests\IsStartedMethodTest class.

    Josantonius\Session\Tests\PullMethodTest class.

    Josantonius\Session\Tests\RegenerateIdMethodTest class.

    Josantonius\Session\Tests\RemoveMethodTest class.

    Josantonius\Session\Tests\ReplaceMethodTest class.

    Josantonius\Session\Tests\SetIdMethodTest class.

    Josantonius\Session\Tests\SetMethodTest class.

    Josantonius\Session\Tests\SetNameMethodTest class.

    Josantonius\Session\Tests\StartMethodTest class.

  • DELETED:

    Josantonius\Session\Tests\SessionTest class.